import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model incentives_orders
 * 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 incentives_ordersModel = runtime.Types.Result.DefaultSelection<Prisma.$incentives_ordersPayload>;
export type AggregateIncentives_orders = {
    _count: Incentives_ordersCountAggregateOutputType | null;
    _avg: Incentives_ordersAvgAggregateOutputType | null;
    _sum: Incentives_ordersSumAggregateOutputType | null;
    _min: Incentives_ordersMinAggregateOutputType | null;
    _max: Incentives_ordersMaxAggregateOutputType | null;
};
export type Incentives_ordersAvgAggregateOutputType = {
    id: number | null;
    incentives_id: number | null;
    orders_id: number | null;
};
export type Incentives_ordersSumAggregateOutputType = {
    id: number | null;
    incentives_id: number | null;
    orders_id: number | null;
};
export type Incentives_ordersMinAggregateOutputType = {
    id: number | null;
    incentives_id: number | null;
    orders_id: number | null;
};
export type Incentives_ordersMaxAggregateOutputType = {
    id: number | null;
    incentives_id: number | null;
    orders_id: number | null;
};
export type Incentives_ordersCountAggregateOutputType = {
    id: number;
    incentives_id: number;
    orders_id: number;
    _all: number;
};
export type Incentives_ordersAvgAggregateInputType = {
    id?: true;
    incentives_id?: true;
    orders_id?: true;
};
export type Incentives_ordersSumAggregateInputType = {
    id?: true;
    incentives_id?: true;
    orders_id?: true;
};
export type Incentives_ordersMinAggregateInputType = {
    id?: true;
    incentives_id?: true;
    orders_id?: true;
};
export type Incentives_ordersMaxAggregateInputType = {
    id?: true;
    incentives_id?: true;
    orders_id?: true;
};
export type Incentives_ordersCountAggregateInputType = {
    id?: true;
    incentives_id?: true;
    orders_id?: true;
    _all?: true;
};
export type Incentives_ordersAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which incentives_orders to aggregate.
     */
    where?: Prisma.incentives_ordersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of incentives_orders to fetch.
     */
    orderBy?: Prisma.incentives_ordersOrderByWithRelationInput | Prisma.incentives_ordersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.incentives_ordersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` incentives_orders 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` incentives_orders.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned incentives_orders
    **/
    _count?: true | Incentives_ordersCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Incentives_ordersAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Incentives_ordersSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Incentives_ordersMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Incentives_ordersMaxAggregateInputType;
};
export type GetIncentives_ordersAggregateType<T extends Incentives_ordersAggregateArgs> = {
    [P in keyof T & keyof AggregateIncentives_orders]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateIncentives_orders[P]> : Prisma.GetScalarType<T[P], AggregateIncentives_orders[P]>;
};
export type incentives_ordersGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.incentives_ordersWhereInput;
    orderBy?: Prisma.incentives_ordersOrderByWithAggregationInput | Prisma.incentives_ordersOrderByWithAggregationInput[];
    by: Prisma.Incentives_ordersScalarFieldEnum[] | Prisma.Incentives_ordersScalarFieldEnum;
    having?: Prisma.incentives_ordersScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Incentives_ordersCountAggregateInputType | true;
    _avg?: Incentives_ordersAvgAggregateInputType;
    _sum?: Incentives_ordersSumAggregateInputType;
    _min?: Incentives_ordersMinAggregateInputType;
    _max?: Incentives_ordersMaxAggregateInputType;
};
export type Incentives_ordersGroupByOutputType = {
    id: number;
    incentives_id: number | null;
    orders_id: number | null;
    _count: Incentives_ordersCountAggregateOutputType | null;
    _avg: Incentives_ordersAvgAggregateOutputType | null;
    _sum: Incentives_ordersSumAggregateOutputType | null;
    _min: Incentives_ordersMinAggregateOutputType | null;
    _max: Incentives_ordersMaxAggregateOutputType | null;
};
type GetIncentives_ordersGroupByPayload<T extends incentives_ordersGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Incentives_ordersGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Incentives_ordersGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Incentives_ordersGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Incentives_ordersGroupByOutputType[P]>;
}>>;
export type incentives_ordersWhereInput = {
    AND?: Prisma.incentives_ordersWhereInput | Prisma.incentives_ordersWhereInput[];
    OR?: Prisma.incentives_ordersWhereInput[];
    NOT?: Prisma.incentives_ordersWhereInput | Prisma.incentives_ordersWhereInput[];
    id?: Prisma.IntFilter<"incentives_orders"> | number;
    incentives_id?: Prisma.IntNullableFilter<"incentives_orders"> | number | null;
    orders_id?: Prisma.IntNullableFilter<"incentives_orders"> | number | null;
    incentives?: Prisma.XOR<Prisma.IncentivesNullableScalarRelationFilter, Prisma.incentivesWhereInput> | null;
    orders?: Prisma.XOR<Prisma.OrdersNullableScalarRelationFilter, Prisma.ordersWhereInput> | null;
};
export type incentives_ordersOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    incentives_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    orders_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    incentives?: Prisma.incentivesOrderByWithRelationInput;
    orders?: Prisma.ordersOrderByWithRelationInput;
};
export type incentives_ordersWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.incentives_ordersWhereInput | Prisma.incentives_ordersWhereInput[];
    OR?: Prisma.incentives_ordersWhereInput[];
    NOT?: Prisma.incentives_ordersWhereInput | Prisma.incentives_ordersWhereInput[];
    incentives_id?: Prisma.IntNullableFilter<"incentives_orders"> | number | null;
    orders_id?: Prisma.IntNullableFilter<"incentives_orders"> | number | null;
    incentives?: Prisma.XOR<Prisma.IncentivesNullableScalarRelationFilter, Prisma.incentivesWhereInput> | null;
    orders?: Prisma.XOR<Prisma.OrdersNullableScalarRelationFilter, Prisma.ordersWhereInput> | null;
}, "id">;
export type incentives_ordersOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    incentives_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    orders_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.incentives_ordersCountOrderByAggregateInput;
    _avg?: Prisma.incentives_ordersAvgOrderByAggregateInput;
    _max?: Prisma.incentives_ordersMaxOrderByAggregateInput;
    _min?: Prisma.incentives_ordersMinOrderByAggregateInput;
    _sum?: Prisma.incentives_ordersSumOrderByAggregateInput;
};
export type incentives_ordersScalarWhereWithAggregatesInput = {
    AND?: Prisma.incentives_ordersScalarWhereWithAggregatesInput | Prisma.incentives_ordersScalarWhereWithAggregatesInput[];
    OR?: Prisma.incentives_ordersScalarWhereWithAggregatesInput[];
    NOT?: Prisma.incentives_ordersScalarWhereWithAggregatesInput | Prisma.incentives_ordersScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"incentives_orders"> | number;
    incentives_id?: Prisma.IntNullableWithAggregatesFilter<"incentives_orders"> | number | null;
    orders_id?: Prisma.IntNullableWithAggregatesFilter<"incentives_orders"> | number | null;
};
export type incentives_ordersCreateInput = {
    incentives?: Prisma.incentivesCreateNestedOneWithoutIncentives_ordersInput;
    orders?: Prisma.ordersCreateNestedOneWithoutIncentives_ordersInput;
};
export type incentives_ordersUncheckedCreateInput = {
    id?: number;
    incentives_id?: number | null;
    orders_id?: number | null;
};
export type incentives_ordersUpdateInput = {
    incentives?: Prisma.incentivesUpdateOneWithoutIncentives_ordersNestedInput;
    orders?: Prisma.ordersUpdateOneWithoutIncentives_ordersNestedInput;
};
export type incentives_ordersUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    incentives_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type incentives_ordersCreateManyInput = {
    id?: number;
    incentives_id?: number | null;
    orders_id?: number | null;
};
export type incentives_ordersUpdateManyMutationInput = {};
export type incentives_ordersUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    incentives_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Incentives_ordersListRelationFilter = {
    every?: Prisma.incentives_ordersWhereInput;
    some?: Prisma.incentives_ordersWhereInput;
    none?: Prisma.incentives_ordersWhereInput;
};
export type incentives_ordersOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type incentives_ordersCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    incentives_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type incentives_ordersAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    incentives_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type incentives_ordersMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    incentives_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type incentives_ordersMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    incentives_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type incentives_ordersSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    incentives_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type incentives_ordersCreateNestedManyWithoutIncentivesInput = {
    create?: Prisma.XOR<Prisma.incentives_ordersCreateWithoutIncentivesInput, Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput> | Prisma.incentives_ordersCreateWithoutIncentivesInput[] | Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput[];
    connectOrCreate?: Prisma.incentives_ordersCreateOrConnectWithoutIncentivesInput | Prisma.incentives_ordersCreateOrConnectWithoutIncentivesInput[];
    createMany?: Prisma.incentives_ordersCreateManyIncentivesInputEnvelope;
    connect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
};
export type incentives_ordersUncheckedCreateNestedManyWithoutIncentivesInput = {
    create?: Prisma.XOR<Prisma.incentives_ordersCreateWithoutIncentivesInput, Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput> | Prisma.incentives_ordersCreateWithoutIncentivesInput[] | Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput[];
    connectOrCreate?: Prisma.incentives_ordersCreateOrConnectWithoutIncentivesInput | Prisma.incentives_ordersCreateOrConnectWithoutIncentivesInput[];
    createMany?: Prisma.incentives_ordersCreateManyIncentivesInputEnvelope;
    connect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
};
export type incentives_ordersUpdateManyWithoutIncentivesNestedInput = {
    create?: Prisma.XOR<Prisma.incentives_ordersCreateWithoutIncentivesInput, Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput> | Prisma.incentives_ordersCreateWithoutIncentivesInput[] | Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput[];
    connectOrCreate?: Prisma.incentives_ordersCreateOrConnectWithoutIncentivesInput | Prisma.incentives_ordersCreateOrConnectWithoutIncentivesInput[];
    upsert?: Prisma.incentives_ordersUpsertWithWhereUniqueWithoutIncentivesInput | Prisma.incentives_ordersUpsertWithWhereUniqueWithoutIncentivesInput[];
    createMany?: Prisma.incentives_ordersCreateManyIncentivesInputEnvelope;
    set?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    disconnect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    delete?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    connect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    update?: Prisma.incentives_ordersUpdateWithWhereUniqueWithoutIncentivesInput | Prisma.incentives_ordersUpdateWithWhereUniqueWithoutIncentivesInput[];
    updateMany?: Prisma.incentives_ordersUpdateManyWithWhereWithoutIncentivesInput | Prisma.incentives_ordersUpdateManyWithWhereWithoutIncentivesInput[];
    deleteMany?: Prisma.incentives_ordersScalarWhereInput | Prisma.incentives_ordersScalarWhereInput[];
};
export type incentives_ordersUncheckedUpdateManyWithoutIncentivesNestedInput = {
    create?: Prisma.XOR<Prisma.incentives_ordersCreateWithoutIncentivesInput, Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput> | Prisma.incentives_ordersCreateWithoutIncentivesInput[] | Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput[];
    connectOrCreate?: Prisma.incentives_ordersCreateOrConnectWithoutIncentivesInput | Prisma.incentives_ordersCreateOrConnectWithoutIncentivesInput[];
    upsert?: Prisma.incentives_ordersUpsertWithWhereUniqueWithoutIncentivesInput | Prisma.incentives_ordersUpsertWithWhereUniqueWithoutIncentivesInput[];
    createMany?: Prisma.incentives_ordersCreateManyIncentivesInputEnvelope;
    set?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    disconnect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    delete?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    connect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    update?: Prisma.incentives_ordersUpdateWithWhereUniqueWithoutIncentivesInput | Prisma.incentives_ordersUpdateWithWhereUniqueWithoutIncentivesInput[];
    updateMany?: Prisma.incentives_ordersUpdateManyWithWhereWithoutIncentivesInput | Prisma.incentives_ordersUpdateManyWithWhereWithoutIncentivesInput[];
    deleteMany?: Prisma.incentives_ordersScalarWhereInput | Prisma.incentives_ordersScalarWhereInput[];
};
export type incentives_ordersCreateNestedManyWithoutOrdersInput = {
    create?: Prisma.XOR<Prisma.incentives_ordersCreateWithoutOrdersInput, Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput> | Prisma.incentives_ordersCreateWithoutOrdersInput[] | Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.incentives_ordersCreateOrConnectWithoutOrdersInput | Prisma.incentives_ordersCreateOrConnectWithoutOrdersInput[];
    createMany?: Prisma.incentives_ordersCreateManyOrdersInputEnvelope;
    connect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
};
export type incentives_ordersUncheckedCreateNestedManyWithoutOrdersInput = {
    create?: Prisma.XOR<Prisma.incentives_ordersCreateWithoutOrdersInput, Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput> | Prisma.incentives_ordersCreateWithoutOrdersInput[] | Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.incentives_ordersCreateOrConnectWithoutOrdersInput | Prisma.incentives_ordersCreateOrConnectWithoutOrdersInput[];
    createMany?: Prisma.incentives_ordersCreateManyOrdersInputEnvelope;
    connect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
};
export type incentives_ordersUpdateManyWithoutOrdersNestedInput = {
    create?: Prisma.XOR<Prisma.incentives_ordersCreateWithoutOrdersInput, Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput> | Prisma.incentives_ordersCreateWithoutOrdersInput[] | Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.incentives_ordersCreateOrConnectWithoutOrdersInput | Prisma.incentives_ordersCreateOrConnectWithoutOrdersInput[];
    upsert?: Prisma.incentives_ordersUpsertWithWhereUniqueWithoutOrdersInput | Prisma.incentives_ordersUpsertWithWhereUniqueWithoutOrdersInput[];
    createMany?: Prisma.incentives_ordersCreateManyOrdersInputEnvelope;
    set?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    disconnect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    delete?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    connect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    update?: Prisma.incentives_ordersUpdateWithWhereUniqueWithoutOrdersInput | Prisma.incentives_ordersUpdateWithWhereUniqueWithoutOrdersInput[];
    updateMany?: Prisma.incentives_ordersUpdateManyWithWhereWithoutOrdersInput | Prisma.incentives_ordersUpdateManyWithWhereWithoutOrdersInput[];
    deleteMany?: Prisma.incentives_ordersScalarWhereInput | Prisma.incentives_ordersScalarWhereInput[];
};
export type incentives_ordersUncheckedUpdateManyWithoutOrdersNestedInput = {
    create?: Prisma.XOR<Prisma.incentives_ordersCreateWithoutOrdersInput, Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput> | Prisma.incentives_ordersCreateWithoutOrdersInput[] | Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.incentives_ordersCreateOrConnectWithoutOrdersInput | Prisma.incentives_ordersCreateOrConnectWithoutOrdersInput[];
    upsert?: Prisma.incentives_ordersUpsertWithWhereUniqueWithoutOrdersInput | Prisma.incentives_ordersUpsertWithWhereUniqueWithoutOrdersInput[];
    createMany?: Prisma.incentives_ordersCreateManyOrdersInputEnvelope;
    set?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    disconnect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    delete?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    connect?: Prisma.incentives_ordersWhereUniqueInput | Prisma.incentives_ordersWhereUniqueInput[];
    update?: Prisma.incentives_ordersUpdateWithWhereUniqueWithoutOrdersInput | Prisma.incentives_ordersUpdateWithWhereUniqueWithoutOrdersInput[];
    updateMany?: Prisma.incentives_ordersUpdateManyWithWhereWithoutOrdersInput | Prisma.incentives_ordersUpdateManyWithWhereWithoutOrdersInput[];
    deleteMany?: Prisma.incentives_ordersScalarWhereInput | Prisma.incentives_ordersScalarWhereInput[];
};
export type incentives_ordersCreateWithoutIncentivesInput = {
    orders?: Prisma.ordersCreateNestedOneWithoutIncentives_ordersInput;
};
export type incentives_ordersUncheckedCreateWithoutIncentivesInput = {
    id?: number;
    orders_id?: number | null;
};
export type incentives_ordersCreateOrConnectWithoutIncentivesInput = {
    where: Prisma.incentives_ordersWhereUniqueInput;
    create: Prisma.XOR<Prisma.incentives_ordersCreateWithoutIncentivesInput, Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput>;
};
export type incentives_ordersCreateManyIncentivesInputEnvelope = {
    data: Prisma.incentives_ordersCreateManyIncentivesInput | Prisma.incentives_ordersCreateManyIncentivesInput[];
    skipDuplicates?: boolean;
};
export type incentives_ordersUpsertWithWhereUniqueWithoutIncentivesInput = {
    where: Prisma.incentives_ordersWhereUniqueInput;
    update: Prisma.XOR<Prisma.incentives_ordersUpdateWithoutIncentivesInput, Prisma.incentives_ordersUncheckedUpdateWithoutIncentivesInput>;
    create: Prisma.XOR<Prisma.incentives_ordersCreateWithoutIncentivesInput, Prisma.incentives_ordersUncheckedCreateWithoutIncentivesInput>;
};
export type incentives_ordersUpdateWithWhereUniqueWithoutIncentivesInput = {
    where: Prisma.incentives_ordersWhereUniqueInput;
    data: Prisma.XOR<Prisma.incentives_ordersUpdateWithoutIncentivesInput, Prisma.incentives_ordersUncheckedUpdateWithoutIncentivesInput>;
};
export type incentives_ordersUpdateManyWithWhereWithoutIncentivesInput = {
    where: Prisma.incentives_ordersScalarWhereInput;
    data: Prisma.XOR<Prisma.incentives_ordersUpdateManyMutationInput, Prisma.incentives_ordersUncheckedUpdateManyWithoutIncentivesInput>;
};
export type incentives_ordersScalarWhereInput = {
    AND?: Prisma.incentives_ordersScalarWhereInput | Prisma.incentives_ordersScalarWhereInput[];
    OR?: Prisma.incentives_ordersScalarWhereInput[];
    NOT?: Prisma.incentives_ordersScalarWhereInput | Prisma.incentives_ordersScalarWhereInput[];
    id?: Prisma.IntFilter<"incentives_orders"> | number;
    incentives_id?: Prisma.IntNullableFilter<"incentives_orders"> | number | null;
    orders_id?: Prisma.IntNullableFilter<"incentives_orders"> | number | null;
};
export type incentives_ordersCreateWithoutOrdersInput = {
    incentives?: Prisma.incentivesCreateNestedOneWithoutIncentives_ordersInput;
};
export type incentives_ordersUncheckedCreateWithoutOrdersInput = {
    id?: number;
    incentives_id?: number | null;
};
export type incentives_ordersCreateOrConnectWithoutOrdersInput = {
    where: Prisma.incentives_ordersWhereUniqueInput;
    create: Prisma.XOR<Prisma.incentives_ordersCreateWithoutOrdersInput, Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput>;
};
export type incentives_ordersCreateManyOrdersInputEnvelope = {
    data: Prisma.incentives_ordersCreateManyOrdersInput | Prisma.incentives_ordersCreateManyOrdersInput[];
    skipDuplicates?: boolean;
};
export type incentives_ordersUpsertWithWhereUniqueWithoutOrdersInput = {
    where: Prisma.incentives_ordersWhereUniqueInput;
    update: Prisma.XOR<Prisma.incentives_ordersUpdateWithoutOrdersInput, Prisma.incentives_ordersUncheckedUpdateWithoutOrdersInput>;
    create: Prisma.XOR<Prisma.incentives_ordersCreateWithoutOrdersInput, Prisma.incentives_ordersUncheckedCreateWithoutOrdersInput>;
};
export type incentives_ordersUpdateWithWhereUniqueWithoutOrdersInput = {
    where: Prisma.incentives_ordersWhereUniqueInput;
    data: Prisma.XOR<Prisma.incentives_ordersUpdateWithoutOrdersInput, Prisma.incentives_ordersUncheckedUpdateWithoutOrdersInput>;
};
export type incentives_ordersUpdateManyWithWhereWithoutOrdersInput = {
    where: Prisma.incentives_ordersScalarWhereInput;
    data: Prisma.XOR<Prisma.incentives_ordersUpdateManyMutationInput, Prisma.incentives_ordersUncheckedUpdateManyWithoutOrdersInput>;
};
export type incentives_ordersCreateManyIncentivesInput = {
    id?: number;
    orders_id?: number | null;
};
export type incentives_ordersUpdateWithoutIncentivesInput = {
    orders?: Prisma.ordersUpdateOneWithoutIncentives_ordersNestedInput;
};
export type incentives_ordersUncheckedUpdateWithoutIncentivesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type incentives_ordersUncheckedUpdateManyWithoutIncentivesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type incentives_ordersCreateManyOrdersInput = {
    id?: number;
    incentives_id?: number | null;
};
export type incentives_ordersUpdateWithoutOrdersInput = {
    incentives?: Prisma.incentivesUpdateOneWithoutIncentives_ordersNestedInput;
};
export type incentives_ordersUncheckedUpdateWithoutOrdersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    incentives_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type incentives_ordersUncheckedUpdateManyWithoutOrdersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    incentives_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type incentives_ordersSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    incentives_id?: boolean;
    orders_id?: boolean;
    incentives?: boolean | Prisma.incentives_orders$incentivesArgs<ExtArgs>;
    orders?: boolean | Prisma.incentives_orders$ordersArgs<ExtArgs>;
}, ExtArgs["result"]["incentives_orders"]>;
export type incentives_ordersSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    incentives_id?: boolean;
    orders_id?: boolean;
    incentives?: boolean | Prisma.incentives_orders$incentivesArgs<ExtArgs>;
    orders?: boolean | Prisma.incentives_orders$ordersArgs<ExtArgs>;
}, ExtArgs["result"]["incentives_orders"]>;
export type incentives_ordersSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    incentives_id?: boolean;
    orders_id?: boolean;
    incentives?: boolean | Prisma.incentives_orders$incentivesArgs<ExtArgs>;
    orders?: boolean | Prisma.incentives_orders$ordersArgs<ExtArgs>;
}, ExtArgs["result"]["incentives_orders"]>;
export type incentives_ordersSelectScalar = {
    id?: boolean;
    incentives_id?: boolean;
    orders_id?: boolean;
};
export type incentives_ordersOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "incentives_id" | "orders_id", ExtArgs["result"]["incentives_orders"]>;
export type incentives_ordersInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    incentives?: boolean | Prisma.incentives_orders$incentivesArgs<ExtArgs>;
    orders?: boolean | Prisma.incentives_orders$ordersArgs<ExtArgs>;
};
export type incentives_ordersIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    incentives?: boolean | Prisma.incentives_orders$incentivesArgs<ExtArgs>;
    orders?: boolean | Prisma.incentives_orders$ordersArgs<ExtArgs>;
};
export type incentives_ordersIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    incentives?: boolean | Prisma.incentives_orders$incentivesArgs<ExtArgs>;
    orders?: boolean | Prisma.incentives_orders$ordersArgs<ExtArgs>;
};
export type $incentives_ordersPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "incentives_orders";
    objects: {
        incentives: Prisma.$incentivesPayload<ExtArgs> | null;
        orders: Prisma.$ordersPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        incentives_id: number | null;
        orders_id: number | null;
    }, ExtArgs["result"]["incentives_orders"]>;
    composites: {};
};
export type incentives_ordersGetPayload<S extends boolean | null | undefined | incentives_ordersDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload, S>;
export type incentives_ordersCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<incentives_ordersFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Incentives_ordersCountAggregateInputType | true;
};
export interface incentives_ordersDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['incentives_orders'];
        meta: {
            name: 'incentives_orders';
        };
    };
    /**
     * Find zero or one Incentives_orders that matches the filter.
     * @param {incentives_ordersFindUniqueArgs} args - Arguments to find a Incentives_orders
     * @example
     * // Get one Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends incentives_ordersFindUniqueArgs>(args: Prisma.SelectSubset<T, incentives_ordersFindUniqueArgs<ExtArgs>>): Prisma.Prisma__incentives_ordersClient<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Incentives_orders that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {incentives_ordersFindUniqueOrThrowArgs} args - Arguments to find a Incentives_orders
     * @example
     * // Get one Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends incentives_ordersFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, incentives_ordersFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__incentives_ordersClient<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Incentives_orders 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 {incentives_ordersFindFirstArgs} args - Arguments to find a Incentives_orders
     * @example
     * // Get one Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends incentives_ordersFindFirstArgs>(args?: Prisma.SelectSubset<T, incentives_ordersFindFirstArgs<ExtArgs>>): Prisma.Prisma__incentives_ordersClient<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Incentives_orders 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 {incentives_ordersFindFirstOrThrowArgs} args - Arguments to find a Incentives_orders
     * @example
     * // Get one Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends incentives_ordersFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, incentives_ordersFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__incentives_ordersClient<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Incentives_orders 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 {incentives_ordersFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.findMany()
     *
     * // Get first 10 Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const incentives_ordersWithIdOnly = await prisma.incentives_orders.findMany({ select: { id: true } })
     *
     */
    findMany<T extends incentives_ordersFindManyArgs>(args?: Prisma.SelectSubset<T, incentives_ordersFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Incentives_orders.
     * @param {incentives_ordersCreateArgs} args - Arguments to create a Incentives_orders.
     * @example
     * // Create one Incentives_orders
     * const Incentives_orders = await prisma.incentives_orders.create({
     *   data: {
     *     // ... data to create a Incentives_orders
     *   }
     * })
     *
     */
    create<T extends incentives_ordersCreateArgs>(args: Prisma.SelectSubset<T, incentives_ordersCreateArgs<ExtArgs>>): Prisma.Prisma__incentives_ordersClient<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Incentives_orders.
     * @param {incentives_ordersCreateManyArgs} args - Arguments to create many Incentives_orders.
     * @example
     * // Create many Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends incentives_ordersCreateManyArgs>(args?: Prisma.SelectSubset<T, incentives_ordersCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Incentives_orders and returns the data saved in the database.
     * @param {incentives_ordersCreateManyAndReturnArgs} args - Arguments to create many Incentives_orders.
     * @example
     * // Create many Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Incentives_orders and only return the `id`
     * const incentives_ordersWithIdOnly = await prisma.incentives_orders.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 incentives_ordersCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, incentives_ordersCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Incentives_orders.
     * @param {incentives_ordersDeleteArgs} args - Arguments to delete one Incentives_orders.
     * @example
     * // Delete one Incentives_orders
     * const Incentives_orders = await prisma.incentives_orders.delete({
     *   where: {
     *     // ... filter to delete one Incentives_orders
     *   }
     * })
     *
     */
    delete<T extends incentives_ordersDeleteArgs>(args: Prisma.SelectSubset<T, incentives_ordersDeleteArgs<ExtArgs>>): Prisma.Prisma__incentives_ordersClient<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Incentives_orders.
     * @param {incentives_ordersUpdateArgs} args - Arguments to update one Incentives_orders.
     * @example
     * // Update one Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends incentives_ordersUpdateArgs>(args: Prisma.SelectSubset<T, incentives_ordersUpdateArgs<ExtArgs>>): Prisma.Prisma__incentives_ordersClient<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Incentives_orders.
     * @param {incentives_ordersDeleteManyArgs} args - Arguments to filter Incentives_orders to delete.
     * @example
     * // Delete a few Incentives_orders
     * const { count } = await prisma.incentives_orders.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends incentives_ordersDeleteManyArgs>(args?: Prisma.SelectSubset<T, incentives_ordersDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Incentives_orders.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {incentives_ordersUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends incentives_ordersUpdateManyArgs>(args: Prisma.SelectSubset<T, incentives_ordersUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Incentives_orders and returns the data updated in the database.
     * @param {incentives_ordersUpdateManyAndReturnArgs} args - Arguments to update many Incentives_orders.
     * @example
     * // Update many Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Incentives_orders and only return the `id`
     * const incentives_ordersWithIdOnly = await prisma.incentives_orders.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 incentives_ordersUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, incentives_ordersUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Incentives_orders.
     * @param {incentives_ordersUpsertArgs} args - Arguments to update or create a Incentives_orders.
     * @example
     * // Update or create a Incentives_orders
     * const incentives_orders = await prisma.incentives_orders.upsert({
     *   create: {
     *     // ... data to create a Incentives_orders
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Incentives_orders we want to update
     *   }
     * })
     */
    upsert<T extends incentives_ordersUpsertArgs>(args: Prisma.SelectSubset<T, incentives_ordersUpsertArgs<ExtArgs>>): Prisma.Prisma__incentives_ordersClient<runtime.Types.Result.GetResult<Prisma.$incentives_ordersPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Incentives_orders.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {incentives_ordersCountArgs} args - Arguments to filter Incentives_orders to count.
     * @example
     * // Count the number of Incentives_orders
     * const count = await prisma.incentives_orders.count({
     *   where: {
     *     // ... the filter for the Incentives_orders we want to count
     *   }
     * })
    **/
    count<T extends incentives_ordersCountArgs>(args?: Prisma.Subset<T, incentives_ordersCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Incentives_ordersCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Incentives_orders.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Incentives_ordersAggregateArgs} 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 Incentives_ordersAggregateArgs>(args: Prisma.Subset<T, Incentives_ordersAggregateArgs>): Prisma.PrismaPromise<GetIncentives_ordersAggregateType<T>>;
    /**
     * Group by Incentives_orders.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {incentives_ordersGroupByArgs} 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 incentives_ordersGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: incentives_ordersGroupByArgs['orderBy'];
    } : {
        orderBy?: incentives_ordersGroupByArgs['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, incentives_ordersGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetIncentives_ordersGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the incentives_orders model
     */
    readonly fields: incentives_ordersFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for incentives_orders.
 * 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__incentives_ordersClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    incentives<T extends Prisma.incentives_orders$incentivesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.incentives_orders$incentivesArgs<ExtArgs>>): Prisma.Prisma__incentivesClient<runtime.Types.Result.GetResult<Prisma.$incentivesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    orders<T extends Prisma.incentives_orders$ordersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.incentives_orders$ordersArgs<ExtArgs>>): Prisma.Prisma__ordersClient<runtime.Types.Result.GetResult<Prisma.$ordersPayload<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 incentives_orders model
 */
export interface incentives_ordersFieldRefs {
    readonly id: Prisma.FieldRef<"incentives_orders", 'Int'>;
    readonly incentives_id: Prisma.FieldRef<"incentives_orders", 'Int'>;
    readonly orders_id: Prisma.FieldRef<"incentives_orders", 'Int'>;
}
/**
 * incentives_orders findUnique
 */
export type incentives_ordersFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which incentives_orders to fetch.
     */
    where: Prisma.incentives_ordersWhereUniqueInput;
};
/**
 * incentives_orders findUniqueOrThrow
 */
export type incentives_ordersFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which incentives_orders to fetch.
     */
    where: Prisma.incentives_ordersWhereUniqueInput;
};
/**
 * incentives_orders findFirst
 */
