import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model invoices_address
 * 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 invoices_addressModel = runtime.Types.Result.DefaultSelection<Prisma.$invoices_addressPayload>;
export type AggregateInvoices_address = {
    _count: Invoices_addressCountAggregateOutputType | null;
    _avg: Invoices_addressAvgAggregateOutputType | null;
    _sum: Invoices_addressSumAggregateOutputType | null;
    _min: Invoices_addressMinAggregateOutputType | null;
    _max: Invoices_addressMaxAggregateOutputType | null;
};
export type Invoices_addressAvgAggregateOutputType = {
    id: number | null;
    invoice_id: number | null;
    address_id: number | null;
};
export type Invoices_addressSumAggregateOutputType = {
    id: number | null;
    invoice_id: bigint | null;
    address_id: number | null;
};
export type Invoices_addressMinAggregateOutputType = {
    id: number | null;
    invoice_id: bigint | null;
    address_id: number | null;
};
export type Invoices_addressMaxAggregateOutputType = {
    id: number | null;
    invoice_id: bigint | null;
    address_id: number | null;
};
export type Invoices_addressCountAggregateOutputType = {
    id: number;
    invoice_id: number;
    address_id: number;
    _all: number;
};
export type Invoices_addressAvgAggregateInputType = {
    id?: true;
    invoice_id?: true;
    address_id?: true;
};
export type Invoices_addressSumAggregateInputType = {
    id?: true;
    invoice_id?: true;
    address_id?: true;
};
export type Invoices_addressMinAggregateInputType = {
    id?: true;
    invoice_id?: true;
    address_id?: true;
};
export type Invoices_addressMaxAggregateInputType = {
    id?: true;
    invoice_id?: true;
    address_id?: true;
};
export type Invoices_addressCountAggregateInputType = {
    id?: true;
    invoice_id?: true;
    address_id?: true;
    _all?: true;
};
export type Invoices_addressAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which invoices_address to aggregate.
     */
    where?: Prisma.invoices_addressWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of invoices_addresses to fetch.
     */
    orderBy?: Prisma.invoices_addressOrderByWithRelationInput | Prisma.invoices_addressOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.invoices_addressWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` invoices_addresses 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` invoices_addresses.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned invoices_addresses
    **/
    _count?: true | Invoices_addressCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Invoices_addressAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Invoices_addressSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Invoices_addressMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Invoices_addressMaxAggregateInputType;
};
export type GetInvoices_addressAggregateType<T extends Invoices_addressAggregateArgs> = {
    [P in keyof T & keyof AggregateInvoices_address]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateInvoices_address[P]> : Prisma.GetScalarType<T[P], AggregateInvoices_address[P]>;
};
export type invoices_addressGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.invoices_addressWhereInput;
    orderBy?: Prisma.invoices_addressOrderByWithAggregationInput | Prisma.invoices_addressOrderByWithAggregationInput[];
    by: Prisma.Invoices_addressScalarFieldEnum[] | Prisma.Invoices_addressScalarFieldEnum;
    having?: Prisma.invoices_addressScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Invoices_addressCountAggregateInputType | true;
    _avg?: Invoices_addressAvgAggregateInputType;
    _sum?: Invoices_addressSumAggregateInputType;
    _min?: Invoices_addressMinAggregateInputType;
    _max?: Invoices_addressMaxAggregateInputType;
};
export type Invoices_addressGroupByOutputType = {
    id: number;
    invoice_id: bigint | null;
    address_id: number | null;
    _count: Invoices_addressCountAggregateOutputType | null;
    _avg: Invoices_addressAvgAggregateOutputType | null;
    _sum: Invoices_addressSumAggregateOutputType | null;
    _min: Invoices_addressMinAggregateOutputType | null;
    _max: Invoices_addressMaxAggregateOutputType | null;
};
type GetInvoices_addressGroupByPayload<T extends invoices_addressGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Invoices_addressGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Invoices_addressGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Invoices_addressGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Invoices_addressGroupByOutputType[P]>;
}>>;
export type invoices_addressWhereInput = {
    AND?: Prisma.invoices_addressWhereInput | Prisma.invoices_addressWhereInput[];
    OR?: Prisma.invoices_addressWhereInput[];
    NOT?: Prisma.invoices_addressWhereInput | Prisma.invoices_addressWhereInput[];
    id?: Prisma.IntFilter<"invoices_address"> | number;
    invoice_id?: Prisma.BigIntNullableFilter<"invoices_address"> | bigint | number | null;
    address_id?: Prisma.IntNullableFilter<"invoices_address"> | number | null;
    address?: Prisma.XOR<Prisma.AddressNullableScalarRelationFilter, Prisma.addressWhereInput> | null;
    invoices?: Prisma.XOR<Prisma.InvoicesNullableScalarRelationFilter, Prisma.invoicesWhereInput> | null;
};
export type invoices_addressOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    address_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    address?: Prisma.addressOrderByWithRelationInput;
    invoices?: Prisma.invoicesOrderByWithRelationInput;
};
export type invoices_addressWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.invoices_addressWhereInput | Prisma.invoices_addressWhereInput[];
    OR?: Prisma.invoices_addressWhereInput[];
    NOT?: Prisma.invoices_addressWhereInput | Prisma.invoices_addressWhereInput[];
    invoice_id?: Prisma.BigIntNullableFilter<"invoices_address"> | bigint | number | null;
    address_id?: Prisma.IntNullableFilter<"invoices_address"> | number | null;
    address?: Prisma.XOR<Prisma.AddressNullableScalarRelationFilter, Prisma.addressWhereInput> | null;
    invoices?: Prisma.XOR<Prisma.InvoicesNullableScalarRelationFilter, Prisma.invoicesWhereInput> | null;
}, "id">;
export type invoices_addressOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    invoice_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    address_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.invoices_addressCountOrderByAggregateInput;
    _avg?: Prisma.invoices_addressAvgOrderByAggregateInput;
    _max?: Prisma.invoices_addressMaxOrderByAggregateInput;
    _min?: Prisma.invoices_addressMinOrderByAggregateInput;
    _sum?: Prisma.invoices_addressSumOrderByAggregateInput;
};
export type invoices_addressScalarWhereWithAggregatesInput = {
    AND?: Prisma.invoices_addressScalarWhereWithAggregatesInput | Prisma.invoices_addressScalarWhereWithAggregatesInput[];
    OR?: Prisma.invoices_addressScalarWhereWithAggregatesInput[];
    NOT?: Prisma.invoices_addressScalarWhereWithAggregatesInput | Prisma.invoices_addressScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"invoices_address"> | number;
    invoice_id?: Prisma.BigIntNullableWithAggregatesFilter<"invoices_address"> | bigint | number | null;
    address_id?: Prisma.IntNullableWithAggregatesFilter<"invoices_address"> | number | null;
};
export type invoices_addressCreateInput = {
    address?: Prisma.addressCreateNestedOneWithoutInvoices_addressInput;
    invoices?: Prisma.invoicesCreateNestedOneWithoutInvoices_addressInput;
};
export type invoices_addressUncheckedCreateInput = {
    id?: number;
    invoice_id?: bigint | number | null;
    address_id?: number | null;
};
export type invoices_addressUpdateInput = {
    address?: Prisma.addressUpdateOneWithoutInvoices_addressNestedInput;
    invoices?: Prisma.invoicesUpdateOneWithoutInvoices_addressNestedInput;
};
export type invoices_addressUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    address_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type invoices_addressCreateManyInput = {
    id?: number;
    invoice_id?: bigint | number | null;
    address_id?: number | null;
};
export type invoices_addressUpdateManyMutationInput = {};
export type invoices_addressUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    address_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Invoices_addressListRelationFilter = {
    every?: Prisma.invoices_addressWhereInput;
    some?: Prisma.invoices_addressWhereInput;
    none?: Prisma.invoices_addressWhereInput;
};
export type invoices_addressOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type invoices_addressCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    invoice_id?: Prisma.SortOrder;
    address_id?: Prisma.SortOrder;
};
export type invoices_addressAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    invoice_id?: Prisma.SortOrder;
    address_id?: Prisma.SortOrder;
};
export type invoices_addressMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    invoice_id?: Prisma.SortOrder;
    address_id?: Prisma.SortOrder;
};
export type invoices_addressMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    invoice_id?: Prisma.SortOrder;
    address_id?: Prisma.SortOrder;
};
export type invoices_addressSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    invoice_id?: Prisma.SortOrder;
    address_id?: Prisma.SortOrder;
};
export type invoices_addressCreateNestedManyWithoutAddressInput = {
    create?: Prisma.XOR<Prisma.invoices_addressCreateWithoutAddressInput, Prisma.invoices_addressUncheckedCreateWithoutAddressInput> | Prisma.invoices_addressCreateWithoutAddressInput[] | Prisma.invoices_addressUncheckedCreateWithoutAddressInput[];
    connectOrCreate?: Prisma.invoices_addressCreateOrConnectWithoutAddressInput | Prisma.invoices_addressCreateOrConnectWithoutAddressInput[];
    createMany?: Prisma.invoices_addressCreateManyAddressInputEnvelope;
    connect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
};
export type invoices_addressUncheckedCreateNestedManyWithoutAddressInput = {
    create?: Prisma.XOR<Prisma.invoices_addressCreateWithoutAddressInput, Prisma.invoices_addressUncheckedCreateWithoutAddressInput> | Prisma.invoices_addressCreateWithoutAddressInput[] | Prisma.invoices_addressUncheckedCreateWithoutAddressInput[];
    connectOrCreate?: Prisma.invoices_addressCreateOrConnectWithoutAddressInput | Prisma.invoices_addressCreateOrConnectWithoutAddressInput[];
    createMany?: Prisma.invoices_addressCreateManyAddressInputEnvelope;
    connect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
};
export type invoices_addressUpdateManyWithoutAddressNestedInput = {
    create?: Prisma.XOR<Prisma.invoices_addressCreateWithoutAddressInput, Prisma.invoices_addressUncheckedCreateWithoutAddressInput> | Prisma.invoices_addressCreateWithoutAddressInput[] | Prisma.invoices_addressUncheckedCreateWithoutAddressInput[];
    connectOrCreate?: Prisma.invoices_addressCreateOrConnectWithoutAddressInput | Prisma.invoices_addressCreateOrConnectWithoutAddressInput[];
    upsert?: Prisma.invoices_addressUpsertWithWhereUniqueWithoutAddressInput | Prisma.invoices_addressUpsertWithWhereUniqueWithoutAddressInput[];
    createMany?: Prisma.invoices_addressCreateManyAddressInputEnvelope;
    set?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    disconnect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    delete?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    connect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    update?: Prisma.invoices_addressUpdateWithWhereUniqueWithoutAddressInput | Prisma.invoices_addressUpdateWithWhereUniqueWithoutAddressInput[];
    updateMany?: Prisma.invoices_addressUpdateManyWithWhereWithoutAddressInput | Prisma.invoices_addressUpdateManyWithWhereWithoutAddressInput[];
    deleteMany?: Prisma.invoices_addressScalarWhereInput | Prisma.invoices_addressScalarWhereInput[];
};
export type invoices_addressUncheckedUpdateManyWithoutAddressNestedInput = {
    create?: Prisma.XOR<Prisma.invoices_addressCreateWithoutAddressInput, Prisma.invoices_addressUncheckedCreateWithoutAddressInput> | Prisma.invoices_addressCreateWithoutAddressInput[] | Prisma.invoices_addressUncheckedCreateWithoutAddressInput[];
    connectOrCreate?: Prisma.invoices_addressCreateOrConnectWithoutAddressInput | Prisma.invoices_addressCreateOrConnectWithoutAddressInput[];
    upsert?: Prisma.invoices_addressUpsertWithWhereUniqueWithoutAddressInput | Prisma.invoices_addressUpsertWithWhereUniqueWithoutAddressInput[];
    createMany?: Prisma.invoices_addressCreateManyAddressInputEnvelope;
    set?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    disconnect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    delete?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    connect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    update?: Prisma.invoices_addressUpdateWithWhereUniqueWithoutAddressInput | Prisma.invoices_addressUpdateWithWhereUniqueWithoutAddressInput[];
    updateMany?: Prisma.invoices_addressUpdateManyWithWhereWithoutAddressInput | Prisma.invoices_addressUpdateManyWithWhereWithoutAddressInput[];
    deleteMany?: Prisma.invoices_addressScalarWhereInput | Prisma.invoices_addressScalarWhereInput[];
};
export type invoices_addressCreateNestedManyWithoutInvoicesInput = {
    create?: Prisma.XOR<Prisma.invoices_addressCreateWithoutInvoicesInput, Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput> | Prisma.invoices_addressCreateWithoutInvoicesInput[] | Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput[];
    connectOrCreate?: Prisma.invoices_addressCreateOrConnectWithoutInvoicesInput | Prisma.invoices_addressCreateOrConnectWithoutInvoicesInput[];
    createMany?: Prisma.invoices_addressCreateManyInvoicesInputEnvelope;
    connect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
};
export type invoices_addressUncheckedCreateNestedManyWithoutInvoicesInput = {
    create?: Prisma.XOR<Prisma.invoices_addressCreateWithoutInvoicesInput, Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput> | Prisma.invoices_addressCreateWithoutInvoicesInput[] | Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput[];
    connectOrCreate?: Prisma.invoices_addressCreateOrConnectWithoutInvoicesInput | Prisma.invoices_addressCreateOrConnectWithoutInvoicesInput[];
    createMany?: Prisma.invoices_addressCreateManyInvoicesInputEnvelope;
    connect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
};
export type invoices_addressUpdateManyWithoutInvoicesNestedInput = {
    create?: Prisma.XOR<Prisma.invoices_addressCreateWithoutInvoicesInput, Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput> | Prisma.invoices_addressCreateWithoutInvoicesInput[] | Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput[];
    connectOrCreate?: Prisma.invoices_addressCreateOrConnectWithoutInvoicesInput | Prisma.invoices_addressCreateOrConnectWithoutInvoicesInput[];
    upsert?: Prisma.invoices_addressUpsertWithWhereUniqueWithoutInvoicesInput | Prisma.invoices_addressUpsertWithWhereUniqueWithoutInvoicesInput[];
    createMany?: Prisma.invoices_addressCreateManyInvoicesInputEnvelope;
    set?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    disconnect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    delete?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    connect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    update?: Prisma.invoices_addressUpdateWithWhereUniqueWithoutInvoicesInput | Prisma.invoices_addressUpdateWithWhereUniqueWithoutInvoicesInput[];
    updateMany?: Prisma.invoices_addressUpdateManyWithWhereWithoutInvoicesInput | Prisma.invoices_addressUpdateManyWithWhereWithoutInvoicesInput[];
    deleteMany?: Prisma.invoices_addressScalarWhereInput | Prisma.invoices_addressScalarWhereInput[];
};
export type invoices_addressUncheckedUpdateManyWithoutInvoicesNestedInput = {
    create?: Prisma.XOR<Prisma.invoices_addressCreateWithoutInvoicesInput, Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput> | Prisma.invoices_addressCreateWithoutInvoicesInput[] | Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput[];
    connectOrCreate?: Prisma.invoices_addressCreateOrConnectWithoutInvoicesInput | Prisma.invoices_addressCreateOrConnectWithoutInvoicesInput[];
    upsert?: Prisma.invoices_addressUpsertWithWhereUniqueWithoutInvoicesInput | Prisma.invoices_addressUpsertWithWhereUniqueWithoutInvoicesInput[];
    createMany?: Prisma.invoices_addressCreateManyInvoicesInputEnvelope;
    set?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    disconnect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    delete?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    connect?: Prisma.invoices_addressWhereUniqueInput | Prisma.invoices_addressWhereUniqueInput[];
    update?: Prisma.invoices_addressUpdateWithWhereUniqueWithoutInvoicesInput | Prisma.invoices_addressUpdateWithWhereUniqueWithoutInvoicesInput[];
    updateMany?: Prisma.invoices_addressUpdateManyWithWhereWithoutInvoicesInput | Prisma.invoices_addressUpdateManyWithWhereWithoutInvoicesInput[];
    deleteMany?: Prisma.invoices_addressScalarWhereInput | Prisma.invoices_addressScalarWhereInput[];
};
export type invoices_addressCreateWithoutAddressInput = {
    invoices?: Prisma.invoicesCreateNestedOneWithoutInvoices_addressInput;
};
export type invoices_addressUncheckedCreateWithoutAddressInput = {
    id?: number;
    invoice_id?: bigint | number | null;
};
export type invoices_addressCreateOrConnectWithoutAddressInput = {
    where: Prisma.invoices_addressWhereUniqueInput;
    create: Prisma.XOR<Prisma.invoices_addressCreateWithoutAddressInput, Prisma.invoices_addressUncheckedCreateWithoutAddressInput>;
};
export type invoices_addressCreateManyAddressInputEnvelope = {
    data: Prisma.invoices_addressCreateManyAddressInput | Prisma.invoices_addressCreateManyAddressInput[];
    skipDuplicates?: boolean;
};
export type invoices_addressUpsertWithWhereUniqueWithoutAddressInput = {
    where: Prisma.invoices_addressWhereUniqueInput;
    update: Prisma.XOR<Prisma.invoices_addressUpdateWithoutAddressInput, Prisma.invoices_addressUncheckedUpdateWithoutAddressInput>;
    create: Prisma.XOR<Prisma.invoices_addressCreateWithoutAddressInput, Prisma.invoices_addressUncheckedCreateWithoutAddressInput>;
};
export type invoices_addressUpdateWithWhereUniqueWithoutAddressInput = {
    where: Prisma.invoices_addressWhereUniqueInput;
    data: Prisma.XOR<Prisma.invoices_addressUpdateWithoutAddressInput, Prisma.invoices_addressUncheckedUpdateWithoutAddressInput>;
};
export type invoices_addressUpdateManyWithWhereWithoutAddressInput = {
    where: Prisma.invoices_addressScalarWhereInput;
    data: Prisma.XOR<Prisma.invoices_addressUpdateManyMutationInput, Prisma.invoices_addressUncheckedUpdateManyWithoutAddressInput>;
};
export type invoices_addressScalarWhereInput = {
    AND?: Prisma.invoices_addressScalarWhereInput | Prisma.invoices_addressScalarWhereInput[];
    OR?: Prisma.invoices_addressScalarWhereInput[];
    NOT?: Prisma.invoices_addressScalarWhereInput | Prisma.invoices_addressScalarWhereInput[];
    id?: Prisma.IntFilter<"invoices_address"> | number;
    invoice_id?: Prisma.BigIntNullableFilter<"invoices_address"> | bigint | number | null;
    address_id?: Prisma.IntNullableFilter<"invoices_address"> | number | null;
};
export type invoices_addressCreateWithoutInvoicesInput = {
    address?: Prisma.addressCreateNestedOneWithoutInvoices_addressInput;
};
export type invoices_addressUncheckedCreateWithoutInvoicesInput = {
    id?: number;
    address_id?: number | null;
};
export type invoices_addressCreateOrConnectWithoutInvoicesInput = {
    where: Prisma.invoices_addressWhereUniqueInput;
    create: Prisma.XOR<Prisma.invoices_addressCreateWithoutInvoicesInput, Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput>;
};
export type invoices_addressCreateManyInvoicesInputEnvelope = {
    data: Prisma.invoices_addressCreateManyInvoicesInput | Prisma.invoices_addressCreateManyInvoicesInput[];
    skipDuplicates?: boolean;
};
export type invoices_addressUpsertWithWhereUniqueWithoutInvoicesInput = {
    where: Prisma.invoices_addressWhereUniqueInput;
    update: Prisma.XOR<Prisma.invoices_addressUpdateWithoutInvoicesInput, Prisma.invoices_addressUncheckedUpdateWithoutInvoicesInput>;
    create: Prisma.XOR<Prisma.invoices_addressCreateWithoutInvoicesInput, Prisma.invoices_addressUncheckedCreateWithoutInvoicesInput>;
};
export type invoices_addressUpdateWithWhereUniqueWithoutInvoicesInput = {
    where: Prisma.invoices_addressWhereUniqueInput;
    data: Prisma.XOR<Prisma.invoices_addressUpdateWithoutInvoicesInput, Prisma.invoices_addressUncheckedUpdateWithoutInvoicesInput>;
};
export type invoices_addressUpdateManyWithWhereWithoutInvoicesInput = {
    where: Prisma.invoices_addressScalarWhereInput;
    data: Prisma.XOR<Prisma.invoices_addressUpdateManyMutationInput, Prisma.invoices_addressUncheckedUpdateManyWithoutInvoicesInput>;
};
export type invoices_addressCreateManyAddressInput = {
    id?: number;
    invoice_id?: bigint | number | null;
};
export type invoices_addressUpdateWithoutAddressInput = {
    invoices?: Prisma.invoicesUpdateOneWithoutInvoices_addressNestedInput;
};
export type invoices_addressUncheckedUpdateWithoutAddressInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type invoices_addressUncheckedUpdateManyWithoutAddressInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    invoice_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
};
export type invoices_addressCreateManyInvoicesInput = {
    id?: number;
    address_id?: number | null;
};
export type invoices_addressUpdateWithoutInvoicesInput = {
    address?: Prisma.addressUpdateOneWithoutInvoices_addressNestedInput;
};
export type invoices_addressUncheckedUpdateWithoutInvoicesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    address_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type invoices_addressUncheckedUpdateManyWithoutInvoicesInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    address_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type invoices_addressSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    invoice_id?: boolean;
    address_id?: boolean;
    address?: boolean | Prisma.invoices_address$addressArgs<ExtArgs>;
    invoices?: boolean | Prisma.invoices_address$invoicesArgs<ExtArgs>;
}, ExtArgs["result"]["invoices_address"]>;
export type invoices_addressSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    invoice_id?: boolean;
    address_id?: boolean;
    address?: boolean | Prisma.invoices_address$addressArgs<ExtArgs>;
    invoices?: boolean | Prisma.invoices_address$invoicesArgs<ExtArgs>;
}, ExtArgs["result"]["invoices_address"]>;
export type invoices_addressSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    invoice_id?: boolean;
    address_id?: boolean;
    address?: boolean | Prisma.invoices_address$addressArgs<ExtArgs>;
    invoices?: boolean | Prisma.invoices_address$invoicesArgs<ExtArgs>;
}, ExtArgs["result"]["invoices_address"]>;
export type invoices_addressSelectScalar = {
    id?: boolean;
    invoice_id?: boolean;
    address_id?: boolean;
};
export type invoices_addressOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "invoice_id" | "address_id", ExtArgs["result"]["invoices_address"]>;
export type invoices_addressInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    address?: boolean | Prisma.invoices_address$addressArgs<ExtArgs>;
    invoices?: boolean | Prisma.invoices_address$invoicesArgs<ExtArgs>;
};
export type invoices_addressIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    address?: boolean | Prisma.invoices_address$addressArgs<ExtArgs>;
    invoices?: boolean | Prisma.invoices_address$invoicesArgs<ExtArgs>;
};
export type invoices_addressIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    address?: boolean | Prisma.invoices_address$addressArgs<ExtArgs>;
    invoices?: boolean | Prisma.invoices_address$invoicesArgs<ExtArgs>;
};
export type $invoices_addressPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "invoices_address";
    objects: {
        address: Prisma.$addressPayload<ExtArgs> | null;
        invoices: Prisma.$invoicesPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        invoice_id: bigint | null;
        address_id: number | null;
    }, ExtArgs["result"]["invoices_address"]>;
    composites: {};
};
export type invoices_addressGetPayload<S extends boolean | null | undefined | invoices_addressDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload, S>;
export type invoices_addressCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<invoices_addressFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Invoices_addressCountAggregateInputType | true;
};
export interface invoices_addressDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['invoices_address'];
        meta: {
            name: 'invoices_address';
        };
    };
    /**
     * Find zero or one Invoices_address that matches the filter.
     * @param {invoices_addressFindUniqueArgs} args - Arguments to find a Invoices_address
     * @example
     * // Get one Invoices_address
     * const invoices_address = await prisma.invoices_address.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends invoices_addressFindUniqueArgs>(args: Prisma.SelectSubset<T, invoices_addressFindUniqueArgs<ExtArgs>>): Prisma.Prisma__invoices_addressClient<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Invoices_address that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {invoices_addressFindUniqueOrThrowArgs} args - Arguments to find a Invoices_address
     * @example
     * // Get one Invoices_address
     * const invoices_address = await prisma.invoices_address.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends invoices_addressFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, invoices_addressFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__invoices_addressClient<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Invoices_address 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 {invoices_addressFindFirstArgs} args - Arguments to find a Invoices_address
     * @example
     * // Get one Invoices_address
     * const invoices_address = await prisma.invoices_address.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends invoices_addressFindFirstArgs>(args?: Prisma.SelectSubset<T, invoices_addressFindFirstArgs<ExtArgs>>): Prisma.Prisma__invoices_addressClient<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Invoices_address 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 {invoices_addressFindFirstOrThrowArgs} args - Arguments to find a Invoices_address
     * @example
     * // Get one Invoices_address
     * const invoices_address = await prisma.invoices_address.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends invoices_addressFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, invoices_addressFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__invoices_addressClient<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Invoices_addresses 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 {invoices_addressFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Invoices_addresses
     * const invoices_addresses = await prisma.invoices_address.findMany()
     *
     * // Get first 10 Invoices_addresses
     * const invoices_addresses = await prisma.invoices_address.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const invoices_addressWithIdOnly = await prisma.invoices_address.findMany({ select: { id: true } })
     *
     */
    findMany<T extends invoices_addressFindManyArgs>(args?: Prisma.SelectSubset<T, invoices_addressFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Invoices_address.
     * @param {invoices_addressCreateArgs} args - Arguments to create a Invoices_address.
     * @example
     * // Create one Invoices_address
     * const Invoices_address = await prisma.invoices_address.create({
     *   data: {
     *     // ... data to create a Invoices_address
     *   }
     * })
     *
     */
    create<T extends invoices_addressCreateArgs>(args: Prisma.SelectSubset<T, invoices_addressCreateArgs<ExtArgs>>): Prisma.Prisma__invoices_addressClient<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Invoices_addresses.
     * @param {invoices_addressCreateManyArgs} args - Arguments to create many Invoices_addresses.
     * @example
     * // Create many Invoices_addresses
     * const invoices_address = await prisma.invoices_address.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends invoices_addressCreateManyArgs>(args?: Prisma.SelectSubset<T, invoices_addressCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Invoices_addresses and returns the data saved in the database.
     * @param {invoices_addressCreateManyAndReturnArgs} args - Arguments to create many Invoices_addresses.
     * @example
     * // Create many Invoices_addresses
     * const invoices_address = await prisma.invoices_address.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Invoices_addresses and only return the `id`
     * const invoices_addressWithIdOnly = await prisma.invoices_address.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 invoices_addressCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, invoices_addressCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Invoices_address.
     * @param {invoices_addressDeleteArgs} args - Arguments to delete one Invoices_address.
     * @example
     * // Delete one Invoices_address
     * const Invoices_address = await prisma.invoices_address.delete({
     *   where: {
     *     // ... filter to delete one Invoices_address
     *   }
     * })
     *
     */
    delete<T extends invoices_addressDeleteArgs>(args: Prisma.SelectSubset<T, invoices_addressDeleteArgs<ExtArgs>>): Prisma.Prisma__invoices_addressClient<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Invoices_address.
     * @param {invoices_addressUpdateArgs} args - Arguments to update one Invoices_address.
     * @example
     * // Update one Invoices_address
     * const invoices_address = await prisma.invoices_address.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends invoices_addressUpdateArgs>(args: Prisma.SelectSubset<T, invoices_addressUpdateArgs<ExtArgs>>): Prisma.Prisma__invoices_addressClient<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Invoices_addresses.
     * @param {invoices_addressDeleteManyArgs} args - Arguments to filter Invoices_addresses to delete.
     * @example
     * // Delete a few Invoices_addresses
     * const { count } = await prisma.invoices_address.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends invoices_addressDeleteManyArgs>(args?: Prisma.SelectSubset<T, invoices_addressDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Invoices_addresses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {invoices_addressUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Invoices_addresses
     * const invoices_address = await prisma.invoices_address.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends invoices_addressUpdateManyArgs>(args: Prisma.SelectSubset<T, invoices_addressUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Invoices_addresses and returns the data updated in the database.
     * @param {invoices_addressUpdateManyAndReturnArgs} args - Arguments to update many Invoices_addresses.
     * @example
     * // Update many Invoices_addresses
     * const invoices_address = await prisma.invoices_address.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Invoices_addresses and only return the `id`
     * const invoices_addressWithIdOnly = await prisma.invoices_address.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 invoices_addressUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, invoices_addressUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Invoices_address.
     * @param {invoices_addressUpsertArgs} args - Arguments to update or create a Invoices_address.
     * @example
     * // Update or create a Invoices_address
     * const invoices_address = await prisma.invoices_address.upsert({
     *   create: {
     *     // ... data to create a Invoices_address
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Invoices_address we want to update
     *   }
     * })
     */
    upsert<T extends invoices_addressUpsertArgs>(args: Prisma.SelectSubset<T, invoices_addressUpsertArgs<ExtArgs>>): Prisma.Prisma__invoices_addressClient<runtime.Types.Result.GetResult<Prisma.$invoices_addressPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Invoices_addresses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {invoices_addressCountArgs} args - Arguments to filter Invoices_addresses to count.
     * @example
     * // Count the number of Invoices_addresses
     * const count = await prisma.invoices_address.count({
     *   where: {
     *     // ... the filter for the Invoices_addresses we want to count
     *   }
     * })
    **/
    count<T extends invoices_addressCountArgs>(args?: Prisma.Subset<T, invoices_addressCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Invoices_addressCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Invoices_address.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Invoices_addressAggregateArgs} 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 Invoices_addressAggregateArgs>(args: Prisma.Subset<T, Invoices_addressAggregateArgs>): Prisma.PrismaPromise<GetInvoices_addressAggregateType<T>>;
    /**
     * Group by Invoices_address.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {invoices_addressGroupByArgs} 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 invoices_addressGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: invoices_addressGroupByArgs['orderBy'];
    } : {
        orderBy?: invoices_addressGroupByArgs['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, invoices_addressGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInvoices_addressGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the invoices_address model
     */
    readonly fields: invoices_addressFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for invoices_address.
 * 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__invoices_addressClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    address<T extends Prisma.invoices_address$addressArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.invoices_address$addressArgs<ExtArgs>>): Prisma.Prisma__addressClient<runtime.Types.Result.GetResult<Prisma.$addressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    invoices<T extends Prisma.invoices_address$invoicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.invoices_address$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 invoices_address model
 */
export interface invoices_addressFieldRefs {
    readonly id: Prisma.FieldRef<"invoices_address", 'Int'>;
    readonly invoice_id: Prisma.FieldRef<"invoices_address", 'BigInt'>;
    readonly address_id: Prisma.FieldRef<"invoices_address", 'Int'>;
}
/**
 * invoices_address findUnique
 */
export type invoices_addressFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
    /**
     * Filter, which invoices_address to fetch.
     */
    where: Prisma.invoices_addressWhereUniqueInput;
};
/**
 * invoices_address findUniqueOrThrow
 */
export type invoices_addressFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
    /**
     * Filter, which invoices_address to fetch.
     */
    where: Prisma.invoices_addressWhereUniqueInput;
};
/**
 * invoices_address findFirst
 */
export type invoices_addressFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
    /**
     * Filter, which invoices_address to fetch.
     */
    where?: Prisma.invoices_addressWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of invoices_addresses to fetch.
     */
    orderBy?: Prisma.invoices_addressOrderByWithRelationInput | Prisma.invoices_addressOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for invoices_addresses.
     */
    cursor?: Prisma.invoices_addressWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` invoices_addresses 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` invoices_addresses.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of invoices_addresses.
     */
    distinct?: Prisma.Invoices_addressScalarFieldEnum | Prisma.Invoices_addressScalarFieldEnum[];
};
/**
 * invoices_address findFirstOrThrow
 */
export type invoices_addressFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
    /**
     * Filter, which invoices_address to fetch.
     */
    where?: Prisma.invoices_addressWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of invoices_addresses to fetch.
     */
    orderBy?: Prisma.invoices_addressOrderByWithRelationInput | Prisma.invoices_addressOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for invoices_addresses.
     */
    cursor?: Prisma.invoices_addressWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` invoices_addresses 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` invoices_addresses.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of invoices_addresses.
     */
    distinct?: Prisma.Invoices_addressScalarFieldEnum | Prisma.Invoices_addressScalarFieldEnum[];
};
/**
 * invoices_address findMany
 */
