/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `KnowledgeBaseViews` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model KnowledgeBaseViews * */ export type KnowledgeBaseViewsModel = runtime.Types.Result.DefaultSelection export type AggregateKnowledgeBaseViews = { _count: KnowledgeBaseViewsCountAggregateOutputType | null _min: KnowledgeBaseViewsMinAggregateOutputType | null _max: KnowledgeBaseViewsMaxAggregateOutputType | null } export type KnowledgeBaseViewsMinAggregateOutputType = { id: string | null createdAt: Date | null knowledgeBaseId: string | null userAnalyticsId: string | null } export type KnowledgeBaseViewsMaxAggregateOutputType = { id: string | null createdAt: Date | null knowledgeBaseId: string | null userAnalyticsId: string | null } export type KnowledgeBaseViewsCountAggregateOutputType = { id: number createdAt: number knowledgeBaseId: number userAnalyticsId: number _all: number } export type KnowledgeBaseViewsMinAggregateInputType = { id?: true createdAt?: true knowledgeBaseId?: true userAnalyticsId?: true } export type KnowledgeBaseViewsMaxAggregateInputType = { id?: true createdAt?: true knowledgeBaseId?: true userAnalyticsId?: true } export type KnowledgeBaseViewsCountAggregateInputType = { id?: true createdAt?: true knowledgeBaseId?: true userAnalyticsId?: true _all?: true } export type KnowledgeBaseViewsAggregateArgs = { /** * Filter which KnowledgeBaseViews to aggregate. */ where?: Prisma.KnowledgeBaseViewsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of KnowledgeBaseViews to fetch. */ orderBy?: Prisma.KnowledgeBaseViewsOrderByWithRelationInput | Prisma.KnowledgeBaseViewsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.KnowledgeBaseViewsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` KnowledgeBaseViews 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` KnowledgeBaseViews. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned KnowledgeBaseViews **/ _count?: true | KnowledgeBaseViewsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: KnowledgeBaseViewsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: KnowledgeBaseViewsMaxAggregateInputType } export type GetKnowledgeBaseViewsAggregateType = { [P in keyof T & keyof AggregateKnowledgeBaseViews]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type KnowledgeBaseViewsGroupByArgs = { where?: Prisma.KnowledgeBaseViewsWhereInput orderBy?: Prisma.KnowledgeBaseViewsOrderByWithAggregationInput | Prisma.KnowledgeBaseViewsOrderByWithAggregationInput[] by: Prisma.KnowledgeBaseViewsScalarFieldEnum[] | Prisma.KnowledgeBaseViewsScalarFieldEnum having?: Prisma.KnowledgeBaseViewsScalarWhereWithAggregatesInput take?: number skip?: number _count?: KnowledgeBaseViewsCountAggregateInputType | true _min?: KnowledgeBaseViewsMinAggregateInputType _max?: KnowledgeBaseViewsMaxAggregateInputType } export type KnowledgeBaseViewsGroupByOutputType = { id: string createdAt: Date knowledgeBaseId: string userAnalyticsId: string _count: KnowledgeBaseViewsCountAggregateOutputType | null _min: KnowledgeBaseViewsMinAggregateOutputType | null _max: KnowledgeBaseViewsMaxAggregateOutputType | null } export type GetKnowledgeBaseViewsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof KnowledgeBaseViewsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type KnowledgeBaseViewsWhereInput = { AND?: Prisma.KnowledgeBaseViewsWhereInput | Prisma.KnowledgeBaseViewsWhereInput[] OR?: Prisma.KnowledgeBaseViewsWhereInput[] NOT?: Prisma.KnowledgeBaseViewsWhereInput | Prisma.KnowledgeBaseViewsWhereInput[] id?: Prisma.StringFilter<"KnowledgeBaseViews"> | string createdAt?: Prisma.DateTimeFilter<"KnowledgeBaseViews"> | Date | string knowledgeBaseId?: Prisma.StringFilter<"KnowledgeBaseViews"> | string userAnalyticsId?: Prisma.StringFilter<"KnowledgeBaseViews"> | string knowledgeBase?: Prisma.XOR } export type KnowledgeBaseViewsOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder knowledgeBaseId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder knowledgeBase?: Prisma.KnowledgeBaseOrderByWithRelationInput } export type KnowledgeBaseViewsWhereUniqueInput = Prisma.AtLeast<{ id?: string knowledgeBaseId_userAnalyticsId?: Prisma.KnowledgeBaseViewsKnowledgeBaseIdUserAnalyticsIdCompoundUniqueInput AND?: Prisma.KnowledgeBaseViewsWhereInput | Prisma.KnowledgeBaseViewsWhereInput[] OR?: Prisma.KnowledgeBaseViewsWhereInput[] NOT?: Prisma.KnowledgeBaseViewsWhereInput | Prisma.KnowledgeBaseViewsWhereInput[] createdAt?: Prisma.DateTimeFilter<"KnowledgeBaseViews"> | Date | string knowledgeBaseId?: Prisma.StringFilter<"KnowledgeBaseViews"> | string userAnalyticsId?: Prisma.StringFilter<"KnowledgeBaseViews"> | string knowledgeBase?: Prisma.XOR }, "id" | "knowledgeBaseId_userAnalyticsId"> export type KnowledgeBaseViewsOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder knowledgeBaseId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder _count?: Prisma.KnowledgeBaseViewsCountOrderByAggregateInput _max?: Prisma.KnowledgeBaseViewsMaxOrderByAggregateInput _min?: Prisma.KnowledgeBaseViewsMinOrderByAggregateInput } export type KnowledgeBaseViewsScalarWhereWithAggregatesInput = { AND?: Prisma.KnowledgeBaseViewsScalarWhereWithAggregatesInput | Prisma.KnowledgeBaseViewsScalarWhereWithAggregatesInput[] OR?: Prisma.KnowledgeBaseViewsScalarWhereWithAggregatesInput[] NOT?: Prisma.KnowledgeBaseViewsScalarWhereWithAggregatesInput | Prisma.KnowledgeBaseViewsScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"KnowledgeBaseViews"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"KnowledgeBaseViews"> | Date | string knowledgeBaseId?: Prisma.StringWithAggregatesFilter<"KnowledgeBaseViews"> | string userAnalyticsId?: Prisma.StringWithAggregatesFilter<"KnowledgeBaseViews"> | string } export type KnowledgeBaseViewsCreateInput = { id?: string createdAt?: Date | string userAnalyticsId: string knowledgeBase: Prisma.KnowledgeBaseCreateNestedOneWithoutViewsInput } export type KnowledgeBaseViewsUncheckedCreateInput = { id?: string createdAt?: Date | string knowledgeBaseId: string userAnalyticsId: string } export type KnowledgeBaseViewsUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string knowledgeBase?: Prisma.KnowledgeBaseUpdateOneRequiredWithoutViewsNestedInput } export type KnowledgeBaseViewsUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string knowledgeBaseId?: Prisma.StringFieldUpdateOperationsInput | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseViewsCreateManyInput = { id?: string createdAt?: Date | string knowledgeBaseId: string userAnalyticsId: string } export type KnowledgeBaseViewsUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseViewsUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string knowledgeBaseId?: Prisma.StringFieldUpdateOperationsInput | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseViewsListRelationFilter = { every?: Prisma.KnowledgeBaseViewsWhereInput some?: Prisma.KnowledgeBaseViewsWhereInput none?: Prisma.KnowledgeBaseViewsWhereInput } export type KnowledgeBaseViewsOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type KnowledgeBaseViewsKnowledgeBaseIdUserAnalyticsIdCompoundUniqueInput = { knowledgeBaseId: string userAnalyticsId: string } export type KnowledgeBaseViewsCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder knowledgeBaseId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder } export type KnowledgeBaseViewsMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder knowledgeBaseId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder } export type KnowledgeBaseViewsMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder knowledgeBaseId?: Prisma.SortOrder userAnalyticsId?: Prisma.SortOrder } export type KnowledgeBaseViewsCreateNestedManyWithoutKnowledgeBaseInput = { create?: Prisma.XOR | Prisma.KnowledgeBaseViewsCreateWithoutKnowledgeBaseInput[] | Prisma.KnowledgeBaseViewsUncheckedCreateWithoutKnowledgeBaseInput[] connectOrCreate?: Prisma.KnowledgeBaseViewsCreateOrConnectWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsCreateOrConnectWithoutKnowledgeBaseInput[] createMany?: Prisma.KnowledgeBaseViewsCreateManyKnowledgeBaseInputEnvelope connect?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] } export type KnowledgeBaseViewsUncheckedCreateNestedManyWithoutKnowledgeBaseInput = { create?: Prisma.XOR | Prisma.KnowledgeBaseViewsCreateWithoutKnowledgeBaseInput[] | Prisma.KnowledgeBaseViewsUncheckedCreateWithoutKnowledgeBaseInput[] connectOrCreate?: Prisma.KnowledgeBaseViewsCreateOrConnectWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsCreateOrConnectWithoutKnowledgeBaseInput[] createMany?: Prisma.KnowledgeBaseViewsCreateManyKnowledgeBaseInputEnvelope connect?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] } export type KnowledgeBaseViewsUpdateManyWithoutKnowledgeBaseNestedInput = { create?: Prisma.XOR | Prisma.KnowledgeBaseViewsCreateWithoutKnowledgeBaseInput[] | Prisma.KnowledgeBaseViewsUncheckedCreateWithoutKnowledgeBaseInput[] connectOrCreate?: Prisma.KnowledgeBaseViewsCreateOrConnectWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsCreateOrConnectWithoutKnowledgeBaseInput[] upsert?: Prisma.KnowledgeBaseViewsUpsertWithWhereUniqueWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsUpsertWithWhereUniqueWithoutKnowledgeBaseInput[] createMany?: Prisma.KnowledgeBaseViewsCreateManyKnowledgeBaseInputEnvelope set?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] disconnect?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] delete?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] connect?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] update?: Prisma.KnowledgeBaseViewsUpdateWithWhereUniqueWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsUpdateWithWhereUniqueWithoutKnowledgeBaseInput[] updateMany?: Prisma.KnowledgeBaseViewsUpdateManyWithWhereWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsUpdateManyWithWhereWithoutKnowledgeBaseInput[] deleteMany?: Prisma.KnowledgeBaseViewsScalarWhereInput | Prisma.KnowledgeBaseViewsScalarWhereInput[] } export type KnowledgeBaseViewsUncheckedUpdateManyWithoutKnowledgeBaseNestedInput = { create?: Prisma.XOR | Prisma.KnowledgeBaseViewsCreateWithoutKnowledgeBaseInput[] | Prisma.KnowledgeBaseViewsUncheckedCreateWithoutKnowledgeBaseInput[] connectOrCreate?: Prisma.KnowledgeBaseViewsCreateOrConnectWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsCreateOrConnectWithoutKnowledgeBaseInput[] upsert?: Prisma.KnowledgeBaseViewsUpsertWithWhereUniqueWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsUpsertWithWhereUniqueWithoutKnowledgeBaseInput[] createMany?: Prisma.KnowledgeBaseViewsCreateManyKnowledgeBaseInputEnvelope set?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] disconnect?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] delete?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] connect?: Prisma.KnowledgeBaseViewsWhereUniqueInput | Prisma.KnowledgeBaseViewsWhereUniqueInput[] update?: Prisma.KnowledgeBaseViewsUpdateWithWhereUniqueWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsUpdateWithWhereUniqueWithoutKnowledgeBaseInput[] updateMany?: Prisma.KnowledgeBaseViewsUpdateManyWithWhereWithoutKnowledgeBaseInput | Prisma.KnowledgeBaseViewsUpdateManyWithWhereWithoutKnowledgeBaseInput[] deleteMany?: Prisma.KnowledgeBaseViewsScalarWhereInput | Prisma.KnowledgeBaseViewsScalarWhereInput[] } export type KnowledgeBaseViewsCreateWithoutKnowledgeBaseInput = { id?: string createdAt?: Date | string userAnalyticsId: string } export type KnowledgeBaseViewsUncheckedCreateWithoutKnowledgeBaseInput = { id?: string createdAt?: Date | string userAnalyticsId: string } export type KnowledgeBaseViewsCreateOrConnectWithoutKnowledgeBaseInput = { where: Prisma.KnowledgeBaseViewsWhereUniqueInput create: Prisma.XOR } export type KnowledgeBaseViewsCreateManyKnowledgeBaseInputEnvelope = { data: Prisma.KnowledgeBaseViewsCreateManyKnowledgeBaseInput | Prisma.KnowledgeBaseViewsCreateManyKnowledgeBaseInput[] skipDuplicates?: boolean } export type KnowledgeBaseViewsUpsertWithWhereUniqueWithoutKnowledgeBaseInput = { where: Prisma.KnowledgeBaseViewsWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type KnowledgeBaseViewsUpdateWithWhereUniqueWithoutKnowledgeBaseInput = { where: Prisma.KnowledgeBaseViewsWhereUniqueInput data: Prisma.XOR } export type KnowledgeBaseViewsUpdateManyWithWhereWithoutKnowledgeBaseInput = { where: Prisma.KnowledgeBaseViewsScalarWhereInput data: Prisma.XOR } export type KnowledgeBaseViewsScalarWhereInput = { AND?: Prisma.KnowledgeBaseViewsScalarWhereInput | Prisma.KnowledgeBaseViewsScalarWhereInput[] OR?: Prisma.KnowledgeBaseViewsScalarWhereInput[] NOT?: Prisma.KnowledgeBaseViewsScalarWhereInput | Prisma.KnowledgeBaseViewsScalarWhereInput[] id?: Prisma.StringFilter<"KnowledgeBaseViews"> | string createdAt?: Prisma.DateTimeFilter<"KnowledgeBaseViews"> | Date | string knowledgeBaseId?: Prisma.StringFilter<"KnowledgeBaseViews"> | string userAnalyticsId?: Prisma.StringFilter<"KnowledgeBaseViews"> | string } export type KnowledgeBaseViewsCreateManyKnowledgeBaseInput = { id?: string createdAt?: Date | string userAnalyticsId: string } export type KnowledgeBaseViewsUpdateWithoutKnowledgeBaseInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseViewsUncheckedUpdateWithoutKnowledgeBaseInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseViewsUncheckedUpdateManyWithoutKnowledgeBaseInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string userAnalyticsId?: Prisma.StringFieldUpdateOperationsInput | string } export type KnowledgeBaseViewsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean knowledgeBaseId?: boolean userAnalyticsId?: boolean knowledgeBase?: boolean | Prisma.KnowledgeBaseDefaultArgs }, ExtArgs["result"]["knowledgeBaseViews"]> export type KnowledgeBaseViewsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean knowledgeBaseId?: boolean userAnalyticsId?: boolean knowledgeBase?: boolean | Prisma.KnowledgeBaseDefaultArgs }, ExtArgs["result"]["knowledgeBaseViews"]> export type KnowledgeBaseViewsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean knowledgeBaseId?: boolean userAnalyticsId?: boolean knowledgeBase?: boolean | Prisma.KnowledgeBaseDefaultArgs }, ExtArgs["result"]["knowledgeBaseViews"]> export type KnowledgeBaseViewsSelectScalar = { id?: boolean createdAt?: boolean knowledgeBaseId?: boolean userAnalyticsId?: boolean } export type KnowledgeBaseViewsOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "knowledgeBaseId" | "userAnalyticsId", ExtArgs["result"]["knowledgeBaseViews"]> export type KnowledgeBaseViewsInclude = { knowledgeBase?: boolean | Prisma.KnowledgeBaseDefaultArgs } export type KnowledgeBaseViewsIncludeCreateManyAndReturn = { knowledgeBase?: boolean | Prisma.KnowledgeBaseDefaultArgs } export type KnowledgeBaseViewsIncludeUpdateManyAndReturn = { knowledgeBase?: boolean | Prisma.KnowledgeBaseDefaultArgs } export type $KnowledgeBaseViewsPayload = { name: "KnowledgeBaseViews" objects: { knowledgeBase: Prisma.$KnowledgeBasePayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date knowledgeBaseId: string userAnalyticsId: string }, ExtArgs["result"]["knowledgeBaseViews"]> composites: {} } export type KnowledgeBaseViewsGetPayload = runtime.Types.Result.GetResult export type KnowledgeBaseViewsCountArgs = Omit & { select?: KnowledgeBaseViewsCountAggregateInputType | true } export interface KnowledgeBaseViewsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['KnowledgeBaseViews'], meta: { name: 'KnowledgeBaseViews' } } /** * Find zero or one KnowledgeBaseViews that matches the filter. * @param {KnowledgeBaseViewsFindUniqueArgs} args - Arguments to find a KnowledgeBaseViews * @example * // Get one KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseViewsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one KnowledgeBaseViews that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {KnowledgeBaseViewsFindUniqueOrThrowArgs} args - Arguments to find a KnowledgeBaseViews * @example * // Get one KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseViewsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first KnowledgeBaseViews 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 {KnowledgeBaseViewsFindFirstArgs} args - Arguments to find a KnowledgeBaseViews * @example * // Get one KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseViewsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first KnowledgeBaseViews 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 {KnowledgeBaseViewsFindFirstOrThrowArgs} args - Arguments to find a KnowledgeBaseViews * @example * // Get one KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseViewsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more KnowledgeBaseViews 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 {KnowledgeBaseViewsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.findMany() * * // Get first 10 KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.findMany({ take: 10 }) * * // Only select the `id` * const knowledgeBaseViewsWithIdOnly = await prisma.knowledgeBaseViews.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a KnowledgeBaseViews. * @param {KnowledgeBaseViewsCreateArgs} args - Arguments to create a KnowledgeBaseViews. * @example * // Create one KnowledgeBaseViews * const KnowledgeBaseViews = await prisma.knowledgeBaseViews.create({ * data: { * // ... data to create a KnowledgeBaseViews * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseViewsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many KnowledgeBaseViews. * @param {KnowledgeBaseViewsCreateManyArgs} args - Arguments to create many KnowledgeBaseViews. * @example * // Create many KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many KnowledgeBaseViews and returns the data saved in the database. * @param {KnowledgeBaseViewsCreateManyAndReturnArgs} args - Arguments to create many KnowledgeBaseViews. * @example * // Create many KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many KnowledgeBaseViews and only return the `id` * const knowledgeBaseViewsWithIdOnly = await prisma.knowledgeBaseViews.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 KnowledgeBaseViews. * @param {KnowledgeBaseViewsDeleteArgs} args - Arguments to delete one KnowledgeBaseViews. * @example * // Delete one KnowledgeBaseViews * const KnowledgeBaseViews = await prisma.knowledgeBaseViews.delete({ * where: { * // ... filter to delete one KnowledgeBaseViews * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseViewsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one KnowledgeBaseViews. * @param {KnowledgeBaseViewsUpdateArgs} args - Arguments to update one KnowledgeBaseViews. * @example * // Update one KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseViewsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more KnowledgeBaseViews. * @param {KnowledgeBaseViewsDeleteManyArgs} args - Arguments to filter KnowledgeBaseViews to delete. * @example * // Delete a few KnowledgeBaseViews * const { count } = await prisma.knowledgeBaseViews.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more KnowledgeBaseViews. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {KnowledgeBaseViewsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more KnowledgeBaseViews and returns the data updated in the database. * @param {KnowledgeBaseViewsUpdateManyAndReturnArgs} args - Arguments to update many KnowledgeBaseViews. * @example * // Update many KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more KnowledgeBaseViews and only return the `id` * const knowledgeBaseViewsWithIdOnly = await prisma.knowledgeBaseViews.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 KnowledgeBaseViews. * @param {KnowledgeBaseViewsUpsertArgs} args - Arguments to update or create a KnowledgeBaseViews. * @example * // Update or create a KnowledgeBaseViews * const knowledgeBaseViews = await prisma.knowledgeBaseViews.upsert({ * create: { * // ... data to create a KnowledgeBaseViews * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the KnowledgeBaseViews we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__KnowledgeBaseViewsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of KnowledgeBaseViews. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {KnowledgeBaseViewsCountArgs} args - Arguments to filter KnowledgeBaseViews to count. * @example * // Count the number of KnowledgeBaseViews * const count = await prisma.knowledgeBaseViews.count({ * where: { * // ... the filter for the KnowledgeBaseViews 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 KnowledgeBaseViews. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {KnowledgeBaseViewsAggregateArgs} 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 KnowledgeBaseViews. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {KnowledgeBaseViewsGroupByArgs} 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 KnowledgeBaseViewsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: KnowledgeBaseViewsGroupByArgs['orderBy'] } : { orderBy?: KnowledgeBaseViewsGroupByArgs['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 ? GetKnowledgeBaseViewsGroupByPayload : Prisma.PrismaPromise /** * Fields of the KnowledgeBaseViews model */ readonly fields: KnowledgeBaseViewsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for KnowledgeBaseViews. * 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__KnowledgeBaseViewsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" knowledgeBase = {}>(args?: Prisma.Subset>): Prisma.Prisma__KnowledgeBaseClient, 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 KnowledgeBaseViews model */ export interface KnowledgeBaseViewsFieldRefs { readonly id: Prisma.FieldRef<"KnowledgeBaseViews", 'String'> readonly createdAt: Prisma.FieldRef<"KnowledgeBaseViews", 'DateTime'> readonly knowledgeBaseId: Prisma.FieldRef<"KnowledgeBaseViews", 'String'> readonly userAnalyticsId: Prisma.FieldRef<"KnowledgeBaseViews", 'String'> } // Custom InputTypes /** * KnowledgeBaseViews findUnique */ export type KnowledgeBaseViewsFindUniqueArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null /** * Filter, which KnowledgeBaseViews to fetch. */ where: Prisma.KnowledgeBaseViewsWhereUniqueInput } /** * KnowledgeBaseViews findUniqueOrThrow */ export type KnowledgeBaseViewsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null /** * Filter, which KnowledgeBaseViews to fetch. */ where: Prisma.KnowledgeBaseViewsWhereUniqueInput } /** * KnowledgeBaseViews findFirst */ export type KnowledgeBaseViewsFindFirstArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null /** * Filter, which KnowledgeBaseViews to fetch. */ where?: Prisma.KnowledgeBaseViewsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of KnowledgeBaseViews to fetch. */ orderBy?: Prisma.KnowledgeBaseViewsOrderByWithRelationInput | Prisma.KnowledgeBaseViewsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for KnowledgeBaseViews. */ cursor?: Prisma.KnowledgeBaseViewsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` KnowledgeBaseViews 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` KnowledgeBaseViews. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of KnowledgeBaseViews. */ distinct?: Prisma.KnowledgeBaseViewsScalarFieldEnum | Prisma.KnowledgeBaseViewsScalarFieldEnum[] } /** * KnowledgeBaseViews findFirstOrThrow */ export type KnowledgeBaseViewsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null /** * Filter, which KnowledgeBaseViews to fetch. */ where?: Prisma.KnowledgeBaseViewsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of KnowledgeBaseViews to fetch. */ orderBy?: Prisma.KnowledgeBaseViewsOrderByWithRelationInput | Prisma.KnowledgeBaseViewsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for KnowledgeBaseViews. */ cursor?: Prisma.KnowledgeBaseViewsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` KnowledgeBaseViews 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` KnowledgeBaseViews. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of KnowledgeBaseViews. */ distinct?: Prisma.KnowledgeBaseViewsScalarFieldEnum | Prisma.KnowledgeBaseViewsScalarFieldEnum[] } /** * KnowledgeBaseViews findMany */ export type KnowledgeBaseViewsFindManyArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null /** * Filter, which KnowledgeBaseViews to fetch. */ where?: Prisma.KnowledgeBaseViewsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of KnowledgeBaseViews to fetch. */ orderBy?: Prisma.KnowledgeBaseViewsOrderByWithRelationInput | Prisma.KnowledgeBaseViewsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing KnowledgeBaseViews. */ cursor?: Prisma.KnowledgeBaseViewsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` KnowledgeBaseViews 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` KnowledgeBaseViews. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of KnowledgeBaseViews. */ distinct?: Prisma.KnowledgeBaseViewsScalarFieldEnum | Prisma.KnowledgeBaseViewsScalarFieldEnum[] } /** * KnowledgeBaseViews create */ export type KnowledgeBaseViewsCreateArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null /** * The data needed to create a KnowledgeBaseViews. */ data: Prisma.XOR } /** * KnowledgeBaseViews createMany */ export type KnowledgeBaseViewsCreateManyArgs = { /** * The data used to create many KnowledgeBaseViews. */ data: Prisma.KnowledgeBaseViewsCreateManyInput | Prisma.KnowledgeBaseViewsCreateManyInput[] skipDuplicates?: boolean } /** * KnowledgeBaseViews createManyAndReturn */ export type KnowledgeBaseViewsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelectCreateManyAndReturn | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * The data used to create many KnowledgeBaseViews. */ data: Prisma.KnowledgeBaseViewsCreateManyInput | Prisma.KnowledgeBaseViewsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsIncludeCreateManyAndReturn | null } /** * KnowledgeBaseViews update */ export type KnowledgeBaseViewsUpdateArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null /** * The data needed to update a KnowledgeBaseViews. */ data: Prisma.XOR /** * Choose, which KnowledgeBaseViews to update. */ where: Prisma.KnowledgeBaseViewsWhereUniqueInput } /** * KnowledgeBaseViews updateMany */ export type KnowledgeBaseViewsUpdateManyArgs = { /** * The data used to update KnowledgeBaseViews. */ data: Prisma.XOR /** * Filter which KnowledgeBaseViews to update */ where?: Prisma.KnowledgeBaseViewsWhereInput /** * Limit how many KnowledgeBaseViews to update. */ limit?: number } /** * KnowledgeBaseViews updateManyAndReturn */ export type KnowledgeBaseViewsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelectUpdateManyAndReturn | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * The data used to update KnowledgeBaseViews. */ data: Prisma.XOR /** * Filter which KnowledgeBaseViews to update */ where?: Prisma.KnowledgeBaseViewsWhereInput /** * Limit how many KnowledgeBaseViews to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsIncludeUpdateManyAndReturn | null } /** * KnowledgeBaseViews upsert */ export type KnowledgeBaseViewsUpsertArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null /** * The filter to search for the KnowledgeBaseViews to update in case it exists. */ where: Prisma.KnowledgeBaseViewsWhereUniqueInput /** * In case the KnowledgeBaseViews found by the `where` argument doesn't exist, create a new KnowledgeBaseViews with this data. */ create: Prisma.XOR /** * In case the KnowledgeBaseViews was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * KnowledgeBaseViews delete */ export type KnowledgeBaseViewsDeleteArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null /** * Filter which KnowledgeBaseViews to delete. */ where: Prisma.KnowledgeBaseViewsWhereUniqueInput } /** * KnowledgeBaseViews deleteMany */ export type KnowledgeBaseViewsDeleteManyArgs = { /** * Filter which KnowledgeBaseViews to delete */ where?: Prisma.KnowledgeBaseViewsWhereInput /** * Limit how many KnowledgeBaseViews to delete. */ limit?: number } /** * KnowledgeBaseViews without action */ export type KnowledgeBaseViewsDefaultArgs = { /** * Select specific fields to fetch from the KnowledgeBaseViews */ select?: Prisma.KnowledgeBaseViewsSelect | null /** * Omit specific fields from the KnowledgeBaseViews */ omit?: Prisma.KnowledgeBaseViewsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.KnowledgeBaseViewsInclude | null }