import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model payments_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 payments_ordersModel = runtime.Types.Result.DefaultSelection<Prisma.$payments_ordersPayload>;
export type AggregatePayments_orders = {
    _count: Payments_ordersCountAggregateOutputType | null;
    _avg: Payments_ordersAvgAggregateOutputType | null;
    _sum: Payments_ordersSumAggregateOutputType | null;
    _min: Payments_ordersMinAggregateOutputType | null;
    _max: Payments_ordersMaxAggregateOutputType | null;
};
export type Payments_ordersAvgAggregateOutputType = {
    id: number | null;
    payments_id: number | null;
    orders_id: number | null;
};
export type Payments_ordersSumAggregateOutputType = {
    id: number | null;
    payments_id: number | null;
    orders_id: number | null;
};
export type Payments_ordersMinAggregateOutputType = {
    id: number | null;
    payments_id: number | null;
    orders_id: number | null;
};
export type Payments_ordersMaxAggregateOutputType = {
    id: number | null;
    payments_id: number | null;
    orders_id: number | null;
};
export type Payments_ordersCountAggregateOutputType = {
    id: number;
    payments_id: number;
    orders_id: number;
    _all: number;
};
export type Payments_ordersAvgAggregateInputType = {
    id?: true;
    payments_id?: true;
    orders_id?: true;
};
export type Payments_ordersSumAggregateInputType = {
    id?: true;
    payments_id?: true;
    orders_id?: true;
};
export type Payments_ordersMinAggregateInputType = {
    id?: true;
    payments_id?: true;
    orders_id?: true;
};
export type Payments_ordersMaxAggregateInputType = {
    id?: true;
    payments_id?: true;
    orders_id?: true;
};
export type Payments_ordersCountAggregateInputType = {
    id?: true;
    payments_id?: true;
    orders_id?: true;
    _all?: true;
};
export type Payments_ordersAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which payments_orders to aggregate.
     */
    where?: Prisma.payments_ordersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of payments_orders to fetch.
     */
    orderBy?: Prisma.payments_ordersOrderByWithRelationInput | Prisma.payments_ordersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.payments_ordersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` payments_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` payments_orders.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned payments_orders
    **/
    _count?: true | Payments_ordersCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Payments_ordersAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Payments_ordersSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Payments_ordersMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Payments_ordersMaxAggregateInputType;
};
export type GetPayments_ordersAggregateType<T extends Payments_ordersAggregateArgs> = {
    [P in keyof T & keyof AggregatePayments_orders]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePayments_orders[P]> : Prisma.GetScalarType<T[P], AggregatePayments_orders[P]>;
};
export type payments_ordersGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.payments_ordersWhereInput;
    orderBy?: Prisma.payments_ordersOrderByWithAggregationInput | Prisma.payments_ordersOrderByWithAggregationInput[];
    by: Prisma.Payments_ordersScalarFieldEnum[] | Prisma.Payments_ordersScalarFieldEnum;
    having?: Prisma.payments_ordersScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Payments_ordersCountAggregateInputType | true;
    _avg?: Payments_ordersAvgAggregateInputType;
    _sum?: Payments_ordersSumAggregateInputType;
    _min?: Payments_ordersMinAggregateInputType;
    _max?: Payments_ordersMaxAggregateInputType;
};
export type Payments_ordersGroupByOutputType = {
    id: number;
    payments_id: number | null;
    orders_id: number | null;
    _count: Payments_ordersCountAggregateOutputType | null;
    _avg: Payments_ordersAvgAggregateOutputType | null;
    _sum: Payments_ordersSumAggregateOutputType | null;
    _min: Payments_ordersMinAggregateOutputType | null;
    _max: Payments_ordersMaxAggregateOutputType | null;
};
type GetPayments_ordersGroupByPayload<T extends payments_ordersGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Payments_ordersGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Payments_ordersGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Payments_ordersGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Payments_ordersGroupByOutputType[P]>;
}>>;
export type payments_ordersWhereInput = {
    AND?: Prisma.payments_ordersWhereInput | Prisma.payments_ordersWhereInput[];
    OR?: Prisma.payments_ordersWhereInput[];
    NOT?: Prisma.payments_ordersWhereInput | Prisma.payments_ordersWhereInput[];
    id?: Prisma.IntFilter<"payments_orders"> | number;
    payments_id?: Prisma.IntNullableFilter<"payments_orders"> | number | null;
    orders_id?: Prisma.IntNullableFilter<"payments_orders"> | number | null;
    orders?: Prisma.XOR<Prisma.OrdersNullableScalarRelationFilter, Prisma.ordersWhereInput> | null;
    payments?: Prisma.XOR<Prisma.PaymentsNullableScalarRelationFilter, Prisma.paymentsWhereInput> | null;
};
export type payments_ordersOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    payments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    orders_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    orders?: Prisma.ordersOrderByWithRelationInput;
    payments?: Prisma.paymentsOrderByWithRelationInput;
};
export type payments_ordersWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.payments_ordersWhereInput | Prisma.payments_ordersWhereInput[];
    OR?: Prisma.payments_ordersWhereInput[];
    NOT?: Prisma.payments_ordersWhereInput | Prisma.payments_ordersWhereInput[];
    payments_id?: Prisma.IntNullableFilter<"payments_orders"> | number | null;
    orders_id?: Prisma.IntNullableFilter<"payments_orders"> | number | null;
    orders?: Prisma.XOR<Prisma.OrdersNullableScalarRelationFilter, Prisma.ordersWhereInput> | null;
    payments?: Prisma.XOR<Prisma.PaymentsNullableScalarRelationFilter, Prisma.paymentsWhereInput> | null;
}, "id">;
export type payments_ordersOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    payments_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    orders_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.payments_ordersCountOrderByAggregateInput;
    _avg?: Prisma.payments_ordersAvgOrderByAggregateInput;
    _max?: Prisma.payments_ordersMaxOrderByAggregateInput;
    _min?: Prisma.payments_ordersMinOrderByAggregateInput;
    _sum?: Prisma.payments_ordersSumOrderByAggregateInput;
};
export type payments_ordersScalarWhereWithAggregatesInput = {
    AND?: Prisma.payments_ordersScalarWhereWithAggregatesInput | Prisma.payments_ordersScalarWhereWithAggregatesInput[];
    OR?: Prisma.payments_ordersScalarWhereWithAggregatesInput[];
    NOT?: Prisma.payments_ordersScalarWhereWithAggregatesInput | Prisma.payments_ordersScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"payments_orders"> | number;
    payments_id?: Prisma.IntNullableWithAggregatesFilter<"payments_orders"> | number | null;
    orders_id?: Prisma.IntNullableWithAggregatesFilter<"payments_orders"> | number | null;
};
export type payments_ordersCreateInput = {
    orders?: Prisma.ordersCreateNestedOneWithoutPayments_ordersInput;
    payments?: Prisma.paymentsCreateNestedOneWithoutPayments_ordersInput;
};
export type payments_ordersUncheckedCreateInput = {
    id?: number;
    payments_id?: number | null;
    orders_id?: number | null;
};
export type payments_ordersUpdateInput = {
    orders?: Prisma.ordersUpdateOneWithoutPayments_ordersNestedInput;
    payments?: Prisma.paymentsUpdateOneWithoutPayments_ordersNestedInput;
};
export type payments_ordersUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    payments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type payments_ordersCreateManyInput = {
    id?: number;
    payments_id?: number | null;
    orders_id?: number | null;
};
export type payments_ordersUpdateManyMutationInput = {};
export type payments_ordersUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    payments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Payments_ordersListRelationFilter = {
    every?: Prisma.payments_ordersWhereInput;
    some?: Prisma.payments_ordersWhereInput;
    none?: Prisma.payments_ordersWhereInput;
};
export type payments_ordersOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type payments_ordersCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    payments_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type payments_ordersAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    payments_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type payments_ordersMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    payments_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type payments_ordersMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    payments_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type payments_ordersSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    payments_id?: Prisma.SortOrder;
    orders_id?: Prisma.SortOrder;
};
export type payments_ordersCreateNestedManyWithoutOrdersInput = {
    create?: Prisma.XOR<Prisma.payments_ordersCreateWithoutOrdersInput, Prisma.payments_ordersUncheckedCreateWithoutOrdersInput> | Prisma.payments_ordersCreateWithoutOrdersInput[] | Prisma.payments_ordersUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.payments_ordersCreateOrConnectWithoutOrdersInput | Prisma.payments_ordersCreateOrConnectWithoutOrdersInput[];
    createMany?: Prisma.payments_ordersCreateManyOrdersInputEnvelope;
    connect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
};
export type payments_ordersUncheckedCreateNestedManyWithoutOrdersInput = {
    create?: Prisma.XOR<Prisma.payments_ordersCreateWithoutOrdersInput, Prisma.payments_ordersUncheckedCreateWithoutOrdersInput> | Prisma.payments_ordersCreateWithoutOrdersInput[] | Prisma.payments_ordersUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.payments_ordersCreateOrConnectWithoutOrdersInput | Prisma.payments_ordersCreateOrConnectWithoutOrdersInput[];
    createMany?: Prisma.payments_ordersCreateManyOrdersInputEnvelope;
    connect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
};
export type payments_ordersUpdateManyWithoutOrdersNestedInput = {
    create?: Prisma.XOR<Prisma.payments_ordersCreateWithoutOrdersInput, Prisma.payments_ordersUncheckedCreateWithoutOrdersInput> | Prisma.payments_ordersCreateWithoutOrdersInput[] | Prisma.payments_ordersUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.payments_ordersCreateOrConnectWithoutOrdersInput | Prisma.payments_ordersCreateOrConnectWithoutOrdersInput[];
    upsert?: Prisma.payments_ordersUpsertWithWhereUniqueWithoutOrdersInput | Prisma.payments_ordersUpsertWithWhereUniqueWithoutOrdersInput[];
    createMany?: Prisma.payments_ordersCreateManyOrdersInputEnvelope;
    set?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    disconnect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    delete?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    connect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    update?: Prisma.payments_ordersUpdateWithWhereUniqueWithoutOrdersInput | Prisma.payments_ordersUpdateWithWhereUniqueWithoutOrdersInput[];
    updateMany?: Prisma.payments_ordersUpdateManyWithWhereWithoutOrdersInput | Prisma.payments_ordersUpdateManyWithWhereWithoutOrdersInput[];
    deleteMany?: Prisma.payments_ordersScalarWhereInput | Prisma.payments_ordersScalarWhereInput[];
};
export type payments_ordersUncheckedUpdateManyWithoutOrdersNestedInput = {
    create?: Prisma.XOR<Prisma.payments_ordersCreateWithoutOrdersInput, Prisma.payments_ordersUncheckedCreateWithoutOrdersInput> | Prisma.payments_ordersCreateWithoutOrdersInput[] | Prisma.payments_ordersUncheckedCreateWithoutOrdersInput[];
    connectOrCreate?: Prisma.payments_ordersCreateOrConnectWithoutOrdersInput | Prisma.payments_ordersCreateOrConnectWithoutOrdersInput[];
    upsert?: Prisma.payments_ordersUpsertWithWhereUniqueWithoutOrdersInput | Prisma.payments_ordersUpsertWithWhereUniqueWithoutOrdersInput[];
    createMany?: Prisma.payments_ordersCreateManyOrdersInputEnvelope;
    set?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    disconnect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    delete?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    connect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    update?: Prisma.payments_ordersUpdateWithWhereUniqueWithoutOrdersInput | Prisma.payments_ordersUpdateWithWhereUniqueWithoutOrdersInput[];
    updateMany?: Prisma.payments_ordersUpdateManyWithWhereWithoutOrdersInput | Prisma.payments_ordersUpdateManyWithWhereWithoutOrdersInput[];
    deleteMany?: Prisma.payments_ordersScalarWhereInput | Prisma.payments_ordersScalarWhereInput[];
};
export type payments_ordersCreateNestedManyWithoutPaymentsInput = {
    create?: Prisma.XOR<Prisma.payments_ordersCreateWithoutPaymentsInput, Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput> | Prisma.payments_ordersCreateWithoutPaymentsInput[] | Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput[];
    connectOrCreate?: Prisma.payments_ordersCreateOrConnectWithoutPaymentsInput | Prisma.payments_ordersCreateOrConnectWithoutPaymentsInput[];
    createMany?: Prisma.payments_ordersCreateManyPaymentsInputEnvelope;
    connect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
};
export type payments_ordersUncheckedCreateNestedManyWithoutPaymentsInput = {
    create?: Prisma.XOR<Prisma.payments_ordersCreateWithoutPaymentsInput, Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput> | Prisma.payments_ordersCreateWithoutPaymentsInput[] | Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput[];
    connectOrCreate?: Prisma.payments_ordersCreateOrConnectWithoutPaymentsInput | Prisma.payments_ordersCreateOrConnectWithoutPaymentsInput[];
    createMany?: Prisma.payments_ordersCreateManyPaymentsInputEnvelope;
    connect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
};
export type payments_ordersUpdateManyWithoutPaymentsNestedInput = {
    create?: Prisma.XOR<Prisma.payments_ordersCreateWithoutPaymentsInput, Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput> | Prisma.payments_ordersCreateWithoutPaymentsInput[] | Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput[];
    connectOrCreate?: Prisma.payments_ordersCreateOrConnectWithoutPaymentsInput | Prisma.payments_ordersCreateOrConnectWithoutPaymentsInput[];
    upsert?: Prisma.payments_ordersUpsertWithWhereUniqueWithoutPaymentsInput | Prisma.payments_ordersUpsertWithWhereUniqueWithoutPaymentsInput[];
    createMany?: Prisma.payments_ordersCreateManyPaymentsInputEnvelope;
    set?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    disconnect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    delete?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    connect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    update?: Prisma.payments_ordersUpdateWithWhereUniqueWithoutPaymentsInput | Prisma.payments_ordersUpdateWithWhereUniqueWithoutPaymentsInput[];
    updateMany?: Prisma.payments_ordersUpdateManyWithWhereWithoutPaymentsInput | Prisma.payments_ordersUpdateManyWithWhereWithoutPaymentsInput[];
    deleteMany?: Prisma.payments_ordersScalarWhereInput | Prisma.payments_ordersScalarWhereInput[];
};
export type payments_ordersUncheckedUpdateManyWithoutPaymentsNestedInput = {
    create?: Prisma.XOR<Prisma.payments_ordersCreateWithoutPaymentsInput, Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput> | Prisma.payments_ordersCreateWithoutPaymentsInput[] | Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput[];
    connectOrCreate?: Prisma.payments_ordersCreateOrConnectWithoutPaymentsInput | Prisma.payments_ordersCreateOrConnectWithoutPaymentsInput[];
    upsert?: Prisma.payments_ordersUpsertWithWhereUniqueWithoutPaymentsInput | Prisma.payments_ordersUpsertWithWhereUniqueWithoutPaymentsInput[];
    createMany?: Prisma.payments_ordersCreateManyPaymentsInputEnvelope;
    set?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    disconnect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    delete?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    connect?: Prisma.payments_ordersWhereUniqueInput | Prisma.payments_ordersWhereUniqueInput[];
    update?: Prisma.payments_ordersUpdateWithWhereUniqueWithoutPaymentsInput | Prisma.payments_ordersUpdateWithWhereUniqueWithoutPaymentsInput[];
    updateMany?: Prisma.payments_ordersUpdateManyWithWhereWithoutPaymentsInput | Prisma.payments_ordersUpdateManyWithWhereWithoutPaymentsInput[];
    deleteMany?: Prisma.payments_ordersScalarWhereInput | Prisma.payments_ordersScalarWhereInput[];
};
export type payments_ordersCreateWithoutOrdersInput = {
    payments?: Prisma.paymentsCreateNestedOneWithoutPayments_ordersInput;
};
export type payments_ordersUncheckedCreateWithoutOrdersInput = {
    id?: number;
    payments_id?: number | null;
};
export type payments_ordersCreateOrConnectWithoutOrdersInput = {
    where: Prisma.payments_ordersWhereUniqueInput;
    create: Prisma.XOR<Prisma.payments_ordersCreateWithoutOrdersInput, Prisma.payments_ordersUncheckedCreateWithoutOrdersInput>;
};
export type payments_ordersCreateManyOrdersInputEnvelope = {
    data: Prisma.payments_ordersCreateManyOrdersInput | Prisma.payments_ordersCreateManyOrdersInput[];
    skipDuplicates?: boolean;
};
export type payments_ordersUpsertWithWhereUniqueWithoutOrdersInput = {
    where: Prisma.payments_ordersWhereUniqueInput;
    update: Prisma.XOR<Prisma.payments_ordersUpdateWithoutOrdersInput, Prisma.payments_ordersUncheckedUpdateWithoutOrdersInput>;
    create: Prisma.XOR<Prisma.payments_ordersCreateWithoutOrdersInput, Prisma.payments_ordersUncheckedCreateWithoutOrdersInput>;
};
export type payments_ordersUpdateWithWhereUniqueWithoutOrdersInput = {
    where: Prisma.payments_ordersWhereUniqueInput;
    data: Prisma.XOR<Prisma.payments_ordersUpdateWithoutOrdersInput, Prisma.payments_ordersUncheckedUpdateWithoutOrdersInput>;
};
export type payments_ordersUpdateManyWithWhereWithoutOrdersInput = {
    where: Prisma.payments_ordersScalarWhereInput;
    data: Prisma.XOR<Prisma.payments_ordersUpdateManyMutationInput, Prisma.payments_ordersUncheckedUpdateManyWithoutOrdersInput>;
};
export type payments_ordersScalarWhereInput = {
    AND?: Prisma.payments_ordersScalarWhereInput | Prisma.payments_ordersScalarWhereInput[];
    OR?: Prisma.payments_ordersScalarWhereInput[];
    NOT?: Prisma.payments_ordersScalarWhereInput | Prisma.payments_ordersScalarWhereInput[];
    id?: Prisma.IntFilter<"payments_orders"> | number;
    payments_id?: Prisma.IntNullableFilter<"payments_orders"> | number | null;
    orders_id?: Prisma.IntNullableFilter<"payments_orders"> | number | null;
};
export type payments_ordersCreateWithoutPaymentsInput = {
    orders?: Prisma.ordersCreateNestedOneWithoutPayments_ordersInput;
};
export type payments_ordersUncheckedCreateWithoutPaymentsInput = {
    id?: number;
    orders_id?: number | null;
};
export type payments_ordersCreateOrConnectWithoutPaymentsInput = {
    where: Prisma.payments_ordersWhereUniqueInput;
    create: Prisma.XOR<Prisma.payments_ordersCreateWithoutPaymentsInput, Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput>;
};
export type payments_ordersCreateManyPaymentsInputEnvelope = {
    data: Prisma.payments_ordersCreateManyPaymentsInput | Prisma.payments_ordersCreateManyPaymentsInput[];
    skipDuplicates?: boolean;
};
export type payments_ordersUpsertWithWhereUniqueWithoutPaymentsInput = {
    where: Prisma.payments_ordersWhereUniqueInput;
    update: Prisma.XOR<Prisma.payments_ordersUpdateWithoutPaymentsInput, Prisma.payments_ordersUncheckedUpdateWithoutPaymentsInput>;
    create: Prisma.XOR<Prisma.payments_ordersCreateWithoutPaymentsInput, Prisma.payments_ordersUncheckedCreateWithoutPaymentsInput>;
};
export type payments_ordersUpdateWithWhereUniqueWithoutPaymentsInput = {
    where: Prisma.payments_ordersWhereUniqueInput;
    data: Prisma.XOR<Prisma.payments_ordersUpdateWithoutPaymentsInput, Prisma.payments_ordersUncheckedUpdateWithoutPaymentsInput>;
};
export type payments_ordersUpdateManyWithWhereWithoutPaymentsInput = {
    where: Prisma.payments_ordersScalarWhereInput;
    data: Prisma.XOR<Prisma.payments_ordersUpdateManyMutationInput, Prisma.payments_ordersUncheckedUpdateManyWithoutPaymentsInput>;
};
export type payments_ordersCreateManyOrdersInput = {
    id?: number;
    payments_id?: number | null;
};
export type payments_ordersUpdateWithoutOrdersInput = {
    payments?: Prisma.paymentsUpdateOneWithoutPayments_ordersNestedInput;
};
export type payments_ordersUncheckedUpdateWithoutOrdersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    payments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type payments_ordersUncheckedUpdateManyWithoutOrdersInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    payments_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type payments_ordersCreateManyPaymentsInput = {
    id?: number;
    orders_id?: number | null;
};
export type payments_ordersUpdateWithoutPaymentsInput = {
    orders?: Prisma.ordersUpdateOneWithoutPayments_ordersNestedInput;
};
export type payments_ordersUncheckedUpdateWithoutPaymentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type payments_ordersUncheckedUpdateManyWithoutPaymentsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    orders_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type payments_ordersSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    payments_id?: boolean;
    orders_id?: boolean;
    orders?: boolean | Prisma.payments_orders$ordersArgs<ExtArgs>;
    payments?: boolean | Prisma.payments_orders$paymentsArgs<ExtArgs>;
}, ExtArgs["result"]["payments_orders"]>;
export type payments_ordersSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    payments_id?: boolean;
    orders_id?: boolean;
    orders?: boolean | Prisma.payments_orders$ordersArgs<ExtArgs>;
    payments?: boolean | Prisma.payments_orders$paymentsArgs<ExtArgs>;
}, ExtArgs["result"]["payments_orders"]>;
export type payments_ordersSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    payments_id?: boolean;
    orders_id?: boolean;
    orders?: boolean | Prisma.payments_orders$ordersArgs<ExtArgs>;
    payments?: boolean | Prisma.payments_orders$paymentsArgs<ExtArgs>;
}, ExtArgs["result"]["payments_orders"]>;
export type payments_ordersSelectScalar = {
    id?: boolean;
    payments_id?: boolean;
    orders_id?: boolean;
};
export type payments_ordersOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "payments_id" | "orders_id", ExtArgs["result"]["payments_orders"]>;
export type payments_ordersInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    orders?: boolean | Prisma.payments_orders$ordersArgs<ExtArgs>;
    payments?: boolean | Prisma.payments_orders$paymentsArgs<ExtArgs>;
};
export type payments_ordersIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    orders?: boolean | Prisma.payments_orders$ordersArgs<ExtArgs>;
    payments?: boolean | Prisma.payments_orders$paymentsArgs<ExtArgs>;
};
export type payments_ordersIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    orders?: boolean | Prisma.payments_orders$ordersArgs<ExtArgs>;
    payments?: boolean | Prisma.payments_orders$paymentsArgs<ExtArgs>;
};
export type $payments_ordersPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "payments_orders";
    objects: {
        orders: Prisma.$ordersPayload<ExtArgs> | null;
        payments: Prisma.$paymentsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        payments_id: number | null;
        orders_id: number | null;
    }, ExtArgs["result"]["payments_orders"]>;
    composites: {};
};
export type payments_ordersGetPayload<S extends boolean | null | undefined | payments_ordersDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload, S>;
export type payments_ordersCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<payments_ordersFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Payments_ordersCountAggregateInputType | true;
};
export interface payments_ordersDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['payments_orders'];
        meta: {
            name: 'payments_orders';
        };
    };
    /**
     * Find zero or one Payments_orders that matches the filter.
     * @param {payments_ordersFindUniqueArgs} args - Arguments to find a Payments_orders
     * @example
     * // Get one Payments_orders
     * const payments_orders = await prisma.payments_orders.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends payments_ordersFindUniqueArgs>(args: Prisma.SelectSubset<T, payments_ordersFindUniqueArgs<ExtArgs>>): Prisma.Prisma__payments_ordersClient<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Payments_orders that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {payments_ordersFindUniqueOrThrowArgs} args - Arguments to find a Payments_orders
     * @example
     * // Get one Payments_orders
     * const payments_orders = await prisma.payments_orders.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends payments_ordersFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, payments_ordersFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__payments_ordersClient<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Payments_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 {payments_ordersFindFirstArgs} args - Arguments to find a Payments_orders
     * @example
     * // Get one Payments_orders
     * const payments_orders = await prisma.payments_orders.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends payments_ordersFindFirstArgs>(args?: Prisma.SelectSubset<T, payments_ordersFindFirstArgs<ExtArgs>>): Prisma.Prisma__payments_ordersClient<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Payments_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 {payments_ordersFindFirstOrThrowArgs} args - Arguments to find a Payments_orders
     * @example
     * // Get one Payments_orders
     * const payments_orders = await prisma.payments_orders.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends payments_ordersFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, payments_ordersFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__payments_ordersClient<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Payments_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 {payments_ordersFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Payments_orders
     * const payments_orders = await prisma.payments_orders.findMany()
     *
     * // Get first 10 Payments_orders
     * const payments_orders = await prisma.payments_orders.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const payments_ordersWithIdOnly = await prisma.payments_orders.findMany({ select: { id: true } })
     *
     */
    findMany<T extends payments_ordersFindManyArgs>(args?: Prisma.SelectSubset<T, payments_ordersFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Payments_orders.
     * @param {payments_ordersCreateArgs} args - Arguments to create a Payments_orders.
     * @example
     * // Create one Payments_orders
     * const Payments_orders = await prisma.payments_orders.create({
     *   data: {
     *     // ... data to create a Payments_orders
     *   }
     * })
     *
     */
    create<T extends payments_ordersCreateArgs>(args: Prisma.SelectSubset<T, payments_ordersCreateArgs<ExtArgs>>): Prisma.Prisma__payments_ordersClient<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Payments_orders.
     * @param {payments_ordersCreateManyArgs} args - Arguments to create many Payments_orders.
     * @example
     * // Create many Payments_orders
     * const payments_orders = await prisma.payments_orders.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends payments_ordersCreateManyArgs>(args?: Prisma.SelectSubset<T, payments_ordersCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Payments_orders and returns the data saved in the database.
     * @param {payments_ordersCreateManyAndReturnArgs} args - Arguments to create many Payments_orders.
     * @example
     * // Create many Payments_orders
     * const payments_orders = await prisma.payments_orders.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Payments_orders and only return the `id`
     * const payments_ordersWithIdOnly = await prisma.payments_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 payments_ordersCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, payments_ordersCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Payments_orders.
     * @param {payments_ordersDeleteArgs} args - Arguments to delete one Payments_orders.
     * @example
     * // Delete one Payments_orders
     * const Payments_orders = await prisma.payments_orders.delete({
     *   where: {
     *     // ... filter to delete one Payments_orders
     *   }
     * })
     *
     */
    delete<T extends payments_ordersDeleteArgs>(args: Prisma.SelectSubset<T, payments_ordersDeleteArgs<ExtArgs>>): Prisma.Prisma__payments_ordersClient<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Payments_orders.
     * @param {payments_ordersUpdateArgs} args - Arguments to update one Payments_orders.
     * @example
     * // Update one Payments_orders
     * const payments_orders = await prisma.payments_orders.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends payments_ordersUpdateArgs>(args: Prisma.SelectSubset<T, payments_ordersUpdateArgs<ExtArgs>>): Prisma.Prisma__payments_ordersClient<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Payments_orders.
     * @param {payments_ordersDeleteManyArgs} args - Arguments to filter Payments_orders to delete.
     * @example
     * // Delete a few Payments_orders
     * const { count } = await prisma.payments_orders.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends payments_ordersDeleteManyArgs>(args?: Prisma.SelectSubset<T, payments_ordersDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Payments_orders.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {payments_ordersUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Payments_orders
     * const payments_orders = await prisma.payments_orders.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends payments_ordersUpdateManyArgs>(args: Prisma.SelectSubset<T, payments_ordersUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Payments_orders and returns the data updated in the database.
     * @param {payments_ordersUpdateManyAndReturnArgs} args - Arguments to update many Payments_orders.
     * @example
     * // Update many Payments_orders
     * const payments_orders = await prisma.payments_orders.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Payments_orders and only return the `id`
     * const payments_ordersWithIdOnly = await prisma.payments_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 payments_ordersUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, payments_ordersUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Payments_orders.
     * @param {payments_ordersUpsertArgs} args - Arguments to update or create a Payments_orders.
     * @example
     * // Update or create a Payments_orders
     * const payments_orders = await prisma.payments_orders.upsert({
     *   create: {
     *     // ... data to create a Payments_orders
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Payments_orders we want to update
     *   }
     * })
     */
    upsert<T extends payments_ordersUpsertArgs>(args: Prisma.SelectSubset<T, payments_ordersUpsertArgs<ExtArgs>>): Prisma.Prisma__payments_ordersClient<runtime.Types.Result.GetResult<Prisma.$payments_ordersPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Payments_orders.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {payments_ordersCountArgs} args - Arguments to filter Payments_orders to count.
     * @example
     * // Count the number of Payments_orders
     * const count = await prisma.payments_orders.count({
     *   where: {
     *     // ... the filter for the Payments_orders we want to count
     *   }
     * })
    **/
    count<T extends payments_ordersCountArgs>(args?: Prisma.Subset<T, payments_ordersCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Payments_ordersCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Payments_orders.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Payments_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 Payments_ordersAggregateArgs>(args: Prisma.Subset<T, Payments_ordersAggregateArgs>): Prisma.PrismaPromise<GetPayments_ordersAggregateType<T>>;
    /**
     * Group by Payments_orders.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {payments_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 payments_ordersGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: payments_ordersGroupByArgs['orderBy'];
    } : {
        orderBy?: payments_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, payments_ordersGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPayments_ordersGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the payments_orders model
     */
    readonly fields: payments_ordersFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for payments_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__payments_ordersClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    orders<T extends Prisma.payments_orders$ordersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.payments_orders$ordersArgs<ExtArgs>>): Prisma.Prisma__ordersClient<runtime.Types.Result.GetResult<Prisma.$ordersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    payments<T extends Prisma.payments_orders$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.payments_orders$paymentsArgs<ExtArgs>>): Prisma.Prisma__paymentsClient<runtime.Types.Result.GetResult<Prisma.$paymentsPayload<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 payments_orders model
 */
export interface payments_ordersFieldRefs {
    readonly id: Prisma.FieldRef<"payments_orders", 'Int'>;
    readonly payments_id: Prisma.FieldRef<"payments_orders", 'Int'>;
    readonly orders_id: Prisma.FieldRef<"payments_orders", 'Int'>;
}
/**
 * payments_orders findUnique
 */
export type payments_ordersFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which payments_orders to fetch.
     */
    where: Prisma.payments_ordersWhereUniqueInput;
};
/**
 * payments_orders findUniqueOrThrow
 */
export type payments_ordersFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which payments_orders to fetch.
     */
    where: Prisma.payments_ordersWhereUniqueInput;
};
/**
 * payments_orders findFirst
 */
export type payments_ordersFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which payments_orders to fetch.
     */
    where?: Prisma.payments_ordersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of payments_orders to fetch.
     */
    orderBy?: Prisma.payments_ordersOrderByWithRelationInput | Prisma.payments_ordersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for payments_orders.
     */
    cursor?: Prisma.payments_ordersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` payments_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` payments_orders.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of payments_orders.
     */
    distinct?: Prisma.Payments_ordersScalarFieldEnum | Prisma.Payments_ordersScalarFieldEnum[];
};
/**
 * payments_orders findFirstOrThrow
 */
export type payments_ordersFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which payments_orders to fetch.
     */
    where?: Prisma.payments_ordersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of payments_orders to fetch.
     */
    orderBy?: Prisma.payments_ordersOrderByWithRelationInput | Prisma.payments_ordersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for payments_orders.
     */
    cursor?: Prisma.payments_ordersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` payments_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` payments_orders.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of payments_orders.
     */
    distinct?: Prisma.Payments_ordersScalarFieldEnum | Prisma.Payments_ordersScalarFieldEnum[];
};
/**
 * payments_orders findMany
 */
