import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model products_currency
 * 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 products_currencyModel = runtime.Types.Result.DefaultSelection<Prisma.$products_currencyPayload>;
export type AggregateProducts_currency = {
    _count: Products_currencyCountAggregateOutputType | null;
    _avg: Products_currencyAvgAggregateOutputType | null;
    _sum: Products_currencySumAggregateOutputType | null;
    _min: Products_currencyMinAggregateOutputType | null;
    _max: Products_currencyMaxAggregateOutputType | null;
};
export type Products_currencyAvgAggregateOutputType = {
    id: number | null;
    products_id: number | null;
    currency_id: number | null;
};
export type Products_currencySumAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
    currency_id: number | null;
};
export type Products_currencyMinAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
    currency_id: number | null;
};
export type Products_currencyMaxAggregateOutputType = {
    id: number | null;
    products_id: bigint | null;
    currency_id: number | null;
};
export type Products_currencyCountAggregateOutputType = {
    id: number;
    products_id: number;
    currency_id: number;
    _all: number;
};
export type Products_currencyAvgAggregateInputType = {
    id?: true;
    products_id?: true;
    currency_id?: true;
};
export type Products_currencySumAggregateInputType = {
    id?: true;
    products_id?: true;
    currency_id?: true;
};
export type Products_currencyMinAggregateInputType = {
    id?: true;
    products_id?: true;
    currency_id?: true;
};
export type Products_currencyMaxAggregateInputType = {
    id?: true;
    products_id?: true;
    currency_id?: true;
};
export type Products_currencyCountAggregateInputType = {
    id?: true;
    products_id?: true;
    currency_id?: true;
    _all?: true;
};
export type Products_currencyAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which products_currency to aggregate.
     */
    where?: Prisma.products_currencyWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_currencies to fetch.
     */
    orderBy?: Prisma.products_currencyOrderByWithRelationInput | Prisma.products_currencyOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.products_currencyWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_currencies 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` products_currencies.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned products_currencies
    **/
    _count?: true | Products_currencyCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Products_currencyAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Products_currencySumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Products_currencyMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Products_currencyMaxAggregateInputType;
};
export type GetProducts_currencyAggregateType<T extends Products_currencyAggregateArgs> = {
    [P in keyof T & keyof AggregateProducts_currency]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProducts_currency[P]> : Prisma.GetScalarType<T[P], AggregateProducts_currency[P]>;
};
export type products_currencyGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.products_currencyWhereInput;
    orderBy?: Prisma.products_currencyOrderByWithAggregationInput | Prisma.products_currencyOrderByWithAggregationInput[];
    by: Prisma.Products_currencyScalarFieldEnum[] | Prisma.Products_currencyScalarFieldEnum;
    having?: Prisma.products_currencyScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Products_currencyCountAggregateInputType | true;
    _avg?: Products_currencyAvgAggregateInputType;
    _sum?: Products_currencySumAggregateInputType;
    _min?: Products_currencyMinAggregateInputType;
    _max?: Products_currencyMaxAggregateInputType;
};
export type Products_currencyGroupByOutputType = {
    id: number;
    products_id: bigint | null;
    currency_id: number | null;
    _count: Products_currencyCountAggregateOutputType | null;
    _avg: Products_currencyAvgAggregateOutputType | null;
    _sum: Products_currencySumAggregateOutputType | null;
    _min: Products_currencyMinAggregateOutputType | null;
    _max: Products_currencyMaxAggregateOutputType | null;
};
type GetProducts_currencyGroupByPayload<T extends products_currencyGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Products_currencyGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Products_currencyGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Products_currencyGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Products_currencyGroupByOutputType[P]>;
}>>;
export type products_currencyWhereInput = {
    AND?: Prisma.products_currencyWhereInput | Prisma.products_currencyWhereInput[];
    OR?: Prisma.products_currencyWhereInput[];
    NOT?: Prisma.products_currencyWhereInput | Prisma.products_currencyWhereInput[];
    id?: Prisma.IntFilter<"products_currency"> | number;
    products_id?: Prisma.BigIntNullableFilter<"products_currency"> | bigint | number | null;
    currency_id?: Prisma.IntNullableFilter<"products_currency"> | number | null;
    currency?: Prisma.XOR<Prisma.CurrencyNullableScalarRelationFilter, Prisma.currencyWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
};
export type products_currencyOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    currency_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    currency?: Prisma.currencyOrderByWithRelationInput;
    products?: Prisma.productsOrderByWithRelationInput;
};
export type products_currencyWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.products_currencyWhereInput | Prisma.products_currencyWhereInput[];
    OR?: Prisma.products_currencyWhereInput[];
    NOT?: Prisma.products_currencyWhereInput | Prisma.products_currencyWhereInput[];
    products_id?: Prisma.BigIntNullableFilter<"products_currency"> | bigint | number | null;
    currency_id?: Prisma.IntNullableFilter<"products_currency"> | number | null;
    currency?: Prisma.XOR<Prisma.CurrencyNullableScalarRelationFilter, Prisma.currencyWhereInput> | null;
    products?: Prisma.XOR<Prisma.ProductsNullableScalarRelationFilter, Prisma.productsWhereInput> | null;
}, "id">;
export type products_currencyOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    currency_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.products_currencyCountOrderByAggregateInput;
    _avg?: Prisma.products_currencyAvgOrderByAggregateInput;
    _max?: Prisma.products_currencyMaxOrderByAggregateInput;
    _min?: Prisma.products_currencyMinOrderByAggregateInput;
    _sum?: Prisma.products_currencySumOrderByAggregateInput;
};
export type products_currencyScalarWhereWithAggregatesInput = {
    AND?: Prisma.products_currencyScalarWhereWithAggregatesInput | Prisma.products_currencyScalarWhereWithAggregatesInput[];
    OR?: Prisma.products_currencyScalarWhereWithAggregatesInput[];
    NOT?: Prisma.products_currencyScalarWhereWithAggregatesInput | Prisma.products_currencyScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"products_currency"> | number;
    products_id?: Prisma.BigIntNullableWithAggregatesFilter<"products_currency"> | bigint | number | null;
    currency_id?: Prisma.IntNullableWithAggregatesFilter<"products_currency"> | number | null;
};
export type products_currencyCreateInput = {
    currency?: Prisma.currencyCreateNestedOneWithoutProducts_currencyInput;
    products?: Prisma.productsCreateNestedOneWithoutProducts_currencyInput;
};
export type products_currencyUncheckedCreateInput = {
    id?: number;
    products_id?: bigint | number | null;
    currency_id?: number | null;
};
export type products_currencyUpdateInput = {
    currency?: Prisma.currencyUpdateOneWithoutProducts_currencyNestedInput;
    products?: Prisma.productsUpdateOneWithoutProducts_currencyNestedInput;
};
export type products_currencyUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type products_currencyCreateManyInput = {
    id?: number;
    products_id?: bigint | number | null;
    currency_id?: number | null;
};
export type products_currencyUpdateManyMutationInput = {};
export type products_currencyUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Products_currencyListRelationFilter = {
    every?: Prisma.products_currencyWhereInput;
    some?: Prisma.products_currencyWhereInput;
    none?: Prisma.products_currencyWhereInput;
};
export type products_currencyOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type products_currencyCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type products_currencyAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type products_currencyMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type products_currencyMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type products_currencySumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    products_id?: Prisma.SortOrder;
    currency_id?: Prisma.SortOrder;
};
export type products_currencyCreateNestedManyWithoutCurrencyInput = {
    create?: Prisma.XOR<Prisma.products_currencyCreateWithoutCurrencyInput, Prisma.products_currencyUncheckedCreateWithoutCurrencyInput> | Prisma.products_currencyCreateWithoutCurrencyInput[] | Prisma.products_currencyUncheckedCreateWithoutCurrencyInput[];
    connectOrCreate?: Prisma.products_currencyCreateOrConnectWithoutCurrencyInput | Prisma.products_currencyCreateOrConnectWithoutCurrencyInput[];
    createMany?: Prisma.products_currencyCreateManyCurrencyInputEnvelope;
    connect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
};
export type products_currencyUncheckedCreateNestedManyWithoutCurrencyInput = {
    create?: Prisma.XOR<Prisma.products_currencyCreateWithoutCurrencyInput, Prisma.products_currencyUncheckedCreateWithoutCurrencyInput> | Prisma.products_currencyCreateWithoutCurrencyInput[] | Prisma.products_currencyUncheckedCreateWithoutCurrencyInput[];
    connectOrCreate?: Prisma.products_currencyCreateOrConnectWithoutCurrencyInput | Prisma.products_currencyCreateOrConnectWithoutCurrencyInput[];
    createMany?: Prisma.products_currencyCreateManyCurrencyInputEnvelope;
    connect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
};
export type products_currencyUpdateManyWithoutCurrencyNestedInput = {
    create?: Prisma.XOR<Prisma.products_currencyCreateWithoutCurrencyInput, Prisma.products_currencyUncheckedCreateWithoutCurrencyInput> | Prisma.products_currencyCreateWithoutCurrencyInput[] | Prisma.products_currencyUncheckedCreateWithoutCurrencyInput[];
    connectOrCreate?: Prisma.products_currencyCreateOrConnectWithoutCurrencyInput | Prisma.products_currencyCreateOrConnectWithoutCurrencyInput[];
    upsert?: Prisma.products_currencyUpsertWithWhereUniqueWithoutCurrencyInput | Prisma.products_currencyUpsertWithWhereUniqueWithoutCurrencyInput[];
    createMany?: Prisma.products_currencyCreateManyCurrencyInputEnvelope;
    set?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    disconnect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    delete?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    connect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    update?: Prisma.products_currencyUpdateWithWhereUniqueWithoutCurrencyInput | Prisma.products_currencyUpdateWithWhereUniqueWithoutCurrencyInput[];
    updateMany?: Prisma.products_currencyUpdateManyWithWhereWithoutCurrencyInput | Prisma.products_currencyUpdateManyWithWhereWithoutCurrencyInput[];
    deleteMany?: Prisma.products_currencyScalarWhereInput | Prisma.products_currencyScalarWhereInput[];
};
export type products_currencyUncheckedUpdateManyWithoutCurrencyNestedInput = {
    create?: Prisma.XOR<Prisma.products_currencyCreateWithoutCurrencyInput, Prisma.products_currencyUncheckedCreateWithoutCurrencyInput> | Prisma.products_currencyCreateWithoutCurrencyInput[] | Prisma.products_currencyUncheckedCreateWithoutCurrencyInput[];
    connectOrCreate?: Prisma.products_currencyCreateOrConnectWithoutCurrencyInput | Prisma.products_currencyCreateOrConnectWithoutCurrencyInput[];
    upsert?: Prisma.products_currencyUpsertWithWhereUniqueWithoutCurrencyInput | Prisma.products_currencyUpsertWithWhereUniqueWithoutCurrencyInput[];
    createMany?: Prisma.products_currencyCreateManyCurrencyInputEnvelope;
    set?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    disconnect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    delete?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    connect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    update?: Prisma.products_currencyUpdateWithWhereUniqueWithoutCurrencyInput | Prisma.products_currencyUpdateWithWhereUniqueWithoutCurrencyInput[];
    updateMany?: Prisma.products_currencyUpdateManyWithWhereWithoutCurrencyInput | Prisma.products_currencyUpdateManyWithWhereWithoutCurrencyInput[];
    deleteMany?: Prisma.products_currencyScalarWhereInput | Prisma.products_currencyScalarWhereInput[];
};
export type products_currencyCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.products_currencyCreateWithoutProductsInput, Prisma.products_currencyUncheckedCreateWithoutProductsInput> | Prisma.products_currencyCreateWithoutProductsInput[] | Prisma.products_currencyUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_currencyCreateOrConnectWithoutProductsInput | Prisma.products_currencyCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.products_currencyCreateManyProductsInputEnvelope;
    connect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
};
export type products_currencyUncheckedCreateNestedManyWithoutProductsInput = {
    create?: Prisma.XOR<Prisma.products_currencyCreateWithoutProductsInput, Prisma.products_currencyUncheckedCreateWithoutProductsInput> | Prisma.products_currencyCreateWithoutProductsInput[] | Prisma.products_currencyUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_currencyCreateOrConnectWithoutProductsInput | Prisma.products_currencyCreateOrConnectWithoutProductsInput[];
    createMany?: Prisma.products_currencyCreateManyProductsInputEnvelope;
    connect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
};
export type products_currencyUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.products_currencyCreateWithoutProductsInput, Prisma.products_currencyUncheckedCreateWithoutProductsInput> | Prisma.products_currencyCreateWithoutProductsInput[] | Prisma.products_currencyUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_currencyCreateOrConnectWithoutProductsInput | Prisma.products_currencyCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.products_currencyUpsertWithWhereUniqueWithoutProductsInput | Prisma.products_currencyUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.products_currencyCreateManyProductsInputEnvelope;
    set?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    disconnect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    delete?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    connect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    update?: Prisma.products_currencyUpdateWithWhereUniqueWithoutProductsInput | Prisma.products_currencyUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.products_currencyUpdateManyWithWhereWithoutProductsInput | Prisma.products_currencyUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.products_currencyScalarWhereInput | Prisma.products_currencyScalarWhereInput[];
};
export type products_currencyUncheckedUpdateManyWithoutProductsNestedInput = {
    create?: Prisma.XOR<Prisma.products_currencyCreateWithoutProductsInput, Prisma.products_currencyUncheckedCreateWithoutProductsInput> | Prisma.products_currencyCreateWithoutProductsInput[] | Prisma.products_currencyUncheckedCreateWithoutProductsInput[];
    connectOrCreate?: Prisma.products_currencyCreateOrConnectWithoutProductsInput | Prisma.products_currencyCreateOrConnectWithoutProductsInput[];
    upsert?: Prisma.products_currencyUpsertWithWhereUniqueWithoutProductsInput | Prisma.products_currencyUpsertWithWhereUniqueWithoutProductsInput[];
    createMany?: Prisma.products_currencyCreateManyProductsInputEnvelope;
    set?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    disconnect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    delete?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    connect?: Prisma.products_currencyWhereUniqueInput | Prisma.products_currencyWhereUniqueInput[];
    update?: Prisma.products_currencyUpdateWithWhereUniqueWithoutProductsInput | Prisma.products_currencyUpdateWithWhereUniqueWithoutProductsInput[];
    updateMany?: Prisma.products_currencyUpdateManyWithWhereWithoutProductsInput | Prisma.products_currencyUpdateManyWithWhereWithoutProductsInput[];
    deleteMany?: Prisma.products_currencyScalarWhereInput | Prisma.products_currencyScalarWhereInput[];
};
export type products_currencyCreateWithoutCurrencyInput = {
    products?: Prisma.productsCreateNestedOneWithoutProducts_currencyInput;
};
export type products_currencyUncheckedCreateWithoutCurrencyInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type products_currencyCreateOrConnectWithoutCurrencyInput = {
    where: Prisma.products_currencyWhereUniqueInput;
    create: Prisma.XOR<Prisma.products_currencyCreateWithoutCurrencyInput, Prisma.products_currencyUncheckedCreateWithoutCurrencyInput>;
};
export type products_currencyCreateManyCurrencyInputEnvelope = {
    data: Prisma.products_currencyCreateManyCurrencyInput | Prisma.products_currencyCreateManyCurrencyInput[];
    skipDuplicates?: boolean;
};
export type products_currencyUpsertWithWhereUniqueWithoutCurrencyInput = {
    where: Prisma.products_currencyWhereUniqueInput;
    update: Prisma.XOR<Prisma.products_currencyUpdateWithoutCurrencyInput, Prisma.products_currencyUncheckedUpdateWithoutCurrencyInput>;
    create: Prisma.XOR<Prisma.products_currencyCreateWithoutCurrencyInput, Prisma.products_currencyUncheckedCreateWithoutCurrencyInput>;
};
export type products_currencyUpdateWithWhereUniqueWithoutCurrencyInput = {
    where: Prisma.products_currencyWhereUniqueInput;
    data: Prisma.XOR<Prisma.products_currencyUpdateWithoutCurrencyInput, Prisma.products_currencyUncheckedUpdateWithoutCurrencyInput>;
};
export type products_currencyUpdateManyWithWhereWithoutCurrencyInput = {
    where: Prisma.products_currencyScalarWhereInput;
    data: Prisma.XOR<Prisma.products_currencyUpdateManyMutationInput, Prisma.products_currencyUncheckedUpdateManyWithoutCurrencyInput>;
};
export type products_currencyScalarWhereInput = {
    AND?: Prisma.products_currencyScalarWhereInput | Prisma.products_currencyScalarWhereInput[];
    OR?: Prisma.products_currencyScalarWhereInput[];
    NOT?: Prisma.products_currencyScalarWhereInput | Prisma.products_currencyScalarWhereInput[];
    id?: Prisma.IntFilter<"products_currency"> | number;
    products_id?: Prisma.BigIntNullableFilter<"products_currency"> | bigint | number | null;
    currency_id?: Prisma.IntNullableFilter<"products_currency"> | number | null;
};
export type products_currencyCreateWithoutProductsInput = {
    currency?: Prisma.currencyCreateNestedOneWithoutProducts_currencyInput;
};
export type products_currencyUncheckedCreateWithoutProductsInput = {
    id?: number;
    currency_id?: number | null;
};
export type products_currencyCreateOrConnectWithoutProductsInput = {
    where: Prisma.products_currencyWhereUniqueInput;
    create: Prisma.XOR<Prisma.products_currencyCreateWithoutProductsInput, Prisma.products_currencyUncheckedCreateWithoutProductsInput>;
};
export type products_currencyCreateManyProductsInputEnvelope = {
    data: Prisma.products_currencyCreateManyProductsInput | Prisma.products_currencyCreateManyProductsInput[];
    skipDuplicates?: boolean;
};
export type products_currencyUpsertWithWhereUniqueWithoutProductsInput = {
    where: Prisma.products_currencyWhereUniqueInput;
    update: Prisma.XOR<Prisma.products_currencyUpdateWithoutProductsInput, Prisma.products_currencyUncheckedUpdateWithoutProductsInput>;
    create: Prisma.XOR<Prisma.products_currencyCreateWithoutProductsInput, Prisma.products_currencyUncheckedCreateWithoutProductsInput>;
};
export type products_currencyUpdateWithWhereUniqueWithoutProductsInput = {
    where: Prisma.products_currencyWhereUniqueInput;
    data: Prisma.XOR<Prisma.products_currencyUpdateWithoutProductsInput, Prisma.products_currencyUncheckedUpdateWithoutProductsInput>;
};
export type products_currencyUpdateManyWithWhereWithoutProductsInput = {
    where: Prisma.products_currencyScalarWhereInput;
    data: Prisma.XOR<Prisma.products_currencyUpdateManyMutationInput, Prisma.products_currencyUncheckedUpdateManyWithoutProductsInput>;
};
export type products_currencyCreateManyCurrencyInput = {
    id?: number;
    products_id?: bigint | number | null;
};
export type products_currencyUpdateWithoutCurrencyInput = {
    products?: Prisma.productsUpdateOneWithoutProducts_currencyNestedInput;
};
export type products_currencyUncheckedUpdateWithoutCurrencyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type products_currencyUncheckedUpdateManyWithoutCurrencyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    products_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type products_currencyCreateManyProductsInput = {
    id?: number;
    currency_id?: number | null;
};
export type products_currencyUpdateWithoutProductsInput = {
    currency?: Prisma.currencyUpdateOneWithoutProducts_currencyNestedInput;
};
export type products_currencyUncheckedUpdateWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type products_currencyUncheckedUpdateManyWithoutProductsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    currency_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type products_currencySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    currency_id?: boolean;
    currency?: boolean | Prisma.products_currency$currencyArgs<ExtArgs>;
    products?: boolean | Prisma.products_currency$productsArgs<ExtArgs>;
}, ExtArgs["result"]["products_currency"]>;
export type products_currencySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    currency_id?: boolean;
    currency?: boolean | Prisma.products_currency$currencyArgs<ExtArgs>;
    products?: boolean | Prisma.products_currency$productsArgs<ExtArgs>;
}, ExtArgs["result"]["products_currency"]>;
export type products_currencySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    products_id?: boolean;
    currency_id?: boolean;
    currency?: boolean | Prisma.products_currency$currencyArgs<ExtArgs>;
    products?: boolean | Prisma.products_currency$productsArgs<ExtArgs>;
}, ExtArgs["result"]["products_currency"]>;
export type products_currencySelectScalar = {
    id?: boolean;
    products_id?: boolean;
    currency_id?: boolean;
};
export type products_currencyOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "products_id" | "currency_id", ExtArgs["result"]["products_currency"]>;
export type products_currencyInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    currency?: boolean | Prisma.products_currency$currencyArgs<ExtArgs>;
    products?: boolean | Prisma.products_currency$productsArgs<ExtArgs>;
};
export type products_currencyIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    currency?: boolean | Prisma.products_currency$currencyArgs<ExtArgs>;
    products?: boolean | Prisma.products_currency$productsArgs<ExtArgs>;
};
export type products_currencyIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    currency?: boolean | Prisma.products_currency$currencyArgs<ExtArgs>;
    products?: boolean | Prisma.products_currency$productsArgs<ExtArgs>;
};
export type $products_currencyPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "products_currency";
    objects: {
        currency: Prisma.$currencyPayload<ExtArgs> | null;
        products: Prisma.$productsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        products_id: bigint | null;
        currency_id: number | null;
    }, ExtArgs["result"]["products_currency"]>;
    composites: {};
};
export type products_currencyGetPayload<S extends boolean | null | undefined | products_currencyDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$products_currencyPayload, S>;
export type products_currencyCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<products_currencyFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Products_currencyCountAggregateInputType | true;
};
export interface products_currencyDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['products_currency'];
        meta: {
            name: 'products_currency';
        };
    };
    /**
     * Find zero or one Products_currency that matches the filter.
     * @param {products_currencyFindUniqueArgs} args - Arguments to find a Products_currency
     * @example
     * // Get one Products_currency
     * const products_currency = await prisma.products_currency.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends products_currencyFindUniqueArgs>(args: Prisma.SelectSubset<T, products_currencyFindUniqueArgs<ExtArgs>>): Prisma.Prisma__products_currencyClient<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Products_currency that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {products_currencyFindUniqueOrThrowArgs} args - Arguments to find a Products_currency
     * @example
     * // Get one Products_currency
     * const products_currency = await prisma.products_currency.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends products_currencyFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, products_currencyFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__products_currencyClient<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Products_currency 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 {products_currencyFindFirstArgs} args - Arguments to find a Products_currency
     * @example
     * // Get one Products_currency
     * const products_currency = await prisma.products_currency.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends products_currencyFindFirstArgs>(args?: Prisma.SelectSubset<T, products_currencyFindFirstArgs<ExtArgs>>): Prisma.Prisma__products_currencyClient<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Products_currency 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 {products_currencyFindFirstOrThrowArgs} args - Arguments to find a Products_currency
     * @example
     * // Get one Products_currency
     * const products_currency = await prisma.products_currency.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends products_currencyFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, products_currencyFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__products_currencyClient<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Products_currencies 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 {products_currencyFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Products_currencies
     * const products_currencies = await prisma.products_currency.findMany()
     *
     * // Get first 10 Products_currencies
     * const products_currencies = await prisma.products_currency.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const products_currencyWithIdOnly = await prisma.products_currency.findMany({ select: { id: true } })
     *
     */
    findMany<T extends products_currencyFindManyArgs>(args?: Prisma.SelectSubset<T, products_currencyFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Products_currency.
     * @param {products_currencyCreateArgs} args - Arguments to create a Products_currency.
     * @example
     * // Create one Products_currency
     * const Products_currency = await prisma.products_currency.create({
     *   data: {
     *     // ... data to create a Products_currency
     *   }
     * })
     *
     */
    create<T extends products_currencyCreateArgs>(args: Prisma.SelectSubset<T, products_currencyCreateArgs<ExtArgs>>): Prisma.Prisma__products_currencyClient<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Products_currencies.
     * @param {products_currencyCreateManyArgs} args - Arguments to create many Products_currencies.
     * @example
     * // Create many Products_currencies
     * const products_currency = await prisma.products_currency.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends products_currencyCreateManyArgs>(args?: Prisma.SelectSubset<T, products_currencyCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Products_currencies and returns the data saved in the database.
     * @param {products_currencyCreateManyAndReturnArgs} args - Arguments to create many Products_currencies.
     * @example
     * // Create many Products_currencies
     * const products_currency = await prisma.products_currency.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Products_currencies and only return the `id`
     * const products_currencyWithIdOnly = await prisma.products_currency.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 products_currencyCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, products_currencyCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Products_currency.
     * @param {products_currencyDeleteArgs} args - Arguments to delete one Products_currency.
     * @example
     * // Delete one Products_currency
     * const Products_currency = await prisma.products_currency.delete({
     *   where: {
     *     // ... filter to delete one Products_currency
     *   }
     * })
     *
     */
    delete<T extends products_currencyDeleteArgs>(args: Prisma.SelectSubset<T, products_currencyDeleteArgs<ExtArgs>>): Prisma.Prisma__products_currencyClient<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Products_currency.
     * @param {products_currencyUpdateArgs} args - Arguments to update one Products_currency.
     * @example
     * // Update one Products_currency
     * const products_currency = await prisma.products_currency.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends products_currencyUpdateArgs>(args: Prisma.SelectSubset<T, products_currencyUpdateArgs<ExtArgs>>): Prisma.Prisma__products_currencyClient<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Products_currencies.
     * @param {products_currencyDeleteManyArgs} args - Arguments to filter Products_currencies to delete.
     * @example
     * // Delete a few Products_currencies
     * const { count } = await prisma.products_currency.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends products_currencyDeleteManyArgs>(args?: Prisma.SelectSubset<T, products_currencyDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Products_currencies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {products_currencyUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Products_currencies
     * const products_currency = await prisma.products_currency.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends products_currencyUpdateManyArgs>(args: Prisma.SelectSubset<T, products_currencyUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Products_currencies and returns the data updated in the database.
     * @param {products_currencyUpdateManyAndReturnArgs} args - Arguments to update many Products_currencies.
     * @example
     * // Update many Products_currencies
     * const products_currency = await prisma.products_currency.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Products_currencies and only return the `id`
     * const products_currencyWithIdOnly = await prisma.products_currency.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 products_currencyUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, products_currencyUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Products_currency.
     * @param {products_currencyUpsertArgs} args - Arguments to update or create a Products_currency.
     * @example
     * // Update or create a Products_currency
     * const products_currency = await prisma.products_currency.upsert({
     *   create: {
     *     // ... data to create a Products_currency
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Products_currency we want to update
     *   }
     * })
     */
    upsert<T extends products_currencyUpsertArgs>(args: Prisma.SelectSubset<T, products_currencyUpsertArgs<ExtArgs>>): Prisma.Prisma__products_currencyClient<runtime.Types.Result.GetResult<Prisma.$products_currencyPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Products_currencies.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {products_currencyCountArgs} args - Arguments to filter Products_currencies to count.
     * @example
     * // Count the number of Products_currencies
     * const count = await prisma.products_currency.count({
     *   where: {
     *     // ... the filter for the Products_currencies we want to count
     *   }
     * })
    **/
    count<T extends products_currencyCountArgs>(args?: Prisma.Subset<T, products_currencyCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Products_currencyCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Products_currency.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Products_currencyAggregateArgs} 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 Products_currencyAggregateArgs>(args: Prisma.Subset<T, Products_currencyAggregateArgs>): Prisma.PrismaPromise<GetProducts_currencyAggregateType<T>>;
    /**
     * Group by Products_currency.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {products_currencyGroupByArgs} 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 products_currencyGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: products_currencyGroupByArgs['orderBy'];
    } : {
        orderBy?: products_currencyGroupByArgs['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, products_currencyGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProducts_currencyGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the products_currency model
     */
    readonly fields: products_currencyFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for products_currency.
 * 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__products_currencyClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    currency<T extends Prisma.products_currency$currencyArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.products_currency$currencyArgs<ExtArgs>>): Prisma.Prisma__currencyClient<runtime.Types.Result.GetResult<Prisma.$currencyPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    products<T extends Prisma.products_currency$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.products_currency$productsArgs<ExtArgs>>): Prisma.Prisma__productsClient<runtime.Types.Result.GetResult<Prisma.$productsPayload<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 products_currency model
 */
export interface products_currencyFieldRefs {
    readonly id: Prisma.FieldRef<"products_currency", 'Int'>;
    readonly products_id: Prisma.FieldRef<"products_currency", 'BigInt'>;
    readonly currency_id: Prisma.FieldRef<"products_currency", 'Int'>;
}
/**
 * products_currency findUnique
 */
export type products_currencyFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which products_currency to fetch.
     */
    where: Prisma.products_currencyWhereUniqueInput;
};
/**
 * products_currency findUniqueOrThrow
 */
export type products_currencyFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which products_currency to fetch.
     */
    where: Prisma.products_currencyWhereUniqueInput;
};
/**
 * products_currency findFirst
 */
export type products_currencyFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which products_currency to fetch.
     */
    where?: Prisma.products_currencyWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_currencies to fetch.
     */
    orderBy?: Prisma.products_currencyOrderByWithRelationInput | Prisma.products_currencyOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for products_currencies.
     */
    cursor?: Prisma.products_currencyWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_currencies 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` products_currencies.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of products_currencies.
     */
    distinct?: Prisma.Products_currencyScalarFieldEnum | Prisma.Products_currencyScalarFieldEnum[];
};
/**
 * products_currency findFirstOrThrow
 */
