/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `DiscordUserProfile` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model DiscordUserProfile * */ export type DiscordUserProfileModel = runtime.Types.Result.DefaultSelection export type AggregateDiscordUserProfile = { _count: DiscordUserProfileCountAggregateOutputType | null _min: DiscordUserProfileMinAggregateOutputType | null _max: DiscordUserProfileMaxAggregateOutputType | null } export type DiscordUserProfileMinAggregateOutputType = { id: string | null userId: string | null voice: $Enums.Voice | null nya: boolean | null canTypecast: boolean | null userSupertonicStyle: string | null } export type DiscordUserProfileMaxAggregateOutputType = { id: string | null userId: string | null voice: $Enums.Voice | null nya: boolean | null canTypecast: boolean | null userSupertonicStyle: string | null } export type DiscordUserProfileCountAggregateOutputType = { id: number userId: number voice: number nya: number canTypecast: number userSupertonicStyle: number _all: number } export type DiscordUserProfileMinAggregateInputType = { id?: true userId?: true voice?: true nya?: true canTypecast?: true userSupertonicStyle?: true } export type DiscordUserProfileMaxAggregateInputType = { id?: true userId?: true voice?: true nya?: true canTypecast?: true userSupertonicStyle?: true } export type DiscordUserProfileCountAggregateInputType = { id?: true userId?: true voice?: true nya?: true canTypecast?: true userSupertonicStyle?: true _all?: true } export type DiscordUserProfileAggregateArgs = { /** * Filter which DiscordUserProfile to aggregate. */ where?: Prisma.DiscordUserProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DiscordUserProfiles to fetch. */ orderBy?: Prisma.DiscordUserProfileOrderByWithRelationInput | Prisma.DiscordUserProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.DiscordUserProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DiscordUserProfiles 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` DiscordUserProfiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned DiscordUserProfiles **/ _count?: true | DiscordUserProfileCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DiscordUserProfileMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DiscordUserProfileMaxAggregateInputType } export type GetDiscordUserProfileAggregateType = { [P in keyof T & keyof AggregateDiscordUserProfile]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type DiscordUserProfileGroupByArgs = { where?: Prisma.DiscordUserProfileWhereInput orderBy?: Prisma.DiscordUserProfileOrderByWithAggregationInput | Prisma.DiscordUserProfileOrderByWithAggregationInput[] by: Prisma.DiscordUserProfileScalarFieldEnum[] | Prisma.DiscordUserProfileScalarFieldEnum having?: Prisma.DiscordUserProfileScalarWhereWithAggregatesInput take?: number skip?: number _count?: DiscordUserProfileCountAggregateInputType | true _min?: DiscordUserProfileMinAggregateInputType _max?: DiscordUserProfileMaxAggregateInputType } export type DiscordUserProfileGroupByOutputType = { id: string userId: string voice: $Enums.Voice nya: boolean canTypecast: boolean userSupertonicStyle: string _count: DiscordUserProfileCountAggregateOutputType | null _min: DiscordUserProfileMinAggregateOutputType | null _max: DiscordUserProfileMaxAggregateOutputType | null } type GetDiscordUserProfileGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof DiscordUserProfileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type DiscordUserProfileWhereInput = { AND?: Prisma.DiscordUserProfileWhereInput | Prisma.DiscordUserProfileWhereInput[] OR?: Prisma.DiscordUserProfileWhereInput[] NOT?: Prisma.DiscordUserProfileWhereInput | Prisma.DiscordUserProfileWhereInput[] id?: Prisma.StringFilter<"DiscordUserProfile"> | string userId?: Prisma.StringFilter<"DiscordUserProfile"> | string voice?: Prisma.EnumVoiceFilter<"DiscordUserProfile"> | $Enums.Voice nya?: Prisma.BoolFilter<"DiscordUserProfile"> | boolean canTypecast?: Prisma.BoolFilter<"DiscordUserProfile"> | boolean userSupertonicStyle?: Prisma.StringFilter<"DiscordUserProfile"> | string } export type DiscordUserProfileOrderByWithRelationInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder voice?: Prisma.SortOrder nya?: Prisma.SortOrder canTypecast?: Prisma.SortOrder userSupertonicStyle?: Prisma.SortOrder } export type DiscordUserProfileWhereUniqueInput = Prisma.AtLeast<{ id?: string userId?: string AND?: Prisma.DiscordUserProfileWhereInput | Prisma.DiscordUserProfileWhereInput[] OR?: Prisma.DiscordUserProfileWhereInput[] NOT?: Prisma.DiscordUserProfileWhereInput | Prisma.DiscordUserProfileWhereInput[] voice?: Prisma.EnumVoiceFilter<"DiscordUserProfile"> | $Enums.Voice nya?: Prisma.BoolFilter<"DiscordUserProfile"> | boolean canTypecast?: Prisma.BoolFilter<"DiscordUserProfile"> | boolean userSupertonicStyle?: Prisma.StringFilter<"DiscordUserProfile"> | string }, "id" | "userId"> export type DiscordUserProfileOrderByWithAggregationInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder voice?: Prisma.SortOrder nya?: Prisma.SortOrder canTypecast?: Prisma.SortOrder userSupertonicStyle?: Prisma.SortOrder _count?: Prisma.DiscordUserProfileCountOrderByAggregateInput _max?: Prisma.DiscordUserProfileMaxOrderByAggregateInput _min?: Prisma.DiscordUserProfileMinOrderByAggregateInput } export type DiscordUserProfileScalarWhereWithAggregatesInput = { AND?: Prisma.DiscordUserProfileScalarWhereWithAggregatesInput | Prisma.DiscordUserProfileScalarWhereWithAggregatesInput[] OR?: Prisma.DiscordUserProfileScalarWhereWithAggregatesInput[] NOT?: Prisma.DiscordUserProfileScalarWhereWithAggregatesInput | Prisma.DiscordUserProfileScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"DiscordUserProfile"> | string userId?: Prisma.StringWithAggregatesFilter<"DiscordUserProfile"> | string voice?: Prisma.EnumVoiceWithAggregatesFilter<"DiscordUserProfile"> | $Enums.Voice nya?: Prisma.BoolWithAggregatesFilter<"DiscordUserProfile"> | boolean canTypecast?: Prisma.BoolWithAggregatesFilter<"DiscordUserProfile"> | boolean userSupertonicStyle?: Prisma.StringWithAggregatesFilter<"DiscordUserProfile"> | string } export type DiscordUserProfileCreateInput = { id?: string userId: string voice?: $Enums.Voice nya?: boolean canTypecast?: boolean userSupertonicStyle?: string } export type DiscordUserProfileUncheckedCreateInput = { id?: string userId: string voice?: $Enums.Voice nya?: boolean canTypecast?: boolean userSupertonicStyle?: string } export type DiscordUserProfileUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string voice?: Prisma.EnumVoiceFieldUpdateOperationsInput | $Enums.Voice nya?: Prisma.BoolFieldUpdateOperationsInput | boolean canTypecast?: Prisma.BoolFieldUpdateOperationsInput | boolean userSupertonicStyle?: Prisma.StringFieldUpdateOperationsInput | string } export type DiscordUserProfileUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string voice?: Prisma.EnumVoiceFieldUpdateOperationsInput | $Enums.Voice nya?: Prisma.BoolFieldUpdateOperationsInput | boolean canTypecast?: Prisma.BoolFieldUpdateOperationsInput | boolean userSupertonicStyle?: Prisma.StringFieldUpdateOperationsInput | string } export type DiscordUserProfileCreateManyInput = { id?: string userId: string voice?: $Enums.Voice nya?: boolean canTypecast?: boolean userSupertonicStyle?: string } export type DiscordUserProfileUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string voice?: Prisma.EnumVoiceFieldUpdateOperationsInput | $Enums.Voice nya?: Prisma.BoolFieldUpdateOperationsInput | boolean canTypecast?: Prisma.BoolFieldUpdateOperationsInput | boolean userSupertonicStyle?: Prisma.StringFieldUpdateOperationsInput | string } export type DiscordUserProfileUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string userId?: Prisma.StringFieldUpdateOperationsInput | string voice?: Prisma.EnumVoiceFieldUpdateOperationsInput | $Enums.Voice nya?: Prisma.BoolFieldUpdateOperationsInput | boolean canTypecast?: Prisma.BoolFieldUpdateOperationsInput | boolean userSupertonicStyle?: Prisma.StringFieldUpdateOperationsInput | string } export type DiscordUserProfileCountOrderByAggregateInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder voice?: Prisma.SortOrder nya?: Prisma.SortOrder canTypecast?: Prisma.SortOrder userSupertonicStyle?: Prisma.SortOrder } export type DiscordUserProfileMaxOrderByAggregateInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder voice?: Prisma.SortOrder nya?: Prisma.SortOrder canTypecast?: Prisma.SortOrder userSupertonicStyle?: Prisma.SortOrder } export type DiscordUserProfileMinOrderByAggregateInput = { id?: Prisma.SortOrder userId?: Prisma.SortOrder voice?: Prisma.SortOrder nya?: Prisma.SortOrder canTypecast?: Prisma.SortOrder userSupertonicStyle?: Prisma.SortOrder } export type StringFieldUpdateOperationsInput = { set?: string } export type EnumVoiceFieldUpdateOperationsInput = { set?: $Enums.Voice } export type BoolFieldUpdateOperationsInput = { set?: boolean } export type DiscordUserProfileSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean userId?: boolean voice?: boolean nya?: boolean canTypecast?: boolean userSupertonicStyle?: boolean }, ExtArgs["result"]["discordUserProfile"]> export type DiscordUserProfileSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean userId?: boolean voice?: boolean nya?: boolean canTypecast?: boolean userSupertonicStyle?: boolean }, ExtArgs["result"]["discordUserProfile"]> export type DiscordUserProfileSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean userId?: boolean voice?: boolean nya?: boolean canTypecast?: boolean userSupertonicStyle?: boolean }, ExtArgs["result"]["discordUserProfile"]> export type DiscordUserProfileSelectScalar = { id?: boolean userId?: boolean voice?: boolean nya?: boolean canTypecast?: boolean userSupertonicStyle?: boolean } export type DiscordUserProfileOmit = runtime.Types.Extensions.GetOmit<"id" | "userId" | "voice" | "nya" | "canTypecast" | "userSupertonicStyle", ExtArgs["result"]["discordUserProfile"]> export type $DiscordUserProfilePayload = { name: "DiscordUserProfile" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string userId: string voice: $Enums.Voice nya: boolean canTypecast: boolean userSupertonicStyle: string }, ExtArgs["result"]["discordUserProfile"]> composites: {} } export type DiscordUserProfileGetPayload = runtime.Types.Result.GetResult export type DiscordUserProfileCountArgs = Omit & { select?: DiscordUserProfileCountAggregateInputType | true } export interface DiscordUserProfileDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DiscordUserProfile'], meta: { name: 'DiscordUserProfile' } } /** * Find zero or one DiscordUserProfile that matches the filter. * @param {DiscordUserProfileFindUniqueArgs} args - Arguments to find a DiscordUserProfile * @example * // Get one DiscordUserProfile * const discordUserProfile = await prisma.discordUserProfile.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordUserProfileClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one DiscordUserProfile that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DiscordUserProfileFindUniqueOrThrowArgs} args - Arguments to find a DiscordUserProfile * @example * // Get one DiscordUserProfile * const discordUserProfile = await prisma.discordUserProfile.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordUserProfileClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first DiscordUserProfile 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 {DiscordUserProfileFindFirstArgs} args - Arguments to find a DiscordUserProfile * @example * // Get one DiscordUserProfile * const discordUserProfile = await prisma.discordUserProfile.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__DiscordUserProfileClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first DiscordUserProfile 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 {DiscordUserProfileFindFirstOrThrowArgs} args - Arguments to find a DiscordUserProfile * @example * // Get one DiscordUserProfile * const discordUserProfile = await prisma.discordUserProfile.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__DiscordUserProfileClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more DiscordUserProfiles 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 {DiscordUserProfileFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all DiscordUserProfiles * const discordUserProfiles = await prisma.discordUserProfile.findMany() * * // Get first 10 DiscordUserProfiles * const discordUserProfiles = await prisma.discordUserProfile.findMany({ take: 10 }) * * // Only select the `id` * const discordUserProfileWithIdOnly = await prisma.discordUserProfile.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a DiscordUserProfile. * @param {DiscordUserProfileCreateArgs} args - Arguments to create a DiscordUserProfile. * @example * // Create one DiscordUserProfile * const DiscordUserProfile = await prisma.discordUserProfile.create({ * data: { * // ... data to create a DiscordUserProfile * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordUserProfileClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many DiscordUserProfiles. * @param {DiscordUserProfileCreateManyArgs} args - Arguments to create many DiscordUserProfiles. * @example * // Create many DiscordUserProfiles * const discordUserProfile = await prisma.discordUserProfile.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many DiscordUserProfiles and returns the data saved in the database. * @param {DiscordUserProfileCreateManyAndReturnArgs} args - Arguments to create many DiscordUserProfiles. * @example * // Create many DiscordUserProfiles * const discordUserProfile = await prisma.discordUserProfile.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many DiscordUserProfiles and only return the `id` * const discordUserProfileWithIdOnly = await prisma.discordUserProfile.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 DiscordUserProfile. * @param {DiscordUserProfileDeleteArgs} args - Arguments to delete one DiscordUserProfile. * @example * // Delete one DiscordUserProfile * const DiscordUserProfile = await prisma.discordUserProfile.delete({ * where: { * // ... filter to delete one DiscordUserProfile * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordUserProfileClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one DiscordUserProfile. * @param {DiscordUserProfileUpdateArgs} args - Arguments to update one DiscordUserProfile. * @example * // Update one DiscordUserProfile * const discordUserProfile = await prisma.discordUserProfile.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordUserProfileClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more DiscordUserProfiles. * @param {DiscordUserProfileDeleteManyArgs} args - Arguments to filter DiscordUserProfiles to delete. * @example * // Delete a few DiscordUserProfiles * const { count } = await prisma.discordUserProfile.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DiscordUserProfiles. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DiscordUserProfileUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many DiscordUserProfiles * const discordUserProfile = await prisma.discordUserProfile.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DiscordUserProfiles and returns the data updated in the database. * @param {DiscordUserProfileUpdateManyAndReturnArgs} args - Arguments to update many DiscordUserProfiles. * @example * // Update many DiscordUserProfiles * const discordUserProfile = await prisma.discordUserProfile.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more DiscordUserProfiles and only return the `id` * const discordUserProfileWithIdOnly = await prisma.discordUserProfile.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 DiscordUserProfile. * @param {DiscordUserProfileUpsertArgs} args - Arguments to update or create a DiscordUserProfile. * @example * // Update or create a DiscordUserProfile * const discordUserProfile = await prisma.discordUserProfile.upsert({ * create: { * // ... data to create a DiscordUserProfile * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the DiscordUserProfile we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordUserProfileClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of DiscordUserProfiles. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DiscordUserProfileCountArgs} args - Arguments to filter DiscordUserProfiles to count. * @example * // Count the number of DiscordUserProfiles * const count = await prisma.discordUserProfile.count({ * where: { * // ... the filter for the DiscordUserProfiles 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 DiscordUserProfile. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DiscordUserProfileAggregateArgs} 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 DiscordUserProfile. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DiscordUserProfileGroupByArgs} 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 DiscordUserProfileGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: DiscordUserProfileGroupByArgs['orderBy'] } : { orderBy?: DiscordUserProfileGroupByArgs['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 ? GetDiscordUserProfileGroupByPayload : Prisma.PrismaPromise /** * Fields of the DiscordUserProfile model */ readonly fields: DiscordUserProfileFieldRefs; } /** * The delegate class that acts as a "Promise-like" for DiscordUserProfile. * 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__DiscordUserProfileClient extends Prisma.PrismaPromise { 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(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 DiscordUserProfile model */ export interface DiscordUserProfileFieldRefs { readonly id: Prisma.FieldRef<"DiscordUserProfile", 'String'> readonly userId: Prisma.FieldRef<"DiscordUserProfile", 'String'> readonly voice: Prisma.FieldRef<"DiscordUserProfile", 'Voice'> readonly nya: Prisma.FieldRef<"DiscordUserProfile", 'Boolean'> readonly canTypecast: Prisma.FieldRef<"DiscordUserProfile", 'Boolean'> readonly userSupertonicStyle: Prisma.FieldRef<"DiscordUserProfile", 'String'> } // Custom InputTypes /** * DiscordUserProfile findUnique */ export type DiscordUserProfileFindUniqueArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * Filter, which DiscordUserProfile to fetch. */ where: Prisma.DiscordUserProfileWhereUniqueInput } /** * DiscordUserProfile findUniqueOrThrow */ export type DiscordUserProfileFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * Filter, which DiscordUserProfile to fetch. */ where: Prisma.DiscordUserProfileWhereUniqueInput } /** * DiscordUserProfile findFirst */ export type DiscordUserProfileFindFirstArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * Filter, which DiscordUserProfile to fetch. */ where?: Prisma.DiscordUserProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DiscordUserProfiles to fetch. */ orderBy?: Prisma.DiscordUserProfileOrderByWithRelationInput | Prisma.DiscordUserProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DiscordUserProfiles. */ cursor?: Prisma.DiscordUserProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DiscordUserProfiles 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` DiscordUserProfiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DiscordUserProfiles. */ distinct?: Prisma.DiscordUserProfileScalarFieldEnum | Prisma.DiscordUserProfileScalarFieldEnum[] } /** * DiscordUserProfile findFirstOrThrow */ export type DiscordUserProfileFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * Filter, which DiscordUserProfile to fetch. */ where?: Prisma.DiscordUserProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DiscordUserProfiles to fetch. */ orderBy?: Prisma.DiscordUserProfileOrderByWithRelationInput | Prisma.DiscordUserProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DiscordUserProfiles. */ cursor?: Prisma.DiscordUserProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DiscordUserProfiles 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` DiscordUserProfiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DiscordUserProfiles. */ distinct?: Prisma.DiscordUserProfileScalarFieldEnum | Prisma.DiscordUserProfileScalarFieldEnum[] } /** * DiscordUserProfile findMany */ export type DiscordUserProfileFindManyArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * Filter, which DiscordUserProfiles to fetch. */ where?: Prisma.DiscordUserProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DiscordUserProfiles to fetch. */ orderBy?: Prisma.DiscordUserProfileOrderByWithRelationInput | Prisma.DiscordUserProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing DiscordUserProfiles. */ cursor?: Prisma.DiscordUserProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DiscordUserProfiles 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` DiscordUserProfiles. */ skip?: number distinct?: Prisma.DiscordUserProfileScalarFieldEnum | Prisma.DiscordUserProfileScalarFieldEnum[] } /** * DiscordUserProfile create */ export type DiscordUserProfileCreateArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * The data needed to create a DiscordUserProfile. */ data: Prisma.XOR } /** * DiscordUserProfile createMany */ export type DiscordUserProfileCreateManyArgs = { /** * The data used to create many DiscordUserProfiles. */ data: Prisma.DiscordUserProfileCreateManyInput | Prisma.DiscordUserProfileCreateManyInput[] skipDuplicates?: boolean } /** * DiscordUserProfile createManyAndReturn */ export type DiscordUserProfileCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelectCreateManyAndReturn | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * The data used to create many DiscordUserProfiles. */ data: Prisma.DiscordUserProfileCreateManyInput | Prisma.DiscordUserProfileCreateManyInput[] skipDuplicates?: boolean } /** * DiscordUserProfile update */ export type DiscordUserProfileUpdateArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * The data needed to update a DiscordUserProfile. */ data: Prisma.XOR /** * Choose, which DiscordUserProfile to update. */ where: Prisma.DiscordUserProfileWhereUniqueInput } /** * DiscordUserProfile updateMany */ export type DiscordUserProfileUpdateManyArgs = { /** * The data used to update DiscordUserProfiles. */ data: Prisma.XOR /** * Filter which DiscordUserProfiles to update */ where?: Prisma.DiscordUserProfileWhereInput /** * Limit how many DiscordUserProfiles to update. */ limit?: number } /** * DiscordUserProfile updateManyAndReturn */ export type DiscordUserProfileUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelectUpdateManyAndReturn | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * The data used to update DiscordUserProfiles. */ data: Prisma.XOR /** * Filter which DiscordUserProfiles to update */ where?: Prisma.DiscordUserProfileWhereInput /** * Limit how many DiscordUserProfiles to update. */ limit?: number } /** * DiscordUserProfile upsert */ export type DiscordUserProfileUpsertArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * The filter to search for the DiscordUserProfile to update in case it exists. */ where: Prisma.DiscordUserProfileWhereUniqueInput /** * In case the DiscordUserProfile found by the `where` argument doesn't exist, create a new DiscordUserProfile with this data. */ create: Prisma.XOR /** * In case the DiscordUserProfile was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * DiscordUserProfile delete */ export type DiscordUserProfileDeleteArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null /** * Filter which DiscordUserProfile to delete. */ where: Prisma.DiscordUserProfileWhereUniqueInput } /** * DiscordUserProfile deleteMany */ export type DiscordUserProfileDeleteManyArgs = { /** * Filter which DiscordUserProfiles to delete */ where?: Prisma.DiscordUserProfileWhereInput /** * Limit how many DiscordUserProfiles to delete. */ limit?: number } /** * DiscordUserProfile without action */ export type DiscordUserProfileDefaultArgs = { /** * Select specific fields to fetch from the DiscordUserProfile */ select?: Prisma.DiscordUserProfileSelect | null /** * Omit specific fields from the DiscordUserProfile */ omit?: Prisma.DiscordUserProfileOmit | null }