import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model events_invoices
 * 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 events_invoicesModel = runtime.Types.Result.DefaultSelection<Prisma.$events_invoicesPayload>;
export type AggregateEvents_invoices = {
    _count: Events_invoicesCountAggregateOutputType | null;
    _avg: Events_invoicesAvgAggregateOutputType | null;
    _sum: Events_invoicesSumAggregateOutputType | null;
    _min: Events_invoicesMinAggregateOutputType | null;
    _max: Events_invoicesMaxAggregateOutputType | null;
};
export type Events_invoicesAvgAggregateOutputType = {
    id: number | null;
    events_id: number | null;
    invoices_id: number | null;
};
export type Events_invoicesSumAggregateOutputType = {
    id: number | null;
    events_id: number | null;
    invoices_id: bigint | null;
};
export type Events_invoicesMinAggregateOutputType = {
    id: number | null;
    events_id: number | null;
    invoices_id: bigint | null;
};
export type Events_invoicesMaxAggregateOutputType = {
    id: number | null;
    events_id: number | null;
    invoices_id: bigint | null;
};
export type Events_invoicesCountAggregateOutputType = {
    id: number;
    events_id: number;
    invoices_id: number;
    _all: number;
};
export type Events_invoicesAvgAggregateInputType = {
    id?: true;
    events_id?: true;
    invoices_id?: true;
};
export type Events_invoicesSumAggregateInputType = {
    id?: true;
    events_id?: true;
    invoices_id?: true;
};
export type Events_invoicesMinAggregateInputType = {
    id?: true;
    events_id?: true;
    invoices_id?: true;
};
export type Events_invoicesMaxAggregateInputType = {
    id?: true;
    events_id?: true;
    invoices_id?: true;
};
export type Events_invoicesCountAggregateInputType = {
    id?: true;
    events_id?: true;
    invoices_id?: true;
    _all?: true;
};
export type Events_invoicesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which events_invoices to aggregate.
     */
    where?: Prisma.events_invoicesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of events_invoices to fetch.
     */
    orderBy?: Prisma.events_invoicesOrderByWithRelationInput | Prisma.events_invoicesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.events_invoicesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` events_invoices 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` events_invoices.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned events_invoices
    **/
    _count?: true | Events_invoicesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Events_invoicesAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Events_invoicesSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Events_invoicesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Events_invoicesMaxAggregateInputType;
};
export type GetEvents_invoicesAggregateType<T extends Events_invoicesAggregateArgs> = {
    [P in keyof T & keyof AggregateEvents_invoices]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateEvents_invoices[P]> : Prisma.GetScalarType<T[P], AggregateEvents_invoices[P]>;
};
export type events_invoicesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.events_invoicesWhereInput;
    orderBy?: Prisma.events_invoicesOrderByWithAggregationInput | Prisma.events_invoicesOrderByWithAggregationInput[];
    by: Prisma.Events_invoicesScalarFieldEnum[] | Prisma.Events_invoicesScalarFieldEnum;
    having?: Prisma.events_invoicesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Events_invoicesCountAggregateInputType | true;
    _avg?: Events_invoicesAvgAggregateInputType;
    _sum?: Events_invoicesSumAggregateInputType;
    _min?: Events_invoicesMinAggregateInputType;
    _max?: Events_invoicesMaxAggregateInputType;
};
export type Events_invoicesGroupByOutputType = {
    id: number;
    events_id: number | null;
    invoices_id: bigint | null;
    _count: Events_invoicesCountAggregateOutputType | null;
    _avg: Events_invoicesAvgAggregateOutputType | null;
    _sum: Events_invoicesSumAggregateOutputType | null;
    _min: Events_invoicesMinAggregateOutputType | null;
    _max: Events_invoicesMaxAggregateOutputType | null;
};
type GetEvents_invoicesGroupByPayload<T extends events_invoicesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Events_invoicesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Events_invoicesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Events_invoicesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Events_invoicesGroupByOutputType[P]>;
}>>;
export type events_invoicesWhereInput = {
    AND?: Prisma.events_invoicesWhereInput | Prisma.events_invoicesWhereInput[];
    OR?: Prisma.events_invoicesWhereInput[];
    NOT?: Prisma.events_invoicesWhereInput | Prisma.events_invoicesWhereInput[];
    id?: Prisma.IntFilter<"events_invoices"> | number;
    events_id?: Prisma.IntNullableFilter<"events_invoices"> | number | null;
    invoices_id?: Prisma.BigIntNullableFilter<"events_invoices"> | bigint | number | null;
    events?: Prisma.XOR<Prisma.EventsNullableScalarRelationFilter, Prisma.eventsWhereInput> | null;
    invoices?: Prisma.XOR<Prisma.InvoicesNullableScalarRelationFilter, Prisma.invoicesWhereInput> | null;
};
export type events_invoicesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    invoices_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    events?: Prisma.eventsOrderByWithRelationInput;
    invoices?: Prisma.invoicesOrderByWithRelationInput;
};
export type events_invoicesWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.events_invoicesWhereInput | Prisma.events_invoicesWhereInput[];
    OR?: Prisma.events_invoicesWhereInput[];
    NOT?: Prisma.events_invoicesWhereInput | Prisma.events_invoicesWhereInput[];
    events_id?: Prisma.IntNullableFilter<"events_invoices"> | number | null;
    invoices_id?: Prisma.BigIntNullableFilter<"events_invoices"> | bigint | number | null;
    events?: Prisma.XOR<Prisma.EventsNullableScalarRelationFilter, Prisma.eventsWhereInput> | null;
    invoices?: Prisma.XOR<Prisma.InvoicesNullableScalarRelationFilter, Prisma.invoicesWhereInput> | null;
}, "id">;
export type events_invoicesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    invoices_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.events_invoicesCountOrderByAggregateInput;
    _avg?: Prisma.events_invoicesAvgOrderByAggregateInput;
    _max?: Prisma.events_invoicesMaxOrderByAggregateInput;
    _min?: Prisma.events_invoicesMinOrderByAggregateInput;
    _sum?: Prisma.events_invoicesSumOrderByAggregateInput;
};
export type events_invoicesScalarWhereWithAggregatesInput = {
    AND?: Prisma.events_invoicesScalarWhereWithAggregatesInput | Prisma.events_invoicesScalarWhereWithAggregatesInput[];
    OR?: Prisma.events_invoicesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.events_invoicesScalarWhereWithAggregatesInput | Prisma.events_invoicesScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"events_invoices"> | number;
    events_id?: Prisma.IntNullableWithAggregatesFilter<"events_invoices"> | number | null;
    invoices_id?: Prisma.BigIntNullableWithAggregatesFilter<"events_invoices"> | bigint | number | null;
};
export type events_invoicesCreateInput = {
    events?: Prisma.eventsCreateNestedOneWithoutEvents_invoicesInput;
    invoices?: Prisma.invoicesCreateNestedOneWithoutEvents_invoicesInput;
};
export type events_invoicesUncheckedCreateInput = {
    id?: number;
    events_id?: number | null;
    invoices_id?: bigint | number | null;
};
export type events_invoicesUpdateInput = {
    events?: Prisma.eventsUpdateOneWithoutEvents_invoicesNestedInput;
    invoices?: Prisma.invoicesUpdateOneWithoutEvents_invoicesNestedInput;
};
export type events_invoicesUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    events_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    invoices_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type events_invoicesCreateManyInput = {
    id?: number;
    events_id?: number | null;
    invoices_id?: bigint | number | null;
};
export type events_invoicesUpdateManyMutationInput = {};
export type events_invoicesUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    events_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    invoices_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type Events_invoicesListRelationFilter = {
    every?: Prisma.events_invoicesWhereInput;
    some?: Prisma.events_invoicesWhereInput;
    none?: Prisma.events_invoicesWhereInput;
};
export type events_invoicesOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type events_invoicesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
    invoices_id?: Prisma.SortOrder;
};
export type events_invoicesAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
    invoices_id?: Prisma.SortOrder;
};
export type events_invoicesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
    invoices_id?: Prisma.SortOrder;
};
export type events_invoicesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
    invoices_id?: Prisma.SortOrder;
};
export type events_invoicesSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    events_id?: Prisma.SortOrder;
    invoices_id?: Prisma.SortOrder;
};
export type events_invoicesCreateNestedManyWithoutEventsInput = {
    create?: Prisma.XOR<Prisma.events_invoicesCreateWithoutEventsInput, Prisma.events_invoicesUncheckedCreateWithoutEventsInput> | Prisma.events_invoicesCreateWithoutEventsInput[] | Prisma.events_invoicesUncheckedCreateWithoutEventsInput[];
    connectOrCreate?: Prisma.events_invoicesCreateOrConnectWithoutEventsInput | Prisma.events_invoicesCreateOrConnectWithoutEventsInput[];
    createMany?: Prisma.events_invoicesCreateManyEventsInputEnvelope;
    connect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
};
export type events_invoicesUncheckedCreateNestedManyWithoutEventsInput = {
    create?: Prisma.XOR<Prisma.events_invoicesCreateWithoutEventsInput, Prisma.events_invoicesUncheckedCreateWithoutEventsInput> | Prisma.events_invoicesCreateWithoutEventsInput[] | Prisma.events_invoicesUncheckedCreateWithoutEventsInput[];
    connectOrCreate?: Prisma.events_invoicesCreateOrConnectWithoutEventsInput | Prisma.events_invoicesCreateOrConnectWithoutEventsInput[];
    createMany?: Prisma.events_invoicesCreateManyEventsInputEnvelope;
    connect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
};
export type events_invoicesUpdateManyWithoutEventsNestedInput = {
    create?: Prisma.XOR<Prisma.events_invoicesCreateWithoutEventsInput, Prisma.events_invoicesUncheckedCreateWithoutEventsInput> | Prisma.events_invoicesCreateWithoutEventsInput[] | Prisma.events_invoicesUncheckedCreateWithoutEventsInput[];
    connectOrCreate?: Prisma.events_invoicesCreateOrConnectWithoutEventsInput | Prisma.events_invoicesCreateOrConnectWithoutEventsInput[];
    upsert?: Prisma.events_invoicesUpsertWithWhereUniqueWithoutEventsInput | Prisma.events_invoicesUpsertWithWhereUniqueWithoutEventsInput[];
    createMany?: Prisma.events_invoicesCreateManyEventsInputEnvelope;
    set?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    disconnect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    delete?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    connect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    update?: Prisma.events_invoicesUpdateWithWhereUniqueWithoutEventsInput | Prisma.events_invoicesUpdateWithWhereUniqueWithoutEventsInput[];
    updateMany?: Prisma.events_invoicesUpdateManyWithWhereWithoutEventsInput | Prisma.events_invoicesUpdateManyWithWhereWithoutEventsInput[];
    deleteMany?: Prisma.events_invoicesScalarWhereInput | Prisma.events_invoicesScalarWhereInput[];
};
export type events_invoicesUncheckedUpdateManyWithoutEventsNestedInput = {
    create?: Prisma.XOR<Prisma.events_invoicesCreateWithoutEventsInput, Prisma.events_invoicesUncheckedCreateWithoutEventsInput> | Prisma.events_invoicesCreateWithoutEventsInput[] | Prisma.events_invoicesUncheckedCreateWithoutEventsInput[];
    connectOrCreate?: Prisma.events_invoicesCreateOrConnectWithoutEventsInput | Prisma.events_invoicesCreateOrConnectWithoutEventsInput[];
    upsert?: Prisma.events_invoicesUpsertWithWhereUniqueWithoutEventsInput | Prisma.events_invoicesUpsertWithWhereUniqueWithoutEventsInput[];
    createMany?: Prisma.events_invoicesCreateManyEventsInputEnvelope;
    set?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    disconnect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    delete?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    connect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    update?: Prisma.events_invoicesUpdateWithWhereUniqueWithoutEventsInput | Prisma.events_invoicesUpdateWithWhereUniqueWithoutEventsInput[];
    updateMany?: Prisma.events_invoicesUpdateManyWithWhereWithoutEventsInput | Prisma.events_invoicesUpdateManyWithWhereWithoutEventsInput[];
    deleteMany?: Prisma.events_invoicesScalarWhereInput | Prisma.events_invoicesScalarWhereInput[];
};
export type events_invoicesCreateNestedManyWithoutInvoicesInput = {
    create?: Prisma.XOR<Prisma.events_invoicesCreateWithoutInvoicesInput, Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput> | Prisma.events_invoicesCreateWithoutInvoicesInput[] | Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput[];
    connectOrCreate?: Prisma.events_invoicesCreateOrConnectWithoutInvoicesInput | Prisma.events_invoicesCreateOrConnectWithoutInvoicesInput[];
    createMany?: Prisma.events_invoicesCreateManyInvoicesInputEnvelope;
    connect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
};
export type events_invoicesUncheckedCreateNestedManyWithoutInvoicesInput = {
    create?: Prisma.XOR<Prisma.events_invoicesCreateWithoutInvoicesInput, Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput> | Prisma.events_invoicesCreateWithoutInvoicesInput[] | Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput[];
    connectOrCreate?: Prisma.events_invoicesCreateOrConnectWithoutInvoicesInput | Prisma.events_invoicesCreateOrConnectWithoutInvoicesInput[];
    createMany?: Prisma.events_invoicesCreateManyInvoicesInputEnvelope;
    connect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
};
export type events_invoicesUpdateManyWithoutInvoicesNestedInput = {
    create?: Prisma.XOR<Prisma.events_invoicesCreateWithoutInvoicesInput, Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput> | Prisma.events_invoicesCreateWithoutInvoicesInput[] | Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput[];
    connectOrCreate?: Prisma.events_invoicesCreateOrConnectWithoutInvoicesInput | Prisma.events_invoicesCreateOrConnectWithoutInvoicesInput[];
    upsert?: Prisma.events_invoicesUpsertWithWhereUniqueWithoutInvoicesInput | Prisma.events_invoicesUpsertWithWhereUniqueWithoutInvoicesInput[];
    createMany?: Prisma.events_invoicesCreateManyInvoicesInputEnvelope;
    set?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    disconnect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    delete?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    connect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    update?: Prisma.events_invoicesUpdateWithWhereUniqueWithoutInvoicesInput | Prisma.events_invoicesUpdateWithWhereUniqueWithoutInvoicesInput[];
    updateMany?: Prisma.events_invoicesUpdateManyWithWhereWithoutInvoicesInput | Prisma.events_invoicesUpdateManyWithWhereWithoutInvoicesInput[];
    deleteMany?: Prisma.events_invoicesScalarWhereInput | Prisma.events_invoicesScalarWhereInput[];
};
export type events_invoicesUncheckedUpdateManyWithoutInvoicesNestedInput = {
    create?: Prisma.XOR<Prisma.events_invoicesCreateWithoutInvoicesInput, Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput> | Prisma.events_invoicesCreateWithoutInvoicesInput[] | Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput[];
    connectOrCreate?: Prisma.events_invoicesCreateOrConnectWithoutInvoicesInput | Prisma.events_invoicesCreateOrConnectWithoutInvoicesInput[];
    upsert?: Prisma.events_invoicesUpsertWithWhereUniqueWithoutInvoicesInput | Prisma.events_invoicesUpsertWithWhereUniqueWithoutInvoicesInput[];
    createMany?: Prisma.events_invoicesCreateManyInvoicesInputEnvelope;
    set?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    disconnect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    delete?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    connect?: Prisma.events_invoicesWhereUniqueInput | Prisma.events_invoicesWhereUniqueInput[];
    update?: Prisma.events_invoicesUpdateWithWhereUniqueWithoutInvoicesInput | Prisma.events_invoicesUpdateWithWhereUniqueWithoutInvoicesInput[];
    updateMany?: Prisma.events_invoicesUpdateManyWithWhereWithoutInvoicesInput | Prisma.events_invoicesUpdateManyWithWhereWithoutInvoicesInput[];
    deleteMany?: Prisma.events_invoicesScalarWhereInput | Prisma.events_invoicesScalarWhereInput[];
};
export type events_invoicesCreateWithoutEventsInput = {
    invoices?: Prisma.invoicesCreateNestedOneWithoutEvents_invoicesInput;
};
export type events_invoicesUncheckedCreateWithoutEventsInput = {
    id?: number;
    invoices_id?: bigint | number | null;
};
export type events_invoicesCreateOrConnectWithoutEventsInput = {
    where: Prisma.events_invoicesWhereUniqueInput;
    create: Prisma.XOR<Prisma.events_invoicesCreateWithoutEventsInput, Prisma.events_invoicesUncheckedCreateWithoutEventsInput>;
};
export type events_invoicesCreateManyEventsInputEnvelope = {
    data: Prisma.events_invoicesCreateManyEventsInput | Prisma.events_invoicesCreateManyEventsInput[];
    skipDuplicates?: boolean;
};
export type events_invoicesUpsertWithWhereUniqueWithoutEventsInput = {
    where: Prisma.events_invoicesWhereUniqueInput;
    update: Prisma.XOR<Prisma.events_invoicesUpdateWithoutEventsInput, Prisma.events_invoicesUncheckedUpdateWithoutEventsInput>;
    create: Prisma.XOR<Prisma.events_invoicesCreateWithoutEventsInput, Prisma.events_invoicesUncheckedCreateWithoutEventsInput>;
};
export type events_invoicesUpdateWithWhereUniqueWithoutEventsInput = {
    where: Prisma.events_invoicesWhereUniqueInput;
    data: Prisma.XOR<Prisma.events_invoicesUpdateWithoutEventsInput, Prisma.events_invoicesUncheckedUpdateWithoutEventsInput>;
};
export type events_invoicesUpdateManyWithWhereWithoutEventsInput = {
    where: Prisma.events_invoicesScalarWhereInput;
    data: Prisma.XOR<Prisma.events_invoicesUpdateManyMutationInput, Prisma.events_invoicesUncheckedUpdateManyWithoutEventsInput>;
};
export type events_invoicesScalarWhereInput = {
    AND?: Prisma.events_invoicesScalarWhereInput | Prisma.events_invoicesScalarWhereInput[];
    OR?: Prisma.events_invoicesScalarWhereInput[];
    NOT?: Prisma.events_invoicesScalarWhereInput | Prisma.events_invoicesScalarWhereInput[];
    id?: Prisma.IntFilter<"events_invoices"> | number;
    events_id?: Prisma.IntNullableFilter<"events_invoices"> | number | null;
    invoices_id?: Prisma.BigIntNullableFilter<"events_invoices"> | bigint | number | null;
};
export type events_invoicesCreateWithoutInvoicesInput = {
    events?: Prisma.eventsCreateNestedOneWithoutEvents_invoicesInput;
};
export type events_invoicesUncheckedCreateWithoutInvoicesInput = {
    id?: number;
    events_id?: number | null;
};
export type events_invoicesCreateOrConnectWithoutInvoicesInput = {
    where: Prisma.events_invoicesWhereUniqueInput;
    create: Prisma.XOR<Prisma.events_invoicesCreateWithoutInvoicesInput, Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput>;
};
export type events_invoicesCreateManyInvoicesInputEnvelope = {
    data: Prisma.events_invoicesCreateManyInvoicesInput | Prisma.events_invoicesCreateManyInvoicesInput[];
    skipDuplicates?: boolean;
};
export type events_invoicesUpsertWithWhereUniqueWithoutInvoicesInput = {
    where: Prisma.events_invoicesWhereUniqueInput;
    update: Prisma.XOR<Prisma.events_invoicesUpdateWithoutInvoicesInput, Prisma.events_invoicesUncheckedUpdateWithoutInvoicesInput>;
    create: Prisma.XOR<Prisma.events_invoicesCreateWithoutInvoicesInput, Prisma.events_invoicesUncheckedCreateWithoutInvoicesInput>;
};
export type events_invoicesUpdateWithWhereUniqueWithoutInvoicesInput = {
    where: Prisma.events_invoicesWhereUniqueInput;
    data: Prisma.XOR<Prisma.events_invoicesUpdateWithoutInvoicesInput, Prisma.events_invoicesUncheckedUpdateWithoutInvoicesInput>;
};
export type events_invoicesUpdateManyWithWhereWithoutInvoicesInput = {
    where: Prisma.events_invoicesScalarWhereInput;
    data: Prisma.XOR<Prisma.events_invoicesUpdateManyMutationInput, Prisma.events_invoicesUncheckedUpdateManyWithoutInvoicesInput>;
};
export type events_invoicesCreateManyEventsInput = {
    id?: number;
    invoices_id?: bigint | number | null;
};
export type events_invoicesUpdateWithoutEventsInput = {
    invoices?: Prisma.invoicesUpdateOneWithoutEvents_invoicesNestedInput;
};
export type events_invoicesUncheckedUpdateWithoutEventsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    invoices_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type events_invoicesUncheckedUpdateManyWithoutEventsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    invoices_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type events_invoicesCreateManyInvoicesInput = {
    id?: number;
    events_id?: number | null;
};
export type events_invoicesUpdateWithoutInvoicesInput = {
    events?: Prisma.eventsUpdateOneWithoutEvents_invoicesNestedInput;
};
export type events_invoicesUncheckedUpdateWithoutInvoicesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    events_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type events_invoicesUncheckedUpdateManyWithoutInvoicesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    events_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type events_invoicesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    events_id?: boolean;
    invoices_id?: boolean;
    events?: boolean | Prisma.events_invoices$eventsArgs<ExtArgs>;
    invoices?: boolean | Prisma.events_invoices$invoicesArgs<ExtArgs>;
}, ExtArgs["result"]["events_invoices"]>;
export type events_invoicesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    events_id?: boolean;
    invoices_id?: boolean;
    events?: boolean | Prisma.events_invoices$eventsArgs<ExtArgs>;
    invoices?: boolean | Prisma.events_invoices$invoicesArgs<ExtArgs>;
}, ExtArgs["result"]["events_invoices"]>;
export type events_invoicesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    events_id?: boolean;
    invoices_id?: boolean;
    events?: boolean | Prisma.events_invoices$eventsArgs<ExtArgs>;
    invoices?: boolean | Prisma.events_invoices$invoicesArgs<ExtArgs>;
}, ExtArgs["result"]["events_invoices"]>;
export type events_invoicesSelectScalar = {
    id?: boolean;
    events_id?: boolean;
    invoices_id?: boolean;
};
export type events_invoicesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "events_id" | "invoices_id", ExtArgs["result"]["events_invoices"]>;
export type events_invoicesInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    events?: boolean | Prisma.events_invoices$eventsArgs<ExtArgs>;
    invoices?: boolean | Prisma.events_invoices$invoicesArgs<ExtArgs>;
};
export type events_invoicesIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    events?: boolean | Prisma.events_invoices$eventsArgs<ExtArgs>;
    invoices?: boolean | Prisma.events_invoices$invoicesArgs<ExtArgs>;
};
export type events_invoicesIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    events?: boolean | Prisma.events_invoices$eventsArgs<ExtArgs>;
    invoices?: boolean | Prisma.events_invoices$invoicesArgs<ExtArgs>;
};
export type $events_invoicesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "events_invoices";
    objects: {
        events: Prisma.$eventsPayload<ExtArgs> | null;
        invoices: Prisma.$invoicesPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        events_id: number | null;
        invoices_id: bigint | null;
    }, ExtArgs["result"]["events_invoices"]>;
    composites: {};
};
export type events_invoicesGetPayload<S extends boolean | null | undefined | events_invoicesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload, S>;
export type events_invoicesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<events_invoicesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Events_invoicesCountAggregateInputType | true;
};
export interface events_invoicesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['events_invoices'];
        meta: {
            name: 'events_invoices';
        };
    };
    /**
     * Find zero or one Events_invoices that matches the filter.
     * @param {events_invoicesFindUniqueArgs} args - Arguments to find a Events_invoices
     * @example
     * // Get one Events_invoices
     * const events_invoices = await prisma.events_invoices.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends events_invoicesFindUniqueArgs>(args: Prisma.SelectSubset<T, events_invoicesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__events_invoicesClient<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Events_invoices that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {events_invoicesFindUniqueOrThrowArgs} args - Arguments to find a Events_invoices
     * @example
     * // Get one Events_invoices
     * const events_invoices = await prisma.events_invoices.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends events_invoicesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, events_invoicesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__events_invoicesClient<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Events_invoices 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 {events_invoicesFindFirstArgs} args - Arguments to find a Events_invoices
     * @example
     * // Get one Events_invoices
     * const events_invoices = await prisma.events_invoices.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends events_invoicesFindFirstArgs>(args?: Prisma.SelectSubset<T, events_invoicesFindFirstArgs<ExtArgs>>): Prisma.Prisma__events_invoicesClient<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Events_invoices 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 {events_invoicesFindFirstOrThrowArgs} args - Arguments to find a Events_invoices
     * @example
     * // Get one Events_invoices
     * const events_invoices = await prisma.events_invoices.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends events_invoicesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, events_invoicesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__events_invoicesClient<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Events_invoices 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 {events_invoicesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Events_invoices
     * const events_invoices = await prisma.events_invoices.findMany()
     *
     * // Get first 10 Events_invoices
     * const events_invoices = await prisma.events_invoices.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const events_invoicesWithIdOnly = await prisma.events_invoices.findMany({ select: { id: true } })
     *
     */
    findMany<T extends events_invoicesFindManyArgs>(args?: Prisma.SelectSubset<T, events_invoicesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Events_invoices.
     * @param {events_invoicesCreateArgs} args - Arguments to create a Events_invoices.
     * @example
     * // Create one Events_invoices
     * const Events_invoices = await prisma.events_invoices.create({
     *   data: {
     *     // ... data to create a Events_invoices
     *   }
     * })
     *
     */
    create<T extends events_invoicesCreateArgs>(args: Prisma.SelectSubset<T, events_invoicesCreateArgs<ExtArgs>>): Prisma.Prisma__events_invoicesClient<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Events_invoices.
     * @param {events_invoicesCreateManyArgs} args - Arguments to create many Events_invoices.
     * @example
     * // Create many Events_invoices
     * const events_invoices = await prisma.events_invoices.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends events_invoicesCreateManyArgs>(args?: Prisma.SelectSubset<T, events_invoicesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Events_invoices and returns the data saved in the database.
     * @param {events_invoicesCreateManyAndReturnArgs} args - Arguments to create many Events_invoices.
     * @example
     * // Create many Events_invoices
     * const events_invoices = await prisma.events_invoices.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Events_invoices and only return the `id`
     * const events_invoicesWithIdOnly = await prisma.events_invoices.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 events_invoicesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, events_invoicesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Events_invoices.
     * @param {events_invoicesDeleteArgs} args - Arguments to delete one Events_invoices.
     * @example
     * // Delete one Events_invoices
     * const Events_invoices = await prisma.events_invoices.delete({
     *   where: {
     *     // ... filter to delete one Events_invoices
     *   }
     * })
     *
     */
    delete<T extends events_invoicesDeleteArgs>(args: Prisma.SelectSubset<T, events_invoicesDeleteArgs<ExtArgs>>): Prisma.Prisma__events_invoicesClient<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Events_invoices.
     * @param {events_invoicesUpdateArgs} args - Arguments to update one Events_invoices.
     * @example
     * // Update one Events_invoices
     * const events_invoices = await prisma.events_invoices.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends events_invoicesUpdateArgs>(args: Prisma.SelectSubset<T, events_invoicesUpdateArgs<ExtArgs>>): Prisma.Prisma__events_invoicesClient<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Events_invoices.
     * @param {events_invoicesDeleteManyArgs} args - Arguments to filter Events_invoices to delete.
     * @example
     * // Delete a few Events_invoices
     * const { count } = await prisma.events_invoices.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends events_invoicesDeleteManyArgs>(args?: Prisma.SelectSubset<T, events_invoicesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Events_invoices.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {events_invoicesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Events_invoices
     * const events_invoices = await prisma.events_invoices.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends events_invoicesUpdateManyArgs>(args: Prisma.SelectSubset<T, events_invoicesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Events_invoices and returns the data updated in the database.
     * @param {events_invoicesUpdateManyAndReturnArgs} args - Arguments to update many Events_invoices.
     * @example
     * // Update many Events_invoices
     * const events_invoices = await prisma.events_invoices.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Events_invoices and only return the `id`
     * const events_invoicesWithIdOnly = await prisma.events_invoices.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 events_invoicesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, events_invoicesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Events_invoices.
     * @param {events_invoicesUpsertArgs} args - Arguments to update or create a Events_invoices.
     * @example
     * // Update or create a Events_invoices
     * const events_invoices = await prisma.events_invoices.upsert({
     *   create: {
     *     // ... data to create a Events_invoices
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Events_invoices we want to update
     *   }
     * })
     */
    upsert<T extends events_invoicesUpsertArgs>(args: Prisma.SelectSubset<T, events_invoicesUpsertArgs<ExtArgs>>): Prisma.Prisma__events_invoicesClient<runtime.Types.Result.GetResult<Prisma.$events_invoicesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Events_invoices.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {events_invoicesCountArgs} args - Arguments to filter Events_invoices to count.
     * @example
     * // Count the number of Events_invoices
     * const count = await prisma.events_invoices.count({
     *   where: {
     *     // ... the filter for the Events_invoices we want to count
     *   }
     * })
    **/
    count<T extends events_invoicesCountArgs>(args?: Prisma.Subset<T, events_invoicesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Events_invoicesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Events_invoices.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Events_invoicesAggregateArgs} 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 Events_invoicesAggregateArgs>(args: Prisma.Subset<T, Events_invoicesAggregateArgs>): Prisma.PrismaPromise<GetEvents_invoicesAggregateType<T>>;
    /**
     * Group by Events_invoices.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {events_invoicesGroupByArgs} 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 events_invoicesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: events_invoicesGroupByArgs['orderBy'];
    } : {
        orderBy?: events_invoicesGroupByArgs['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, events_invoicesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetEvents_invoicesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the events_invoices model
     */
    readonly fields: events_invoicesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for events_invoices.
 * 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__events_invoicesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    events<T extends Prisma.events_invoices$eventsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.events_invoices$eventsArgs<ExtArgs>>): Prisma.Prisma__eventsClient<runtime.Types.Result.GetResult<Prisma.$eventsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    invoices<T extends Prisma.events_invoices$invoicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.events_invoices$invoicesArgs<ExtArgs>>): Prisma.Prisma__invoicesClient<runtime.Types.Result.GetResult<Prisma.$invoicesPayload<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 events_invoices model
 */
export interface events_invoicesFieldRefs {
    readonly id: Prisma.FieldRef<"events_invoices", 'Int'>;
    readonly events_id: Prisma.FieldRef<"events_invoices", 'Int'>;
    readonly invoices_id: Prisma.FieldRef<"events_invoices", 'BigInt'>;
}
/**
 * events_invoices findUnique
 */
export type events_invoicesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
    /**
     * Filter, which events_invoices to fetch.
     */
    where: Prisma.events_invoicesWhereUniqueInput;
};
/**
 * events_invoices findUniqueOrThrow
 */
export type events_invoicesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
    /**
     * Filter, which events_invoices to fetch.
     */
    where: Prisma.events_invoicesWhereUniqueInput;
};
/**
 * events_invoices findFirst
 */
export type events_invoicesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
    /**
     * Filter, which events_invoices to fetch.
     */
    where?: Prisma.events_invoicesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of events_invoices to fetch.
     */
    orderBy?: Prisma.events_invoicesOrderByWithRelationInput | Prisma.events_invoicesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for events_invoices.
     */
    cursor?: Prisma.events_invoicesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` events_invoices 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` events_invoices.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of events_invoices.
     */
    distinct?: Prisma.Events_invoicesScalarFieldEnum | Prisma.Events_invoicesScalarFieldEnum[];
};
/**
 * events_invoices findFirstOrThrow
 */
