import type * as runtime from "@prisma/client/runtime/client"; import type * as Prisma from "../internal/prismaNamespace.js"; /** * Model UserSettings * */ export type UserSettingsModel = runtime.Types.Result.DefaultSelection; export type AggregateUserSettings = { _count: UserSettingsCountAggregateOutputType | null; _min: UserSettingsMinAggregateOutputType | null; _max: UserSettingsMaxAggregateOutputType | null; }; export type UserSettingsMinAggregateOutputType = { id: string | null; createdAt: Date | null; updatedAt: Date | null; receivesMarketingEmails: boolean | null; canViewReports: boolean | null; userId: string | null; }; export type UserSettingsMaxAggregateOutputType = { id: string | null; createdAt: Date | null; updatedAt: Date | null; receivesMarketingEmails: boolean | null; canViewReports: boolean | null; userId: string | null; }; export type UserSettingsCountAggregateOutputType = { id: number; createdAt: number; updatedAt: number; receivesMarketingEmails: number; canViewReports: number; userId: number; _all: number; }; export type UserSettingsMinAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; receivesMarketingEmails?: true | runtime.Types.Skip; canViewReports?: true | runtime.Types.Skip; userId?: true | runtime.Types.Skip; }; export type UserSettingsMaxAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; receivesMarketingEmails?: true | runtime.Types.Skip; canViewReports?: true | runtime.Types.Skip; userId?: true | runtime.Types.Skip; }; export type UserSettingsCountAggregateInputType = { id?: true | runtime.Types.Skip; createdAt?: true | runtime.Types.Skip; updatedAt?: true | runtime.Types.Skip; receivesMarketingEmails?: true | runtime.Types.Skip; canViewReports?: true | runtime.Types.Skip; userId?: true | runtime.Types.Skip; _all?: true | runtime.Types.Skip; }; export type UserSettingsAggregateArgs = { /** * Filter which UserSettings to aggregate. */ where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserSettings to fetch. */ orderBy?: Prisma.UserSettingsOrderByWithRelationInput | Prisma.UserSettingsOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserSettings from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserSettings. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned UserSettings **/ _count?: true | UserSettingsCountAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: UserSettingsMinAggregateInputType; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: UserSettingsMaxAggregateInputType; }; export type GetUserSettingsAggregateType = { [P in keyof T & keyof AggregateUserSettings]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType; }; export type UserSettingsGroupByArgs = { where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; orderBy?: Prisma.UserSettingsOrderByWithAggregationInput | Prisma.UserSettingsOrderByWithAggregationInput[] | runtime.Types.Skip; by: Prisma.UserSettingsScalarFieldEnum[] | Prisma.UserSettingsScalarFieldEnum; having?: Prisma.UserSettingsScalarWhereWithAggregatesInput | runtime.Types.Skip; take?: number | runtime.Types.Skip; skip?: number | runtime.Types.Skip; _count?: UserSettingsCountAggregateInputType | true; _min?: UserSettingsMinAggregateInputType; _max?: UserSettingsMaxAggregateInputType; }; export type UserSettingsGroupByOutputType = { id: string; createdAt: Date; updatedAt: Date; receivesMarketingEmails: boolean; canViewReports: boolean; userId: string; _count: UserSettingsCountAggregateOutputType | null; _min: UserSettingsMinAggregateOutputType | null; _max: UserSettingsMaxAggregateOutputType | null; }; export type GetUserSettingsGroupByPayload = Prisma.PrismaPromise & { [P in ((keyof T) & (keyof UserSettingsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType; }>>; export type UserSettingsWhereInput = { AND?: Prisma.UserSettingsWhereInput | Prisma.UserSettingsWhereInput[] | runtime.Types.Skip; OR?: Prisma.UserSettingsWhereInput[] | runtime.Types.Skip; NOT?: Prisma.UserSettingsWhereInput | Prisma.UserSettingsWhereInput[] | runtime.Types.Skip; id?: Prisma.StringFilter<"UserSettings"> | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFilter<"UserSettings"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFilter<"UserSettings"> | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFilter<"UserSettings"> | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFilter<"UserSettings"> | boolean | runtime.Types.Skip; userId?: Prisma.StringFilter<"UserSettings"> | string | runtime.Types.Skip; stats?: Prisma.XOR | null | runtime.Types.Skip; user?: Prisma.XOR | runtime.Types.Skip; }; export type UserSettingsOrderByWithRelationInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; receivesMarketingEmails?: Prisma.SortOrder | runtime.Types.Skip; canViewReports?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; stats?: Prisma.UserStatsOrderByWithRelationInput | runtime.Types.Skip; user?: Prisma.UserOrderByWithRelationInput | runtime.Types.Skip; }; export type UserSettingsWhereUniqueInput = Prisma.AtLeast<{ id?: string | runtime.Types.Skip; userId?: string | runtime.Types.Skip; AND?: Prisma.UserSettingsWhereInput | Prisma.UserSettingsWhereInput[] | runtime.Types.Skip; OR?: Prisma.UserSettingsWhereInput[] | runtime.Types.Skip; NOT?: Prisma.UserSettingsWhereInput | Prisma.UserSettingsWhereInput[] | runtime.Types.Skip; createdAt?: Prisma.DateTimeFilter<"UserSettings"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFilter<"UserSettings"> | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFilter<"UserSettings"> | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFilter<"UserSettings"> | boolean | runtime.Types.Skip; stats?: Prisma.XOR | null | runtime.Types.Skip; user?: Prisma.XOR | runtime.Types.Skip; }, "id" | "userId">; export type UserSettingsOrderByWithAggregationInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; receivesMarketingEmails?: Prisma.SortOrder | runtime.Types.Skip; canViewReports?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; _count?: Prisma.UserSettingsCountOrderByAggregateInput | runtime.Types.Skip; _max?: Prisma.UserSettingsMaxOrderByAggregateInput | runtime.Types.Skip; _min?: Prisma.UserSettingsMinOrderByAggregateInput | runtime.Types.Skip; }; export type UserSettingsScalarWhereWithAggregatesInput = { AND?: Prisma.UserSettingsScalarWhereWithAggregatesInput | Prisma.UserSettingsScalarWhereWithAggregatesInput[] | runtime.Types.Skip; OR?: Prisma.UserSettingsScalarWhereWithAggregatesInput[] | runtime.Types.Skip; NOT?: Prisma.UserSettingsScalarWhereWithAggregatesInput | Prisma.UserSettingsScalarWhereWithAggregatesInput[] | runtime.Types.Skip; id?: Prisma.StringWithAggregatesFilter<"UserSettings"> | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeWithAggregatesFilter<"UserSettings"> | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeWithAggregatesFilter<"UserSettings"> | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolWithAggregatesFilter<"UserSettings"> | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolWithAggregatesFilter<"UserSettings"> | boolean | runtime.Types.Skip; userId?: Prisma.StringWithAggregatesFilter<"UserSettings"> | string | runtime.Types.Skip; }; export type UserSettingsCreateInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; stats?: Prisma.UserStatsCreateNestedOneWithoutSettingsInput | runtime.Types.Skip; user: Prisma.UserCreateNestedOneWithoutSettingsInput; }; export type UserSettingsUncheckedCreateInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; userId: string; stats?: Prisma.UserStatsUncheckedCreateNestedOneWithoutSettingsInput | runtime.Types.Skip; }; export type UserSettingsUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; stats?: Prisma.UserStatsUpdateOneWithoutSettingsNestedInput | runtime.Types.Skip; user?: Prisma.UserUpdateOneRequiredWithoutSettingsNestedInput | runtime.Types.Skip; }; export type UserSettingsUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; userId?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; stats?: Prisma.UserStatsUncheckedUpdateOneWithoutSettingsNestedInput | runtime.Types.Skip; }; export type UserSettingsCreateManyInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; userId: string; }; export type UserSettingsUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; }; export type UserSettingsUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; userId?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserSettingsNullableScalarRelationFilter = { is?: Prisma.UserSettingsWhereInput | null | runtime.Types.Skip; isNot?: Prisma.UserSettingsWhereInput | null | runtime.Types.Skip; }; export type UserSettingsCountOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; receivesMarketingEmails?: Prisma.SortOrder | runtime.Types.Skip; canViewReports?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserSettingsMaxOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; receivesMarketingEmails?: Prisma.SortOrder | runtime.Types.Skip; canViewReports?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserSettingsMinOrderByAggregateInput = { id?: Prisma.SortOrder | runtime.Types.Skip; createdAt?: Prisma.SortOrder | runtime.Types.Skip; updatedAt?: Prisma.SortOrder | runtime.Types.Skip; receivesMarketingEmails?: Prisma.SortOrder | runtime.Types.Skip; canViewReports?: Prisma.SortOrder | runtime.Types.Skip; userId?: Prisma.SortOrder | runtime.Types.Skip; }; export type UserSettingsScalarRelationFilter = { is?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; isNot?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; }; export type UserSettingsCreateNestedOneWithoutUserInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserSettingsCreateOrConnectWithoutUserInput | runtime.Types.Skip; connect?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; }; export type UserSettingsUncheckedCreateNestedOneWithoutUserInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserSettingsCreateOrConnectWithoutUserInput | runtime.Types.Skip; connect?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; }; export type UserSettingsUpdateOneWithoutUserNestedInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserSettingsCreateOrConnectWithoutUserInput | runtime.Types.Skip; upsert?: Prisma.UserSettingsUpsertWithoutUserInput | runtime.Types.Skip; disconnect?: Prisma.UserSettingsWhereInput | boolean | runtime.Types.Skip; delete?: Prisma.UserSettingsWhereInput | boolean | runtime.Types.Skip; connect?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; update?: Prisma.XOR, Prisma.UserSettingsUncheckedUpdateWithoutUserInput> | runtime.Types.Skip; }; export type UserSettingsUncheckedUpdateOneWithoutUserNestedInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserSettingsCreateOrConnectWithoutUserInput | runtime.Types.Skip; upsert?: Prisma.UserSettingsUpsertWithoutUserInput | runtime.Types.Skip; disconnect?: Prisma.UserSettingsWhereInput | boolean | runtime.Types.Skip; delete?: Prisma.UserSettingsWhereInput | boolean | runtime.Types.Skip; connect?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; update?: Prisma.XOR, Prisma.UserSettingsUncheckedUpdateWithoutUserInput> | runtime.Types.Skip; }; export type BoolFieldUpdateOperationsInput = { set?: boolean | runtime.Types.Skip; }; export type UserSettingsCreateNestedOneWithoutStatsInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserSettingsCreateOrConnectWithoutStatsInput | runtime.Types.Skip; connect?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; }; export type UserSettingsUpdateOneRequiredWithoutStatsNestedInput = { create?: Prisma.XOR | runtime.Types.Skip; connectOrCreate?: Prisma.UserSettingsCreateOrConnectWithoutStatsInput | runtime.Types.Skip; upsert?: Prisma.UserSettingsUpsertWithoutStatsInput | runtime.Types.Skip; connect?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; update?: Prisma.XOR, Prisma.UserSettingsUncheckedUpdateWithoutStatsInput> | runtime.Types.Skip; }; export type UserSettingsCreateWithoutUserInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; stats?: Prisma.UserStatsCreateNestedOneWithoutSettingsInput | runtime.Types.Skip; }; export type UserSettingsUncheckedCreateWithoutUserInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; stats?: Prisma.UserStatsUncheckedCreateNestedOneWithoutSettingsInput | runtime.Types.Skip; }; export type UserSettingsCreateOrConnectWithoutUserInput = { where: Prisma.UserSettingsWhereUniqueInput; create: Prisma.XOR; }; export type UserSettingsUpsertWithoutUserInput = { update: Prisma.XOR; create: Prisma.XOR; where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; }; export type UserSettingsUpdateToOneWithWhereWithoutUserInput = { where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; data: Prisma.XOR; }; export type UserSettingsUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; stats?: Prisma.UserStatsUpdateOneWithoutSettingsNestedInput | runtime.Types.Skip; }; export type UserSettingsUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; stats?: Prisma.UserStatsUncheckedUpdateOneWithoutSettingsNestedInput | runtime.Types.Skip; }; export type UserSettingsCreateWithoutStatsInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; user: Prisma.UserCreateNestedOneWithoutSettingsInput; }; export type UserSettingsUncheckedCreateWithoutStatsInput = { id?: string | runtime.Types.Skip; createdAt?: Date | string | runtime.Types.Skip; updatedAt?: Date | string | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; userId: string; }; export type UserSettingsCreateOrConnectWithoutStatsInput = { where: Prisma.UserSettingsWhereUniqueInput; create: Prisma.XOR; }; export type UserSettingsUpsertWithoutStatsInput = { update: Prisma.XOR; create: Prisma.XOR; where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; }; export type UserSettingsUpdateToOneWithWhereWithoutStatsInput = { where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; data: Prisma.XOR; }; export type UserSettingsUpdateWithoutStatsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; user?: Prisma.UserUpdateOneRequiredWithoutSettingsNestedInput | runtime.Types.Skip; }; export type UserSettingsUncheckedUpdateWithoutStatsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string | runtime.Types.Skip; receivesMarketingEmails?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; canViewReports?: Prisma.BoolFieldUpdateOperationsInput | boolean | runtime.Types.Skip; userId?: Prisma.StringFieldUpdateOperationsInput | string | runtime.Types.Skip; }; export type UserSettingsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; userId?: boolean | runtime.Types.Skip; stats?: boolean | Prisma.UserSettings$statsArgs | runtime.Types.Skip; user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }, ExtArgs["result"]["userSettings"]>; export type UserSettingsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; userId?: boolean | runtime.Types.Skip; user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }, ExtArgs["result"]["userSettings"]>; export type UserSettingsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; userId?: boolean | runtime.Types.Skip; user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }, ExtArgs["result"]["userSettings"]>; export type UserSettingsSelectScalar = { id?: boolean | runtime.Types.Skip; createdAt?: boolean | runtime.Types.Skip; updatedAt?: boolean | runtime.Types.Skip; receivesMarketingEmails?: boolean | runtime.Types.Skip; canViewReports?: boolean | runtime.Types.Skip; userId?: boolean | runtime.Types.Skip; }; export type UserSettingsOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "receivesMarketingEmails" | "canViewReports" | "userId", ExtArgs["result"]["userSettings"], runtime.Types.Skip>; export type UserSettingsInclude = { stats?: boolean | Prisma.UserSettings$statsArgs | runtime.Types.Skip; user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }; export type UserSettingsIncludeCreateManyAndReturn = { user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }; export type UserSettingsIncludeUpdateManyAndReturn = { user?: boolean | Prisma.UserDefaultArgs | runtime.Types.Skip; }; export type $UserSettingsPayload = { name: "UserSettings"; objects: { stats: Prisma.$UserStatsPayload | null; user: Prisma.$UserPayload; }; scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string; createdAt: Date; updatedAt: Date; receivesMarketingEmails: boolean; canViewReports: boolean; userId: string; }, ExtArgs["result"]["userSettings"]>; composites: {}; }; export type UserSettingsGetPayload = runtime.Types.Result.GetResult; export type UserSettingsCountArgs = Omit & { select?: UserSettingsCountAggregateInputType | true; }; export interface UserSettingsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['UserSettings']; meta: { name: 'UserSettings'; }; }; /** * Find zero or one UserSettings that matches the filter. * @param {UserSettingsFindUniqueArgs} args - Arguments to find a UserSettings * @example * // Get one UserSettings * const userSettings = await prisma.userSettings.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__UserSettingsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find one UserSettings that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {UserSettingsFindUniqueOrThrowArgs} args - Arguments to find a UserSettings * @example * // Get one UserSettings * const userSettings = await prisma.userSettings.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__UserSettingsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find the first UserSettings 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 {UserSettingsFindFirstArgs} args - Arguments to find a UserSettings * @example * // Get one UserSettings * const userSettings = await prisma.userSettings.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__UserSettingsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; /** * Find the first UserSettings 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 {UserSettingsFindFirstOrThrowArgs} args - Arguments to find a UserSettings * @example * // Get one UserSettings * const userSettings = await prisma.userSettings.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__UserSettingsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Find zero or more UserSettings 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 {UserSettingsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all UserSettings * const userSettings = await prisma.userSettings.findMany() * * // Get first 10 UserSettings * const userSettings = await prisma.userSettings.findMany({ take: 10 }) * * // Only select the `id` * const userSettingsWithIdOnly = await prisma.userSettings.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>>; /** * Create a UserSettings. * @param {UserSettingsCreateArgs} args - Arguments to create a UserSettings. * @example * // Create one UserSettings * const UserSettings = await prisma.userSettings.create({ * data: { * // ... data to create a UserSettings * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__UserSettingsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Create many UserSettings. * @param {UserSettingsCreateManyArgs} args - Arguments to create many UserSettings. * @example * // Create many UserSettings * const userSettings = await prisma.userSettings.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Create many UserSettings and returns the data saved in the database. * @param {UserSettingsCreateManyAndReturnArgs} args - Arguments to create many UserSettings. * @example * // Create many UserSettings * const userSettings = await prisma.userSettings.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many UserSettings and only return the `id` * const userSettingsWithIdOnly = await prisma.userSettings.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 UserSettings. * @param {UserSettingsDeleteArgs} args - Arguments to delete one UserSettings. * @example * // Delete one UserSettings * const UserSettings = await prisma.userSettings.delete({ * where: { * // ... filter to delete one UserSettings * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__UserSettingsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Update one UserSettings. * @param {UserSettingsUpdateArgs} args - Arguments to update one UserSettings. * @example * // Update one UserSettings * const userSettings = await prisma.userSettings.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__UserSettingsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Delete zero or more UserSettings. * @param {UserSettingsDeleteManyArgs} args - Arguments to filter UserSettings to delete. * @example * // Delete a few UserSettings * const { count } = await prisma.userSettings.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more UserSettings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserSettingsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many UserSettings * const userSettings = await prisma.userSettings.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise; /** * Update zero or more UserSettings and returns the data updated in the database. * @param {UserSettingsUpdateManyAndReturnArgs} args - Arguments to update many UserSettings. * @example * // Update many UserSettings * const userSettings = await prisma.userSettings.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more UserSettings and only return the `id` * const userSettingsWithIdOnly = await prisma.userSettings.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 UserSettings. * @param {UserSettingsUpsertArgs} args - Arguments to update or create a UserSettings. * @example * // Update or create a UserSettings * const userSettings = await prisma.userSettings.upsert({ * create: { * // ... data to create a UserSettings * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the UserSettings we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__UserSettingsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>; /** * Count the number of UserSettings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserSettingsCountArgs} args - Arguments to filter UserSettings to count. * @example * // Count the number of UserSettings * const count = await prisma.userSettings.count({ * where: { * // ... the filter for the UserSettings we want to count * } * }) **/ count(args?: Prisma.Subset): Prisma.PrismaPromise ? T['select'] extends true ? number : Prisma.GetScalarType : number>; /** * Allows you to perform aggregations operations on a UserSettings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserSettingsAggregateArgs} 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 UserSettings. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {UserSettingsGroupByArgs} 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>, Prisma.Extends<'take', Prisma.Keys>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: UserSettingsGroupByArgs['orderBy']; } : { orderBy?: UserSettingsGroupByArgs['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 ? GetUserSettingsGroupByPayload : Prisma.PrismaPromise; /** * Fields of the UserSettings model */ readonly fields: UserSettingsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for UserSettings. * 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__UserSettingsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise"; stats = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserStatsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>; user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>; /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise; /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise; /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise; } /** * Fields of the UserSettings model */ export interface UserSettingsFieldRefs { readonly id: Prisma.FieldRef<"UserSettings", 'String'>; readonly createdAt: Prisma.FieldRef<"UserSettings", 'DateTime'>; readonly updatedAt: Prisma.FieldRef<"UserSettings", 'DateTime'>; readonly receivesMarketingEmails: Prisma.FieldRef<"UserSettings", 'Boolean'>; readonly canViewReports: Prisma.FieldRef<"UserSettings", 'Boolean'>; readonly userId: Prisma.FieldRef<"UserSettings", 'String'>; } /** * UserSettings findUnique */ export type UserSettingsFindUniqueArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; /** * Filter, which UserSettings to fetch. */ where: Prisma.UserSettingsWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserSettings findUniqueOrThrow */ export type UserSettingsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; /** * Filter, which UserSettings to fetch. */ where: Prisma.UserSettingsWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserSettings findFirst */ export type UserSettingsFindFirstArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; /** * Filter, which UserSettings to fetch. */ where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserSettings to fetch. */ orderBy?: Prisma.UserSettingsOrderByWithRelationInput | Prisma.UserSettingsOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserSettings. */ cursor?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserSettings from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserSettings. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserSettings. */ distinct?: Prisma.UserSettingsScalarFieldEnum | Prisma.UserSettingsScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserSettings findFirstOrThrow */ export type UserSettingsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; /** * Filter, which UserSettings to fetch. */ where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserSettings to fetch. */ orderBy?: Prisma.UserSettingsOrderByWithRelationInput | Prisma.UserSettingsOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for UserSettings. */ cursor?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserSettings from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserSettings. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserSettings. */ distinct?: Prisma.UserSettingsScalarFieldEnum | Prisma.UserSettingsScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserSettings findMany */ export type UserSettingsFindManyArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; /** * Filter, which UserSettings to fetch. */ where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of UserSettings to fetch. */ orderBy?: Prisma.UserSettingsOrderByWithRelationInput | Prisma.UserSettingsOrderByWithRelationInput[] | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing UserSettings. */ cursor?: Prisma.UserSettingsWhereUniqueInput | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` UserSettings from the position of the cursor. */ take?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Skip the first `n` UserSettings. */ skip?: number | runtime.Types.Skip; /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of UserSettings. */ distinct?: Prisma.UserSettingsScalarFieldEnum | Prisma.UserSettingsScalarFieldEnum[] | runtime.Types.Skip; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserSettings create */ export type UserSettingsCreateArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; /** * The data needed to create a UserSettings. */ data: Prisma.XOR; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserSettings createMany */ export type UserSettingsCreateManyArgs = { /** * The data used to create many UserSettings. */ data: Prisma.UserSettingsCreateManyInput | Prisma.UserSettingsCreateManyInput[]; skipDuplicates?: boolean | runtime.Types.Skip; }; /** * UserSettings createManyAndReturn */ export type UserSettingsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelectCreateManyAndReturn | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * The data used to create many UserSettings. */ data: Prisma.UserSettingsCreateManyInput | Prisma.UserSettingsCreateManyInput[]; skipDuplicates?: boolean | runtime.Types.Skip; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsIncludeCreateManyAndReturn | null; }; /** * UserSettings update */ export type UserSettingsUpdateArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; /** * The data needed to update a UserSettings. */ data: Prisma.XOR; /** * Choose, which UserSettings to update. */ where: Prisma.UserSettingsWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserSettings updateMany */ export type UserSettingsUpdateManyArgs = { /** * The data used to update UserSettings. */ data: Prisma.XOR; /** * Filter which UserSettings to update */ where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; /** * Limit how many UserSettings to update. */ limit?: number | runtime.Types.Skip; }; /** * UserSettings updateManyAndReturn */ export type UserSettingsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelectUpdateManyAndReturn | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * The data used to update UserSettings. */ data: Prisma.XOR; /** * Filter which UserSettings to update */ where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; /** * Limit how many UserSettings to update. */ limit?: number | runtime.Types.Skip; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsIncludeUpdateManyAndReturn | null; }; /** * UserSettings upsert */ export type UserSettingsUpsertArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; /** * The filter to search for the UserSettings to update in case it exists. */ where: Prisma.UserSettingsWhereUniqueInput; /** * In case the UserSettings found by the `where` argument doesn't exist, create a new UserSettings with this data. */ create: Prisma.XOR; /** * In case the UserSettings was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserSettings delete */ export type UserSettingsDeleteArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; /** * Filter which UserSettings to delete. */ where: Prisma.UserSettingsWhereUniqueInput; relationLoadStrategy?: Prisma.RelationLoadStrategy | runtime.Types.Skip; }; /** * UserSettings deleteMany */ export type UserSettingsDeleteManyArgs = { /** * Filter which UserSettings to delete */ where?: Prisma.UserSettingsWhereInput | runtime.Types.Skip; /** * Limit how many UserSettings to delete. */ limit?: number | runtime.Types.Skip; }; /** * UserSettings.stats */ export type UserSettings$statsArgs = { /** * Select specific fields to fetch from the UserStats */ select?: Prisma.UserStatsSelect | null; /** * Omit specific fields from the UserStats */ omit?: Prisma.UserStatsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserStatsInclude | null; where?: Prisma.UserStatsWhereInput | runtime.Types.Skip; }; /** * UserSettings without action */ export type UserSettingsDefaultArgs = { /** * Select specific fields to fetch from the UserSettings */ select?: Prisma.UserSettingsSelect | null; /** * Omit specific fields from the UserSettings */ omit?: Prisma.UserSettingsOmit | null; /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserSettingsInclude | null; };