import type * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
 * Model instances
 * This model or at least one of its fields has comments in the database, and requires an additional setup for migrations: Read more: https://pris.ly/d/database-comments
 * 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 instancesModel = runtime.Types.Result.DefaultSelection<Prisma.$instancesPayload>;
export type AggregateInstances = {
    _count: InstancesCountAggregateOutputType | null;
    _min: InstancesMinAggregateOutputType | null;
    _max: InstancesMaxAggregateOutputType | null;
};
export type InstancesMinAggregateOutputType = {
    id: string | null;
    uuid: string | null;
    raw_base_config: string | null;
    created_at: Date | null;
    updated_at: Date | null;
};
export type InstancesMaxAggregateOutputType = {
    id: string | null;
    uuid: string | null;
    raw_base_config: string | null;
    created_at: Date | null;
    updated_at: Date | null;
};
export type InstancesCountAggregateOutputType = {
    id: number;
    uuid: number;
    raw_base_config: number;
    created_at: number;
    updated_at: number;
    _all: number;
};
export type InstancesMinAggregateInputType = {
    id?: true;
    uuid?: true;
    raw_base_config?: true;
    created_at?: true;
    updated_at?: true;
};
export type InstancesMaxAggregateInputType = {
    id?: true;
    uuid?: true;
    raw_base_config?: true;
    created_at?: true;
    updated_at?: true;
};
export type InstancesCountAggregateInputType = {
    id?: true;
    uuid?: true;
    raw_base_config?: true;
    created_at?: true;
    updated_at?: true;
    _all?: true;
};
export type InstancesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which instances to aggregate.
     */
    where?: Prisma.instancesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of instances to fetch.
     */
    orderBy?: Prisma.instancesOrderByWithRelationInput | Prisma.instancesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the start position
     */
    cursor?: Prisma.instancesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` instances 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` instances.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Count returned instances
    **/
    _count?: true | InstancesCountAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the minimum value
    **/
    _min?: InstancesMinAggregateInputType;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
     *
     * Select which fields to find the maximum value
    **/
    _max?: InstancesMaxAggregateInputType;
};
export type GetInstancesAggregateType<T extends InstancesAggregateArgs> = {
    [P in keyof T & keyof AggregateInstances]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateInstances[P]> : Prisma.GetScalarType<T[P], AggregateInstances[P]>;
};
export type instancesGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    where?: Prisma.instancesWhereInput;
    orderBy?: Prisma.instancesOrderByWithAggregationInput | Prisma.instancesOrderByWithAggregationInput[];
    by: Prisma.InstancesScalarFieldEnum[] | Prisma.InstancesScalarFieldEnum;
    having?: Prisma.instancesScalarWhereWithAggregatesInput;
    take?: number;
    skip?: number;
    _count?: InstancesCountAggregateInputType | true;
    _min?: InstancesMinAggregateInputType;
    _max?: InstancesMaxAggregateInputType;
};
export type InstancesGroupByOutputType = {
    id: string;
    uuid: string | null;
    raw_base_config: string | null;
    created_at: Date | null;
    updated_at: Date | null;
    _count: InstancesCountAggregateOutputType | null;
    _min: InstancesMinAggregateOutputType | null;
    _max: InstancesMaxAggregateOutputType | null;
};
type GetInstancesGroupByPayload<T extends instancesGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<InstancesGroupByOutputType, T['by']> & {
    [P in ((keyof T) & (keyof InstancesGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], InstancesGroupByOutputType[P]> : Prisma.GetScalarType<T[P], InstancesGroupByOutputType[P]>;
}>>;
export type instancesWhereInput = {
    AND?: Prisma.instancesWhereInput | Prisma.instancesWhereInput[];
    OR?: Prisma.instancesWhereInput[];
    NOT?: Prisma.instancesWhereInput | Prisma.instancesWhereInput[];
    id?: Prisma.UuidFilter<"instances"> | string;
    uuid?: Prisma.UuidNullableFilter<"instances"> | string | null;
    raw_base_config?: Prisma.StringNullableFilter<"instances"> | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"instances"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableFilter<"instances"> | Date | string | null;
};
export type instancesOrderByWithRelationInput = {
    id?: Prisma.SortOrder;
    uuid?: Prisma.SortOrderInput | Prisma.SortOrder;
    raw_base_config?: Prisma.SortOrderInput | Prisma.SortOrder;
    created_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    updated_at?: Prisma.SortOrderInput | Prisma.SortOrder;
};
export type instancesWhereUniqueInput = Prisma.AtLeast<{
    id?: string;
    AND?: Prisma.instancesWhereInput | Prisma.instancesWhereInput[];
    OR?: Prisma.instancesWhereInput[];
    NOT?: Prisma.instancesWhereInput | Prisma.instancesWhereInput[];
    uuid?: Prisma.UuidNullableFilter<"instances"> | string | null;
    raw_base_config?: Prisma.StringNullableFilter<"instances"> | string | null;
    created_at?: Prisma.DateTimeNullableFilter<"instances"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableFilter<"instances"> | Date | string | null;
}, "id">;
export type instancesOrderByWithAggregationInput = {
    id?: Prisma.SortOrder;
    uuid?: Prisma.SortOrderInput | Prisma.SortOrder;
    raw_base_config?: Prisma.SortOrderInput | Prisma.SortOrder;
    created_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    updated_at?: Prisma.SortOrderInput | Prisma.SortOrder;
    _count?: Prisma.instancesCountOrderByAggregateInput;
    _max?: Prisma.instancesMaxOrderByAggregateInput;
    _min?: Prisma.instancesMinOrderByAggregateInput;
};
export type instancesScalarWhereWithAggregatesInput = {
    AND?: Prisma.instancesScalarWhereWithAggregatesInput | Prisma.instancesScalarWhereWithAggregatesInput[];
    OR?: Prisma.instancesScalarWhereWithAggregatesInput[];
    NOT?: Prisma.instancesScalarWhereWithAggregatesInput | Prisma.instancesScalarWhereWithAggregatesInput[];
    id?: Prisma.UuidWithAggregatesFilter<"instances"> | string;
    uuid?: Prisma.UuidNullableWithAggregatesFilter<"instances"> | string | null;
    raw_base_config?: Prisma.StringNullableWithAggregatesFilter<"instances"> | string | null;
    created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"instances"> | Date | string | null;
    updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"instances"> | Date | string | null;
};
export type instancesCreateInput = {
    id: string;
    uuid?: string | null;
    raw_base_config?: string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
};
export type instancesUncheckedCreateInput = {
    id: string;
    uuid?: string | null;
    raw_base_config?: string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
};
export type instancesUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    raw_base_config?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type instancesUncheckedUpdateInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    raw_base_config?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type instancesCreateManyInput = {
    id: string;
    uuid?: string | null;
    raw_base_config?: string | null;
    created_at?: Date | string | null;
    updated_at?: Date | string | null;
};
export type instancesUpdateManyMutationInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    raw_base_config?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type instancesUncheckedUpdateManyInput = {
    id?: Prisma.StringFieldUpdateOperationsInput | string;
    uuid?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    raw_base_config?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
    created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
    updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
};
export type instancesCountOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    uuid?: Prisma.SortOrder;
    raw_base_config?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
};
export type instancesMaxOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    uuid?: Prisma.SortOrder;
    raw_base_config?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
};
export type instancesMinOrderByAggregateInput = {
    id?: Prisma.SortOrder;
    uuid?: Prisma.SortOrder;
    raw_base_config?: Prisma.SortOrder;
    created_at?: Prisma.SortOrder;
    updated_at?: Prisma.SortOrder;
};
export type instancesSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    uuid?: boolean;
    raw_base_config?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
}, ExtArgs["result"]["instances"]>;
export type instancesSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    uuid?: boolean;
    raw_base_config?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
}, ExtArgs["result"]["instances"]>;
export type instancesSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
    id?: boolean;
    uuid?: boolean;
    raw_base_config?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
}, ExtArgs["result"]["instances"]>;
export type instancesSelectScalar = {
    id?: boolean;
    uuid?: boolean;
    raw_base_config?: boolean;
    created_at?: boolean;
    updated_at?: boolean;
};
export type instancesOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "uuid" | "raw_base_config" | "created_at" | "updated_at", ExtArgs["result"]["instances"]>;
export type $instancesPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    name: "instances";
    objects: {};
    scalars: runtime.Types.Extensions.GetPayloadResult<{
        id: string;
        uuid: string | null;
        raw_base_config: string | null;
        created_at: Date | null;
        updated_at: Date | null;
    }, ExtArgs["result"]["instances"]>;
    composites: {};
};
export type instancesGetPayload<S extends boolean | null | undefined | instancesDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$instancesPayload, S>;
export type instancesCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<instancesFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: InstancesCountAggregateInputType | true;
};
export interface instancesDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
    [K: symbol]: {
        types: Prisma.TypeMap<ExtArgs>['model']['instances'];
        meta: {
            name: 'instances';
        };
    };
    /**
     * Find zero or one Instances that matches the filter.
     * @param {instancesFindUniqueArgs} args - Arguments to find a Instances
     * @example
     * // Get one Instances
     * const instances = await prisma.instances.findUnique({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUnique<T extends instancesFindUniqueArgs>(args: Prisma.SelectSubset<T, instancesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__instancesClient<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find one Instances that matches the filter or throw an error with `error.code='P2025'`
     * if no matches were found.
     * @param {instancesFindUniqueOrThrowArgs} args - Arguments to find a Instances
     * @example
     * // Get one Instances
     * const instances = await prisma.instances.findUniqueOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findUniqueOrThrow<T extends instancesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, instancesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__instancesClient<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Instances 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 {instancesFindFirstArgs} args - Arguments to find a Instances
     * @example
     * // Get one Instances
     * const instances = await prisma.instances.findFirst({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirst<T extends instancesFindFirstArgs>(args?: Prisma.SelectSubset<T, instancesFindFirstArgs<ExtArgs>>): Prisma.Prisma__instancesClient<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
    /**
     * Find the first Instances 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 {instancesFindFirstOrThrowArgs} args - Arguments to find a Instances
     * @example
     * // Get one Instances
     * const instances = await prisma.instances.findFirstOrThrow({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     */
    findFirstOrThrow<T extends instancesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, instancesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__instancesClient<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Find zero or more Instances 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 {instancesFindManyArgs} args - Arguments to filter and select certain fields only.
     * @example
     * // Get all Instances
     * const instances = await prisma.instances.findMany()
     *
     * // Get first 10 Instances
     * const instances = await prisma.instances.findMany({ take: 10 })
     *
     * // Only select the `id`
     * const instancesWithIdOnly = await prisma.instances.findMany({ select: { id: true } })
     *
     */
    findMany<T extends instancesFindManyArgs>(args?: Prisma.SelectSubset<T, instancesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
    /**
     * Create a Instances.
     * @param {instancesCreateArgs} args - Arguments to create a Instances.
     * @example
     * // Create one Instances
     * const Instances = await prisma.instances.create({
     *   data: {
     *     // ... data to create a Instances
     *   }
     * })
     *
     */
    create<T extends instancesCreateArgs>(args: Prisma.SelectSubset<T, instancesCreateArgs<ExtArgs>>): Prisma.Prisma__instancesClient<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Create many Instances.
     * @param {instancesCreateManyArgs} args - Arguments to create many Instances.
     * @example
     * // Create many Instances
     * const instances = await prisma.instances.createMany({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     */
    createMany<T extends instancesCreateManyArgs>(args?: Prisma.SelectSubset<T, instancesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Create many Instances and returns the data saved in the database.
     * @param {instancesCreateManyAndReturnArgs} args - Arguments to create many Instances.
     * @example
     * // Create many Instances
     * const instances = await prisma.instances.createManyAndReturn({
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Create many Instances and only return the `id`
     * const instancesWithIdOnly = await prisma.instances.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 instancesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, instancesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
    /**
     * Delete a Instances.
     * @param {instancesDeleteArgs} args - Arguments to delete one Instances.
     * @example
     * // Delete one Instances
     * const Instances = await prisma.instances.delete({
     *   where: {
     *     // ... filter to delete one Instances
     *   }
     * })
     *
     */
    delete<T extends instancesDeleteArgs>(args: Prisma.SelectSubset<T, instancesDeleteArgs<ExtArgs>>): Prisma.Prisma__instancesClient<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Update one Instances.
     * @param {instancesUpdateArgs} args - Arguments to update one Instances.
     * @example
     * // Update one Instances
     * const instances = await prisma.instances.update({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    update<T extends instancesUpdateArgs>(args: Prisma.SelectSubset<T, instancesUpdateArgs<ExtArgs>>): Prisma.Prisma__instancesClient<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Delete zero or more Instances.
     * @param {instancesDeleteManyArgs} args - Arguments to filter Instances to delete.
     * @example
     * // Delete a few Instances
     * const { count } = await prisma.instances.deleteMany({
     *   where: {
     *     // ... provide filter here
     *   }
     * })
     *
     */
    deleteMany<T extends instancesDeleteManyArgs>(args?: Prisma.SelectSubset<T, instancesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Instances.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {instancesUpdateManyArgs} args - Arguments to update one or more rows.
     * @example
     * // Update many Instances
     * const instances = await prisma.instances.updateMany({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: {
     *     // ... provide data here
     *   }
     * })
     *
     */
    updateMany<T extends instancesUpdateManyArgs>(args: Prisma.SelectSubset<T, instancesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
    /**
     * Update zero or more Instances and returns the data updated in the database.
     * @param {instancesUpdateManyAndReturnArgs} args - Arguments to update many Instances.
     * @example
     * // Update many Instances
     * const instances = await prisma.instances.updateManyAndReturn({
     *   where: {
     *     // ... provide filter here
     *   },
     *   data: [
     *     // ... provide data here
     *   ]
     * })
     *
     * // Update zero or more Instances and only return the `id`
     * const instancesWithIdOnly = await prisma.instances.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 instancesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, instancesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
    /**
     * Create or update one Instances.
     * @param {instancesUpsertArgs} args - Arguments to update or create a Instances.
     * @example
     * // Update or create a Instances
     * const instances = await prisma.instances.upsert({
     *   create: {
     *     // ... data to create a Instances
     *   },
     *   update: {
     *     // ... in case it already exists, update
     *   },
     *   where: {
     *     // ... the filter for the Instances we want to update
     *   }
     * })
     */
    upsert<T extends instancesUpsertArgs>(args: Prisma.SelectSubset<T, instancesUpsertArgs<ExtArgs>>): Prisma.Prisma__instancesClient<runtime.Types.Result.GetResult<Prisma.$instancesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
    /**
     * Count the number of Instances.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {instancesCountArgs} args - Arguments to filter Instances to count.
     * @example
     * // Count the number of Instances
     * const count = await prisma.instances.count({
     *   where: {
     *     // ... the filter for the Instances we want to count
     *   }
     * })
    **/
    count<T extends instancesCountArgs>(args?: Prisma.Subset<T, instancesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], InstancesCountAggregateOutputType> : number>;
    /**
     * Allows you to perform aggregations operations on a Instances.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {InstancesAggregateArgs} 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 InstancesAggregateArgs>(args: Prisma.Subset<T, InstancesAggregateArgs>): Prisma.PrismaPromise<GetInstancesAggregateType<T>>;
    /**
     * Group by Instances.
     * Note, that providing `undefined` is treated as the value not being there.
     * Read more here: https://pris.ly/d/null-undefined
     * @param {instancesGroupByArgs} 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 instancesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
        orderBy: instancesGroupByArgs['orderBy'];
    } : {
        orderBy?: instancesGroupByArgs['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, instancesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetInstancesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
    /**
     * Fields of the instances model
     */
    readonly fields: instancesFieldRefs;
}
/**
 * The delegate class that acts as a "Promise-like" for instances.
 * 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__instancesClient<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 instances model
 */
export interface instancesFieldRefs {
    readonly id: Prisma.FieldRef<"instances", 'String'>;
    readonly uuid: Prisma.FieldRef<"instances", 'String'>;
    readonly raw_base_config: Prisma.FieldRef<"instances", 'String'>;
    readonly created_at: Prisma.FieldRef<"instances", 'DateTime'>;
    readonly updated_at: Prisma.FieldRef<"instances", 'DateTime'>;
}
/**
 * instances findUnique
 */
export type instancesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * Filter, which instances to fetch.
     */
    where: Prisma.instancesWhereUniqueInput;
};
/**
 * instances findUniqueOrThrow
 */
export type instancesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * Filter, which instances to fetch.
     */
    where: Prisma.instancesWhereUniqueInput;
};
/**
 * instances findFirst
 */
export type instancesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * Filter, which instances to fetch.
     */
    where?: Prisma.instancesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of instances to fetch.
     */
    orderBy?: Prisma.instancesOrderByWithRelationInput | Prisma.instancesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for instances.
     */
    cursor?: Prisma.instancesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` instances 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` instances.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of instances.
     */
    distinct?: Prisma.InstancesScalarFieldEnum | Prisma.InstancesScalarFieldEnum[];
};
/**
 * instances findFirstOrThrow
 */
export type instancesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * Filter, which instances to fetch.
     */
    where?: Prisma.instancesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of instances to fetch.
     */
    orderBy?: Prisma.instancesOrderByWithRelationInput | Prisma.instancesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for searching for instances.
     */
    cursor?: Prisma.instancesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` instances 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` instances.
     */
    skip?: number;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
     *
     * Filter by unique combinations of instances.
     */
    distinct?: Prisma.InstancesScalarFieldEnum | Prisma.InstancesScalarFieldEnum[];
};
/**
 * instances findMany
 */
export type instancesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * Filter, which instances to fetch.
     */
    where?: Prisma.instancesWhereInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
     *
     * Determine the order of instances to fetch.
     */
    orderBy?: Prisma.instancesOrderByWithRelationInput | Prisma.instancesOrderByWithRelationInput[];
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
     *
     * Sets the position for listing instances.
     */
    cursor?: Prisma.instancesWhereUniqueInput;
    /**
     * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
     *
     * Take `±n` instances 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` instances.
     */
    skip?: number;
    distinct?: Prisma.InstancesScalarFieldEnum | Prisma.InstancesScalarFieldEnum[];
};
/**
 * instances create
 */
export type instancesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * The data needed to create a instances.
     */
    data: Prisma.XOR<Prisma.instancesCreateInput, Prisma.instancesUncheckedCreateInput>;
};
/**
 * instances createMany
 */
export type instancesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to create many instances.
     */
    data: Prisma.instancesCreateManyInput | Prisma.instancesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * instances createManyAndReturn
 */
export type instancesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelectCreateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * The data used to create many instances.
     */
    data: Prisma.instancesCreateManyInput | Prisma.instancesCreateManyInput[];
    skipDuplicates?: boolean;
};
/**
 * instances update
 */
export type instancesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * The data needed to update a instances.
     */
    data: Prisma.XOR<Prisma.instancesUpdateInput, Prisma.instancesUncheckedUpdateInput>;
    /**
     * Choose, which instances to update.
     */
    where: Prisma.instancesWhereUniqueInput;
};
/**
 * instances updateMany
 */
export type instancesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * The data used to update instances.
     */
    data: Prisma.XOR<Prisma.instancesUpdateManyMutationInput, Prisma.instancesUncheckedUpdateManyInput>;
    /**
     * Filter which instances to update
     */
    where?: Prisma.instancesWhereInput;
    /**
     * Limit how many instances to update.
     */
    limit?: number;
};
/**
 * instances updateManyAndReturn
 */