export type events_invoicesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
    /**
     * Filter, which events_invoices to fetch.
     */
    where?: Prisma.events_invoicesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of events_invoices to fetch.
     */
    orderBy?: Prisma.events_invoicesOrderByWithRelationInput | Prisma.events_invoicesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for events_invoices.
     */
    cursor?: Prisma.events_invoicesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` events_invoices 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` events_invoices.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of events_invoices.
     */
    distinct?: Prisma.Events_invoicesScalarFieldEnum | Prisma.Events_invoicesScalarFieldEnum[];
};
/**
 * events_invoices findMany
 */
export type events_invoicesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
    /**
     * Filter, which events_invoices to fetch.
     */
    where?: Prisma.events_invoicesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of events_invoices to fetch.
     */
    orderBy?: Prisma.events_invoicesOrderByWithRelationInput | Prisma.events_invoicesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing events_invoices.
     */
    cursor?: Prisma.events_invoicesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` events_invoices 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` events_invoices.
     */
    skip?: number;
    distinct?: Prisma.Events_invoicesScalarFieldEnum | Prisma.Events_invoicesScalarFieldEnum[];
};
/**
 * events_invoices create
 */
export type events_invoicesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
    /**
     * The data needed to create a events_invoices.
     */
    data?: Prisma.XOR<Prisma.events_invoicesCreateInput, Prisma.events_invoicesUncheckedCreateInput>;
};
/**
 * events_invoices createMany
 */