export type incentives_ordersFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which incentives_orders to fetch.
     */
    where?: Prisma.incentives_ordersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of incentives_orders to fetch.
     */
    orderBy?: Prisma.incentives_ordersOrderByWithRelationInput | Prisma.incentives_ordersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for incentives_orders.
     */
    cursor?: Prisma.incentives_ordersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` incentives_orders 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` incentives_orders.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of incentives_orders.
     */
    distinct?: Prisma.Incentives_ordersScalarFieldEnum | Prisma.Incentives_ordersScalarFieldEnum[];
};
/**
 * incentives_orders findFirstOrThrow
 */
export type incentives_ordersFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which incentives_orders to fetch.
     */
    where?: Prisma.incentives_ordersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of incentives_orders to fetch.
     */
    orderBy?: Prisma.incentives_ordersOrderByWithRelationInput | Prisma.incentives_ordersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for incentives_orders.
     */
    cursor?: Prisma.incentives_ordersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` incentives_orders 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` incentives_orders.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of incentives_orders.
     */
    distinct?: Prisma.Incentives_ordersScalarFieldEnum | Prisma.Incentives_ordersScalarFieldEnum[];
};
/**
 * incentives_orders findMany
 */
export type incentives_ordersFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which incentives_orders to fetch.
     */
    where?: Prisma.incentives_ordersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of incentives_orders to fetch.
     */
    orderBy?: Prisma.incentives_ordersOrderByWithRelationInput | Prisma.incentives_ordersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing incentives_orders.
     */
    cursor?: Prisma.incentives_ordersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` incentives_orders 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` incentives_orders.
     */
    skip?: number;
    distinct?: Prisma.Incentives_ordersScalarFieldEnum | Prisma.Incentives_ordersScalarFieldEnum[];
};
/**
 * incentives_orders create
 */