export type payments_ordersFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
    /**
     * Filter, which payments_orders to fetch.
     */
    where?: Prisma.payments_ordersWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of payments_orders to fetch.
     */
    orderBy?: Prisma.payments_ordersOrderByWithRelationInput | Prisma.payments_ordersOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing payments_orders.
     */
    cursor?: Prisma.payments_ordersWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` payments_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` payments_orders.
     */
    skip?: number;
    distinct?: Prisma.Payments_ordersScalarFieldEnum | Prisma.Payments_ordersScalarFieldEnum[];
};
/**
 * payments_orders create
 */
export type payments_ordersCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
    /**
     * The data needed to create a payments_orders.
     */
    data?: Prisma.XOR<Prisma.payments_ordersCreateInput, Prisma.payments_ordersUncheckedCreateInput>;
};
/**
 * payments_orders createMany
 */
export type payments_ordersCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many payments_orders.
     */
    data: Prisma.payments_ordersCreateManyInput | Prisma.payments_ordersCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * payments_orders createManyAndReturn
 */
export type payments_ordersCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * The data used to create many payments_orders.
     */
    data: Prisma.payments_ordersCreateManyInput | Prisma.payments_ordersCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * payments_orders update
 */
export type payments_ordersUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
    /**
     * The data needed to update a payments_orders.
     */
    data: Prisma.XOR<Prisma.payments_ordersUpdateInput, Prisma.payments_ordersUncheckedUpdateInput>;
    /**
     * Choose, which payments_orders to update.
     */
    where: Prisma.payments_ordersWhereUniqueInput;
};
/**
 * payments_orders updateMany
 */
