import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model region_shipping_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 region_shipping_addressModel = runtime.Types.Result.DefaultSelection<Prisma.$region_shipping_addressPayload>;
export type AggregateRegion_shipping_address = {
    _count: Region_shipping_addressCountAggregateOutputType | null;
    _avg: Region_shipping_addressAvgAggregateOutputType | null;
    _sum: Region_shipping_addressSumAggregateOutputType | null;
    _min: Region_shipping_addressMinAggregateOutputType | null;
    _max: Region_shipping_addressMaxAggregateOutputType | null;
};
export type Region_shipping_addressAvgAggregateOutputType = {
    id: number | null;
    region_id: number | null;
    shipping_address_id: number | null;
};
export type Region_shipping_addressSumAggregateOutputType = {
    id: number | null;
    region_id: number | null;
    shipping_address_id: number | null;
};
export type Region_shipping_addressMinAggregateOutputType = {
    id: number | null;
    region_id: number | null;
    shipping_address_id: number | null;
};
export type Region_shipping_addressMaxAggregateOutputType = {
    id: number | null;
    region_id: number | null;
    shipping_address_id: number | null;
};
export type Region_shipping_addressCountAggregateOutputType = {
    id: number;
    region_id: number;
    shipping_address_id: number;
    _all: number;
};
export type Region_shipping_addressAvgAggregateInputType = {
    id?: true;
    region_id?: true;
    shipping_address_id?: true;
};
export type Region_shipping_addressSumAggregateInputType = {
    id?: true;
    region_id?: true;
    shipping_address_id?: true;
};
export type Region_shipping_addressMinAggregateInputType = {
    id?: true;
    region_id?: true;
    shipping_address_id?: true;
};
export type Region_shipping_addressMaxAggregateInputType = {
    id?: true;
    region_id?: true;
    shipping_address_id?: true;
};
export type Region_shipping_addressCountAggregateInputType = {
    id?: true;
    region_id?: true;
    shipping_address_id?: true;
    _all?: true;
};
export type Region_shipping_addressAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which region_shipping_address to aggregate.
     */
    where?: Prisma.region_shipping_addressWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of region_shipping_addresses to fetch.
     */
    orderBy?: Prisma.region_shipping_addressOrderByWithRelationInput | Prisma.region_shipping_addressOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.region_shipping_addressWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` region_shipping_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` region_shipping_addresses.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned region_shipping_addresses
    **/
    _count?: true | Region_shipping_addressCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Region_shipping_addressAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Region_shipping_addressSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Region_shipping_addressMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Region_shipping_addressMaxAggregateInputType;
};
export type GetRegion_shipping_addressAggregateType<T extends Region_shipping_addressAggregateArgs> = {
    [P in keyof T & keyof AggregateRegion_shipping_address]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateRegion_shipping_address[P]> : Prisma.GetScalarType<T[P], AggregateRegion_shipping_address[P]>;
};
export type region_shipping_addressGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.region_shipping_addressWhereInput;
    orderBy?: Prisma.region_shipping_addressOrderByWithAggregationInput | Prisma.region_shipping_addressOrderByWithAggregationInput[];
    by: Prisma.Region_shipping_addressScalarFieldEnum[] | Prisma.Region_shipping_addressScalarFieldEnum;
    having?: Prisma.region_shipping_addressScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Region_shipping_addressCountAggregateInputType | true;
    _avg?: Region_shipping_addressAvgAggregateInputType;
    _sum?: Region_shipping_addressSumAggregateInputType;
    _min?: Region_shipping_addressMinAggregateInputType;
    _max?: Region_shipping_addressMaxAggregateInputType;
};
export type Region_shipping_addressGroupByOutputType = {
    id: number;
    region_id: number | null;
    shipping_address_id: number | null;
    _count: Region_shipping_addressCountAggregateOutputType | null;
    _avg: Region_shipping_addressAvgAggregateOutputType | null;
    _sum: Region_shipping_addressSumAggregateOutputType | null;
    _min: Region_shipping_addressMinAggregateOutputType | null;
    _max: Region_shipping_addressMaxAggregateOutputType | null;
};
type GetRegion_shipping_addressGroupByPayload<T extends region_shipping_addressGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Region_shipping_addressGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Region_shipping_addressGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Region_shipping_addressGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Region_shipping_addressGroupByOutputType[P]>;
}>>;
export type region_shipping_addressWhereInput = {
    AND?: Prisma.region_shipping_addressWhereInput | Prisma.region_shipping_addressWhereInput[];
    OR?: Prisma.region_shipping_addressWhereInput[];
    NOT?: Prisma.region_shipping_addressWhereInput | Prisma.region_shipping_addressWhereInput[];
    id?: Prisma.IntFilter<"region_shipping_address"> | number;
    region_id?: Prisma.IntNullableFilter<"region_shipping_address"> | number | null;
    shipping_address_id?: Prisma.IntNullableFilter<"region_shipping_address"> | number | null;
    region?: Prisma.XOR<Prisma.RegionNullableScalarRelationFilter, Prisma.regionWhereInput> | null;
    shipping_address?: Prisma.XOR<Prisma.Shipping_addressNullableScalarRelationFilter, Prisma.shipping_addressWhereInput> | null;
};
export type region_shipping_addressOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    region_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shipping_address_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    region?: Prisma.regionOrderByWithRelationInput;
    shipping_address?: Prisma.shipping_addressOrderByWithRelationInput;
};
export type region_shipping_addressWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.region_shipping_addressWhereInput | Prisma.region_shipping_addressWhereInput[];
    OR?: Prisma.region_shipping_addressWhereInput[];
    NOT?: Prisma.region_shipping_addressWhereInput | Prisma.region_shipping_addressWhereInput[];
    region_id?: Prisma.IntNullableFilter<"region_shipping_address"> | number | null;
    shipping_address_id?: Prisma.IntNullableFilter<"region_shipping_address"> | number | null;
    region?: Prisma.XOR<Prisma.RegionNullableScalarRelationFilter, Prisma.regionWhereInput> | null;
    shipping_address?: Prisma.XOR<Prisma.Shipping_addressNullableScalarRelationFilter, Prisma.shipping_addressWhereInput> | null;
}, "id">;
export type region_shipping_addressOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    region_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shipping_address_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.region_shipping_addressCountOrderByAggregateInput;
    _avg?: Prisma.region_shipping_addressAvgOrderByAggregateInput;
    _max?: Prisma.region_shipping_addressMaxOrderByAggregateInput;
    _min?: Prisma.region_shipping_addressMinOrderByAggregateInput;
    _sum?: Prisma.region_shipping_addressSumOrderByAggregateInput;
};
export type region_shipping_addressScalarWhereWithAggregatesInput = {
    AND?: Prisma.region_shipping_addressScalarWhereWithAggregatesInput | Prisma.region_shipping_addressScalarWhereWithAggregatesInput[];
    OR?: Prisma.region_shipping_addressScalarWhereWithAggregatesInput[];
    NOT?: Prisma.region_shipping_addressScalarWhereWithAggregatesInput | Prisma.region_shipping_addressScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"region_shipping_address"> | number;
    region_id?: Prisma.IntNullableWithAggregatesFilter<"region_shipping_address"> | number | null;
    shipping_address_id?: Prisma.IntNullableWithAggregatesFilter<"region_shipping_address"> | number | null;
};
export type region_shipping_addressCreateInput = {
    region?: Prisma.regionCreateNestedOneWithoutRegion_shipping_addressInput;
    shipping_address?: Prisma.shipping_addressCreateNestedOneWithoutRegion_shipping_addressInput;
};
export type region_shipping_addressUncheckedCreateInput = {
    id?: number;
    region_id?: number | null;
    shipping_address_id?: number | null;
};
export type region_shipping_addressUpdateInput = {
    region?: Prisma.regionUpdateOneWithoutRegion_shipping_addressNestedInput;
    shipping_address?: Prisma.shipping_addressUpdateOneWithoutRegion_shipping_addressNestedInput;
};
export type region_shipping_addressUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    shipping_address_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type region_shipping_addressCreateManyInput = {
    id?: number;
    region_id?: number | null;
    shipping_address_id?: number | null;
};
export type region_shipping_addressUpdateManyMutationInput = {};
export type region_shipping_addressUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
    shipping_address_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Region_shipping_addressListRelationFilter = {
    every?: Prisma.region_shipping_addressWhereInput;
    some?: Prisma.region_shipping_addressWhereInput;
    none?: Prisma.region_shipping_addressWhereInput;
};
export type region_shipping_addressOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type region_shipping_addressCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    region_id?: Prisma.SortOrder;
    shipping_address_id?: Prisma.SortOrder;
};
export type region_shipping_addressAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    region_id?: Prisma.SortOrder;
    shipping_address_id?: Prisma.SortOrder;
};
export type region_shipping_addressMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    region_id?: Prisma.SortOrder;
    shipping_address_id?: Prisma.SortOrder;
};
export type region_shipping_addressMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    region_id?: Prisma.SortOrder;
    shipping_address_id?: Prisma.SortOrder;
};
export type region_shipping_addressSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    region_id?: Prisma.SortOrder;
    shipping_address_id?: Prisma.SortOrder;
};
export type region_shipping_addressCreateNestedManyWithoutRegionInput = {
    create?: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutRegionInput, Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput> | Prisma.region_shipping_addressCreateWithoutRegionInput[] | Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput[];
    connectOrCreate?: Prisma.region_shipping_addressCreateOrConnectWithoutRegionInput | Prisma.region_shipping_addressCreateOrConnectWithoutRegionInput[];
    createMany?: Prisma.region_shipping_addressCreateManyRegionInputEnvelope;
    connect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
};
export type region_shipping_addressUncheckedCreateNestedManyWithoutRegionInput = {
    create?: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutRegionInput, Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput> | Prisma.region_shipping_addressCreateWithoutRegionInput[] | Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput[];
    connectOrCreate?: Prisma.region_shipping_addressCreateOrConnectWithoutRegionInput | Prisma.region_shipping_addressCreateOrConnectWithoutRegionInput[];
    createMany?: Prisma.region_shipping_addressCreateManyRegionInputEnvelope;
    connect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
};
export type region_shipping_addressUpdateManyWithoutRegionNestedInput = {
    create?: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutRegionInput, Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput> | Prisma.region_shipping_addressCreateWithoutRegionInput[] | Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput[];
    connectOrCreate?: Prisma.region_shipping_addressCreateOrConnectWithoutRegionInput | Prisma.region_shipping_addressCreateOrConnectWithoutRegionInput[];
    upsert?: Prisma.region_shipping_addressUpsertWithWhereUniqueWithoutRegionInput | Prisma.region_shipping_addressUpsertWithWhereUniqueWithoutRegionInput[];
    createMany?: Prisma.region_shipping_addressCreateManyRegionInputEnvelope;
    set?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    disconnect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    delete?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    connect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    update?: Prisma.region_shipping_addressUpdateWithWhereUniqueWithoutRegionInput | Prisma.region_shipping_addressUpdateWithWhereUniqueWithoutRegionInput[];
    updateMany?: Prisma.region_shipping_addressUpdateManyWithWhereWithoutRegionInput | Prisma.region_shipping_addressUpdateManyWithWhereWithoutRegionInput[];
    deleteMany?: Prisma.region_shipping_addressScalarWhereInput | Prisma.region_shipping_addressScalarWhereInput[];
};
export type region_shipping_addressUncheckedUpdateManyWithoutRegionNestedInput = {
    create?: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutRegionInput, Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput> | Prisma.region_shipping_addressCreateWithoutRegionInput[] | Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput[];
    connectOrCreate?: Prisma.region_shipping_addressCreateOrConnectWithoutRegionInput | Prisma.region_shipping_addressCreateOrConnectWithoutRegionInput[];
    upsert?: Prisma.region_shipping_addressUpsertWithWhereUniqueWithoutRegionInput | Prisma.region_shipping_addressUpsertWithWhereUniqueWithoutRegionInput[];
    createMany?: Prisma.region_shipping_addressCreateManyRegionInputEnvelope;
    set?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    disconnect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    delete?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    connect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    update?: Prisma.region_shipping_addressUpdateWithWhereUniqueWithoutRegionInput | Prisma.region_shipping_addressUpdateWithWhereUniqueWithoutRegionInput[];
    updateMany?: Prisma.region_shipping_addressUpdateManyWithWhereWithoutRegionInput | Prisma.region_shipping_addressUpdateManyWithWhereWithoutRegionInput[];
    deleteMany?: Prisma.region_shipping_addressScalarWhereInput | Prisma.region_shipping_addressScalarWhereInput[];
};
export type region_shipping_addressCreateNestedManyWithoutShipping_addressInput = {
    create?: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutShipping_addressInput, Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput> | Prisma.region_shipping_addressCreateWithoutShipping_addressInput[] | Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput[];
    connectOrCreate?: Prisma.region_shipping_addressCreateOrConnectWithoutShipping_addressInput | Prisma.region_shipping_addressCreateOrConnectWithoutShipping_addressInput[];
    createMany?: Prisma.region_shipping_addressCreateManyShipping_addressInputEnvelope;
    connect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
};
export type region_shipping_addressUncheckedCreateNestedManyWithoutShipping_addressInput = {
    create?: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutShipping_addressInput, Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput> | Prisma.region_shipping_addressCreateWithoutShipping_addressInput[] | Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput[];
    connectOrCreate?: Prisma.region_shipping_addressCreateOrConnectWithoutShipping_addressInput | Prisma.region_shipping_addressCreateOrConnectWithoutShipping_addressInput[];
    createMany?: Prisma.region_shipping_addressCreateManyShipping_addressInputEnvelope;
    connect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
};
export type region_shipping_addressUpdateManyWithoutShipping_addressNestedInput = {
    create?: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutShipping_addressInput, Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput> | Prisma.region_shipping_addressCreateWithoutShipping_addressInput[] | Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput[];
    connectOrCreate?: Prisma.region_shipping_addressCreateOrConnectWithoutShipping_addressInput | Prisma.region_shipping_addressCreateOrConnectWithoutShipping_addressInput[];
    upsert?: Prisma.region_shipping_addressUpsertWithWhereUniqueWithoutShipping_addressInput | Prisma.region_shipping_addressUpsertWithWhereUniqueWithoutShipping_addressInput[];
    createMany?: Prisma.region_shipping_addressCreateManyShipping_addressInputEnvelope;
    set?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    disconnect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    delete?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    connect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    update?: Prisma.region_shipping_addressUpdateWithWhereUniqueWithoutShipping_addressInput | Prisma.region_shipping_addressUpdateWithWhereUniqueWithoutShipping_addressInput[];
    updateMany?: Prisma.region_shipping_addressUpdateManyWithWhereWithoutShipping_addressInput | Prisma.region_shipping_addressUpdateManyWithWhereWithoutShipping_addressInput[];
    deleteMany?: Prisma.region_shipping_addressScalarWhereInput | Prisma.region_shipping_addressScalarWhereInput[];
};
export type region_shipping_addressUncheckedUpdateManyWithoutShipping_addressNestedInput = {
    create?: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutShipping_addressInput, Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput> | Prisma.region_shipping_addressCreateWithoutShipping_addressInput[] | Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput[];
    connectOrCreate?: Prisma.region_shipping_addressCreateOrConnectWithoutShipping_addressInput | Prisma.region_shipping_addressCreateOrConnectWithoutShipping_addressInput[];
    upsert?: Prisma.region_shipping_addressUpsertWithWhereUniqueWithoutShipping_addressInput | Prisma.region_shipping_addressUpsertWithWhereUniqueWithoutShipping_addressInput[];
    createMany?: Prisma.region_shipping_addressCreateManyShipping_addressInputEnvelope;
    set?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    disconnect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    delete?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    connect?: Prisma.region_shipping_addressWhereUniqueInput | Prisma.region_shipping_addressWhereUniqueInput[];
    update?: Prisma.region_shipping_addressUpdateWithWhereUniqueWithoutShipping_addressInput | Prisma.region_shipping_addressUpdateWithWhereUniqueWithoutShipping_addressInput[];
    updateMany?: Prisma.region_shipping_addressUpdateManyWithWhereWithoutShipping_addressInput | Prisma.region_shipping_addressUpdateManyWithWhereWithoutShipping_addressInput[];
    deleteMany?: Prisma.region_shipping_addressScalarWhereInput | Prisma.region_shipping_addressScalarWhereInput[];
};
export type region_shipping_addressCreateWithoutRegionInput = {
    shipping_address?: Prisma.shipping_addressCreateNestedOneWithoutRegion_shipping_addressInput;
};
export type region_shipping_addressUncheckedCreateWithoutRegionInput = {
    id?: number;
    shipping_address_id?: number | null;
};
export type region_shipping_addressCreateOrConnectWithoutRegionInput = {
    where: Prisma.region_shipping_addressWhereUniqueInput;
    create: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutRegionInput, Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput>;
};
export type region_shipping_addressCreateManyRegionInputEnvelope = {
    data: Prisma.region_shipping_addressCreateManyRegionInput | Prisma.region_shipping_addressCreateManyRegionInput[];
    skipDuplicates?: boolean;
};
export type region_shipping_addressUpsertWithWhereUniqueWithoutRegionInput = {
    where: Prisma.region_shipping_addressWhereUniqueInput;
    update: Prisma.XOR<Prisma.region_shipping_addressUpdateWithoutRegionInput, Prisma.region_shipping_addressUncheckedUpdateWithoutRegionInput>;
    create: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutRegionInput, Prisma.region_shipping_addressUncheckedCreateWithoutRegionInput>;
};
export type region_shipping_addressUpdateWithWhereUniqueWithoutRegionInput = {
    where: Prisma.region_shipping_addressWhereUniqueInput;
    data: Prisma.XOR<Prisma.region_shipping_addressUpdateWithoutRegionInput, Prisma.region_shipping_addressUncheckedUpdateWithoutRegionInput>;
};
export type region_shipping_addressUpdateManyWithWhereWithoutRegionInput = {
    where: Prisma.region_shipping_addressScalarWhereInput;
    data: Prisma.XOR<Prisma.region_shipping_addressUpdateManyMutationInput, Prisma.region_shipping_addressUncheckedUpdateManyWithoutRegionInput>;
};
export type region_shipping_addressScalarWhereInput = {
    AND?: Prisma.region_shipping_addressScalarWhereInput | Prisma.region_shipping_addressScalarWhereInput[];
    OR?: Prisma.region_shipping_addressScalarWhereInput[];
    NOT?: Prisma.region_shipping_addressScalarWhereInput | Prisma.region_shipping_addressScalarWhereInput[];
    id?: Prisma.IntFilter<"region_shipping_address"> | number;
    region_id?: Prisma.IntNullableFilter<"region_shipping_address"> | number | null;
    shipping_address_id?: Prisma.IntNullableFilter<"region_shipping_address"> | number | null;
};
export type region_shipping_addressCreateWithoutShipping_addressInput = {
    region?: Prisma.regionCreateNestedOneWithoutRegion_shipping_addressInput;
};
export type region_shipping_addressUncheckedCreateWithoutShipping_addressInput = {
    id?: number;
    region_id?: number | null;
};
export type region_shipping_addressCreateOrConnectWithoutShipping_addressInput = {
    where: Prisma.region_shipping_addressWhereUniqueInput;
    create: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutShipping_addressInput, Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput>;
};
export type region_shipping_addressCreateManyShipping_addressInputEnvelope = {
    data: Prisma.region_shipping_addressCreateManyShipping_addressInput | Prisma.region_shipping_addressCreateManyShipping_addressInput[];
    skipDuplicates?: boolean;
};
export type region_shipping_addressUpsertWithWhereUniqueWithoutShipping_addressInput = {
    where: Prisma.region_shipping_addressWhereUniqueInput;
    update: Prisma.XOR<Prisma.region_shipping_addressUpdateWithoutShipping_addressInput, Prisma.region_shipping_addressUncheckedUpdateWithoutShipping_addressInput>;
    create: Prisma.XOR<Prisma.region_shipping_addressCreateWithoutShipping_addressInput, Prisma.region_shipping_addressUncheckedCreateWithoutShipping_addressInput>;
};
export type region_shipping_addressUpdateWithWhereUniqueWithoutShipping_addressInput = {
    where: Prisma.region_shipping_addressWhereUniqueInput;
    data: Prisma.XOR<Prisma.region_shipping_addressUpdateWithoutShipping_addressInput, Prisma.region_shipping_addressUncheckedUpdateWithoutShipping_addressInput>;
};
export type region_shipping_addressUpdateManyWithWhereWithoutShipping_addressInput = {
    where: Prisma.region_shipping_addressScalarWhereInput;
    data: Prisma.XOR<Prisma.region_shipping_addressUpdateManyMutationInput, Prisma.region_shipping_addressUncheckedUpdateManyWithoutShipping_addressInput>;
};
export type region_shipping_addressCreateManyRegionInput = {
    id?: number;
    shipping_address_id?: number | null;
};
export type region_shipping_addressUpdateWithoutRegionInput = {
    shipping_address?: Prisma.shipping_addressUpdateOneWithoutRegion_shipping_addressNestedInput;
};
export type region_shipping_addressUncheckedUpdateWithoutRegionInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shipping_address_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type region_shipping_addressUncheckedUpdateManyWithoutRegionInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shipping_address_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type region_shipping_addressCreateManyShipping_addressInput = {
    id?: number;
    region_id?: number | null;
};
export type region_shipping_addressUpdateWithoutShipping_addressInput = {
    region?: Prisma.regionUpdateOneWithoutRegion_shipping_addressNestedInput;
};
export type region_shipping_addressUncheckedUpdateWithoutShipping_addressInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type region_shipping_addressUncheckedUpdateManyWithoutShipping_addressInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    region_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type region_shipping_addressSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    region_id?: boolean;
    shipping_address_id?: boolean;
    region?: boolean | Prisma.region_shipping_address$regionArgs<ExtArgs>;
    shipping_address?: boolean | Prisma.region_shipping_address$shipping_addressArgs<ExtArgs>;
}, ExtArgs["result"]["region_shipping_address"]>;
export type region_shipping_addressSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    region_id?: boolean;
    shipping_address_id?: boolean;
    region?: boolean | Prisma.region_shipping_address$regionArgs<ExtArgs>;
    shipping_address?: boolean | Prisma.region_shipping_address$shipping_addressArgs<ExtArgs>;
}, ExtArgs["result"]["region_shipping_address"]>;
export type region_shipping_addressSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    region_id?: boolean;
    shipping_address_id?: boolean;
    region?: boolean | Prisma.region_shipping_address$regionArgs<ExtArgs>;
    shipping_address?: boolean | Prisma.region_shipping_address$shipping_addressArgs<ExtArgs>;
}, ExtArgs["result"]["region_shipping_address"]>;
export type region_shipping_addressSelectScalar = {
    id?: boolean;
    region_id?: boolean;
    shipping_address_id?: boolean;
};
export type region_shipping_addressOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "region_id" | "shipping_address_id", ExtArgs["result"]["region_shipping_address"]>;
export type region_shipping_addressInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    region?: boolean | Prisma.region_shipping_address$regionArgs<ExtArgs>;
    shipping_address?: boolean | Prisma.region_shipping_address$shipping_addressArgs<ExtArgs>;
};
export type region_shipping_addressIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    region?: boolean | Prisma.region_shipping_address$regionArgs<ExtArgs>;
    shipping_address?: boolean | Prisma.region_shipping_address$shipping_addressArgs<ExtArgs>;
};
export type region_shipping_addressIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    region?: boolean | Prisma.region_shipping_address$regionArgs<ExtArgs>;
    shipping_address?: boolean | Prisma.region_shipping_address$shipping_addressArgs<ExtArgs>;
};
export type $region_shipping_addressPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "region_shipping_address";
    objects: {
        region: Prisma.$regionPayload<ExtArgs> | null;
        shipping_address: Prisma.$shipping_addressPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        region_id: number | null;
        shipping_address_id: number | null;
    }, ExtArgs["result"]["region_shipping_address"]>;
    composites: {};
};
export type region_shipping_addressGetPayload<S extends boolean | null | undefined | region_shipping_addressDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload, S>;
export type region_shipping_addressCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<region_shipping_addressFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Region_shipping_addressCountAggregateInputType | true;
};
export interface region_shipping_addressDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['region_shipping_address'];
        meta: {
            name: 'region_shipping_address';
        };
    };
    /**
     * Find zero or one Region_shipping_address that matches the filter.
     * @param {region_shipping_addressFindUniqueArgs} args - Arguments to find a Region_shipping_address
     * @example
     * // Get one Region_shipping_address
     * const region_shipping_address = await prisma.region_shipping_address.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends region_shipping_addressFindUniqueArgs>(args: Prisma.SelectSubset<T, region_shipping_addressFindUniqueArgs<ExtArgs>>): Prisma.Prisma__region_shipping_addressClient<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Region_shipping_address that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {region_shipping_addressFindUniqueOrThrowArgs} args - Arguments to find a Region_shipping_address
     * @example
     * // Get one Region_shipping_address
     * const region_shipping_address = await prisma.region_shipping_address.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends region_shipping_addressFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, region_shipping_addressFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__region_shipping_addressClient<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Region_shipping_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 {region_shipping_addressFindFirstArgs} args - Arguments to find a Region_shipping_address
     * @example
     * // Get one Region_shipping_address
     * const region_shipping_address = await prisma.region_shipping_address.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends region_shipping_addressFindFirstArgs>(args?: Prisma.SelectSubset<T, region_shipping_addressFindFirstArgs<ExtArgs>>): Prisma.Prisma__region_shipping_addressClient<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Region_shipping_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 {region_shipping_addressFindFirstOrThrowArgs} args - Arguments to find a Region_shipping_address
     * @example
     * // Get one Region_shipping_address
     * const region_shipping_address = await prisma.region_shipping_address.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends region_shipping_addressFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, region_shipping_addressFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__region_shipping_addressClient<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Region_shipping_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 {region_shipping_addressFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Region_shipping_addresses
     * const region_shipping_addresses = await prisma.region_shipping_address.findMany()
     *
     * // Get first 10 Region_shipping_addresses
     * const region_shipping_addresses = await prisma.region_shipping_address.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const region_shipping_addressWithIdOnly = await prisma.region_shipping_address.findMany({ select: { id: true } })
     *
     */
    findMany<T extends region_shipping_addressFindManyArgs>(args?: Prisma.SelectSubset<T, region_shipping_addressFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Region_shipping_address.
     * @param {region_shipping_addressCreateArgs} args - Arguments to create a Region_shipping_address.
     * @example
     * // Create one Region_shipping_address
     * const Region_shipping_address = await prisma.region_shipping_address.create({
     *   data: {
     *     // ... data to create a Region_shipping_address
     *   }
     * })
     *
     */
    create<T extends region_shipping_addressCreateArgs>(args: Prisma.SelectSubset<T, region_shipping_addressCreateArgs<ExtArgs>>): Prisma.Prisma__region_shipping_addressClient<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Region_shipping_addresses.
     * @param {region_shipping_addressCreateManyArgs} args - Arguments to create many Region_shipping_addresses.
     * @example
     * // Create many Region_shipping_addresses
     * const region_shipping_address = await prisma.region_shipping_address.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends region_shipping_addressCreateManyArgs>(args?: Prisma.SelectSubset<T, region_shipping_addressCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Region_shipping_addresses and returns the data saved in the database.
     * @param {region_shipping_addressCreateManyAndReturnArgs} args - Arguments to create many Region_shipping_addresses.
     * @example
     * // Create many Region_shipping_addresses
     * const region_shipping_address = await prisma.region_shipping_address.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Region_shipping_addresses and only return the `id`
     * const region_shipping_addressWithIdOnly = await prisma.region_shipping_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 region_shipping_addressCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, region_shipping_addressCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Region_shipping_address.
     * @param {region_shipping_addressDeleteArgs} args - Arguments to delete one Region_shipping_address.
     * @example
     * // Delete one Region_shipping_address
     * const Region_shipping_address = await prisma.region_shipping_address.delete({
     *   where: {
     *     // ... filter to delete one Region_shipping_address
     *   }
     * })
     *
     */
    delete<T extends region_shipping_addressDeleteArgs>(args: Prisma.SelectSubset<T, region_shipping_addressDeleteArgs<ExtArgs>>): Prisma.Prisma__region_shipping_addressClient<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Region_shipping_address.
     * @param {region_shipping_addressUpdateArgs} args - Arguments to update one Region_shipping_address.
     * @example
     * // Update one Region_shipping_address
     * const region_shipping_address = await prisma.region_shipping_address.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends region_shipping_addressUpdateArgs>(args: Prisma.SelectSubset<T, region_shipping_addressUpdateArgs<ExtArgs>>): Prisma.Prisma__region_shipping_addressClient<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Region_shipping_addresses.
     * @param {region_shipping_addressDeleteManyArgs} args - Arguments to filter Region_shipping_addresses to delete.
     * @example
     * // Delete a few Region_shipping_addresses
     * const { count } = await prisma.region_shipping_address.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends region_shipping_addressDeleteManyArgs>(args?: Prisma.SelectSubset<T, region_shipping_addressDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Region_shipping_addresses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {region_shipping_addressUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Region_shipping_addresses
     * const region_shipping_address = await prisma.region_shipping_address.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends region_shipping_addressUpdateManyArgs>(args: Prisma.SelectSubset<T, region_shipping_addressUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Region_shipping_addresses and returns the data updated in the database.
     * @param {region_shipping_addressUpdateManyAndReturnArgs} args - Arguments to update many Region_shipping_addresses.
     * @example
     * // Update many Region_shipping_addresses
     * const region_shipping_address = await prisma.region_shipping_address.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Region_shipping_addresses and only return the `id`
     * const region_shipping_addressWithIdOnly = await prisma.region_shipping_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 region_shipping_addressUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, region_shipping_addressUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Region_shipping_address.
     * @param {region_shipping_addressUpsertArgs} args - Arguments to update or create a Region_shipping_address.
     * @example
     * // Update or create a Region_shipping_address
     * const region_shipping_address = await prisma.region_shipping_address.upsert({
     *   create: {
     *     // ... data to create a Region_shipping_address
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Region_shipping_address we want to update
     *   }
     * })
     */
    upsert<T extends region_shipping_addressUpsertArgs>(args: Prisma.SelectSubset<T, region_shipping_addressUpsertArgs<ExtArgs>>): Prisma.Prisma__region_shipping_addressClient<runtime.Types.Result.GetResult<Prisma.$region_shipping_addressPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Region_shipping_addresses.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {region_shipping_addressCountArgs} args - Arguments to filter Region_shipping_addresses to count.
     * @example
     * // Count the number of Region_shipping_addresses
     * const count = await prisma.region_shipping_address.count({
     *   where: {
     *     // ... the filter for the Region_shipping_addresses we want to count
     *   }
     * })
    **/
    count<T extends region_shipping_addressCountArgs>(args?: Prisma.Subset<T, region_shipping_addressCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Region_shipping_addressCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Region_shipping_address.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Region_shipping_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 Region_shipping_addressAggregateArgs>(args: Prisma.Subset<T, Region_shipping_addressAggregateArgs>): Prisma.PrismaPromise<GetRegion_shipping_addressAggregateType<T>>;
    /**
     * Group by Region_shipping_address.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {region_shipping_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 region_shipping_addressGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: region_shipping_addressGroupByArgs['orderBy'];
    } : {
        orderBy?: region_shipping_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, region_shipping_addressGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetRegion_shipping_addressGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the region_shipping_address model
     */
    readonly fields: region_shipping_addressFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for region_shipping_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__region_shipping_addressClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    region<T extends Prisma.region_shipping_address$regionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.region_shipping_address$regionArgs<ExtArgs>>): Prisma.Prisma__regionClient<runtime.Types.Result.GetResult<Prisma.$regionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    shipping_address<T extends Prisma.region_shipping_address$shipping_addressArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.region_shipping_address$shipping_addressArgs<ExtArgs>>): Prisma.Prisma__shipping_addressClient<runtime.Types.Result.GetResult<Prisma.$shipping_addressPayload<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 region_shipping_address model
 */
export interface region_shipping_addressFieldRefs {
    readonly id: Prisma.FieldRef<"region_shipping_address", 'Int'>;
    readonly region_id: Prisma.FieldRef<"region_shipping_address", 'Int'>;
    readonly shipping_address_id: Prisma.FieldRef<"region_shipping_address", 'Int'>;
}
/**
 * region_shipping_address findUnique
 */
export type region_shipping_addressFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
    /**
     * Filter, which region_shipping_address to fetch.
     */
    where: Prisma.region_shipping_addressWhereUniqueInput;
};
/**
 * region_shipping_address findUniqueOrThrow
 */
export type region_shipping_addressFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
    /**
     * Filter, which region_shipping_address to fetch.
     */
    where: Prisma.region_shipping_addressWhereUniqueInput;
};
/**
 * region_shipping_address findFirst
 */
export type region_shipping_addressFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
    /**
     * Filter, which region_shipping_address to fetch.
     */
    where?: Prisma.region_shipping_addressWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of region_shipping_addresses to fetch.
     */
    orderBy?: Prisma.region_shipping_addressOrderByWithRelationInput | Prisma.region_shipping_addressOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for region_shipping_addresses.
     */
    cursor?: Prisma.region_shipping_addressWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` region_shipping_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` region_shipping_addresses.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of region_shipping_addresses.
     */
    distinct?: Prisma.Region_shipping_addressScalarFieldEnum | Prisma.Region_shipping_addressScalarFieldEnum[];
};
/**
 * region_shipping_address findFirstOrThrow
 */
export type region_shipping_addressFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
    /**
     * Filter, which region_shipping_address to fetch.
     */
    where?: Prisma.region_shipping_addressWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of region_shipping_addresses to fetch.
     */
    orderBy?: Prisma.region_shipping_addressOrderByWithRelationInput | Prisma.region_shipping_addressOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for region_shipping_addresses.
     */
    cursor?: Prisma.region_shipping_addressWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` region_shipping_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` region_shipping_addresses.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of region_shipping_addresses.
     */
    distinct?: Prisma.Region_shipping_addressScalarFieldEnum | Prisma.Region_shipping_addressScalarFieldEnum[];
};
/**
 * region_shipping_address findMany
 */
