/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `email` 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 email * */ export type emailModel = runtime.Types.Result.DefaultSelection export type AggregateEmail = { _count: EmailCountAggregateOutputType | null _avg: EmailAvgAggregateOutputType | null _sum: EmailSumAggregateOutputType | null _min: EmailMinAggregateOutputType | null _max: EmailMaxAggregateOutputType | null } export type EmailAvgAggregateOutputType = { id: number | null account_id: number | null } export type EmailSumAggregateOutputType = { id: number | null account_id: bigint | null } export type EmailMinAggregateOutputType = { id: number | null account_id: bigint | null email: string | null password: string | null } export type EmailMaxAggregateOutputType = { id: number | null account_id: bigint | null email: string | null password: string | null } export type EmailCountAggregateOutputType = { id: number account_id: number email: number password: number _all: number } export type EmailAvgAggregateInputType = { id?: true account_id?: true } export type EmailSumAggregateInputType = { id?: true account_id?: true } export type EmailMinAggregateInputType = { id?: true account_id?: true email?: true password?: true } export type EmailMaxAggregateInputType = { id?: true account_id?: true email?: true password?: true } export type EmailCountAggregateInputType = { id?: true account_id?: true email?: true password?: true _all?: true } export type EmailAggregateArgs = { /** * Filter which email to aggregate. */ where?: Prisma.emailWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of emails to fetch. */ orderBy?: Prisma.emailOrderByWithRelationInput | Prisma.emailOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.emailWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` emails 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` emails. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned emails **/ _count?: true | EmailCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: EmailAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: EmailSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: EmailMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: EmailMaxAggregateInputType } export type GetEmailAggregateType = { [P in keyof T & keyof AggregateEmail]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type emailGroupByArgs = { where?: Prisma.emailWhereInput orderBy?: Prisma.emailOrderByWithAggregationInput | Prisma.emailOrderByWithAggregationInput[] by: Prisma.EmailScalarFieldEnum[] | Prisma.EmailScalarFieldEnum having?: Prisma.emailScalarWhereWithAggregatesInput take?: number skip?: number _count?: EmailCountAggregateInputType | true _avg?: EmailAvgAggregateInputType _sum?: EmailSumAggregateInputType _min?: EmailMinAggregateInputType _max?: EmailMaxAggregateInputType } export type EmailGroupByOutputType = { id: number account_id: bigint | null email: string | null password: string | null _count: EmailCountAggregateOutputType | null _avg: EmailAvgAggregateOutputType | null _sum: EmailSumAggregateOutputType | null _min: EmailMinAggregateOutputType | null _max: EmailMaxAggregateOutputType | null } type GetEmailGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof EmailGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type emailWhereInput = { AND?: Prisma.emailWhereInput | Prisma.emailWhereInput[] OR?: Prisma.emailWhereInput[] NOT?: Prisma.emailWhereInput | Prisma.emailWhereInput[] id?: Prisma.IntFilter<"email"> | number account_id?: Prisma.BigIntNullableFilter<"email"> | bigint | number | null email?: Prisma.StringNullableFilter<"email"> | string | null password?: Prisma.StringNullableFilter<"email"> | string | null } export type emailOrderByWithRelationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrderInput | Prisma.SortOrder email?: Prisma.SortOrderInput | Prisma.SortOrder password?: Prisma.SortOrderInput | Prisma.SortOrder _relevance?: Prisma.emailOrderByRelevanceInput } export type emailWhereUniqueInput = Prisma.AtLeast<{ id?: number AND?: Prisma.emailWhereInput | Prisma.emailWhereInput[] OR?: Prisma.emailWhereInput[] NOT?: Prisma.emailWhereInput | Prisma.emailWhereInput[] account_id?: Prisma.BigIntNullableFilter<"email"> | bigint | number | null email?: Prisma.StringNullableFilter<"email"> | string | null password?: Prisma.StringNullableFilter<"email"> | string | null }, "id"> export type emailOrderByWithAggregationInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrderInput | Prisma.SortOrder email?: Prisma.SortOrderInput | Prisma.SortOrder password?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.emailCountOrderByAggregateInput _avg?: Prisma.emailAvgOrderByAggregateInput _max?: Prisma.emailMaxOrderByAggregateInput _min?: Prisma.emailMinOrderByAggregateInput _sum?: Prisma.emailSumOrderByAggregateInput } export type emailScalarWhereWithAggregatesInput = { AND?: Prisma.emailScalarWhereWithAggregatesInput | Prisma.emailScalarWhereWithAggregatesInput[] OR?: Prisma.emailScalarWhereWithAggregatesInput[] NOT?: Prisma.emailScalarWhereWithAggregatesInput | Prisma.emailScalarWhereWithAggregatesInput[] id?: Prisma.IntWithAggregatesFilter<"email"> | number account_id?: Prisma.BigIntNullableWithAggregatesFilter<"email"> | bigint | number | null email?: Prisma.StringNullableWithAggregatesFilter<"email"> | string | null password?: Prisma.StringNullableWithAggregatesFilter<"email"> | string | null } export type emailCreateInput = { account_id?: bigint | number | null email?: string | null password?: string | null } export type emailUncheckedCreateInput = { id?: number account_id?: bigint | number | null email?: string | null password?: string | null } export type emailUpdateInput = { account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type emailUncheckedUpdateInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type emailCreateManyInput = { id?: number account_id?: bigint | number | null email?: string | null password?: string | null } export type emailUpdateManyMutationInput = { account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type emailUncheckedUpdateManyInput = { id?: Prisma.IntFieldUpdateOperationsInput | number account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null password?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type emailOrderByRelevanceInput = { fields: Prisma.emailOrderByRelevanceFieldEnum | Prisma.emailOrderByRelevanceFieldEnum[] sort: Prisma.SortOrder search: string } export type emailCountOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder email?: Prisma.SortOrder password?: Prisma.SortOrder } export type emailAvgOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder } export type emailMaxOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder email?: Prisma.SortOrder password?: Prisma.SortOrder } export type emailMinOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder email?: Prisma.SortOrder password?: Prisma.SortOrder } export type emailSumOrderByAggregateInput = { id?: Prisma.SortOrder account_id?: Prisma.SortOrder } export type emailSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean account_id?: boolean email?: boolean password?: boolean }, ExtArgs["result"]["email"]> export type emailSelectScalar = { id?: boolean account_id?: boolean email?: boolean password?: boolean } export type emailOmit = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "email" | "password", ExtArgs["result"]["email"]> export type $emailPayload = { name: "email" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: number account_id: bigint | null email: string | null password: string | null }, ExtArgs["result"]["email"]> composites: {} } export type emailGetPayload = runtime.Types.Result.GetResult export type emailCountArgs = Omit & { select?: EmailCountAggregateInputType | true } export interface emailDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['email'], meta: { name: 'email' } } /** * Find zero or one Email that matches the filter. * @param {emailFindUniqueArgs} args - Arguments to find a Email * @example * // Get one Email * const email = await prisma.email.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__emailClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Email that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {emailFindUniqueOrThrowArgs} args - Arguments to find a Email * @example * // Get one Email * const email = await prisma.email.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__emailClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Email 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 {emailFindFirstArgs} args - Arguments to find a Email * @example * // Get one Email * const email = await prisma.email.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__emailClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Email 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 {emailFindFirstOrThrowArgs} args - Arguments to find a Email * @example * // Get one Email * const email = await prisma.email.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__emailClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Emails 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 {emailFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Emails * const emails = await prisma.email.findMany() * * // Get first 10 Emails * const emails = await prisma.email.findMany({ take: 10 }) * * // Only select the `id` * const emailWithIdOnly = await prisma.email.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Email. * @param {emailCreateArgs} args - Arguments to create a Email. * @example * // Create one Email * const Email = await prisma.email.create({ * data: { * // ... data to create a Email * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__emailClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Emails. * @param {emailCreateManyArgs} args - Arguments to create many Emails. * @example * // Create many Emails * const email = await prisma.email.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Delete a Email. * @param {emailDeleteArgs} args - Arguments to delete one Email. * @example * // Delete one Email * const Email = await prisma.email.delete({ * where: { * // ... filter to delete one Email * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__emailClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Email. * @param {emailUpdateArgs} args - Arguments to update one Email. * @example * // Update one Email * const email = await prisma.email.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__emailClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Emails. * @param {emailDeleteManyArgs} args - Arguments to filter Emails to delete. * @example * // Delete a few Emails * const { count } = await prisma.email.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Emails. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {emailUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Emails * const email = await prisma.email.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create or update one Email. * @param {emailUpsertArgs} args - Arguments to update or create a Email. * @example * // Update or create a Email * const email = await prisma.email.upsert({ * create: { * // ... data to create a Email * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Email we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__emailClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Emails. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {emailCountArgs} args - Arguments to filter Emails to count. * @example * // Count the number of Emails * const count = await prisma.email.count({ * where: { * // ... the filter for the Emails 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 Email. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {EmailAggregateArgs} 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 Email. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {emailGroupByArgs} 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 emailGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: emailGroupByArgs['orderBy'] } : { orderBy?: emailGroupByArgs['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 ? GetEmailGroupByPayload : Prisma.PrismaPromise /** * Fields of the email model */ readonly fields: emailFieldRefs; } /** * The delegate class that acts as a "Promise-like" for email. * 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__emailClient 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 email model */ export interface emailFieldRefs { readonly id: Prisma.FieldRef<"email", 'Int'> readonly account_id: Prisma.FieldRef<"email", 'BigInt'> readonly email: Prisma.FieldRef<"email", 'String'> readonly password: Prisma.FieldRef<"email", 'String'> } // Custom InputTypes /** * email findUnique */ export type emailFindUniqueArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null /** * Filter, which email to fetch. */ where: Prisma.emailWhereUniqueInput } /** * email findUniqueOrThrow */ export type emailFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null /** * Filter, which email to fetch. */ where: Prisma.emailWhereUniqueInput } /** * email findFirst */ export type emailFindFirstArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null /** * Filter, which email to fetch. */ where?: Prisma.emailWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of emails to fetch. */ orderBy?: Prisma.emailOrderByWithRelationInput | Prisma.emailOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for emails. */ cursor?: Prisma.emailWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` emails 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` emails. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of emails. */ distinct?: Prisma.EmailScalarFieldEnum | Prisma.EmailScalarFieldEnum[] } /** * email findFirstOrThrow */ export type emailFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null /** * Filter, which email to fetch. */ where?: Prisma.emailWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of emails to fetch. */ orderBy?: Prisma.emailOrderByWithRelationInput | Prisma.emailOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for emails. */ cursor?: Prisma.emailWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` emails 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` emails. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of emails. */ distinct?: Prisma.EmailScalarFieldEnum | Prisma.EmailScalarFieldEnum[] } /** * email findMany */ export type emailFindManyArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null /** * Filter, which emails to fetch. */ where?: Prisma.emailWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of emails to fetch. */ orderBy?: Prisma.emailOrderByWithRelationInput | Prisma.emailOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing emails. */ cursor?: Prisma.emailWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` emails 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` emails. */ skip?: number distinct?: Prisma.EmailScalarFieldEnum | Prisma.EmailScalarFieldEnum[] } /** * email create */ export type emailCreateArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null /** * The data needed to create a email. */ data?: Prisma.XOR } /** * email createMany */ export type emailCreateManyArgs = { /** * The data used to create many emails. */ data: Prisma.emailCreateManyInput | Prisma.emailCreateManyInput[] skipDuplicates?: boolean } /** * email update */ export type emailUpdateArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null /** * The data needed to update a email. */ data: Prisma.XOR /** * Choose, which email to update. */ where: Prisma.emailWhereUniqueInput } /** * email updateMany */ export type emailUpdateManyArgs = { /** * The data used to update emails. */ data: Prisma.XOR /** * Filter which emails to update */ where?: Prisma.emailWhereInput /** * Limit how many emails to update. */ limit?: number } /** * email upsert */ export type emailUpsertArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null /** * The filter to search for the email to update in case it exists. */ where: Prisma.emailWhereUniqueInput /** * In case the email found by the `where` argument doesn't exist, create a new email with this data. */ create: Prisma.XOR /** * In case the email was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * email delete */ export type emailDeleteArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null /** * Filter which email to delete. */ where: Prisma.emailWhereUniqueInput } /** * email deleteMany */ export type emailDeleteManyArgs = { /** * Filter which emails to delete */ where?: Prisma.emailWhereInput /** * Limit how many emails to delete. */ limit?: number } /** * email without action */ export type emailDefaultArgs = { /** * Select specific fields to fetch from the email */ select?: Prisma.emailSelect | null /** * Omit specific fields from the email */ omit?: Prisma.emailOmit | null }