export type payments_ordersUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update payments_orders.
     */
    data: Prisma.XOR<Prisma.payments_ordersUpdateManyMutationInput, Prisma.payments_ordersUncheckedUpdateManyInput>;
    /**
     * Filter which payments_orders to update
     */
    where?: Prisma.payments_ordersWhereInput;
    /**
     * Limit how many payments_orders to update.
     */
    limit?: number;
};
/**
 * payments_orders updateManyAndReturn
 */
export type payments_ordersUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * The data used to update payments_orders.
     */
    data: Prisma.XOR<Prisma.payments_ordersUpdateManyMutationInput, Prisma.payments_ordersUncheckedUpdateManyInput>;
    /**
     * Filter which payments_orders to update
     */
    where?: Prisma.payments_ordersWhereInput;
    /**
     * Limit how many payments_orders to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * payments_orders upsert
 */
export type payments_ordersUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
    /**
     * The filter to search for the payments_orders to update in case it exists.
     */
    where: Prisma.payments_ordersWhereUniqueInput;
    /**
     * In case the payments_orders found by the `where` argument doesn't exist, create a new payments_orders with this data.
     */
    create: Prisma.XOR<Prisma.payments_ordersCreateInput, Prisma.payments_ordersUncheckedCreateInput>;
    /**
     * In case the payments_orders was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.payments_ordersUpdateInput, Prisma.payments_ordersUncheckedUpdateInput>;
};
/**
 * payments_orders delete
 */
export type payments_ordersDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
    /**
     * Filter which payments_orders to delete.
     */
    where: Prisma.payments_ordersWhereUniqueInput;
};
/**
 * payments_orders deleteMany
 */
export type payments_ordersDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which payments_orders to delete
     */
    where?: Prisma.payments_ordersWhereInput;
    /**
     * Limit how many payments_orders to delete.
     */
    limit?: number;
};
/**
 * payments_orders.orders
 */
export type payments_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;
};
/**
 * payments_orders.payments
 */
export type payments_orders$paymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments
     */
    select?: Prisma.paymentsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments
     */
    omit?: Prisma.paymentsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.paymentsInclude<ExtArgs> | null;
    where?: Prisma.paymentsWhereInput;
};
/**
 * payments_orders without action
 */
export type payments_ordersDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the payments_orders
     */
    select?: Prisma.payments_ordersSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the payments_orders
     */
    omit?: Prisma.payments_ordersOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.payments_ordersInclude<ExtArgs> | null;
};
export {};