export type region_shipping_addressFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
    /**
     * Filter, which region_shipping_addresses to fetch.
     */
    where?: Prisma.region_shipping_addressWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of region_shipping_addresses to fetch.
     */
    orderBy?: Prisma.region_shipping_addressOrderByWithRelationInput | Prisma.region_shipping_addressOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing region_shipping_addresses.
     */
    cursor?: Prisma.region_shipping_addressWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` region_shipping_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` region_shipping_addresses.
     */
    skip?: number;
    distinct?: Prisma.Region_shipping_addressScalarFieldEnum | Prisma.Region_shipping_addressScalarFieldEnum[];
};
/**
 * region_shipping_address create
 */
export type region_shipping_addressCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
    /**
     * The data needed to create a region_shipping_address.
     */
    data?: Prisma.XOR<Prisma.region_shipping_addressCreateInput, Prisma.region_shipping_addressUncheckedCreateInput>;
};
/**
 * region_shipping_address createMany
 */
export type region_shipping_addressCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many region_shipping_addresses.
     */
    data: Prisma.region_shipping_addressCreateManyInput | Prisma.region_shipping_addressCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * region_shipping_address createManyAndReturn
 */
export type region_shipping_addressCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * The data used to create many region_shipping_addresses.
     */
    data: Prisma.region_shipping_addressCreateManyInput | Prisma.region_shipping_addressCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * region_shipping_address update
 */