export type invoices_addressFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
    /**
     * Filter, which invoices_addresses to fetch.
     */
    where?: Prisma.invoices_addressWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of invoices_addresses to fetch.
     */
    orderBy?: Prisma.invoices_addressOrderByWithRelationInput | Prisma.invoices_addressOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing invoices_addresses.
     */
    cursor?: Prisma.invoices_addressWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` invoices_addresses 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` invoices_addresses.
     */
    skip?: number;
    distinct?: Prisma.Invoices_addressScalarFieldEnum | Prisma.Invoices_addressScalarFieldEnum[];
};
/**
 * invoices_address create
 */
export type invoices_addressCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
    /**
     * The data needed to create a invoices_address.
     */
    data?: Prisma.XOR<Prisma.invoices_addressCreateInput, Prisma.invoices_addressUncheckedCreateInput>;
};
/**
 * invoices_address createMany
 */
export type invoices_addressCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many invoices_addresses.
     */
    data: Prisma.invoices_addressCreateManyInput | Prisma.invoices_addressCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * invoices_address createManyAndReturn
 */
export type invoices_addressCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * The data used to create many invoices_addresses.
     */
    data: Prisma.invoices_addressCreateManyInput | Prisma.invoices_addressCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * invoices_address update
 */
export type invoices_addressUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
    /**
     * The data needed to update a invoices_address.
     */
    data: Prisma.XOR<Prisma.invoices_addressUpdateInput, Prisma.invoices_addressUncheckedUpdateInput>;
    /**
     * Choose, which invoices_address to update.
     */
    where: Prisma.invoices_addressWhereUniqueInput;
};
/**
 * invoices_address updateMany
 */
