/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `DiscordGuildProfile` 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 DiscordGuildProfile * */ export type DiscordGuildProfileModel = runtime.Types.Result.DefaultSelection export type AggregateDiscordGuildProfile = { _count: DiscordGuildProfileCountAggregateOutputType | null _min: DiscordGuildProfileMinAggregateOutputType | null _max: DiscordGuildProfileMaxAggregateOutputType | null } export type DiscordGuildProfileMinAggregateOutputType = { id: string | null guildId: string | null } export type DiscordGuildProfileMaxAggregateOutputType = { id: string | null guildId: string | null } export type DiscordGuildProfileCountAggregateOutputType = { id: number guildId: number readChannel: number _all: number } export type DiscordGuildProfileMinAggregateInputType = { id?: true guildId?: true } export type DiscordGuildProfileMaxAggregateInputType = { id?: true guildId?: true } export type DiscordGuildProfileCountAggregateInputType = { id?: true guildId?: true readChannel?: true _all?: true } export type DiscordGuildProfileAggregateArgs = { /** * Filter which DiscordGuildProfile to aggregate. */ where?: Prisma.DiscordGuildProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DiscordGuildProfiles to fetch. */ orderBy?: Prisma.DiscordGuildProfileOrderByWithRelationInput | Prisma.DiscordGuildProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.DiscordGuildProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DiscordGuildProfiles 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` DiscordGuildProfiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned DiscordGuildProfiles **/ _count?: true | DiscordGuildProfileCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: DiscordGuildProfileMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: DiscordGuildProfileMaxAggregateInputType } export type GetDiscordGuildProfileAggregateType = { [P in keyof T & keyof AggregateDiscordGuildProfile]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type DiscordGuildProfileGroupByArgs = { where?: Prisma.DiscordGuildProfileWhereInput orderBy?: Prisma.DiscordGuildProfileOrderByWithAggregationInput | Prisma.DiscordGuildProfileOrderByWithAggregationInput[] by: Prisma.DiscordGuildProfileScalarFieldEnum[] | Prisma.DiscordGuildProfileScalarFieldEnum having?: Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput take?: number skip?: number _count?: DiscordGuildProfileCountAggregateInputType | true _min?: DiscordGuildProfileMinAggregateInputType _max?: DiscordGuildProfileMaxAggregateInputType } export type DiscordGuildProfileGroupByOutputType = { id: string guildId: string readChannel: string[] _count: DiscordGuildProfileCountAggregateOutputType | null _min: DiscordGuildProfileMinAggregateOutputType | null _max: DiscordGuildProfileMaxAggregateOutputType | null } type GetDiscordGuildProfileGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof DiscordGuildProfileGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type DiscordGuildProfileWhereInput = { AND?: Prisma.DiscordGuildProfileWhereInput | Prisma.DiscordGuildProfileWhereInput[] OR?: Prisma.DiscordGuildProfileWhereInput[] NOT?: Prisma.DiscordGuildProfileWhereInput | Prisma.DiscordGuildProfileWhereInput[] id?: Prisma.StringFilter<"DiscordGuildProfile"> | string guildId?: Prisma.StringFilter<"DiscordGuildProfile"> | string readChannel?: Prisma.StringNullableListFilter<"DiscordGuildProfile"> } export type DiscordGuildProfileOrderByWithRelationInput = { id?: Prisma.SortOrder guildId?: Prisma.SortOrder readChannel?: Prisma.SortOrder } export type DiscordGuildProfileWhereUniqueInput = Prisma.AtLeast<{ id?: string guildId?: string AND?: Prisma.DiscordGuildProfileWhereInput | Prisma.DiscordGuildProfileWhereInput[] OR?: Prisma.DiscordGuildProfileWhereInput[] NOT?: Prisma.DiscordGuildProfileWhereInput | Prisma.DiscordGuildProfileWhereInput[] readChannel?: Prisma.StringNullableListFilter<"DiscordGuildProfile"> }, "id" | "guildId"> export type DiscordGuildProfileOrderByWithAggregationInput = { id?: Prisma.SortOrder guildId?: Prisma.SortOrder readChannel?: Prisma.SortOrder _count?: Prisma.DiscordGuildProfileCountOrderByAggregateInput _max?: Prisma.DiscordGuildProfileMaxOrderByAggregateInput _min?: Prisma.DiscordGuildProfileMinOrderByAggregateInput } export type DiscordGuildProfileScalarWhereWithAggregatesInput = { AND?: Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput | Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput[] OR?: Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput[] NOT?: Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput | Prisma.DiscordGuildProfileScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"DiscordGuildProfile"> | string guildId?: Prisma.StringWithAggregatesFilter<"DiscordGuildProfile"> | string readChannel?: Prisma.StringNullableListFilter<"DiscordGuildProfile"> } export type DiscordGuildProfileCreateInput = { id?: string guildId: string readChannel?: Prisma.DiscordGuildProfileCreatereadChannelInput | string[] } export type DiscordGuildProfileUncheckedCreateInput = { id?: string guildId: string readChannel?: Prisma.DiscordGuildProfileCreatereadChannelInput | string[] } export type DiscordGuildProfileUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string guildId?: Prisma.StringFieldUpdateOperationsInput | string readChannel?: Prisma.DiscordGuildProfileUpdatereadChannelInput | string[] } export type DiscordGuildProfileUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string guildId?: Prisma.StringFieldUpdateOperationsInput | string readChannel?: Prisma.DiscordGuildProfileUpdatereadChannelInput | string[] } export type DiscordGuildProfileCreateManyInput = { id?: string guildId: string readChannel?: Prisma.DiscordGuildProfileCreatereadChannelInput | string[] } export type DiscordGuildProfileUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string guildId?: Prisma.StringFieldUpdateOperationsInput | string readChannel?: Prisma.DiscordGuildProfileUpdatereadChannelInput | string[] } export type DiscordGuildProfileUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string guildId?: Prisma.StringFieldUpdateOperationsInput | string readChannel?: Prisma.DiscordGuildProfileUpdatereadChannelInput | string[] } export type StringNullableListFilter<$PrismaModel = never> = { equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> isEmpty?: boolean } export type DiscordGuildProfileCountOrderByAggregateInput = { id?: Prisma.SortOrder guildId?: Prisma.SortOrder readChannel?: Prisma.SortOrder } export type DiscordGuildProfileMaxOrderByAggregateInput = { id?: Prisma.SortOrder guildId?: Prisma.SortOrder } export type DiscordGuildProfileMinOrderByAggregateInput = { id?: Prisma.SortOrder guildId?: Prisma.SortOrder } export type DiscordGuildProfileCreatereadChannelInput = { set: string[] } export type DiscordGuildProfileUpdatereadChannelInput = { set?: string[] push?: string | string[] } export type DiscordGuildProfileSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean guildId?: boolean readChannel?: boolean }, ExtArgs["result"]["discordGuildProfile"]> export type DiscordGuildProfileSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean guildId?: boolean readChannel?: boolean }, ExtArgs["result"]["discordGuildProfile"]> export type DiscordGuildProfileSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean guildId?: boolean readChannel?: boolean }, ExtArgs["result"]["discordGuildProfile"]> export type DiscordGuildProfileSelectScalar = { id?: boolean guildId?: boolean readChannel?: boolean } export type DiscordGuildProfileOmit = runtime.Types.Extensions.GetOmit<"id" | "guildId" | "readChannel", ExtArgs["result"]["discordGuildProfile"]> export type $DiscordGuildProfilePayload = { name: "DiscordGuildProfile" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string guildId: string readChannel: string[] }, ExtArgs["result"]["discordGuildProfile"]> composites: {} } export type DiscordGuildProfileGetPayload = runtime.Types.Result.GetResult export type DiscordGuildProfileCountArgs = Omit & { select?: DiscordGuildProfileCountAggregateInputType | true } export interface DiscordGuildProfileDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['DiscordGuildProfile'], meta: { name: 'DiscordGuildProfile' } } /** * Find zero or one DiscordGuildProfile that matches the filter. * @param {DiscordGuildProfileFindUniqueArgs} args - Arguments to find a DiscordGuildProfile * @example * // Get one DiscordGuildProfile * const discordGuildProfile = await prisma.discordGuildProfile.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordGuildProfileClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one DiscordGuildProfile that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {DiscordGuildProfileFindUniqueOrThrowArgs} args - Arguments to find a DiscordGuildProfile * @example * // Get one DiscordGuildProfile * const discordGuildProfile = await prisma.discordGuildProfile.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordGuildProfileClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first DiscordGuildProfile 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 {DiscordGuildProfileFindFirstArgs} args - Arguments to find a DiscordGuildProfile * @example * // Get one DiscordGuildProfile * const discordGuildProfile = await prisma.discordGuildProfile.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__DiscordGuildProfileClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first DiscordGuildProfile 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 {DiscordGuildProfileFindFirstOrThrowArgs} args - Arguments to find a DiscordGuildProfile * @example * // Get one DiscordGuildProfile * const discordGuildProfile = await prisma.discordGuildProfile.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__DiscordGuildProfileClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more DiscordGuildProfiles 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 {DiscordGuildProfileFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all DiscordGuildProfiles * const discordGuildProfiles = await prisma.discordGuildProfile.findMany() * * // Get first 10 DiscordGuildProfiles * const discordGuildProfiles = await prisma.discordGuildProfile.findMany({ take: 10 }) * * // Only select the `id` * const discordGuildProfileWithIdOnly = await prisma.discordGuildProfile.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a DiscordGuildProfile. * @param {DiscordGuildProfileCreateArgs} args - Arguments to create a DiscordGuildProfile. * @example * // Create one DiscordGuildProfile * const DiscordGuildProfile = await prisma.discordGuildProfile.create({ * data: { * // ... data to create a DiscordGuildProfile * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordGuildProfileClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many DiscordGuildProfiles. * @param {DiscordGuildProfileCreateManyArgs} args - Arguments to create many DiscordGuildProfiles. * @example * // Create many DiscordGuildProfiles * const discordGuildProfile = await prisma.discordGuildProfile.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many DiscordGuildProfiles and returns the data saved in the database. * @param {DiscordGuildProfileCreateManyAndReturnArgs} args - Arguments to create many DiscordGuildProfiles. * @example * // Create many DiscordGuildProfiles * const discordGuildProfile = await prisma.discordGuildProfile.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many DiscordGuildProfiles and only return the `id` * const discordGuildProfileWithIdOnly = await prisma.discordGuildProfile.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 DiscordGuildProfile. * @param {DiscordGuildProfileDeleteArgs} args - Arguments to delete one DiscordGuildProfile. * @example * // Delete one DiscordGuildProfile * const DiscordGuildProfile = await prisma.discordGuildProfile.delete({ * where: { * // ... filter to delete one DiscordGuildProfile * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordGuildProfileClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one DiscordGuildProfile. * @param {DiscordGuildProfileUpdateArgs} args - Arguments to update one DiscordGuildProfile. * @example * // Update one DiscordGuildProfile * const discordGuildProfile = await prisma.discordGuildProfile.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordGuildProfileClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more DiscordGuildProfiles. * @param {DiscordGuildProfileDeleteManyArgs} args - Arguments to filter DiscordGuildProfiles to delete. * @example * // Delete a few DiscordGuildProfiles * const { count } = await prisma.discordGuildProfile.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DiscordGuildProfiles. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DiscordGuildProfileUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many DiscordGuildProfiles * const discordGuildProfile = await prisma.discordGuildProfile.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more DiscordGuildProfiles and returns the data updated in the database. * @param {DiscordGuildProfileUpdateManyAndReturnArgs} args - Arguments to update many DiscordGuildProfiles. * @example * // Update many DiscordGuildProfiles * const discordGuildProfile = await prisma.discordGuildProfile.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more DiscordGuildProfiles and only return the `id` * const discordGuildProfileWithIdOnly = await prisma.discordGuildProfile.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 DiscordGuildProfile. * @param {DiscordGuildProfileUpsertArgs} args - Arguments to update or create a DiscordGuildProfile. * @example * // Update or create a DiscordGuildProfile * const discordGuildProfile = await prisma.discordGuildProfile.upsert({ * create: { * // ... data to create a DiscordGuildProfile * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the DiscordGuildProfile we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__DiscordGuildProfileClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of DiscordGuildProfiles. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DiscordGuildProfileCountArgs} args - Arguments to filter DiscordGuildProfiles to count. * @example * // Count the number of DiscordGuildProfiles * const count = await prisma.discordGuildProfile.count({ * where: { * // ... the filter for the DiscordGuildProfiles 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 DiscordGuildProfile. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DiscordGuildProfileAggregateArgs} 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 DiscordGuildProfile. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {DiscordGuildProfileGroupByArgs} 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 DiscordGuildProfileGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: DiscordGuildProfileGroupByArgs['orderBy'] } : { orderBy?: DiscordGuildProfileGroupByArgs['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 ? GetDiscordGuildProfileGroupByPayload : Prisma.PrismaPromise /** * Fields of the DiscordGuildProfile model */ readonly fields: DiscordGuildProfileFieldRefs; } /** * The delegate class that acts as a "Promise-like" for DiscordGuildProfile. * 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__DiscordGuildProfileClient 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 DiscordGuildProfile model */ export interface DiscordGuildProfileFieldRefs { readonly id: Prisma.FieldRef<"DiscordGuildProfile", 'String'> readonly guildId: Prisma.FieldRef<"DiscordGuildProfile", 'String'> readonly readChannel: Prisma.FieldRef<"DiscordGuildProfile", 'String[]'> } // Custom InputTypes /** * DiscordGuildProfile findUnique */ export type DiscordGuildProfileFindUniqueArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * Filter, which DiscordGuildProfile to fetch. */ where: Prisma.DiscordGuildProfileWhereUniqueInput } /** * DiscordGuildProfile findUniqueOrThrow */ export type DiscordGuildProfileFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * Filter, which DiscordGuildProfile to fetch. */ where: Prisma.DiscordGuildProfileWhereUniqueInput } /** * DiscordGuildProfile findFirst */ export type DiscordGuildProfileFindFirstArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * Filter, which DiscordGuildProfile to fetch. */ where?: Prisma.DiscordGuildProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DiscordGuildProfiles to fetch. */ orderBy?: Prisma.DiscordGuildProfileOrderByWithRelationInput | Prisma.DiscordGuildProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DiscordGuildProfiles. */ cursor?: Prisma.DiscordGuildProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DiscordGuildProfiles 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` DiscordGuildProfiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DiscordGuildProfiles. */ distinct?: Prisma.DiscordGuildProfileScalarFieldEnum | Prisma.DiscordGuildProfileScalarFieldEnum[] } /** * DiscordGuildProfile findFirstOrThrow */ export type DiscordGuildProfileFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * Filter, which DiscordGuildProfile to fetch. */ where?: Prisma.DiscordGuildProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DiscordGuildProfiles to fetch. */ orderBy?: Prisma.DiscordGuildProfileOrderByWithRelationInput | Prisma.DiscordGuildProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for DiscordGuildProfiles. */ cursor?: Prisma.DiscordGuildProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DiscordGuildProfiles 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` DiscordGuildProfiles. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of DiscordGuildProfiles. */ distinct?: Prisma.DiscordGuildProfileScalarFieldEnum | Prisma.DiscordGuildProfileScalarFieldEnum[] } /** * DiscordGuildProfile findMany */ export type DiscordGuildProfileFindManyArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * Filter, which DiscordGuildProfiles to fetch. */ where?: Prisma.DiscordGuildProfileWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of DiscordGuildProfiles to fetch. */ orderBy?: Prisma.DiscordGuildProfileOrderByWithRelationInput | Prisma.DiscordGuildProfileOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing DiscordGuildProfiles. */ cursor?: Prisma.DiscordGuildProfileWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` DiscordGuildProfiles 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` DiscordGuildProfiles. */ skip?: number distinct?: Prisma.DiscordGuildProfileScalarFieldEnum | Prisma.DiscordGuildProfileScalarFieldEnum[] } /** * DiscordGuildProfile create */ export type DiscordGuildProfileCreateArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * The data needed to create a DiscordGuildProfile. */ data: Prisma.XOR } /** * DiscordGuildProfile createMany */ export type DiscordGuildProfileCreateManyArgs = { /** * The data used to create many DiscordGuildProfiles. */ data: Prisma.DiscordGuildProfileCreateManyInput | Prisma.DiscordGuildProfileCreateManyInput[] skipDuplicates?: boolean } /** * DiscordGuildProfile createManyAndReturn */ export type DiscordGuildProfileCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelectCreateManyAndReturn | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * The data used to create many DiscordGuildProfiles. */ data: Prisma.DiscordGuildProfileCreateManyInput | Prisma.DiscordGuildProfileCreateManyInput[] skipDuplicates?: boolean } /** * DiscordGuildProfile update */ export type DiscordGuildProfileUpdateArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * The data needed to update a DiscordGuildProfile. */ data: Prisma.XOR /** * Choose, which DiscordGuildProfile to update. */ where: Prisma.DiscordGuildProfileWhereUniqueInput } /** * DiscordGuildProfile updateMany */ export type DiscordGuildProfileUpdateManyArgs = { /** * The data used to update DiscordGuildProfiles. */ data: Prisma.XOR /** * Filter which DiscordGuildProfiles to update */ where?: Prisma.DiscordGuildProfileWhereInput /** * Limit how many DiscordGuildProfiles to update. */ limit?: number } /** * DiscordGuildProfile updateManyAndReturn */ export type DiscordGuildProfileUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelectUpdateManyAndReturn | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * The data used to update DiscordGuildProfiles. */ data: Prisma.XOR /** * Filter which DiscordGuildProfiles to update */ where?: Prisma.DiscordGuildProfileWhereInput /** * Limit how many DiscordGuildProfiles to update. */ limit?: number } /** * DiscordGuildProfile upsert */ export type DiscordGuildProfileUpsertArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * The filter to search for the DiscordGuildProfile to update in case it exists. */ where: Prisma.DiscordGuildProfileWhereUniqueInput /** * In case the DiscordGuildProfile found by the `where` argument doesn't exist, create a new DiscordGuildProfile with this data. */ create: Prisma.XOR /** * In case the DiscordGuildProfile was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * DiscordGuildProfile delete */ export type DiscordGuildProfileDeleteArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null /** * Filter which DiscordGuildProfile to delete. */ where: Prisma.DiscordGuildProfileWhereUniqueInput } /** * DiscordGuildProfile deleteMany */ export type DiscordGuildProfileDeleteManyArgs = { /** * Filter which DiscordGuildProfiles to delete */ where?: Prisma.DiscordGuildProfileWhereInput /** * Limit how many DiscordGuildProfiles to delete. */ limit?: number } /** * DiscordGuildProfile without action */ export type DiscordGuildProfileDefaultArgs = { /** * Select specific fields to fetch from the DiscordGuildProfile */ select?: Prisma.DiscordGuildProfileSelect | null /** * Omit specific fields from the DiscordGuildProfile */ omit?: Prisma.DiscordGuildProfileOmit | null }