export type events_invoicesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many events_invoices.
     */
    data: Prisma.events_invoicesCreateManyInput | Prisma.events_invoicesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * events_invoices createManyAndReturn
 */
export type events_invoicesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * The data used to create many events_invoices.
     */
    data: Prisma.events_invoicesCreateManyInput | Prisma.events_invoicesCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * events_invoices update
 */
export type events_invoicesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
    /**
     * The data needed to update a events_invoices.
     */
    data: Prisma.XOR<Prisma.events_invoicesUpdateInput, Prisma.events_invoicesUncheckedUpdateInput>;
    /**
     * Choose, which events_invoices to update.
     */
    where: Prisma.events_invoicesWhereUniqueInput;
};
/**
 * events_invoices updateMany
 */
export type events_invoicesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update events_invoices.
     */
    data: Prisma.XOR<Prisma.events_invoicesUpdateManyMutationInput, Prisma.events_invoicesUncheckedUpdateManyInput>;
    /**
     * Filter which events_invoices to update
     */
    where?: Prisma.events_invoicesWhereInput;
    /**
     * Limit how many events_invoices to update.
     */
    limit?: number;
};
/**
 * events_invoices updateManyAndReturn
 */
export type events_invoicesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * The data used to update events_invoices.
     */
    data: Prisma.XOR<Prisma.events_invoicesUpdateManyMutationInput, Prisma.events_invoicesUncheckedUpdateManyInput>;
    /**
     * Filter which events_invoices to update
     */
    where?: Prisma.events_invoicesWhereInput;
    /**
     * Limit how many events_invoices to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * events_invoices upsert
 */