export type region_shipping_addressUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
    /**
     * The data needed to update a region_shipping_address.
     */
    data: Prisma.XOR<Prisma.region_shipping_addressUpdateInput, Prisma.region_shipping_addressUncheckedUpdateInput>;
    /**
     * Choose, which region_shipping_address to update.
     */
    where: Prisma.region_shipping_addressWhereUniqueInput;
};
/**
 * region_shipping_address updateMany
 */
export type region_shipping_addressUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update region_shipping_addresses.
     */
    data: Prisma.XOR<Prisma.region_shipping_addressUpdateManyMutationInput, Prisma.region_shipping_addressUncheckedUpdateManyInput>;
    /**
     * Filter which region_shipping_addresses to update
     */
    where?: Prisma.region_shipping_addressWhereInput;
    /**
     * Limit how many region_shipping_addresses to update.
     */
    limit?: number;
};
/**
 * region_shipping_address updateManyAndReturn
 */
export type region_shipping_addressUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * The data used to update region_shipping_addresses.
     */
    data: Prisma.XOR<Prisma.region_shipping_addressUpdateManyMutationInput, Prisma.region_shipping_addressUncheckedUpdateManyInput>;
    /**
     * Filter which region_shipping_addresses to update
     */
    where?: Prisma.region_shipping_addressWhereInput;
    /**
     * Limit how many region_shipping_addresses to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * region_shipping_address upsert
 */