export type incentives_ordersCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
    /**
     * The data needed to create a incentives_orders.
     */
    data?: Prisma.XOR<Prisma.incentives_ordersCreateInput, Prisma.incentives_ordersUncheckedCreateInput>;
};
/**
 * incentives_orders createMany
 */
export type incentives_ordersCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many incentives_orders.
     */
    data: Prisma.incentives_ordersCreateManyInput | Prisma.incentives_ordersCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * incentives_orders createManyAndReturn
 */
export type incentives_ordersCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * The data used to create many incentives_orders.
     */
    data: Prisma.incentives_ordersCreateManyInput | Prisma.incentives_ordersCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * incentives_orders update
 */
export type incentives_ordersUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
    /**
     * The data needed to update a incentives_orders.
     */
    data: Prisma.XOR<Prisma.incentives_ordersUpdateInput, Prisma.incentives_ordersUncheckedUpdateInput>;
    /**
     * Choose, which incentives_orders to update.
     */
    where: Prisma.incentives_ordersWhereUniqueInput;
};
/**
 * incentives_orders updateMany
 */
export type incentives_ordersUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update incentives_orders.
     */
    data: Prisma.XOR<Prisma.incentives_ordersUpdateManyMutationInput, Prisma.incentives_ordersUncheckedUpdateManyInput>;
    /**
     * Filter which incentives_orders to update
     */
    where?: Prisma.incentives_ordersWhereInput;
    /**
     * Limit how many incentives_orders to update.
     */
    limit?: number;
};
/**
 * incentives_orders updateManyAndReturn
 */