export type events_invoicesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
    /**
     * The filter to search for the events_invoices to update in case it exists.
     */
    where: Prisma.events_invoicesWhereUniqueInput;
    /**
     * In case the events_invoices found by the `where` argument doesn't exist, create a new events_invoices with this data.
     */
    create: Prisma.XOR<Prisma.events_invoicesCreateInput, Prisma.events_invoicesUncheckedCreateInput>;
    /**
     * In case the events_invoices was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.events_invoicesUpdateInput, Prisma.events_invoicesUncheckedUpdateInput>;
};
/**
 * events_invoices delete
 */
export type events_invoicesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
    /**
     * Filter which events_invoices to delete.
     */
    where: Prisma.events_invoicesWhereUniqueInput;
};
/**
 * events_invoices deleteMany
 */
export type events_invoicesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which events_invoices to delete
     */
    where?: Prisma.events_invoicesWhereInput;
    /**
     * Limit how many events_invoices to delete.
     */
    limit?: number;
};
/**
 * events_invoices.events
 */
export type events_invoices$eventsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events
     */
    select?: Prisma.eventsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events
     */
    omit?: Prisma.eventsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.eventsInclude<ExtArgs> | null;
    where?: Prisma.eventsWhereInput;
};
/**
 * events_invoices.invoices
 */
export type events_invoices$invoicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices
     */
    select?: Prisma.invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices
     */
    omit?: Prisma.invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoicesInclude<ExtArgs> | null;
    where?: Prisma.invoicesWhereInput;
};
/**
 * events_invoices without action
 */
export type events_invoicesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the events_invoices
     */
    select?: Prisma.events_invoicesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the events_invoices
     */
    omit?: Prisma.events_invoicesOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.events_invoicesInclude<ExtArgs> | null;
};
export {};
