import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model 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 agreementsModel = runtime.Types.Result.DefaultSelection<Prisma.$agreementsPayload>;
export type AggregateAgreements = {
    _count: AgreementsCountAggregateOutputType | null;
    _avg: AgreementsAvgAggregateOutputType | null;
    _sum: AgreementsSumAggregateOutputType | null;
    _min: AgreementsMinAggregateOutputType | null;
    _max: AgreementsMaxAggregateOutputType | null;
};
export type AgreementsAvgAggregateOutputType = {
    id: number | null;
    reference_id: number | null;
};
export type AgreementsSumAggregateOutputType = {
    id: bigint | null;
    reference_id: bigint | null;
};
export type AgreementsMinAggregateOutputType = {
    id: bigint | null;
    created: Date | null;
    content: string | null;
    name: string | null;
    excerpt: string | null;
    reference_id: bigint | null;
    status: string | null;
    updated: Date | null;
};
export type AgreementsMaxAggregateOutputType = {
    id: bigint | null;
    created: Date | null;
    content: string | null;
    name: string | null;
    excerpt: string | null;
    reference_id: bigint | null;
    status: string | null;
    updated: Date | null;
};
export type AgreementsCountAggregateOutputType = {
    id: number;
    created: number;
    content: number;
    name: number;
    excerpt: number;
    type: number;
    reference_id: number;
    status: number;
    updated: number;
    _all: number;
};
export type AgreementsAvgAggregateInputType = {
    id?: true;
    reference_id?: true;
};
export type AgreementsSumAggregateInputType = {
    id?: true;
    reference_id?: true;
};
export type AgreementsMinAggregateInputType = {
    id?: true;
    created?: true;
    content?: true;
    name?: true;
    excerpt?: true;
    reference_id?: true;
    status?: true;
    updated?: true;
};
export type AgreementsMaxAggregateInputType = {
    id?: true;
    created?: true;
    content?: true;
    name?: true;
    excerpt?: true;
    reference_id?: true;
    status?: true;
    updated?: true;
};
export type AgreementsCountAggregateInputType = {
    id?: true;
    created?: true;
    content?: true;
    name?: true;
    excerpt?: true;
    type?: true;
    reference_id?: true;
    status?: true;
    updated?: true;
    _all?: true;
};
export type AgreementsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which agreements to aggregate.
     */
    where?: Prisma.agreementsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements to fetch.
     */
    orderBy?: Prisma.agreementsOrderByWithRelationInput | Prisma.agreementsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.agreementsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` 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` agreements.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned agreements
    **/
    _count?: true | AgreementsCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to average
    **/
    _avg?: AgreementsAvgAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to sum
    **/
    _sum?: AgreementsSumAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: AgreementsMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: AgreementsMaxAggregateInputType;
};
export type GetAgreementsAggregateType<T extends AgreementsAggregateArgs> = {
    [P in keyof T & keyof AggregateAgreements]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateAgreements[P]> : Prisma.GetScalarType<T[P], AggregateAgreements[P]>;
};
export type agreementsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.agreementsWhereInput;
    orderBy?: Prisma.agreementsOrderByWithAggregationInput | Prisma.agreementsOrderByWithAggregationInput[];
    by: Prisma.AgreementsScalarFieldEnum[] | Prisma.AgreementsScalarFieldEnum;
    having?: Prisma.agreementsScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: AgreementsCountAggregateInputType | true;
    _avg?: AgreementsAvgAggregateInputType;
    _sum?: AgreementsSumAggregateInputType;
    _min?: AgreementsMinAggregateInputType;
    _max?: AgreementsMaxAggregateInputType;
};
export type AgreementsGroupByOutputType = {
    id: bigint;
    created: Date | null;
    content: string | null;
    name: string | null;
    excerpt: string | null;
    type: runtime.JsonValue | null;
    reference_id: bigint | null;
    status: string | null;
    updated: Date | null;
    _count: AgreementsCountAggregateOutputType | null;
    _avg: AgreementsAvgAggregateOutputType | null;
    _sum: AgreementsSumAggregateOutputType | null;
    _min: AgreementsMinAggregateOutputType | null;
    _max: AgreementsMaxAggregateOutputType | null;
};
type GetAgreementsGroupByPayload<T extends agreementsGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<AgreementsGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof AgreementsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], AgreementsGroupByOutputType[P]> : Prisma.GetScalarType<T[P], AgreementsGroupByOutputType[P]>;
}>>;
export type agreementsWhereInput = {
    AND?: Prisma.agreementsWhereInput | Prisma.agreementsWhereInput[];
    OR?: Prisma.agreementsWhereInput[];
    NOT?: Prisma.agreementsWhereInput | Prisma.agreementsWhereInput[];
    id?: Prisma.BigIntFilter<"agreements"> | bigint | number;
    created?: Prisma.DateTimeNullableFilter<"agreements"> | Date | string | null;
    content?: Prisma.StringNullableFilter<"agreements"> | string | null;
    name?: Prisma.StringNullableFilter<"agreements"> | string | null;
    excerpt?: Prisma.StringNullableFilter<"agreements"> | string | null;
    type?: Prisma.JsonNullableFilter<"agreements">;
    reference_id?: Prisma.BigIntNullableFilter<"agreements"> | bigint | number | null;
    status?: Prisma.StringNullableFilter<"agreements"> | string | null;
    updated?: Prisma.DateTimeNullableFilter<"agreements"> | Date | string | null;
};
export type agreementsOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    created?: Prisma.SortOrderInput | Prisma.SortOrder;
    content?: Prisma.SortOrderInput | Prisma.SortOrder;
    name?: Prisma.SortOrderInput | Prisma.SortOrder;
    excerpt?: Prisma.SortOrderInput | Prisma.SortOrder;
    type?: Prisma.SortOrderInput | Prisma.SortOrder;
    reference_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    status?: Prisma.SortOrderInput | Prisma.SortOrder;
    updated?: Prisma.SortOrderInput | Prisma.SortOrder;
};
export type agreementsWhereUniqueInput = Prisma.AtLeast<{
    id?: bigint | number;
    AND?: Prisma.agreementsWhereInput | Prisma.agreementsWhereInput[];
    OR?: Prisma.agreementsWhereInput[];
    NOT?: Prisma.agreementsWhereInput | Prisma.agreementsWhereInput[];
    created?: Prisma.DateTimeNullableFilter<"agreements"> | Date | string | null;
    content?: Prisma.StringNullableFilter<"agreements"> | string | null;
    name?: Prisma.StringNullableFilter<"agreements"> | string | null;
    excerpt?: Prisma.StringNullableFilter<"agreements"> | string | null;
    type?: Prisma.JsonNullableFilter<"agreements">;
    reference_id?: Prisma.BigIntNullableFilter<"agreements"> | bigint | number | null;
    status?: Prisma.StringNullableFilter<"agreements"> | string | null;
    updated?: Prisma.DateTimeNullableFilter<"agreements"> | Date | string | null;
}, "id">;
export type agreementsOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    created?: Prisma.SortOrderInput | Prisma.SortOrder;
    content?: Prisma.SortOrderInput | Prisma.SortOrder;
    name?: Prisma.SortOrderInput | Prisma.SortOrder;
    excerpt?: Prisma.SortOrderInput | Prisma.SortOrder;
    type?: Prisma.SortOrderInput | Prisma.SortOrder;
    reference_id?: Prisma.SortOrderInput | Prisma.SortOrder;
    status?: Prisma.SortOrderInput | Prisma.SortOrder;
    updated?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.agreementsCountOrderByAggregateInput;
    _avg?: Prisma.agreementsAvgOrderByAggregateInput;
    _max?: Prisma.agreementsMaxOrderByAggregateInput;
    _min?: Prisma.agreementsMinOrderByAggregateInput;
    _sum?: Prisma.agreementsSumOrderByAggregateInput;
};
export type agreementsScalarWhereWithAggregatesInput = {
    AND?: Prisma.agreementsScalarWhereWithAggregatesInput | Prisma.agreementsScalarWhereWithAggregatesInput[];
    OR?: Prisma.agreementsScalarWhereWithAggregatesInput[];
    NOT?: Prisma.agreementsScalarWhereWithAggregatesInput | Prisma.agreementsScalarWhereWithAggregatesInput[];
    id?: Prisma.BigIntWithAggregatesFilter<"agreements"> | bigint | number;
    created?: Prisma.DateTimeNullableWithAggregatesFilter<"agreements"> | Date | string | null;
    content?: Prisma.StringNullableWithAggregatesFilter<"agreements"> | string | null;
    name?: Prisma.StringNullableWithAggregatesFilter<"agreements"> | string | null;
    excerpt?: Prisma.StringNullableWithAggregatesFilter<"agreements"> | string | null;
    type?: Prisma.JsonNullableWithAggregatesFilter<"agreements">;
    reference_id?: Prisma.BigIntNullableWithAggregatesFilter<"agreements"> | bigint | number | null;
    status?: Prisma.StringNullableWithAggregatesFilter<"agreements"> | string | null;
    updated?: Prisma.DateTimeNullableWithAggregatesFilter<"agreements"> | Date | string | null;
};
export type agreementsCreateInput = {
    id?: bigint | number;
    created?: Date | string | null;
    content?: string | null;
    name?: string | null;
    excerpt?: string | null;
    type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    reference_id?: bigint | number | null;
    status?: string | null;
    updated?: Date | string | null;
};
export type agreementsUncheckedCreateInput = {
    id?: bigint | number;
    created?: Date | string | null;
    content?: string | null;
    name?: string | null;
    excerpt?: string | null;
    type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    reference_id?: bigint | number | null;
    status?: string | null;
    updated?: Date | string | null;
};
export type agreementsUpdateInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    excerpt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    reference_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type agreementsUncheckedUpdateInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    excerpt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    reference_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type agreementsCreateManyInput = {
    id?: bigint | number;
    created?: Date | string | null;
    content?: string | null;
    name?: string | null;
    excerpt?: string | null;
    type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    reference_id?: bigint | number | null;
    status?: string | null;
    updated?: Date | string | null;
};
export type agreementsUpdateManyMutationInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    excerpt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    reference_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type agreementsUncheckedUpdateManyInput = {
    id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
    created?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    content?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    excerpt?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    type?: Prisma.NullableJsonNullValueInput | runtime.InputJsonValue;
    reference_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
    status?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    updated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type agreementsCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    created?: Prisma.SortOrder;
    content?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    excerpt?: Prisma.SortOrder;
    type?: Prisma.SortOrder;
    reference_id?: Prisma.SortOrder;
    status?: Prisma.SortOrder;
    updated?: Prisma.SortOrder;
};
export type agreementsAvgOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    reference_id?: Prisma.SortOrder;
};
export type agreementsMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    created?: Prisma.SortOrder;
    content?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    excerpt?: Prisma.SortOrder;
    reference_id?: Prisma.SortOrder;
    status?: Prisma.SortOrder;
    updated?: Prisma.SortOrder;
};
export type agreementsMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    created?: Prisma.SortOrder;
    content?: Prisma.SortOrder;
    name?: Prisma.SortOrder;
    excerpt?: Prisma.SortOrder;
    reference_id?: Prisma.SortOrder;
    status?: Prisma.SortOrder;
    updated?: Prisma.SortOrder;
};
export type agreementsSumOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    reference_id?: Prisma.SortOrder;
};
export type agreementsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    created?: boolean;
    content?: boolean;
    name?: boolean;
    excerpt?: boolean;
    type?: boolean;
    reference_id?: boolean;
    status?: boolean;
    updated?: boolean;
}, ExtArgs["result"]["agreements"]>;
export type agreementsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    created?: boolean;
    content?: boolean;
    name?: boolean;
    excerpt?: boolean;
    type?: boolean;
    reference_id?: boolean;
    status?: boolean;
    updated?: boolean;
}, ExtArgs["result"]["agreements"]>;
export type agreementsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    created?: boolean;
    content?: boolean;
    name?: boolean;
    excerpt?: boolean;
    type?: boolean;
    reference_id?: boolean;
    status?: boolean;
    updated?: boolean;
}, ExtArgs["result"]["agreements"]>;
export type agreementsSelectScalar = {
    id?: boolean;
    created?: boolean;
    content?: boolean;
    name?: boolean;
    excerpt?: boolean;
    type?: boolean;
    reference_id?: boolean;
    status?: boolean;
    updated?: boolean;
};
export type agreementsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "created" | "content" | "name" | "excerpt" | "type" | "reference_id" | "status" | "updated", ExtArgs["result"]["agreements"]>;
export type $agreementsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "agreements";
    objects: {};
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: bigint;
        created: Date | null;
        content: string | null;
        name: string | null;
        excerpt: string | null;
        type: runtime.JsonValue | null;
        reference_id: bigint | null;
        status: string | null;
        updated: Date | null;
    }, ExtArgs["result"]["agreements"]>;
    composites: {};
};
export type agreementsGetPayload<S extends boolean | null | undefined | agreementsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$agreementsPayload, S>;
export type agreementsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<agreementsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: AgreementsCountAggregateInputType | true;
};
export interface agreementsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['agreements'];
        meta: {
            name: 'agreements';
        };
    };
    /**
     * Find zero or one Agreements that matches the filter.
     * @param {agreementsFindUniqueArgs} args - Arguments to find a Agreements
     * @example
     * // Get one Agreements
     * const agreements = await prisma.agreements.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends agreementsFindUniqueArgs>(args: Prisma.SelectSubset<T, agreementsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__agreementsClient<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Agreements that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {agreementsFindUniqueOrThrowArgs} args - Arguments to find a Agreements
     * @example
     * // Get one Agreements
     * const agreements = await prisma.agreements.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends agreementsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, agreementsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__agreementsClient<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first 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 {agreementsFindFirstArgs} args - Arguments to find a Agreements
     * @example
     * // Get one Agreements
     * const agreements = await prisma.agreements.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends agreementsFindFirstArgs>(args?: Prisma.SelectSubset<T, agreementsFindFirstArgs<ExtArgs>>): Prisma.Prisma__agreementsClient<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first 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 {agreementsFindFirstOrThrowArgs} args - Arguments to find a Agreements
     * @example
     * // Get one Agreements
     * const agreements = await prisma.agreements.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends agreementsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, agreementsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__agreementsClient<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more 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 {agreementsFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Agreements
     * const agreements = await prisma.agreements.findMany()
     *
     * // Get first 10 Agreements
     * const agreements = await prisma.agreements.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const agreementsWithIdOnly = await prisma.agreements.findMany({ select: { id: true } })
     *
     */
    findMany<T extends agreementsFindManyArgs>(args?: Prisma.SelectSubset<T, agreementsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Agreements.
     * @param {agreementsCreateArgs} args - Arguments to create a Agreements.
     * @example
     * // Create one Agreements
     * const Agreements = await prisma.agreements.create({
     *   data: {
     *     // ... data to create a Agreements
     *   }
     * })
     *
     */
    create<T extends agreementsCreateArgs>(args: Prisma.SelectSubset<T, agreementsCreateArgs<ExtArgs>>): Prisma.Prisma__agreementsClient<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Agreements.
     * @param {agreementsCreateManyArgs} args - Arguments to create many Agreements.
     * @example
     * // Create many Agreements
     * const agreements = await prisma.agreements.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends agreementsCreateManyArgs>(args?: Prisma.SelectSubset<T, agreementsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Agreements and returns the data saved in the database.
     * @param {agreementsCreateManyAndReturnArgs} args - Arguments to create many Agreements.
     * @example
     * // Create many Agreements
     * const agreements = await prisma.agreements.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Agreements and only return the `id`
     * const agreementsWithIdOnly = await prisma.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 agreementsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, agreementsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Agreements.
     * @param {agreementsDeleteArgs} args - Arguments to delete one Agreements.
     * @example
     * // Delete one Agreements
     * const Agreements = await prisma.agreements.delete({
     *   where: {
     *     // ... filter to delete one Agreements
     *   }
     * })
     *
     */
    delete<T extends agreementsDeleteArgs>(args: Prisma.SelectSubset<T, agreementsDeleteArgs<ExtArgs>>): Prisma.Prisma__agreementsClient<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Agreements.
     * @param {agreementsUpdateArgs} args - Arguments to update one Agreements.
     * @example
     * // Update one Agreements
     * const agreements = await prisma.agreements.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends agreementsUpdateArgs>(args: Prisma.SelectSubset<T, agreementsUpdateArgs<ExtArgs>>): Prisma.Prisma__agreementsClient<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Agreements.
     * @param {agreementsDeleteManyArgs} args - Arguments to filter Agreements to delete.
     * @example
     * // Delete a few Agreements
     * const { count } = await prisma.agreements.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends agreementsDeleteManyArgs>(args?: Prisma.SelectSubset<T, agreementsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Agreements.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {agreementsUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Agreements
     * const agreements = await prisma.agreements.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends agreementsUpdateManyArgs>(args: Prisma.SelectSubset<T, agreementsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Agreements and returns the data updated in the database.
     * @param {agreementsUpdateManyAndReturnArgs} args - Arguments to update many Agreements.
     * @example
     * // Update many Agreements
     * const agreements = await prisma.agreements.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Agreements and only return the `id`
     * const agreementsWithIdOnly = await prisma.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 agreementsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, agreementsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Agreements.
     * @param {agreementsUpsertArgs} args - Arguments to update or create a Agreements.
     * @example
     * // Update or create a Agreements
     * const agreements = await prisma.agreements.upsert({
     *   create: {
     *     // ... data to create a Agreements
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Agreements we want to update
     *   }
     * })
     */
    upsert<T extends agreementsUpsertArgs>(args: Prisma.SelectSubset<T, agreementsUpsertArgs<ExtArgs>>): Prisma.Prisma__agreementsClient<runtime.Types.Result.GetResult<Prisma.$agreementsPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Agreements.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {agreementsCountArgs} args - Arguments to filter Agreements to count.
     * @example
     * // Count the number of Agreements
     * const count = await prisma.agreements.count({
     *   where: {
     *     // ... the filter for the Agreements we want to count
     *   }
     * })
    **/
    count<T extends agreementsCountArgs>(args?: Prisma.Subset<T, agreementsCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], AgreementsCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Agreements.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {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 AgreementsAggregateArgs>(args: Prisma.Subset<T, AgreementsAggregateArgs>): Prisma.PrismaPromise<GetAgreementsAggregateType<T>>;
    /**
     * Group by Agreements.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {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 agreementsGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: agreementsGroupByArgs['orderBy'];
    } : {
        orderBy?: 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, agreementsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAgreementsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the agreements model
     */
    readonly fields: agreementsFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for 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__agreementsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
    readonly [Symbol.toStringTag]: "PrismaPromise";
    /**
     * 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 agreements model
 */
export interface agreementsFieldRefs {
    readonly id: Prisma.FieldRef<"agreements", 'BigInt'>;
    readonly created: Prisma.FieldRef<"agreements", 'DateTime'>;
    readonly content: Prisma.FieldRef<"agreements", 'String'>;
    readonly name: Prisma.FieldRef<"agreements", 'String'>;
    readonly excerpt: Prisma.FieldRef<"agreements", 'String'>;
    readonly type: Prisma.FieldRef<"agreements", 'Json'>;
    readonly reference_id: Prisma.FieldRef<"agreements", 'BigInt'>;
    readonly status: Prisma.FieldRef<"agreements", 'String'>;
    readonly updated: Prisma.FieldRef<"agreements", 'DateTime'>;
}
/**
 * agreements findUnique
 */
export type agreementsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * Filter, which agreements to fetch.
     */
    where: Prisma.agreementsWhereUniqueInput;
};
/**
 * agreements findUniqueOrThrow
 */
export type agreementsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * Filter, which agreements to fetch.
     */
    where: Prisma.agreementsWhereUniqueInput;
};
/**
 * agreements findFirst
 */
export type agreementsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * Filter, which agreements to fetch.
     */
    where?: Prisma.agreementsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements to fetch.
     */
    orderBy?: Prisma.agreementsOrderByWithRelationInput | Prisma.agreementsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for agreements.
     */
    cursor?: Prisma.agreementsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` 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` agreements.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of agreements.
     */
    distinct?: Prisma.AgreementsScalarFieldEnum | Prisma.AgreementsScalarFieldEnum[];
};
/**
 * agreements findFirstOrThrow
 */
export type agreementsFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * Filter, which agreements to fetch.
     */
    where?: Prisma.agreementsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements to fetch.
     */
    orderBy?: Prisma.agreementsOrderByWithRelationInput | Prisma.agreementsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for agreements.
     */
    cursor?: Prisma.agreementsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` 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` agreements.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of agreements.
     */
    distinct?: Prisma.AgreementsScalarFieldEnum | Prisma.AgreementsScalarFieldEnum[];
};
/**
 * agreements findMany
 */
export type agreementsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * Filter, which agreements to fetch.
     */
    where?: Prisma.agreementsWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of agreements to fetch.
     */
    orderBy?: Prisma.agreementsOrderByWithRelationInput | Prisma.agreementsOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing agreements.
     */
    cursor?: Prisma.agreementsWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` 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` agreements.
     */
    skip?: number;
    distinct?: Prisma.AgreementsScalarFieldEnum | Prisma.AgreementsScalarFieldEnum[];
};
/**
 * agreements create
 */
export type agreementsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * The data needed to create a agreements.
     */
    data?: Prisma.XOR<Prisma.agreementsCreateInput, Prisma.agreementsUncheckedCreateInput>;
};
/**
 * agreements createMany
 */