export type invoices_addressUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update invoices_addresses.
     */
    data: Prisma.XOR<Prisma.invoices_addressUpdateManyMutationInput, Prisma.invoices_addressUncheckedUpdateManyInput>;
    /**
     * Filter which invoices_addresses to update
     */
    where?: Prisma.invoices_addressWhereInput;
    /**
     * Limit how many invoices_addresses to update.
     */
    limit?: number;
};
/**
 * invoices_address updateManyAndReturn
 */
export type invoices_addressUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * The data used to update invoices_addresses.
     */
    data: Prisma.XOR<Prisma.invoices_addressUpdateManyMutationInput, Prisma.invoices_addressUncheckedUpdateManyInput>;
    /**
     * Filter which invoices_addresses to update
     */
    where?: Prisma.invoices_addressWhereInput;
    /**
     * Limit how many invoices_addresses to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * invoices_address upsert
 */
export type invoices_addressUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
    /**
     * The filter to search for the invoices_address to update in case it exists.
     */
    where: Prisma.invoices_addressWhereUniqueInput;
    /**
     * In case the invoices_address found by the `where` argument doesn't exist, create a new invoices_address with this data.
     */
    create: Prisma.XOR<Prisma.invoices_addressCreateInput, Prisma.invoices_addressUncheckedCreateInput>;
    /**
     * In case the invoices_address was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.invoices_addressUpdateInput, Prisma.invoices_addressUncheckedUpdateInput>;
};
/**
 * invoices_address delete
 */
export type invoices_addressDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
    /**
     * Filter which invoices_address to delete.
     */
    where: Prisma.invoices_addressWhereUniqueInput;
};
/**
 * invoices_address deleteMany
 */
export type invoices_addressDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which invoices_addresses to delete
     */
    where?: Prisma.invoices_addressWhereInput;
    /**
     * Limit how many invoices_addresses to delete.
     */
    limit?: number;
};
/**
 * invoices_address.address
 */
export type invoices_address$addressArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the address
     */
    select?: Prisma.addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the address
     */
    omit?: Prisma.addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.addressInclude<ExtArgs> | null;
    where?: Prisma.addressWhereInput;
};
/**
 * invoices_address.invoices
 */
export type invoices_address$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;
};
/**
 * invoices_address without action
 */
export type invoices_addressDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the invoices_address
     */
    select?: Prisma.invoices_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the invoices_address
     */
    omit?: Prisma.invoices_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.invoices_addressInclude<ExtArgs> | null;
};
export {};
