import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model shops_agreements
 * 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 shops_agreementsModel = runtime.Types.Result.DefaultSelection<Prisma.$shops_agreementsPayload>;
export type AggregateShops_agreements = {
    _count: Shops_agreementsCountAggregateOutputType | null;
    _avg: Shops_agreementsAvgAggregateOutputType | null;
    _sum: Shops_agreementsSumAggregateOutputType | null;
    _min: Shops_agreementsMinAggregateOutputType | null;
    _max: Shops_agreementsMaxAggregateOutputType | null;
};
export type Shops_agreementsAvgAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
};
export type Shops_agreementsSumAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
};
export type Shops_agreementsMinAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
};
export type Shops_agreementsMaxAggregateOutputType = {
    id: number | null;
    shops_id: number | null;
};
export type Shops_agreementsCountAggregateOutputType = {
    id: number;
    shops_id: number;
    _all: number;
};
export type Shops_agreementsAvgAggregateInputType = {
    id?: true;
    shops_id?: true;
};
export type Shops_agreementsSumAggregateInputType = {
    id?: true;
    shops_id?: true;
};
export type Shops_agreementsMinAggregateInputType = {
    id?: true;
    shops_id?: true;
};
export type Shops_agreementsMaxAggregateInputType = {
    id?: true;
    shops_id?: true;
};
export type Shops_agreementsCountAggregateInputType = {
    id?: true;
    shops_id?: true;
    _all?: true;
};
export type Shops_agreementsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shops_agreements to aggregate.
     */
    where?: Prisma.shops_agreementsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_agreements to fetch.
     */
    orderBy?: Prisma.shops_agreementsOrderByWithRelationInput | Prisma.shops_agreementsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.shops_agreementsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_agreements 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` shops_agreements.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned shops_agreements
    **/
    _count?: true | Shops_agreementsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: Shops_agreementsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: Shops_agreementsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: Shops_agreementsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: Shops_agreementsMaxAggregateInputType;
};
export type GetShops_agreementsAggregateType<T extends Shops_agreementsAggregateArgs> = {
    [P in keyof T & keyof AggregateShops_agreements]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateShops_agreements[P]> : Prisma.GetScalarType<T[P], AggregateShops_agreements[P]>;
};
export type shops_agreementsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.shops_agreementsWhereInput;
    orderBy?: Prisma.shops_agreementsOrderByWithAggregationInput | Prisma.shops_agreementsOrderByWithAggregationInput[];
    by: Prisma.Shops_agreementsScalarFieldEnum[] | Prisma.Shops_agreementsScalarFieldEnum;
    having?: Prisma.shops_agreementsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: Shops_agreementsCountAggregateInputType | true;
    _avg?: Shops_agreementsAvgAggregateInputType;
    _sum?: Shops_agreementsSumAggregateInputType;
    _min?: Shops_agreementsMinAggregateInputType;
    _max?: Shops_agreementsMaxAggregateInputType;
};
export type Shops_agreementsGroupByOutputType = {
    id: number;
    shops_id: number | null;
    _count: Shops_agreementsCountAggregateOutputType | null;
    _avg: Shops_agreementsAvgAggregateOutputType | null;
    _sum: Shops_agreementsSumAggregateOutputType | null;
    _min: Shops_agreementsMinAggregateOutputType | null;
    _max: Shops_agreementsMaxAggregateOutputType | null;
};
type GetShops_agreementsGroupByPayload<T extends shops_agreementsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Shops_agreementsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof Shops_agreementsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Shops_agreementsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Shops_agreementsGroupByOutputType[P]>;
}>>;
export type shops_agreementsWhereInput = {
    AND?: Prisma.shops_agreementsWhereInput | Prisma.shops_agreementsWhereInput[];
    OR?: Prisma.shops_agreementsWhereInput[];
    NOT?: Prisma.shops_agreementsWhereInput | Prisma.shops_agreementsWhereInput[];
    id?: Prisma.IntFilter<"shops_agreements"> | number;
    shops_id?: Prisma.IntNullableFilter<"shops_agreements"> | number | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
};
export type shops_agreementsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    shops?: Prisma.shopsOrderByWithRelationInput;
};
export type shops_agreementsWhereUniqueInput = Prisma.AtLeast<{
    id?: number;
    AND?: Prisma.shops_agreementsWhereInput | Prisma.shops_agreementsWhereInput[];
    OR?: Prisma.shops_agreementsWhereInput[];
    NOT?: Prisma.shops_agreementsWhereInput | Prisma.shops_agreementsWhereInput[];
    shops_id?: Prisma.IntNullableFilter<"shops_agreements"> | number | null;
    shops?: Prisma.XOR<Prisma.ShopsNullableScalarRelationFilter, Prisma.shopsWhereInput> | null;
}, "id">;
export type shops_agreementsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.shops_agreementsCountOrderByAggregateInput;
    _avg?: Prisma.shops_agreementsAvgOrderByAggregateInput;
    _max?: Prisma.shops_agreementsMaxOrderByAggregateInput;
    _min?: Prisma.shops_agreementsMinOrderByAggregateInput;
    _sum?: Prisma.shops_agreementsSumOrderByAggregateInput;
};
export type shops_agreementsScalarWhereWithAggregatesInput = {
    AND?: Prisma.shops_agreementsScalarWhereWithAggregatesInput | Prisma.shops_agreementsScalarWhereWithAggregatesInput[];
    OR?: Prisma.shops_agreementsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.shops_agreementsScalarWhereWithAggregatesInput | Prisma.shops_agreementsScalarWhereWithAggregatesInput[];
    id?: Prisma.IntWithAggregatesFilter<"shops_agreements"> | number;
    shops_id?: Prisma.IntNullableWithAggregatesFilter<"shops_agreements"> | number | null;
};
export type shops_agreementsCreateInput = {
    shops?: Prisma.shopsCreateNestedOneWithoutShops_agreementsInput;
};
export type shops_agreementsUncheckedCreateInput = {
    id?: number;
    shops_id?: number | null;
};
export type shops_agreementsUpdateInput = {
    shops?: Prisma.shopsUpdateOneWithoutShops_agreementsNestedInput;
};
export type shops_agreementsUncheckedUpdateInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type shops_agreementsCreateManyInput = {
    id?: number;
    shops_id?: number | null;
};
export type shops_agreementsUpdateManyMutationInput = {};
export type shops_agreementsUncheckedUpdateManyInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
    shops_id?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
};
export type Shops_agreementsListRelationFilter = {
    every?: Prisma.shops_agreementsWhereInput;
    some?: Prisma.shops_agreementsWhereInput;
    none?: Prisma.shops_agreementsWhereInput;
};
export type shops_agreementsOrderByRelationAggregateInput = {
    _count?: Prisma.SortOrder;
};
export type shops_agreementsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shops_agreementsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shops_agreementsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shops_agreementsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shops_agreementsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    shops_id?: Prisma.SortOrder;
};
export type shops_agreementsCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.shops_agreementsCreateWithoutShopsInput, Prisma.shops_agreementsUncheckedCreateWithoutShopsInput> | Prisma.shops_agreementsCreateWithoutShopsInput[] | Prisma.shops_agreementsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_agreementsCreateOrConnectWithoutShopsInput | Prisma.shops_agreementsCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.shops_agreementsCreateManyShopsInputEnvelope;
    connect?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
};
export type shops_agreementsUncheckedCreateNestedManyWithoutShopsInput = {
    create?: Prisma.XOR<Prisma.shops_agreementsCreateWithoutShopsInput, Prisma.shops_agreementsUncheckedCreateWithoutShopsInput> | Prisma.shops_agreementsCreateWithoutShopsInput[] | Prisma.shops_agreementsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_agreementsCreateOrConnectWithoutShopsInput | Prisma.shops_agreementsCreateOrConnectWithoutShopsInput[];
    createMany?: Prisma.shops_agreementsCreateManyShopsInputEnvelope;
    connect?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
};
export type shops_agreementsUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.shops_agreementsCreateWithoutShopsInput, Prisma.shops_agreementsUncheckedCreateWithoutShopsInput> | Prisma.shops_agreementsCreateWithoutShopsInput[] | Prisma.shops_agreementsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_agreementsCreateOrConnectWithoutShopsInput | Prisma.shops_agreementsCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.shops_agreementsUpsertWithWhereUniqueWithoutShopsInput | Prisma.shops_agreementsUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.shops_agreementsCreateManyShopsInputEnvelope;
    set?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
    disconnect?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
    delete?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
    connect?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
    update?: Prisma.shops_agreementsUpdateWithWhereUniqueWithoutShopsInput | Prisma.shops_agreementsUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.shops_agreementsUpdateManyWithWhereWithoutShopsInput | Prisma.shops_agreementsUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.shops_agreementsScalarWhereInput | Prisma.shops_agreementsScalarWhereInput[];
};
export type shops_agreementsUncheckedUpdateManyWithoutShopsNestedInput = {
    create?: Prisma.XOR<Prisma.shops_agreementsCreateWithoutShopsInput, Prisma.shops_agreementsUncheckedCreateWithoutShopsInput> | Prisma.shops_agreementsCreateWithoutShopsInput[] | Prisma.shops_agreementsUncheckedCreateWithoutShopsInput[];
    connectOrCreate?: Prisma.shops_agreementsCreateOrConnectWithoutShopsInput | Prisma.shops_agreementsCreateOrConnectWithoutShopsInput[];
    upsert?: Prisma.shops_agreementsUpsertWithWhereUniqueWithoutShopsInput | Prisma.shops_agreementsUpsertWithWhereUniqueWithoutShopsInput[];
    createMany?: Prisma.shops_agreementsCreateManyShopsInputEnvelope;
    set?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
    disconnect?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
    delete?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
    connect?: Prisma.shops_agreementsWhereUniqueInput | Prisma.shops_agreementsWhereUniqueInput[];
    update?: Prisma.shops_agreementsUpdateWithWhereUniqueWithoutShopsInput | Prisma.shops_agreementsUpdateWithWhereUniqueWithoutShopsInput[];
    updateMany?: Prisma.shops_agreementsUpdateManyWithWhereWithoutShopsInput | Prisma.shops_agreementsUpdateManyWithWhereWithoutShopsInput[];
    deleteMany?: Prisma.shops_agreementsScalarWhereInput | Prisma.shops_agreementsScalarWhereInput[];
};
export type shops_agreementsCreateWithoutShopsInput = {};
export type shops_agreementsUncheckedCreateWithoutShopsInput = {
    id?: number;
};
export type shops_agreementsCreateOrConnectWithoutShopsInput = {
    where: Prisma.shops_agreementsWhereUniqueInput;
    create: Prisma.XOR<Prisma.shops_agreementsCreateWithoutShopsInput, Prisma.shops_agreementsUncheckedCreateWithoutShopsInput>;
};
export type shops_agreementsCreateManyShopsInputEnvelope = {
    data: Prisma.shops_agreementsCreateManyShopsInput | Prisma.shops_agreementsCreateManyShopsInput[];
    skipDuplicates?: boolean;
};
export type shops_agreementsUpsertWithWhereUniqueWithoutShopsInput = {
    where: Prisma.shops_agreementsWhereUniqueInput;
    update: Prisma.XOR<Prisma.shops_agreementsUpdateWithoutShopsInput, Prisma.shops_agreementsUncheckedUpdateWithoutShopsInput>;
    create: Prisma.XOR<Prisma.shops_agreementsCreateWithoutShopsInput, Prisma.shops_agreementsUncheckedCreateWithoutShopsInput>;
};
export type shops_agreementsUpdateWithWhereUniqueWithoutShopsInput = {
    where: Prisma.shops_agreementsWhereUniqueInput;
    data: Prisma.XOR<Prisma.shops_agreementsUpdateWithoutShopsInput, Prisma.shops_agreementsUncheckedUpdateWithoutShopsInput>;
};
export type shops_agreementsUpdateManyWithWhereWithoutShopsInput = {
    where: Prisma.shops_agreementsScalarWhereInput;
    data: Prisma.XOR<Prisma.shops_agreementsUpdateManyMutationInput, Prisma.shops_agreementsUncheckedUpdateManyWithoutShopsInput>;
};
export type shops_agreementsScalarWhereInput = {
    AND?: Prisma.shops_agreementsScalarWhereInput | Prisma.shops_agreementsScalarWhereInput[];
    OR?: Prisma.shops_agreementsScalarWhereInput[];
    NOT?: Prisma.shops_agreementsScalarWhereInput | Prisma.shops_agreementsScalarWhereInput[];
    id?: Prisma.IntFilter<"shops_agreements"> | number;
    shops_id?: Prisma.IntNullableFilter<"shops_agreements"> | number | null;
};
export type shops_agreementsCreateManyShopsInput = {
    id?: number;
};
export type shops_agreementsUpdateWithoutShopsInput = {};
export type shops_agreementsUncheckedUpdateWithoutShopsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type shops_agreementsUncheckedUpdateManyWithoutShopsInput = {
    id?: Prisma.IntFieldUpdateOperationsInput | number;
};
export type shops_agreementsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shops_id?: boolean;
    shops?: boolean | Prisma.shops_agreements$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shops_agreements"]>;
export type shops_agreementsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shops_id?: boolean;
    shops?: boolean | Prisma.shops_agreements$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shops_agreements"]>;
export type shops_agreementsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    shops_id?: boolean;
    shops?: boolean | Prisma.shops_agreements$shopsArgs<ExtArgs>;
}, ExtArgs["result"]["shops_agreements"]>;
export type shops_agreementsSelectScalar = {
    id?: boolean;
    shops_id?: boolean;
};
export type shops_agreementsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "shops_id", ExtArgs["result"]["shops_agreements"]>;
export type shops_agreementsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shops?: boolean | Prisma.shops_agreements$shopsArgs<ExtArgs>;
};
export type shops_agreementsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shops?: boolean | Prisma.shops_agreements$shopsArgs<ExtArgs>;
};
export type shops_agreementsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    shops?: boolean | Prisma.shops_agreements$shopsArgs<ExtArgs>;
};
export type $shops_agreementsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "shops_agreements";
    objects: {
        shops: Prisma.$shopsPayload<ExtArgs> | null;
    };
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: number;
        shops_id: number | null;
    }, ExtArgs["result"]["shops_agreements"]>;
    composites: {};
};
export type shops_agreementsGetPayload<S extends boolean | null | undefined | shops_agreementsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload, S>;
export type shops_agreementsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<shops_agreementsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: Shops_agreementsCountAggregateInputType | true;
};
export interface shops_agreementsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['shops_agreements'];
        meta: {
            name: 'shops_agreements';
        };
    };
    /**
     * Find zero or one Shops_agreements that matches the filter.
     * @param {shops_agreementsFindUniqueArgs} args - Arguments to find a Shops_agreements
     * @example
     * // Get one Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends shops_agreementsFindUniqueArgs>(args: Prisma.SelectSubset<T, shops_agreementsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__shops_agreementsClient<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Shops_agreements that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {shops_agreementsFindUniqueOrThrowArgs} args - Arguments to find a Shops_agreements
     * @example
     * // Get one Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends shops_agreementsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, shops_agreementsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__shops_agreementsClient<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shops_agreements 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 {shops_agreementsFindFirstArgs} args - Arguments to find a Shops_agreements
     * @example
     * // Get one Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends shops_agreementsFindFirstArgs>(args?: Prisma.SelectSubset<T, shops_agreementsFindFirstArgs<ExtArgs>>): Prisma.Prisma__shops_agreementsClient<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Shops_agreements 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 {shops_agreementsFindFirstOrThrowArgs} args - Arguments to find a Shops_agreements
     * @example
     * // Get one Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends shops_agreementsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, shops_agreementsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__shops_agreementsClient<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Shops_agreements 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 {shops_agreementsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.findMany()
     *
     * // Get first 10 Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const shops_agreementsWithIdOnly = await prisma.shops_agreements.findMany({ select: { id: true } })
     *
     */
    findMany<T extends shops_agreementsFindManyArgs>(args?: Prisma.SelectSubset<T, shops_agreementsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Shops_agreements.
     * @param {shops_agreementsCreateArgs} args - Arguments to create a Shops_agreements.
     * @example
     * // Create one Shops_agreements
     * const Shops_agreements = await prisma.shops_agreements.create({
     *   data: {
     *     // ... data to create a Shops_agreements
     *   }
     * })
     *
     */
    create<T extends shops_agreementsCreateArgs>(args: Prisma.SelectSubset<T, shops_agreementsCreateArgs<ExtArgs>>): Prisma.Prisma__shops_agreementsClient<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Shops_agreements.
     * @param {shops_agreementsCreateManyArgs} args - Arguments to create many Shops_agreements.
     * @example
     * // Create many Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends shops_agreementsCreateManyArgs>(args?: Prisma.SelectSubset<T, shops_agreementsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Shops_agreements and returns the data saved in the database.
     * @param {shops_agreementsCreateManyAndReturnArgs} args - Arguments to create many Shops_agreements.
     * @example
     * // Create many Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Shops_agreements and only return the `id`
     * const shops_agreementsWithIdOnly = await prisma.shops_agreements.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 shops_agreementsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, shops_agreementsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Shops_agreements.
     * @param {shops_agreementsDeleteArgs} args - Arguments to delete one Shops_agreements.
     * @example
     * // Delete one Shops_agreements
     * const Shops_agreements = await prisma.shops_agreements.delete({
     *   where: {
     *     // ... filter to delete one Shops_agreements
     *   }
     * })
     *
     */
    delete<T extends shops_agreementsDeleteArgs>(args: Prisma.SelectSubset<T, shops_agreementsDeleteArgs<ExtArgs>>): Prisma.Prisma__shops_agreementsClient<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Shops_agreements.
     * @param {shops_agreementsUpdateArgs} args - Arguments to update one Shops_agreements.
     * @example
     * // Update one Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends shops_agreementsUpdateArgs>(args: Prisma.SelectSubset<T, shops_agreementsUpdateArgs<ExtArgs>>): Prisma.Prisma__shops_agreementsClient<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Shops_agreements.
     * @param {shops_agreementsDeleteManyArgs} args - Arguments to filter Shops_agreements to delete.
     * @example
     * // Delete a few Shops_agreements
     * const { count } = await prisma.shops_agreements.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends shops_agreementsDeleteManyArgs>(args?: Prisma.SelectSubset<T, shops_agreementsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shops_agreements.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shops_agreementsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends shops_agreementsUpdateManyArgs>(args: Prisma.SelectSubset<T, shops_agreementsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Shops_agreements and returns the data updated in the database.
     * @param {shops_agreementsUpdateManyAndReturnArgs} args - Arguments to update many Shops_agreements.
     * @example
     * // Update many Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Shops_agreements and only return the `id`
     * const shops_agreementsWithIdOnly = await prisma.shops_agreements.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 shops_agreementsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, shops_agreementsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Shops_agreements.
     * @param {shops_agreementsUpsertArgs} args - Arguments to update or create a Shops_agreements.
     * @example
     * // Update or create a Shops_agreements
     * const shops_agreements = await prisma.shops_agreements.upsert({
     *   create: {
     *     // ... data to create a Shops_agreements
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Shops_agreements we want to update
     *   }
     * })
     */
    upsert<T extends shops_agreementsUpsertArgs>(args: Prisma.SelectSubset<T, shops_agreementsUpsertArgs<ExtArgs>>): Prisma.Prisma__shops_agreementsClient<runtime.Types.Result.GetResult<Prisma.$shops_agreementsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Shops_agreements.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shops_agreementsCountArgs} args - Arguments to filter Shops_agreements to count.
     * @example
     * // Count the number of Shops_agreements
     * const count = await prisma.shops_agreements.count({
     *   where: {
     *     // ... the filter for the Shops_agreements we want to count
     *   }
     * })
    **/
    count<T extends shops_agreementsCountArgs>(args?: Prisma.Subset<T, shops_agreementsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Shops_agreementsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Shops_agreements.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {Shops_agreementsAggregateArgs} 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 Shops_agreementsAggregateArgs>(args: Prisma.Subset<T, Shops_agreementsAggregateArgs>): Prisma.PrismaPromise<GetShops_agreementsAggregateType<T>>;
    /**
     * Group by Shops_agreements.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {shops_agreementsGroupByArgs} 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 shops_agreementsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: shops_agreementsGroupByArgs['orderBy'];
    } : {
        orderBy?: shops_agreementsGroupByArgs['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, shops_agreementsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetShops_agreementsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the shops_agreements model
     */
    readonly fields: shops_agreementsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for shops_agreements.
 * 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__shops_agreementsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    shops<T extends Prisma.shops_agreements$shopsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.shops_agreements$shopsArgs<ExtArgs>>): Prisma.Prisma__shopsClient<runtime.Types.Result.GetResult<Prisma.$shopsPayload<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 shops_agreements model
 */
export interface shops_agreementsFieldRefs {
    readonly id: Prisma.FieldRef<"shops_agreements", 'Int'>;
    readonly shops_id: Prisma.FieldRef<"shops_agreements", 'Int'>;
}
/**
 * shops_agreements findUnique
 */
export type shops_agreementsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_agreements to fetch.
     */
    where: Prisma.shops_agreementsWhereUniqueInput;
};
/**
 * shops_agreements findUniqueOrThrow
 */
export type shops_agreementsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_agreements to fetch.
     */
    where: Prisma.shops_agreementsWhereUniqueInput;
};
/**
 * shops_agreements findFirst
 */
export type shops_agreementsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_agreements to fetch.
     */
    where?: Prisma.shops_agreementsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_agreements to fetch.
     */
    orderBy?: Prisma.shops_agreementsOrderByWithRelationInput | Prisma.shops_agreementsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shops_agreements.
     */
    cursor?: Prisma.shops_agreementsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_agreements 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` shops_agreements.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shops_agreements.
     */
    distinct?: Prisma.Shops_agreementsScalarFieldEnum | Prisma.Shops_agreementsScalarFieldEnum[];
};
/**
 * shops_agreements findFirstOrThrow
 */
