/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Chat` 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.js" import type * as Prisma from "../internal/prismaNamespace.js" /** * Model Chat * */ export type ChatModel = runtime.Types.Result.DefaultSelection export type AggregateChat = { _count: ChatCountAggregateOutputType | null _min: ChatMinAggregateOutputType | null _max: ChatMaxAggregateOutputType | null } export type ChatMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null title: string | null userId: string | null } export type ChatMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null title: string | null userId: string | null } export type ChatCountAggregateOutputType = { id: number createdAt: number updatedAt: number title: number userId: number _all: number } export type ChatMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true title?: true userId?: true } export type ChatMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true title?: true userId?: true } export type ChatCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true title?: true userId?: true _all?: true } export type ChatAggregateArgs = { /** * Filter which Chat to aggregate. */ where?: Prisma.ChatWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Chats to fetch. */ orderBy?: Prisma.ChatOrderByWithRelationInput | Prisma.ChatOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ChatWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Chats 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` Chats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Chats **/ _count?: true | ChatCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ChatMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ChatMaxAggregateInputType } export type GetChatAggregateType = { [P in keyof T & keyof AggregateChat]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ChatGroupByArgs = { where?: Prisma.ChatWhereInput orderBy?: Prisma.ChatOrderByWithAggregationInput | Prisma.ChatOrderByWithAggregationInput[] by: Prisma.ChatScalarFieldEnum[] | Prisma.ChatScalarFieldEnum having?: Prisma.ChatScalarWhereWithAggregatesInput take?: number skip?: number _count?: ChatCountAggregateInputType | true _min?: ChatMinAggregateInputType _max?: ChatMaxAggregateInputType } export type ChatGroupByOutputType = { id: string createdAt: Date updatedAt: Date title: string | null userId: string | null _count: ChatCountAggregateOutputType | null _min: ChatMinAggregateOutputType | null _max: ChatMaxAggregateOutputType | null } type GetChatGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ChatGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ChatWhereInput = { AND?: Prisma.ChatWhereInput | Prisma.ChatWhereInput[] OR?: Prisma.ChatWhereInput[] NOT?: Prisma.ChatWhereInput | Prisma.ChatWhereInput[] id?: Prisma.StringFilter<"Chat"> | string createdAt?: Prisma.DateTimeFilter<"Chat"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Chat"> | Date | string title?: Prisma.StringNullableFilter<"Chat"> | string | null userId?: Prisma.StringNullableFilter<"Chat"> | string | null user?: Prisma.XOR | null messages?: Prisma.MessageListRelationFilter calls?: Prisma.LlmCallListRelationFilter } export type ChatOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder title?: Prisma.SortOrderInput | Prisma.SortOrder userId?: Prisma.SortOrderInput | Prisma.SortOrder user?: Prisma.UserOrderByWithRelationInput messages?: Prisma.MessageOrderByRelationAggregateInput calls?: Prisma.LlmCallOrderByRelationAggregateInput } export type ChatWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.ChatWhereInput | Prisma.ChatWhereInput[] OR?: Prisma.ChatWhereInput[] NOT?: Prisma.ChatWhereInput | Prisma.ChatWhereInput[] createdAt?: Prisma.DateTimeFilter<"Chat"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Chat"> | Date | string title?: Prisma.StringNullableFilter<"Chat"> | string | null userId?: Prisma.StringNullableFilter<"Chat"> | string | null user?: Prisma.XOR | null messages?: Prisma.MessageListRelationFilter calls?: Prisma.LlmCallListRelationFilter }, "id"> export type ChatOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder title?: Prisma.SortOrderInput | Prisma.SortOrder userId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.ChatCountOrderByAggregateInput _max?: Prisma.ChatMaxOrderByAggregateInput _min?: Prisma.ChatMinOrderByAggregateInput } export type ChatScalarWhereWithAggregatesInput = { AND?: Prisma.ChatScalarWhereWithAggregatesInput | Prisma.ChatScalarWhereWithAggregatesInput[] OR?: Prisma.ChatScalarWhereWithAggregatesInput[] NOT?: Prisma.ChatScalarWhereWithAggregatesInput | Prisma.ChatScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Chat"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"Chat"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Chat"> | Date | string title?: Prisma.StringNullableWithAggregatesFilter<"Chat"> | string | null userId?: Prisma.StringNullableWithAggregatesFilter<"Chat"> | string | null } export type ChatCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null user?: Prisma.UserCreateNestedOneWithoutChatsInput messages?: Prisma.MessageCreateNestedManyWithoutChatInput calls?: Prisma.LlmCallCreateNestedManyWithoutChatInput } export type ChatUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null userId?: string | null messages?: Prisma.MessageUncheckedCreateNestedManyWithoutChatInput calls?: Prisma.LlmCallUncheckedCreateNestedManyWithoutChatInput } export type ChatUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null user?: Prisma.UserUpdateOneWithoutChatsNestedInput messages?: Prisma.MessageUpdateManyWithoutChatNestedInput calls?: Prisma.LlmCallUpdateManyWithoutChatNestedInput } export type ChatUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null messages?: Prisma.MessageUncheckedUpdateManyWithoutChatNestedInput calls?: Prisma.LlmCallUncheckedUpdateManyWithoutChatNestedInput } export type ChatCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null userId?: string | null } export type ChatUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type ChatUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type ChatListRelationFilter = { every?: Prisma.ChatWhereInput some?: Prisma.ChatWhereInput none?: Prisma.ChatWhereInput } export type ChatOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type ChatCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder title?: Prisma.SortOrder userId?: Prisma.SortOrder } export type ChatMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder title?: Prisma.SortOrder userId?: Prisma.SortOrder } export type ChatMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder title?: Prisma.SortOrder userId?: Prisma.SortOrder } export type ChatScalarRelationFilter = { is?: Prisma.ChatWhereInput isNot?: Prisma.ChatWhereInput } export type ChatCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.ChatCreateWithoutUserInput[] | Prisma.ChatUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ChatCreateOrConnectWithoutUserInput | Prisma.ChatCreateOrConnectWithoutUserInput[] createMany?: Prisma.ChatCreateManyUserInputEnvelope connect?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] } export type ChatUncheckedCreateNestedManyWithoutUserInput = { create?: Prisma.XOR | Prisma.ChatCreateWithoutUserInput[] | Prisma.ChatUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ChatCreateOrConnectWithoutUserInput | Prisma.ChatCreateOrConnectWithoutUserInput[] createMany?: Prisma.ChatCreateManyUserInputEnvelope connect?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] } export type ChatUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.ChatCreateWithoutUserInput[] | Prisma.ChatUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ChatCreateOrConnectWithoutUserInput | Prisma.ChatCreateOrConnectWithoutUserInput[] upsert?: Prisma.ChatUpsertWithWhereUniqueWithoutUserInput | Prisma.ChatUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.ChatCreateManyUserInputEnvelope set?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] disconnect?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] delete?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] connect?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] update?: Prisma.ChatUpdateWithWhereUniqueWithoutUserInput | Prisma.ChatUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.ChatUpdateManyWithWhereWithoutUserInput | Prisma.ChatUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.ChatScalarWhereInput | Prisma.ChatScalarWhereInput[] } export type ChatUncheckedUpdateManyWithoutUserNestedInput = { create?: Prisma.XOR | Prisma.ChatCreateWithoutUserInput[] | Prisma.ChatUncheckedCreateWithoutUserInput[] connectOrCreate?: Prisma.ChatCreateOrConnectWithoutUserInput | Prisma.ChatCreateOrConnectWithoutUserInput[] upsert?: Prisma.ChatUpsertWithWhereUniqueWithoutUserInput | Prisma.ChatUpsertWithWhereUniqueWithoutUserInput[] createMany?: Prisma.ChatCreateManyUserInputEnvelope set?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] disconnect?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] delete?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] connect?: Prisma.ChatWhereUniqueInput | Prisma.ChatWhereUniqueInput[] update?: Prisma.ChatUpdateWithWhereUniqueWithoutUserInput | Prisma.ChatUpdateWithWhereUniqueWithoutUserInput[] updateMany?: Prisma.ChatUpdateManyWithWhereWithoutUserInput | Prisma.ChatUpdateManyWithWhereWithoutUserInput[] deleteMany?: Prisma.ChatScalarWhereInput | Prisma.ChatScalarWhereInput[] } export type ChatCreateNestedOneWithoutMessagesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ChatCreateOrConnectWithoutMessagesInput connect?: Prisma.ChatWhereUniqueInput } export type ChatUpdateOneRequiredWithoutMessagesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ChatCreateOrConnectWithoutMessagesInput upsert?: Prisma.ChatUpsertWithoutMessagesInput connect?: Prisma.ChatWhereUniqueInput update?: Prisma.XOR, Prisma.ChatUncheckedUpdateWithoutMessagesInput> } export type ChatCreateNestedOneWithoutCallsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ChatCreateOrConnectWithoutCallsInput connect?: Prisma.ChatWhereUniqueInput } export type ChatUpdateOneRequiredWithoutCallsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.ChatCreateOrConnectWithoutCallsInput upsert?: Prisma.ChatUpsertWithoutCallsInput connect?: Prisma.ChatWhereUniqueInput update?: Prisma.XOR, Prisma.ChatUncheckedUpdateWithoutCallsInput> } export type ChatCreateWithoutUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null messages?: Prisma.MessageCreateNestedManyWithoutChatInput calls?: Prisma.LlmCallCreateNestedManyWithoutChatInput } export type ChatUncheckedCreateWithoutUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null messages?: Prisma.MessageUncheckedCreateNestedManyWithoutChatInput calls?: Prisma.LlmCallUncheckedCreateNestedManyWithoutChatInput } export type ChatCreateOrConnectWithoutUserInput = { where: Prisma.ChatWhereUniqueInput create: Prisma.XOR } export type ChatCreateManyUserInputEnvelope = { data: Prisma.ChatCreateManyUserInput | Prisma.ChatCreateManyUserInput[] } export type ChatUpsertWithWhereUniqueWithoutUserInput = { where: Prisma.ChatWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type ChatUpdateWithWhereUniqueWithoutUserInput = { where: Prisma.ChatWhereUniqueInput data: Prisma.XOR } export type ChatUpdateManyWithWhereWithoutUserInput = { where: Prisma.ChatScalarWhereInput data: Prisma.XOR } export type ChatScalarWhereInput = { AND?: Prisma.ChatScalarWhereInput | Prisma.ChatScalarWhereInput[] OR?: Prisma.ChatScalarWhereInput[] NOT?: Prisma.ChatScalarWhereInput | Prisma.ChatScalarWhereInput[] id?: Prisma.StringFilter<"Chat"> | string createdAt?: Prisma.DateTimeFilter<"Chat"> | Date | string updatedAt?: Prisma.DateTimeFilter<"Chat"> | Date | string title?: Prisma.StringNullableFilter<"Chat"> | string | null userId?: Prisma.StringNullableFilter<"Chat"> | string | null } export type ChatCreateWithoutMessagesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null user?: Prisma.UserCreateNestedOneWithoutChatsInput calls?: Prisma.LlmCallCreateNestedManyWithoutChatInput } export type ChatUncheckedCreateWithoutMessagesInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null userId?: string | null calls?: Prisma.LlmCallUncheckedCreateNestedManyWithoutChatInput } export type ChatCreateOrConnectWithoutMessagesInput = { where: Prisma.ChatWhereUniqueInput create: Prisma.XOR } export type ChatUpsertWithoutMessagesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ChatWhereInput } export type ChatUpdateToOneWithWhereWithoutMessagesInput = { where?: Prisma.ChatWhereInput data: Prisma.XOR } export type ChatUpdateWithoutMessagesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null user?: Prisma.UserUpdateOneWithoutChatsNestedInput calls?: Prisma.LlmCallUpdateManyWithoutChatNestedInput } export type ChatUncheckedUpdateWithoutMessagesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null calls?: Prisma.LlmCallUncheckedUpdateManyWithoutChatNestedInput } export type ChatCreateWithoutCallsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null user?: Prisma.UserCreateNestedOneWithoutChatsInput messages?: Prisma.MessageCreateNestedManyWithoutChatInput } export type ChatUncheckedCreateWithoutCallsInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null userId?: string | null messages?: Prisma.MessageUncheckedCreateNestedManyWithoutChatInput } export type ChatCreateOrConnectWithoutCallsInput = { where: Prisma.ChatWhereUniqueInput create: Prisma.XOR } export type ChatUpsertWithoutCallsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.ChatWhereInput } export type ChatUpdateToOneWithWhereWithoutCallsInput = { where?: Prisma.ChatWhereInput data: Prisma.XOR } export type ChatUpdateWithoutCallsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null user?: Prisma.UserUpdateOneWithoutChatsNestedInput messages?: Prisma.MessageUpdateManyWithoutChatNestedInput } export type ChatUncheckedUpdateWithoutCallsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null userId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null messages?: Prisma.MessageUncheckedUpdateManyWithoutChatNestedInput } export type ChatCreateManyUserInput = { id?: string createdAt?: Date | string updatedAt?: Date | string title?: string | null } export type ChatUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null messages?: Prisma.MessageUpdateManyWithoutChatNestedInput calls?: Prisma.LlmCallUpdateManyWithoutChatNestedInput } export type ChatUncheckedUpdateWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null messages?: Prisma.MessageUncheckedUpdateManyWithoutChatNestedInput calls?: Prisma.LlmCallUncheckedUpdateManyWithoutChatNestedInput } export type ChatUncheckedUpdateManyWithoutUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string title?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } /** * Count Type ChatCountOutputType */ export type ChatCountOutputType = { messages: number calls: number } export type ChatCountOutputTypeSelect = { messages?: boolean | ChatCountOutputTypeCountMessagesArgs calls?: boolean | ChatCountOutputTypeCountCallsArgs } /** * ChatCountOutputType without action */ export type ChatCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ChatCountOutputType */ select?: Prisma.ChatCountOutputTypeSelect | null } /** * ChatCountOutputType without action */ export type ChatCountOutputTypeCountMessagesArgs = { where?: Prisma.MessageWhereInput } /** * ChatCountOutputType without action */ export type ChatCountOutputTypeCountCallsArgs = { where?: Prisma.LlmCallWhereInput } export type ChatSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean title?: boolean userId?: boolean user?: boolean | Prisma.Chat$userArgs messages?: boolean | Prisma.Chat$messagesArgs calls?: boolean | Prisma.Chat$callsArgs _count?: boolean | Prisma.ChatCountOutputTypeDefaultArgs }, ExtArgs["result"]["chat"]> export type ChatSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean title?: boolean userId?: boolean user?: boolean | Prisma.Chat$userArgs }, ExtArgs["result"]["chat"]> export type ChatSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean title?: boolean userId?: boolean user?: boolean | Prisma.Chat$userArgs }, ExtArgs["result"]["chat"]> export type ChatSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean title?: boolean userId?: boolean } export type ChatOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "title" | "userId", ExtArgs["result"]["chat"]> export type ChatInclude = { user?: boolean | Prisma.Chat$userArgs messages?: boolean | Prisma.Chat$messagesArgs calls?: boolean | Prisma.Chat$callsArgs _count?: boolean | Prisma.ChatCountOutputTypeDefaultArgs } export type ChatIncludeCreateManyAndReturn = { user?: boolean | Prisma.Chat$userArgs } export type ChatIncludeUpdateManyAndReturn = { user?: boolean | Prisma.Chat$userArgs } export type $ChatPayload = { name: "Chat" objects: { user: Prisma.$UserPayload | null messages: Prisma.$MessagePayload[] calls: Prisma.$LlmCallPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date title: string | null userId: string | null }, ExtArgs["result"]["chat"]> composites: {} } export type ChatGetPayload = runtime.Types.Result.GetResult export type ChatCountArgs = Omit & { select?: ChatCountAggregateInputType | true } export interface ChatDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Chat'], meta: { name: 'Chat' } } /** * Find zero or one Chat that matches the filter. * @param {ChatFindUniqueArgs} args - Arguments to find a Chat * @example * // Get one Chat * const chat = await prisma.chat.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ChatClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Chat that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ChatFindUniqueOrThrowArgs} args - Arguments to find a Chat * @example * // Get one Chat * const chat = await prisma.chat.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ChatClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Chat 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 {ChatFindFirstArgs} args - Arguments to find a Chat * @example * // Get one Chat * const chat = await prisma.chat.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ChatClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Chat 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 {ChatFindFirstOrThrowArgs} args - Arguments to find a Chat * @example * // Get one Chat * const chat = await prisma.chat.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ChatClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Chats 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 {ChatFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Chats * const chats = await prisma.chat.findMany() * * // Get first 10 Chats * const chats = await prisma.chat.findMany({ take: 10 }) * * // Only select the `id` * const chatWithIdOnly = await prisma.chat.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Chat. * @param {ChatCreateArgs} args - Arguments to create a Chat. * @example * // Create one Chat * const Chat = await prisma.chat.create({ * data: { * // ... data to create a Chat * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ChatClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Chats. * @param {ChatCreateManyArgs} args - Arguments to create many Chats. * @example * // Create many Chats * const chat = await prisma.chat.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Chats and returns the data saved in the database. * @param {ChatCreateManyAndReturnArgs} args - Arguments to create many Chats. * @example * // Create many Chats * const chat = await prisma.chat.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Chats and only return the `id` * const chatWithIdOnly = await prisma.chat.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 Chat. * @param {ChatDeleteArgs} args - Arguments to delete one Chat. * @example * // Delete one Chat * const Chat = await prisma.chat.delete({ * where: { * // ... filter to delete one Chat * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ChatClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Chat. * @param {ChatUpdateArgs} args - Arguments to update one Chat. * @example * // Update one Chat * const chat = await prisma.chat.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ChatClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Chats. * @param {ChatDeleteManyArgs} args - Arguments to filter Chats to delete. * @example * // Delete a few Chats * const { count } = await prisma.chat.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Chats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ChatUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Chats * const chat = await prisma.chat.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Chats and returns the data updated in the database. * @param {ChatUpdateManyAndReturnArgs} args - Arguments to update many Chats. * @example * // Update many Chats * const chat = await prisma.chat.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Chats and only return the `id` * const chatWithIdOnly = await prisma.chat.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 Chat. * @param {ChatUpsertArgs} args - Arguments to update or create a Chat. * @example * // Update or create a Chat * const chat = await prisma.chat.upsert({ * create: { * // ... data to create a Chat * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Chat we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ChatClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Chats. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ChatCountArgs} args - Arguments to filter Chats to count. * @example * // Count the number of Chats * const count = await prisma.chat.count({ * where: { * // ... the filter for the Chats 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 Chat. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ChatAggregateArgs} 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 Chat. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ChatGroupByArgs} 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 ChatGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ChatGroupByArgs['orderBy'] } : { orderBy?: ChatGroupByArgs['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 ? GetChatGroupByPayload : Prisma.PrismaPromise /** * Fields of the Chat model */ readonly fields: ChatFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Chat. * 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__ChatClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" user = {}>(args?: Prisma.Subset>): Prisma.Prisma__UserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> messages = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> calls = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * 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 Chat model */ export interface ChatFieldRefs { readonly id: Prisma.FieldRef<"Chat", 'String'> readonly createdAt: Prisma.FieldRef<"Chat", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"Chat", 'DateTime'> readonly title: Prisma.FieldRef<"Chat", 'String'> readonly userId: Prisma.FieldRef<"Chat", 'String'> } // Custom InputTypes /** * Chat findUnique */ export type ChatFindUniqueArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null /** * Filter, which Chat to fetch. */ where: Prisma.ChatWhereUniqueInput } /** * Chat findUniqueOrThrow */ export type ChatFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null /** * Filter, which Chat to fetch. */ where: Prisma.ChatWhereUniqueInput } /** * Chat findFirst */ export type ChatFindFirstArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null /** * Filter, which Chat to fetch. */ where?: Prisma.ChatWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Chats to fetch. */ orderBy?: Prisma.ChatOrderByWithRelationInput | Prisma.ChatOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Chats. */ cursor?: Prisma.ChatWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Chats 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` Chats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Chats. */ distinct?: Prisma.ChatScalarFieldEnum | Prisma.ChatScalarFieldEnum[] } /** * Chat findFirstOrThrow */ export type ChatFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null /** * Filter, which Chat to fetch. */ where?: Prisma.ChatWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Chats to fetch. */ orderBy?: Prisma.ChatOrderByWithRelationInput | Prisma.ChatOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Chats. */ cursor?: Prisma.ChatWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Chats 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` Chats. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Chats. */ distinct?: Prisma.ChatScalarFieldEnum | Prisma.ChatScalarFieldEnum[] } /** * Chat findMany */ export type ChatFindManyArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null /** * Filter, which Chats to fetch. */ where?: Prisma.ChatWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Chats to fetch. */ orderBy?: Prisma.ChatOrderByWithRelationInput | Prisma.ChatOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Chats. */ cursor?: Prisma.ChatWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Chats 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` Chats. */ skip?: number distinct?: Prisma.ChatScalarFieldEnum | Prisma.ChatScalarFieldEnum[] } /** * Chat create */ export type ChatCreateArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null /** * The data needed to create a Chat. */ data: Prisma.XOR } /** * Chat createMany */ export type ChatCreateManyArgs = { /** * The data used to create many Chats. */ data: Prisma.ChatCreateManyInput | Prisma.ChatCreateManyInput[] } /** * Chat createManyAndReturn */ export type ChatCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelectCreateManyAndReturn | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * The data used to create many Chats. */ data: Prisma.ChatCreateManyInput | Prisma.ChatCreateManyInput[] /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatIncludeCreateManyAndReturn | null } /** * Chat update */ export type ChatUpdateArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null /** * The data needed to update a Chat. */ data: Prisma.XOR /** * Choose, which Chat to update. */ where: Prisma.ChatWhereUniqueInput } /** * Chat updateMany */ export type ChatUpdateManyArgs = { /** * The data used to update Chats. */ data: Prisma.XOR /** * Filter which Chats to update */ where?: Prisma.ChatWhereInput /** * Limit how many Chats to update. */ limit?: number } /** * Chat updateManyAndReturn */ export type ChatUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelectUpdateManyAndReturn | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * The data used to update Chats. */ data: Prisma.XOR /** * Filter which Chats to update */ where?: Prisma.ChatWhereInput /** * Limit how many Chats to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatIncludeUpdateManyAndReturn | null } /** * Chat upsert */ export type ChatUpsertArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null /** * The filter to search for the Chat to update in case it exists. */ where: Prisma.ChatWhereUniqueInput /** * In case the Chat found by the `where` argument doesn't exist, create a new Chat with this data. */ create: Prisma.XOR /** * In case the Chat was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Chat delete */ export type ChatDeleteArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null /** * Filter which Chat to delete. */ where: Prisma.ChatWhereUniqueInput } /** * Chat deleteMany */ export type ChatDeleteManyArgs = { /** * Filter which Chats to delete */ where?: Prisma.ChatWhereInput /** * Limit how many Chats to delete. */ limit?: number } /** * Chat.user */ export type Chat$userArgs = { /** * Select specific fields to fetch from the User */ select?: Prisma.UserSelect | null /** * Omit specific fields from the User */ omit?: Prisma.UserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.UserInclude | null where?: Prisma.UserWhereInput } /** * Chat.messages */ export type Chat$messagesArgs = { /** * Select specific fields to fetch from the Message */ select?: Prisma.MessageSelect | null /** * Omit specific fields from the Message */ omit?: Prisma.MessageOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.MessageInclude | null where?: Prisma.MessageWhereInput orderBy?: Prisma.MessageOrderByWithRelationInput | Prisma.MessageOrderByWithRelationInput[] cursor?: Prisma.MessageWhereUniqueInput take?: number skip?: number distinct?: Prisma.MessageScalarFieldEnum | Prisma.MessageScalarFieldEnum[] } /** * Chat.calls */ export type Chat$callsArgs = { /** * Select specific fields to fetch from the LlmCall */ select?: Prisma.LlmCallSelect | null /** * Omit specific fields from the LlmCall */ omit?: Prisma.LlmCallOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.LlmCallInclude | null where?: Prisma.LlmCallWhereInput orderBy?: Prisma.LlmCallOrderByWithRelationInput | Prisma.LlmCallOrderByWithRelationInput[] cursor?: Prisma.LlmCallWhereUniqueInput take?: number skip?: number distinct?: Prisma.LlmCallScalarFieldEnum | Prisma.LlmCallScalarFieldEnum[] } /** * Chat without action */ export type ChatDefaultArgs = { /** * Select specific fields to fetch from the Chat */ select?: Prisma.ChatSelect | null /** * Omit specific fields from the Chat */ omit?: Prisma.ChatOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.ChatInclude | null }