export type agreementsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many agreements.
     */
    data: Prisma.agreementsCreateManyInput | Prisma.agreementsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * agreements createManyAndReturn
 */
export type agreementsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * The data used to create many agreements.
     */
    data: Prisma.agreementsCreateManyInput | Prisma.agreementsCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * agreements update
 */
export type agreementsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * The data needed to update a agreements.
     */
    data: Prisma.XOR<Prisma.agreementsUpdateInput, Prisma.agreementsUncheckedUpdateInput>;
    /**
     * Choose, which agreements to update.
     */
    where: Prisma.agreementsWhereUniqueInput;
};
/**
 * agreements updateMany
 */
export type agreementsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update agreements.
     */
    data: Prisma.XOR<Prisma.agreementsUpdateManyMutationInput, Prisma.agreementsUncheckedUpdateManyInput>;
    /**
     * Filter which agreements to update
     */
    where?: Prisma.agreementsWhereInput;
    /**
     * Limit how many agreements to update.
     */
    limit?: number;
};
/**
 * agreements updateManyAndReturn
 */
export type agreementsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * The data used to update agreements.
     */
    data: Prisma.XOR<Prisma.agreementsUpdateManyMutationInput, Prisma.agreementsUncheckedUpdateManyInput>;
    /**
     * Filter which agreements to update
     */
    where?: Prisma.agreementsWhereInput;
    /**
     * Limit how many agreements to update.
     */
    limit?: number;
};
/**
 * agreements upsert
 */
export type agreementsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * The filter to search for the agreements to update in case it exists.
     */
    where: Prisma.agreementsWhereUniqueInput;
    /**
     * In case the agreements found by the `where` argument doesn't exist, create a new agreements with this data.
     */
    create: Prisma.XOR<Prisma.agreementsCreateInput, Prisma.agreementsUncheckedCreateInput>;
    /**
     * In case the agreements was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.agreementsUpdateInput, Prisma.agreementsUncheckedUpdateInput>;
};
/**
 * agreements delete
 */
export type agreementsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
    /**
     * Filter which agreements to delete.
     */
    where: Prisma.agreementsWhereUniqueInput;
};
/**
 * agreements deleteMany
 */
export type agreementsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which agreements to delete
     */
    where?: Prisma.agreementsWhereInput;
    /**
     * Limit how many agreements to delete.
     */
    limit?: number;
};
/**
 * agreements without action
 */
export type agreementsDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the agreements
     */
    select?: Prisma.agreementsSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the agreements
     */
    omit?: Prisma.agreementsOmit<ExtArgs> | null;
};
export {};