export type instancesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelectUpdateManyAndReturn<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * The data used to update instances.
     */
    data: Prisma.XOR<Prisma.instancesUpdateManyMutationInput, Prisma.instancesUncheckedUpdateManyInput>;
    /**
     * Filter which instances to update
     */
    where?: Prisma.instancesWhereInput;
    /**
     * Limit how many instances to update.
     */
    limit?: number;
};
/**
 * instances upsert
 */
export type instancesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * The filter to search for the instances to update in case it exists.
     */
    where: Prisma.instancesWhereUniqueInput;
    /**
     * In case the instances found by the `where` argument doesn't exist, create a new instances with this data.
     */
    create: Prisma.XOR<Prisma.instancesCreateInput, Prisma.instancesUncheckedCreateInput>;
    /**
     * In case the instances was found with the provided `where` argument, update it with this data.
     */
    update: Prisma.XOR<Prisma.instancesUpdateInput, Prisma.instancesUncheckedUpdateInput>;
};
/**
 * instances delete
 */
export type instancesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
    /**
     * Filter which instances to delete.
     */
    where: Prisma.instancesWhereUniqueInput;
};
/**
 * instances deleteMany
 */
export type instancesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Filter which instances to delete
     */
    where?: Prisma.instancesWhereInput;
    /**
     * Limit how many instances to delete.
     */
    limit?: number;
};
/**
 * instances without action
 */
export type instancesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
    /**
     * Select specific fields to fetch from the instances
     */
    select?: Prisma.instancesSelect<ExtArgs> | null;
    /**
     * Omit specific fields from the instances
     */
    omit?: Prisma.instancesOmit<ExtArgs> | null;
};
export {};