export type products_currencyFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which products_currency to fetch.
     */
    where?: Prisma.products_currencyWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_currencies to fetch.
     */
    orderBy?: Prisma.products_currencyOrderByWithRelationInput | Prisma.products_currencyOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for products_currencies.
     */
    cursor?: Prisma.products_currencyWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_currencies 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` products_currencies.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of products_currencies.
     */
    distinct?: Prisma.Products_currencyScalarFieldEnum | Prisma.Products_currencyScalarFieldEnum[];
};
/**
 * products_currency findMany
 */
export type products_currencyFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
    /**
     * Filter, which products_currencies to fetch.
     */
    where?: Prisma.products_currencyWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of products_currencies to fetch.
     */
    orderBy?: Prisma.products_currencyOrderByWithRelationInput | Prisma.products_currencyOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing products_currencies.
     */
    cursor?: Prisma.products_currencyWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` products_currencies 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` products_currencies.
     */
    skip?: number;
    distinct?: Prisma.Products_currencyScalarFieldEnum | Prisma.Products_currencyScalarFieldEnum[];
};
/**
 * products_currency create
 */
export type products_currencyCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
    /**
     * The data needed to create a products_currency.
     */
    data?: Prisma.XOR<Prisma.products_currencyCreateInput, Prisma.products_currencyUncheckedCreateInput>;
};
/**
 * products_currency createMany
 */
export type products_currencyCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many products_currencies.
     */
    data: Prisma.products_currencyCreateManyInput | Prisma.products_currencyCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * products_currency createManyAndReturn
 */
export type products_currencyCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * The data used to create many products_currencies.
     */
    data: Prisma.products_currencyCreateManyInput | Prisma.products_currencyCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * products_currency update
 */
export type products_currencyUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
    /**
     * The data needed to update a products_currency.
     */
    data: Prisma.XOR<Prisma.products_currencyUpdateInput, Prisma.products_currencyUncheckedUpdateInput>;
    /**
     * Choose, which products_currency to update.
     */
    where: Prisma.products_currencyWhereUniqueInput;
};
/**
 * products_currency updateMany
 */
export type products_currencyUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update products_currencies.
     */
    data: Prisma.XOR<Prisma.products_currencyUpdateManyMutationInput, Prisma.products_currencyUncheckedUpdateManyInput>;
    /**
     * Filter which products_currencies to update
     */
    where?: Prisma.products_currencyWhereInput;
    /**
     * Limit how many products_currencies to update.
     */
    limit?: number;
};
/**
 * products_currency updateManyAndReturn
 */
export type products_currencyUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * The data used to update products_currencies.
     */
    data: Prisma.XOR<Prisma.products_currencyUpdateManyMutationInput, Prisma.products_currencyUncheckedUpdateManyInput>;
    /**
     * Filter which products_currencies to update
     */
    where?: Prisma.products_currencyWhereInput;
    /**
     * Limit how many products_currencies to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * products_currency upsert
 */
export type products_currencyUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
    /**
     * The filter to search for the products_currency to update in case it exists.
     */
    where: Prisma.products_currencyWhereUniqueInput;
    /**
     * In case the products_currency found by the `where` argument doesn't exist, create a new products_currency with this data.
     */
    create: Prisma.XOR<Prisma.products_currencyCreateInput, Prisma.products_currencyUncheckedCreateInput>;
    /**
     * In case the products_currency was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.products_currencyUpdateInput, Prisma.products_currencyUncheckedUpdateInput>;
};
/**
 * products_currency delete
 */
export type products_currencyDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
    /**
     * Filter which products_currency to delete.
     */
    where: Prisma.products_currencyWhereUniqueInput;
};
/**
 * products_currency deleteMany
 */
export type products_currencyDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which products_currencies to delete
     */
    where?: Prisma.products_currencyWhereInput;
    /**
     * Limit how many products_currencies to delete.
     */
    limit?: number;
};
/**
 * products_currency.currency
 */
export type products_currency$currencyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the currency
     */
    select?: Prisma.currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the currency
     */
    omit?: Prisma.currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.currencyInclude<ExtArgs> | null;
    where?: Prisma.currencyWhereInput;
};
/**
 * products_currency.products
 */
export type products_currency$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products
     */
    select?: Prisma.productsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products
     */
    omit?: Prisma.productsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.productsInclude<ExtArgs> | null;
    where?: Prisma.productsWhereInput;
};
/**
 * products_currency without action
 */
export type products_currencyDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the products_currency
     */
    select?: Prisma.products_currencySelect<ExtArgs> | null;
    /**
     * Omit specific fields from the products_currency
     */
    omit?: Prisma.products_currencyOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.products_currencyInclude<ExtArgs> | null;
};
export {};