export type incentives_ordersUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * The data used to update incentives_orders.
     */
    data: Prisma.XOR<Prisma.incentives_ordersUpdateManyMutationInput, Prisma.incentives_ordersUncheckedUpdateManyInput>;
    /**
     * Filter which incentives_orders to update
     */
    where?: Prisma.incentives_ordersWhereInput;
    /**
     * Limit how many incentives_orders to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * incentives_orders upsert
 */
export type incentives_ordersUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
    /**
     * The filter to search for the incentives_orders to update in case it exists.
     */
    where: Prisma.incentives_ordersWhereUniqueInput;
    /**
     * In case the incentives_orders found by the `where` argument doesn't exist, create a new incentives_orders with this data.
     */
    create: Prisma.XOR<Prisma.incentives_ordersCreateInput, Prisma.incentives_ordersUncheckedCreateInput>;
    /**
     * In case the incentives_orders was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.incentives_ordersUpdateInput, Prisma.incentives_ordersUncheckedUpdateInput>;
};
/**
 * incentives_orders delete
 */
export type incentives_ordersDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
    /**
     * Filter which incentives_orders to delete.
     */
    where: Prisma.incentives_ordersWhereUniqueInput;
};
/**
 * incentives_orders deleteMany
 */
export type incentives_ordersDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which incentives_orders to delete
     */
    where?: Prisma.incentives_ordersWhereInput;
    /**
     * Limit how many incentives_orders to delete.
     */
    limit?: number;
};
/**
 * incentives_orders.incentives
 */
export type incentives_orders$incentivesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives
     */
    select?: Prisma.incentivesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives
     */
    omit?: Prisma.incentivesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentivesInclude<ExtArgs> | null;
    where?: Prisma.incentivesWhereInput;
};
/**
 * incentives_orders.orders
 */
export type incentives_orders$ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the orders
     */
    select?: Prisma.ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the orders
     */
    omit?: Prisma.ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.ordersInclude<ExtArgs> | null;
    where?: Prisma.ordersWhereInput;
};
/**
 * incentives_orders without action
 */
export type incentives_ordersDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the incentives_orders
     */
    select?: Prisma.incentives_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the incentives_orders
     */
    omit?: Prisma.incentives_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.incentives_ordersInclude<ExtArgs> | null;
};
export {};
