/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `PropertyAttribute` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model PropertyAttribute * */ export type PropertyAttributeModel = runtime.Types.Result.DefaultSelection export type AggregatePropertyAttribute = { _count: PropertyAttributeCountAggregateOutputType | null _min: PropertyAttributeMinAggregateOutputType | null _max: PropertyAttributeMaxAggregateOutputType | null } export type PropertyAttributeMinAggregateOutputType = { id: string | null propertyId: string | null name: string | null value: string | null } export type PropertyAttributeMaxAggregateOutputType = { id: string | null propertyId: string | null name: string | null value: string | null } export type PropertyAttributeCountAggregateOutputType = { id: number propertyId: number name: number value: number _all: number } export type PropertyAttributeMinAggregateInputType = { id?: true propertyId?: true name?: true value?: true } export type PropertyAttributeMaxAggregateInputType = { id?: true propertyId?: true name?: true value?: true } export type PropertyAttributeCountAggregateInputType = { id?: true propertyId?: true name?: true value?: true _all?: true } export type PropertyAttributeAggregateArgs = { /** * Filter which PropertyAttribute to aggregate. */ where?: Prisma.PropertyAttributeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PropertyAttributes to fetch. */ orderBy?: Prisma.PropertyAttributeOrderByWithRelationInput | Prisma.PropertyAttributeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.PropertyAttributeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PropertyAttributes 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` PropertyAttributes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned PropertyAttributes **/ _count?: true | PropertyAttributeCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: PropertyAttributeMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: PropertyAttributeMaxAggregateInputType } export type GetPropertyAttributeAggregateType = { [P in keyof T & keyof AggregatePropertyAttribute]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type PropertyAttributeGroupByArgs = { where?: Prisma.PropertyAttributeWhereInput orderBy?: Prisma.PropertyAttributeOrderByWithAggregationInput | Prisma.PropertyAttributeOrderByWithAggregationInput[] by: Prisma.PropertyAttributeScalarFieldEnum[] | Prisma.PropertyAttributeScalarFieldEnum having?: Prisma.PropertyAttributeScalarWhereWithAggregatesInput take?: number skip?: number _count?: PropertyAttributeCountAggregateInputType | true _min?: PropertyAttributeMinAggregateInputType _max?: PropertyAttributeMaxAggregateInputType } export type PropertyAttributeGroupByOutputType = { id: string propertyId: string name: string value: string _count: PropertyAttributeCountAggregateOutputType | null _min: PropertyAttributeMinAggregateOutputType | null _max: PropertyAttributeMaxAggregateOutputType | null } export type GetPropertyAttributeGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof PropertyAttributeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type PropertyAttributeWhereInput = { AND?: Prisma.PropertyAttributeWhereInput | Prisma.PropertyAttributeWhereInput[] OR?: Prisma.PropertyAttributeWhereInput[] NOT?: Prisma.PropertyAttributeWhereInput | Prisma.PropertyAttributeWhereInput[] id?: Prisma.StringFilter<"PropertyAttribute"> | string propertyId?: Prisma.StringFilter<"PropertyAttribute"> | string name?: Prisma.StringFilter<"PropertyAttribute"> | string value?: Prisma.StringFilter<"PropertyAttribute"> | string property?: Prisma.XOR } export type PropertyAttributeOrderByWithRelationInput = { id?: Prisma.SortOrder propertyId?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder property?: Prisma.PropertyOrderByWithRelationInput } export type PropertyAttributeWhereUniqueInput = Prisma.AtLeast<{ id?: string propertyId_name?: Prisma.PropertyAttributePropertyIdNameCompoundUniqueInput AND?: Prisma.PropertyAttributeWhereInput | Prisma.PropertyAttributeWhereInput[] OR?: Prisma.PropertyAttributeWhereInput[] NOT?: Prisma.PropertyAttributeWhereInput | Prisma.PropertyAttributeWhereInput[] propertyId?: Prisma.StringFilter<"PropertyAttribute"> | string name?: Prisma.StringFilter<"PropertyAttribute"> | string value?: Prisma.StringFilter<"PropertyAttribute"> | string property?: Prisma.XOR }, "id" | "propertyId_name"> export type PropertyAttributeOrderByWithAggregationInput = { id?: Prisma.SortOrder propertyId?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder _count?: Prisma.PropertyAttributeCountOrderByAggregateInput _max?: Prisma.PropertyAttributeMaxOrderByAggregateInput _min?: Prisma.PropertyAttributeMinOrderByAggregateInput } export type PropertyAttributeScalarWhereWithAggregatesInput = { AND?: Prisma.PropertyAttributeScalarWhereWithAggregatesInput | Prisma.PropertyAttributeScalarWhereWithAggregatesInput[] OR?: Prisma.PropertyAttributeScalarWhereWithAggregatesInput[] NOT?: Prisma.PropertyAttributeScalarWhereWithAggregatesInput | Prisma.PropertyAttributeScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"PropertyAttribute"> | string propertyId?: Prisma.StringWithAggregatesFilter<"PropertyAttribute"> | string name?: Prisma.StringWithAggregatesFilter<"PropertyAttribute"> | string value?: Prisma.StringWithAggregatesFilter<"PropertyAttribute"> | string } export type PropertyAttributeCreateInput = { id?: string name: string value: string property: Prisma.PropertyCreateNestedOneWithoutAttributesInput } export type PropertyAttributeUncheckedCreateInput = { id?: string propertyId: string name: string value: string } export type PropertyAttributeUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string property?: Prisma.PropertyUpdateOneRequiredWithoutAttributesNestedInput } export type PropertyAttributeUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string propertyId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string } export type PropertyAttributeCreateManyInput = { id?: string propertyId: string name: string value: string } export type PropertyAttributeUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string } export type PropertyAttributeUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string propertyId?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string } export type PropertyAttributeListRelationFilter = { every?: Prisma.PropertyAttributeWhereInput some?: Prisma.PropertyAttributeWhereInput none?: Prisma.PropertyAttributeWhereInput } export type PropertyAttributeOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type PropertyAttributePropertyIdNameCompoundUniqueInput = { propertyId: string name: string } export type PropertyAttributeCountOrderByAggregateInput = { id?: Prisma.SortOrder propertyId?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder } export type PropertyAttributeMaxOrderByAggregateInput = { id?: Prisma.SortOrder propertyId?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder } export type PropertyAttributeMinOrderByAggregateInput = { id?: Prisma.SortOrder propertyId?: Prisma.SortOrder name?: Prisma.SortOrder value?: Prisma.SortOrder } export type PropertyAttributeCreateNestedManyWithoutPropertyInput = { create?: Prisma.XOR | Prisma.PropertyAttributeCreateWithoutPropertyInput[] | Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput[] connectOrCreate?: Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput | Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput[] createMany?: Prisma.PropertyAttributeCreateManyPropertyInputEnvelope connect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] } export type PropertyAttributeUncheckedCreateNestedManyWithoutPropertyInput = { create?: Prisma.XOR | Prisma.PropertyAttributeCreateWithoutPropertyInput[] | Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput[] connectOrCreate?: Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput | Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput[] createMany?: Prisma.PropertyAttributeCreateManyPropertyInputEnvelope connect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] } export type PropertyAttributeUpdateManyWithoutPropertyNestedInput = { create?: Prisma.XOR | Prisma.PropertyAttributeCreateWithoutPropertyInput[] | Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput[] connectOrCreate?: Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput | Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput[] upsert?: Prisma.PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput[] createMany?: Prisma.PropertyAttributeCreateManyPropertyInputEnvelope set?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] disconnect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] delete?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] connect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] update?: Prisma.PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput[] updateMany?: Prisma.PropertyAttributeUpdateManyWithWhereWithoutPropertyInput | Prisma.PropertyAttributeUpdateManyWithWhereWithoutPropertyInput[] deleteMany?: Prisma.PropertyAttributeScalarWhereInput | Prisma.PropertyAttributeScalarWhereInput[] } export type PropertyAttributeUncheckedUpdateManyWithoutPropertyNestedInput = { create?: Prisma.XOR | Prisma.PropertyAttributeCreateWithoutPropertyInput[] | Prisma.PropertyAttributeUncheckedCreateWithoutPropertyInput[] connectOrCreate?: Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput | Prisma.PropertyAttributeCreateOrConnectWithoutPropertyInput[] upsert?: Prisma.PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput[] createMany?: Prisma.PropertyAttributeCreateManyPropertyInputEnvelope set?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] disconnect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] delete?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] connect?: Prisma.PropertyAttributeWhereUniqueInput | Prisma.PropertyAttributeWhereUniqueInput[] update?: Prisma.PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput | Prisma.PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput[] updateMany?: Prisma.PropertyAttributeUpdateManyWithWhereWithoutPropertyInput | Prisma.PropertyAttributeUpdateManyWithWhereWithoutPropertyInput[] deleteMany?: Prisma.PropertyAttributeScalarWhereInput | Prisma.PropertyAttributeScalarWhereInput[] } export type PropertyAttributeCreateWithoutPropertyInput = { id?: string name: string value: string } export type PropertyAttributeUncheckedCreateWithoutPropertyInput = { id?: string name: string value: string } export type PropertyAttributeCreateOrConnectWithoutPropertyInput = { where: Prisma.PropertyAttributeWhereUniqueInput create: Prisma.XOR } export type PropertyAttributeCreateManyPropertyInputEnvelope = { data: Prisma.PropertyAttributeCreateManyPropertyInput | Prisma.PropertyAttributeCreateManyPropertyInput[] skipDuplicates?: boolean } export type PropertyAttributeUpsertWithWhereUniqueWithoutPropertyInput = { where: Prisma.PropertyAttributeWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type PropertyAttributeUpdateWithWhereUniqueWithoutPropertyInput = { where: Prisma.PropertyAttributeWhereUniqueInput data: Prisma.XOR } export type PropertyAttributeUpdateManyWithWhereWithoutPropertyInput = { where: Prisma.PropertyAttributeScalarWhereInput data: Prisma.XOR } export type PropertyAttributeScalarWhereInput = { AND?: Prisma.PropertyAttributeScalarWhereInput | Prisma.PropertyAttributeScalarWhereInput[] OR?: Prisma.PropertyAttributeScalarWhereInput[] NOT?: Prisma.PropertyAttributeScalarWhereInput | Prisma.PropertyAttributeScalarWhereInput[] id?: Prisma.StringFilter<"PropertyAttribute"> | string propertyId?: Prisma.StringFilter<"PropertyAttribute"> | string name?: Prisma.StringFilter<"PropertyAttribute"> | string value?: Prisma.StringFilter<"PropertyAttribute"> | string } export type PropertyAttributeCreateManyPropertyInput = { id?: string name: string value: string } export type PropertyAttributeUpdateWithoutPropertyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string } export type PropertyAttributeUncheckedUpdateWithoutPropertyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string } export type PropertyAttributeUncheckedUpdateManyWithoutPropertyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string name?: Prisma.StringFieldUpdateOperationsInput | string value?: Prisma.StringFieldUpdateOperationsInput | string } export type PropertyAttributeSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean propertyId?: boolean name?: boolean value?: boolean property?: boolean | Prisma.PropertyDefaultArgs }, ExtArgs["result"]["propertyAttribute"]> export type PropertyAttributeSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean propertyId?: boolean name?: boolean value?: boolean property?: boolean | Prisma.PropertyDefaultArgs }, ExtArgs["result"]["propertyAttribute"]> export type PropertyAttributeSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean propertyId?: boolean name?: boolean value?: boolean property?: boolean | Prisma.PropertyDefaultArgs }, ExtArgs["result"]["propertyAttribute"]> export type PropertyAttributeSelectScalar = { id?: boolean propertyId?: boolean name?: boolean value?: boolean } export type PropertyAttributeOmit = runtime.Types.Extensions.GetOmit<"id" | "propertyId" | "name" | "value", ExtArgs["result"]["propertyAttribute"]> export type PropertyAttributeInclude = { property?: boolean | Prisma.PropertyDefaultArgs } export type PropertyAttributeIncludeCreateManyAndReturn = { property?: boolean | Prisma.PropertyDefaultArgs } export type PropertyAttributeIncludeUpdateManyAndReturn = { property?: boolean | Prisma.PropertyDefaultArgs } export type $PropertyAttributePayload = { name: "PropertyAttribute" objects: { property: Prisma.$PropertyPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string propertyId: string name: string value: string }, ExtArgs["result"]["propertyAttribute"]> composites: {} } export type PropertyAttributeGetPayload = runtime.Types.Result.GetResult export type PropertyAttributeCountArgs = Omit & { select?: PropertyAttributeCountAggregateInputType | true } export interface PropertyAttributeDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['PropertyAttribute'], meta: { name: 'PropertyAttribute' } } /** * Find zero or one PropertyAttribute that matches the filter. * @param {PropertyAttributeFindUniqueArgs} args - Arguments to find a PropertyAttribute * @example * // Get one PropertyAttribute * const propertyAttribute = await prisma.propertyAttribute.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__PropertyAttributeClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one PropertyAttribute that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {PropertyAttributeFindUniqueOrThrowArgs} args - Arguments to find a PropertyAttribute * @example * // Get one PropertyAttribute * const propertyAttribute = await prisma.propertyAttribute.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__PropertyAttributeClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first PropertyAttribute 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 {PropertyAttributeFindFirstArgs} args - Arguments to find a PropertyAttribute * @example * // Get one PropertyAttribute * const propertyAttribute = await prisma.propertyAttribute.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__PropertyAttributeClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first PropertyAttribute 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 {PropertyAttributeFindFirstOrThrowArgs} args - Arguments to find a PropertyAttribute * @example * // Get one PropertyAttribute * const propertyAttribute = await prisma.propertyAttribute.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__PropertyAttributeClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more PropertyAttributes 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 {PropertyAttributeFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all PropertyAttributes * const propertyAttributes = await prisma.propertyAttribute.findMany() * * // Get first 10 PropertyAttributes * const propertyAttributes = await prisma.propertyAttribute.findMany({ take: 10 }) * * // Only select the `id` * const propertyAttributeWithIdOnly = await prisma.propertyAttribute.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a PropertyAttribute. * @param {PropertyAttributeCreateArgs} args - Arguments to create a PropertyAttribute. * @example * // Create one PropertyAttribute * const PropertyAttribute = await prisma.propertyAttribute.create({ * data: { * // ... data to create a PropertyAttribute * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__PropertyAttributeClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many PropertyAttributes. * @param {PropertyAttributeCreateManyArgs} args - Arguments to create many PropertyAttributes. * @example * // Create many PropertyAttributes * const propertyAttribute = await prisma.propertyAttribute.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many PropertyAttributes and returns the data saved in the database. * @param {PropertyAttributeCreateManyAndReturnArgs} args - Arguments to create many PropertyAttributes. * @example * // Create many PropertyAttributes * const propertyAttribute = await prisma.propertyAttribute.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many PropertyAttributes and only return the `id` * const propertyAttributeWithIdOnly = await prisma.propertyAttribute.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a PropertyAttribute. * @param {PropertyAttributeDeleteArgs} args - Arguments to delete one PropertyAttribute. * @example * // Delete one PropertyAttribute * const PropertyAttribute = await prisma.propertyAttribute.delete({ * where: { * // ... filter to delete one PropertyAttribute * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__PropertyAttributeClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one PropertyAttribute. * @param {PropertyAttributeUpdateArgs} args - Arguments to update one PropertyAttribute. * @example * // Update one PropertyAttribute * const propertyAttribute = await prisma.propertyAttribute.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__PropertyAttributeClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more PropertyAttributes. * @param {PropertyAttributeDeleteManyArgs} args - Arguments to filter PropertyAttributes to delete. * @example * // Delete a few PropertyAttributes * const { count } = await prisma.propertyAttribute.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PropertyAttributes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PropertyAttributeUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many PropertyAttributes * const propertyAttribute = await prisma.propertyAttribute.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more PropertyAttributes and returns the data updated in the database. * @param {PropertyAttributeUpdateManyAndReturnArgs} args - Arguments to update many PropertyAttributes. * @example * // Update many PropertyAttributes * const propertyAttribute = await prisma.propertyAttribute.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more PropertyAttributes and only return the `id` * const propertyAttributeWithIdOnly = await prisma.propertyAttribute.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one PropertyAttribute. * @param {PropertyAttributeUpsertArgs} args - Arguments to update or create a PropertyAttribute. * @example * // Update or create a PropertyAttribute * const propertyAttribute = await prisma.propertyAttribute.upsert({ * create: { * // ... data to create a PropertyAttribute * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the PropertyAttribute we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__PropertyAttributeClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of PropertyAttributes. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PropertyAttributeCountArgs} args - Arguments to filter PropertyAttributes to count. * @example * // Count the number of PropertyAttributes * const count = await prisma.propertyAttribute.count({ * where: { * // ... the filter for the PropertyAttributes we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a PropertyAttribute. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PropertyAttributeAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by PropertyAttribute. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {PropertyAttributeGroupByArgs} 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 PropertyAttributeGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: PropertyAttributeGroupByArgs['orderBy'] } : { orderBy?: PropertyAttributeGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetPropertyAttributeGroupByPayload : Prisma.PrismaPromise /** * Fields of the PropertyAttribute model */ readonly fields: PropertyAttributeFieldRefs; } /** * The delegate class that acts as a "Promise-like" for PropertyAttribute. * 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__PropertyAttributeClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" property = {}>(args?: Prisma.Subset>): Prisma.Prisma__PropertyClient, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the PropertyAttribute model */ export interface PropertyAttributeFieldRefs { readonly id: Prisma.FieldRef<"PropertyAttribute", 'String'> readonly propertyId: Prisma.FieldRef<"PropertyAttribute", 'String'> readonly name: Prisma.FieldRef<"PropertyAttribute", 'String'> readonly value: Prisma.FieldRef<"PropertyAttribute", 'String'> } // Custom InputTypes /** * PropertyAttribute findUnique */ export type PropertyAttributeFindUniqueArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null /** * Filter, which PropertyAttribute to fetch. */ where: Prisma.PropertyAttributeWhereUniqueInput } /** * PropertyAttribute findUniqueOrThrow */ export type PropertyAttributeFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null /** * Filter, which PropertyAttribute to fetch. */ where: Prisma.PropertyAttributeWhereUniqueInput } /** * PropertyAttribute findFirst */ export type PropertyAttributeFindFirstArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null /** * Filter, which PropertyAttribute to fetch. */ where?: Prisma.PropertyAttributeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PropertyAttributes to fetch. */ orderBy?: Prisma.PropertyAttributeOrderByWithRelationInput | Prisma.PropertyAttributeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PropertyAttributes. */ cursor?: Prisma.PropertyAttributeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PropertyAttributes 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` PropertyAttributes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PropertyAttributes. */ distinct?: Prisma.PropertyAttributeScalarFieldEnum | Prisma.PropertyAttributeScalarFieldEnum[] } /** * PropertyAttribute findFirstOrThrow */ export type PropertyAttributeFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null /** * Filter, which PropertyAttribute to fetch. */ where?: Prisma.PropertyAttributeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PropertyAttributes to fetch. */ orderBy?: Prisma.PropertyAttributeOrderByWithRelationInput | Prisma.PropertyAttributeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for PropertyAttributes. */ cursor?: Prisma.PropertyAttributeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PropertyAttributes 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` PropertyAttributes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PropertyAttributes. */ distinct?: Prisma.PropertyAttributeScalarFieldEnum | Prisma.PropertyAttributeScalarFieldEnum[] } /** * PropertyAttribute findMany */ export type PropertyAttributeFindManyArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null /** * Filter, which PropertyAttributes to fetch. */ where?: Prisma.PropertyAttributeWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of PropertyAttributes to fetch. */ orderBy?: Prisma.PropertyAttributeOrderByWithRelationInput | Prisma.PropertyAttributeOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing PropertyAttributes. */ cursor?: Prisma.PropertyAttributeWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` PropertyAttributes 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` PropertyAttributes. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of PropertyAttributes. */ distinct?: Prisma.PropertyAttributeScalarFieldEnum | Prisma.PropertyAttributeScalarFieldEnum[] } /** * PropertyAttribute create */ export type PropertyAttributeCreateArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null /** * The data needed to create a PropertyAttribute. */ data: Prisma.XOR } /** * PropertyAttribute createMany */ export type PropertyAttributeCreateManyArgs = { /** * The data used to create many PropertyAttributes. */ data: Prisma.PropertyAttributeCreateManyInput | Prisma.PropertyAttributeCreateManyInput[] skipDuplicates?: boolean } /** * PropertyAttribute createManyAndReturn */ export type PropertyAttributeCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelectCreateManyAndReturn | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * The data used to create many PropertyAttributes. */ data: Prisma.PropertyAttributeCreateManyInput | Prisma.PropertyAttributeCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeIncludeCreateManyAndReturn | null } /** * PropertyAttribute update */ export type PropertyAttributeUpdateArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null /** * The data needed to update a PropertyAttribute. */ data: Prisma.XOR /** * Choose, which PropertyAttribute to update. */ where: Prisma.PropertyAttributeWhereUniqueInput } /** * PropertyAttribute updateMany */ export type PropertyAttributeUpdateManyArgs = { /** * The data used to update PropertyAttributes. */ data: Prisma.XOR /** * Filter which PropertyAttributes to update */ where?: Prisma.PropertyAttributeWhereInput /** * Limit how many PropertyAttributes to update. */ limit?: number } /** * PropertyAttribute updateManyAndReturn */ export type PropertyAttributeUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelectUpdateManyAndReturn | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * The data used to update PropertyAttributes. */ data: Prisma.XOR /** * Filter which PropertyAttributes to update */ where?: Prisma.PropertyAttributeWhereInput /** * Limit how many PropertyAttributes to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeIncludeUpdateManyAndReturn | null } /** * PropertyAttribute upsert */ export type PropertyAttributeUpsertArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null /** * The filter to search for the PropertyAttribute to update in case it exists. */ where: Prisma.PropertyAttributeWhereUniqueInput /** * In case the PropertyAttribute found by the `where` argument doesn't exist, create a new PropertyAttribute with this data. */ create: Prisma.XOR /** * In case the PropertyAttribute was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * PropertyAttribute delete */ export type PropertyAttributeDeleteArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null /** * Filter which PropertyAttribute to delete. */ where: Prisma.PropertyAttributeWhereUniqueInput } /** * PropertyAttribute deleteMany */ export type PropertyAttributeDeleteManyArgs = { /** * Filter which PropertyAttributes to delete */ where?: Prisma.PropertyAttributeWhereInput /** * Limit how many PropertyAttributes to delete. */ limit?: number } /** * PropertyAttribute without action */ export type PropertyAttributeDefaultArgs = { /** * Select specific fields to fetch from the PropertyAttribute */ select?: Prisma.PropertyAttributeSelect | null /** * Omit specific fields from the PropertyAttribute */ omit?: Prisma.PropertyAttributeOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PropertyAttributeInclude | null }