export type shops_agreementsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_agreements to fetch.
     */
    where?: Prisma.shops_agreementsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_agreements to fetch.
     */
    orderBy?: Prisma.shops_agreementsOrderByWithRelationInput | Prisma.shops_agreementsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for shops_agreements.
     */
    cursor?: Prisma.shops_agreementsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_agreements 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` shops_agreements.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of shops_agreements.
     */
    distinct?: Prisma.Shops_agreementsScalarFieldEnum | Prisma.Shops_agreementsScalarFieldEnum[];
};
/**
 * shops_agreements findMany
 */
export type shops_agreementsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
    /**
     * Filter, which shops_agreements to fetch.
     */
    where?: Prisma.shops_agreementsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of shops_agreements to fetch.
     */
    orderBy?: Prisma.shops_agreementsOrderByWithRelationInput | Prisma.shops_agreementsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing shops_agreements.
     */
    cursor?: Prisma.shops_agreementsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` shops_agreements 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` shops_agreements.
     */
    skip?: number;
    distinct?: Prisma.Shops_agreementsScalarFieldEnum | Prisma.Shops_agreementsScalarFieldEnum[];
};
/**
 * shops_agreements create
 */
export type shops_agreementsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
    /**
     * The data needed to create a shops_agreements.
     */
    data?: Prisma.XOR<Prisma.shops_agreementsCreateInput, Prisma.shops_agreementsUncheckedCreateInput>;
};
/**
 * shops_agreements createMany
 */
export type shops_agreementsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many shops_agreements.
     */
    data: Prisma.shops_agreementsCreateManyInput | Prisma.shops_agreementsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * shops_agreements createManyAndReturn
 */
export type shops_agreementsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * The data used to create many shops_agreements.
     */
    data: Prisma.shops_agreementsCreateManyInput | Prisma.shops_agreementsCreateManyInput[];
    skipDuplicates?: boolean;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsIncludeCreateManyAndReturn<ExtArgs> | null;
};
/**
 * shops_agreements update
 */
export type shops_agreementsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
    /**
     * The data needed to update a shops_agreements.
     */
    data: Prisma.XOR<Prisma.shops_agreementsUpdateInput, Prisma.shops_agreementsUncheckedUpdateInput>;
    /**
     * Choose, which shops_agreements to update.
     */
    where: Prisma.shops_agreementsWhereUniqueInput;
};
/**
 * shops_agreements updateMany
 */
export type shops_agreementsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update shops_agreements.
     */
    data: Prisma.XOR<Prisma.shops_agreementsUpdateManyMutationInput, Prisma.shops_agreementsUncheckedUpdateManyInput>;
    /**
     * Filter which shops_agreements to update
     */
    where?: Prisma.shops_agreementsWhereInput;
    /**
     * Limit how many shops_agreements to update.
     */
    limit?: number;
};
/**
 * shops_agreements updateManyAndReturn
 */
export type shops_agreementsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * The data used to update shops_agreements.
     */
    data: Prisma.XOR<Prisma.shops_agreementsUpdateManyMutationInput, Prisma.shops_agreementsUncheckedUpdateManyInput>;
    /**
     * Filter which shops_agreements to update
     */
    where?: Prisma.shops_agreementsWhereInput;
    /**
     * Limit how many shops_agreements to update.
     */
    limit?: number;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsIncludeUpdateManyAndReturn<ExtArgs> | null;
};
/**
 * shops_agreements upsert
 */
export type shops_agreementsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
    /**
     * The filter to search for the shops_agreements to update in case it exists.
     */
    where: Prisma.shops_agreementsWhereUniqueInput;
    /**
     * In case the shops_agreements found by the `where` argument doesn't exist, create a new shops_agreements with this data.
     */
    create: Prisma.XOR<Prisma.shops_agreementsCreateInput, Prisma.shops_agreementsUncheckedCreateInput>;
    /**
     * In case the shops_agreements was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.shops_agreementsUpdateInput, Prisma.shops_agreementsUncheckedUpdateInput>;
};
/**
 * shops_agreements delete
 */
export type shops_agreementsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
    /**
     * Filter which shops_agreements to delete.
     */
    where: Prisma.shops_agreementsWhereUniqueInput;
};
/**
 * shops_agreements deleteMany
 */
export type shops_agreementsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which shops_agreements to delete
     */
    where?: Prisma.shops_agreementsWhereInput;
    /**
     * Limit how many shops_agreements to delete.
     */
    limit?: number;
};
/**
 * shops_agreements.shops
 */
export type shops_agreements$shopsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops
     */
    select?: Prisma.shopsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops
     */
    omit?: Prisma.shopsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shopsInclude<ExtArgs> | null;
    where?: Prisma.shopsWhereInput;
};
/**
 * shops_agreements without action
 */
export type shops_agreementsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the shops_agreements
     */
    select?: Prisma.shops_agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the shops_agreements
     */
    omit?: Prisma.shops_agreementsOmit<ExtArgs> | null;
    /**
     * Choose, which related nodes to fetch as well
     */
    include?: Prisma.shops_agreementsInclude<ExtArgs> | null;
};
export {};