export type region_shipping_addressUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
    /**
     * The filter to search for the region_shipping_address to update in case it exists.
     */
    where: Prisma.region_shipping_addressWhereUniqueInput;
    /**
     * In case the region_shipping_address found by the `where` argument doesn't exist, create a new region_shipping_address with this data.
     */
    create: Prisma.XOR<Prisma.region_shipping_addressCreateInput, Prisma.region_shipping_addressUncheckedCreateInput>;
    /**
     * In case the region_shipping_address was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.region_shipping_addressUpdateInput, Prisma.region_shipping_addressUncheckedUpdateInput>;
};
/**
 * region_shipping_address delete
 */
export type region_shipping_addressDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
    /**
     * Filter which region_shipping_address to delete.
     */
    where: Prisma.region_shipping_addressWhereUniqueInput;
};
/**
 * region_shipping_address deleteMany
 */
export type region_shipping_addressDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which region_shipping_addresses to delete
     */
    where?: Prisma.region_shipping_addressWhereInput;
    /**
     * Limit how many region_shipping_addresses to delete.
     */
    limit?: number;
};
/**
 * region_shipping_address.region
 */
export type region_shipping_address$regionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region
     */
    select?: Prisma.regionSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region
     */
    omit?: Prisma.regionOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.regionInclude<ExtArgs> | null;
    where?: Prisma.regionWhereInput;
};
/**
 * region_shipping_address.shipping_address
 */
export type region_shipping_address$shipping_addressArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shipping_address
     */
    select?: Prisma.shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shipping_address
     */
    omit?: Prisma.shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shipping_addressInclude<ExtArgs> | null;
    where?: Prisma.shipping_addressWhereInput;
};
/**
 * region_shipping_address without action
 */
export type region_shipping_addressDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the region_shipping_address
     */
    select?: Prisma.region_shipping_addressSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the region_shipping_address
     */
    omit?: Prisma.region_shipping_addressOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.region_shipping_addressInclude<ExtArgs> | null;
};
export {};
