/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `TeamChatEvent` 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 TeamChatEvent * Append-only event ledger for reconnect gap-fill. The wire cursor combines * the channel's `eventStreamId` with `sequence`, which is serialized as a * decimal string so JavaScript clients never lose BigInt precision. Redis * fans these events out but is never their source of truth. */ export type TeamChatEventModel = runtime.Types.Result.DefaultSelection export type AggregateTeamChatEvent = { _count: TeamChatEventCountAggregateOutputType | null _avg: TeamChatEventAvgAggregateOutputType | null _sum: TeamChatEventSumAggregateOutputType | null _min: TeamChatEventMinAggregateOutputType | null _max: TeamChatEventMaxAggregateOutputType | null } export type TeamChatEventAvgAggregateOutputType = { sequence: number | null } export type TeamChatEventSumAggregateOutputType = { sequence: bigint | null } export type TeamChatEventMinAggregateOutputType = { id: string | null sequence: bigint | null occurredAt: Date | null tenantId: string | null chatId: string | null type: $Enums.TeamChatEventType | null actorUserId: string | null entityId: string | null requestId: string | null } export type TeamChatEventMaxAggregateOutputType = { id: string | null sequence: bigint | null occurredAt: Date | null tenantId: string | null chatId: string | null type: $Enums.TeamChatEventType | null actorUserId: string | null entityId: string | null requestId: string | null } export type TeamChatEventCountAggregateOutputType = { id: number sequence: number occurredAt: number tenantId: number chatId: number type: number actorUserId: number entityId: number requestId: number data: number _all: number } export type TeamChatEventAvgAggregateInputType = { sequence?: true } export type TeamChatEventSumAggregateInputType = { sequence?: true } export type TeamChatEventMinAggregateInputType = { id?: true sequence?: true occurredAt?: true tenantId?: true chatId?: true type?: true actorUserId?: true entityId?: true requestId?: true } export type TeamChatEventMaxAggregateInputType = { id?: true sequence?: true occurredAt?: true tenantId?: true chatId?: true type?: true actorUserId?: true entityId?: true requestId?: true } export type TeamChatEventCountAggregateInputType = { id?: true sequence?: true occurredAt?: true tenantId?: true chatId?: true type?: true actorUserId?: true entityId?: true requestId?: true data?: true _all?: true } export type TeamChatEventAggregateArgs = { /** * Filter which TeamChatEvent to aggregate. */ where?: Prisma.TeamChatEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TeamChatEvents to fetch. */ orderBy?: Prisma.TeamChatEventOrderByWithRelationInput | Prisma.TeamChatEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.TeamChatEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TeamChatEvents 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` TeamChatEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TeamChatEvents **/ _count?: true | TeamChatEventCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: TeamChatEventAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: TeamChatEventSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TeamChatEventMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TeamChatEventMaxAggregateInputType } export type GetTeamChatEventAggregateType = { [P in keyof T & keyof AggregateTeamChatEvent]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type TeamChatEventGroupByArgs = { where?: Prisma.TeamChatEventWhereInput orderBy?: Prisma.TeamChatEventOrderByWithAggregationInput | Prisma.TeamChatEventOrderByWithAggregationInput[] by: Prisma.TeamChatEventScalarFieldEnum[] | Prisma.TeamChatEventScalarFieldEnum having?: Prisma.TeamChatEventScalarWhereWithAggregatesInput take?: number skip?: number _count?: TeamChatEventCountAggregateInputType | true _avg?: TeamChatEventAvgAggregateInputType _sum?: TeamChatEventSumAggregateInputType _min?: TeamChatEventMinAggregateInputType _max?: TeamChatEventMaxAggregateInputType } export type TeamChatEventGroupByOutputType = { id: string sequence: bigint occurredAt: Date tenantId: string chatId: string type: $Enums.TeamChatEventType actorUserId: string | null entityId: string | null requestId: string data: runtime.JsonValue _count: TeamChatEventCountAggregateOutputType | null _avg: TeamChatEventAvgAggregateOutputType | null _sum: TeamChatEventSumAggregateOutputType | null _min: TeamChatEventMinAggregateOutputType | null _max: TeamChatEventMaxAggregateOutputType | null } export type GetTeamChatEventGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TeamChatEventGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type TeamChatEventWhereInput = { AND?: Prisma.TeamChatEventWhereInput | Prisma.TeamChatEventWhereInput[] OR?: Prisma.TeamChatEventWhereInput[] NOT?: Prisma.TeamChatEventWhereInput | Prisma.TeamChatEventWhereInput[] id?: Prisma.StringFilter<"TeamChatEvent"> | string sequence?: Prisma.BigIntFilter<"TeamChatEvent"> | bigint | number occurredAt?: Prisma.DateTimeFilter<"TeamChatEvent"> | Date | string tenantId?: Prisma.StringFilter<"TeamChatEvent"> | string chatId?: Prisma.StringFilter<"TeamChatEvent"> | string type?: Prisma.EnumTeamChatEventTypeFilter<"TeamChatEvent"> | $Enums.TeamChatEventType actorUserId?: Prisma.StringNullableFilter<"TeamChatEvent"> | string | null entityId?: Prisma.StringNullableFilter<"TeamChatEvent"> | string | null requestId?: Prisma.StringFilter<"TeamChatEvent"> | string data?: Prisma.JsonFilter<"TeamChatEvent"> chat?: Prisma.XOR } export type TeamChatEventOrderByWithRelationInput = { id?: Prisma.SortOrder sequence?: Prisma.SortOrder occurredAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder type?: Prisma.SortOrder actorUserId?: Prisma.SortOrderInput | Prisma.SortOrder entityId?: Prisma.SortOrderInput | Prisma.SortOrder requestId?: Prisma.SortOrder data?: Prisma.SortOrder chat?: Prisma.TeamChatOrderByWithRelationInput } export type TeamChatEventWhereUniqueInput = Prisma.AtLeast<{ id?: string sequence?: bigint | number AND?: Prisma.TeamChatEventWhereInput | Prisma.TeamChatEventWhereInput[] OR?: Prisma.TeamChatEventWhereInput[] NOT?: Prisma.TeamChatEventWhereInput | Prisma.TeamChatEventWhereInput[] occurredAt?: Prisma.DateTimeFilter<"TeamChatEvent"> | Date | string tenantId?: Prisma.StringFilter<"TeamChatEvent"> | string chatId?: Prisma.StringFilter<"TeamChatEvent"> | string type?: Prisma.EnumTeamChatEventTypeFilter<"TeamChatEvent"> | $Enums.TeamChatEventType actorUserId?: Prisma.StringNullableFilter<"TeamChatEvent"> | string | null entityId?: Prisma.StringNullableFilter<"TeamChatEvent"> | string | null requestId?: Prisma.StringFilter<"TeamChatEvent"> | string data?: Prisma.JsonFilter<"TeamChatEvent"> chat?: Prisma.XOR }, "id" | "sequence"> export type TeamChatEventOrderByWithAggregationInput = { id?: Prisma.SortOrder sequence?: Prisma.SortOrder occurredAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder type?: Prisma.SortOrder actorUserId?: Prisma.SortOrderInput | Prisma.SortOrder entityId?: Prisma.SortOrderInput | Prisma.SortOrder requestId?: Prisma.SortOrder data?: Prisma.SortOrder _count?: Prisma.TeamChatEventCountOrderByAggregateInput _avg?: Prisma.TeamChatEventAvgOrderByAggregateInput _max?: Prisma.TeamChatEventMaxOrderByAggregateInput _min?: Prisma.TeamChatEventMinOrderByAggregateInput _sum?: Prisma.TeamChatEventSumOrderByAggregateInput } export type TeamChatEventScalarWhereWithAggregatesInput = { AND?: Prisma.TeamChatEventScalarWhereWithAggregatesInput | Prisma.TeamChatEventScalarWhereWithAggregatesInput[] OR?: Prisma.TeamChatEventScalarWhereWithAggregatesInput[] NOT?: Prisma.TeamChatEventScalarWhereWithAggregatesInput | Prisma.TeamChatEventScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"TeamChatEvent"> | string sequence?: Prisma.BigIntWithAggregatesFilter<"TeamChatEvent"> | bigint | number occurredAt?: Prisma.DateTimeWithAggregatesFilter<"TeamChatEvent"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"TeamChatEvent"> | string chatId?: Prisma.StringWithAggregatesFilter<"TeamChatEvent"> | string type?: Prisma.EnumTeamChatEventTypeWithAggregatesFilter<"TeamChatEvent"> | $Enums.TeamChatEventType actorUserId?: Prisma.StringNullableWithAggregatesFilter<"TeamChatEvent"> | string | null entityId?: Prisma.StringNullableWithAggregatesFilter<"TeamChatEvent"> | string | null requestId?: Prisma.StringWithAggregatesFilter<"TeamChatEvent"> | string data?: Prisma.JsonWithAggregatesFilter<"TeamChatEvent"> } export type TeamChatEventCreateInput = { id?: string sequence?: bigint | number occurredAt?: Date | string type: $Enums.TeamChatEventType actorUserId?: string | null entityId?: string | null requestId: string data: Prisma.JsonNullValueInput | runtime.InputJsonValue chat: Prisma.TeamChatCreateNestedOneWithoutEventsInput } export type TeamChatEventUncheckedCreateInput = { id?: string sequence?: bigint | number occurredAt?: Date | string tenantId: string chatId: string type: $Enums.TeamChatEventType actorUserId?: string | null entityId?: string | null requestId: string data: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sequence?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.EnumTeamChatEventTypeFieldUpdateOperationsInput | $Enums.TeamChatEventType actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null requestId?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.JsonNullValueInput | runtime.InputJsonValue chat?: Prisma.TeamChatUpdateOneRequiredWithoutEventsNestedInput } export type TeamChatEventUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sequence?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string chatId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumTeamChatEventTypeFieldUpdateOperationsInput | $Enums.TeamChatEventType actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null requestId?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventCreateManyInput = { id?: string sequence?: bigint | number occurredAt?: Date | string tenantId: string chatId: string type: $Enums.TeamChatEventType actorUserId?: string | null entityId?: string | null requestId: string data: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sequence?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.EnumTeamChatEventTypeFieldUpdateOperationsInput | $Enums.TeamChatEventType actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null requestId?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sequence?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string chatId?: Prisma.StringFieldUpdateOperationsInput | string type?: Prisma.EnumTeamChatEventTypeFieldUpdateOperationsInput | $Enums.TeamChatEventType actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null requestId?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventListRelationFilter = { every?: Prisma.TeamChatEventWhereInput some?: Prisma.TeamChatEventWhereInput none?: Prisma.TeamChatEventWhereInput } export type TeamChatEventOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type TeamChatEventCountOrderByAggregateInput = { id?: Prisma.SortOrder sequence?: Prisma.SortOrder occurredAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder type?: Prisma.SortOrder actorUserId?: Prisma.SortOrder entityId?: Prisma.SortOrder requestId?: Prisma.SortOrder data?: Prisma.SortOrder } export type TeamChatEventAvgOrderByAggregateInput = { sequence?: Prisma.SortOrder } export type TeamChatEventMaxOrderByAggregateInput = { id?: Prisma.SortOrder sequence?: Prisma.SortOrder occurredAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder type?: Prisma.SortOrder actorUserId?: Prisma.SortOrder entityId?: Prisma.SortOrder requestId?: Prisma.SortOrder } export type TeamChatEventMinOrderByAggregateInput = { id?: Prisma.SortOrder sequence?: Prisma.SortOrder occurredAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder type?: Prisma.SortOrder actorUserId?: Prisma.SortOrder entityId?: Prisma.SortOrder requestId?: Prisma.SortOrder } export type TeamChatEventSumOrderByAggregateInput = { sequence?: Prisma.SortOrder } export type TeamChatEventCreateNestedManyWithoutChatInput = { create?: Prisma.XOR | Prisma.TeamChatEventCreateWithoutChatInput[] | Prisma.TeamChatEventUncheckedCreateWithoutChatInput[] connectOrCreate?: Prisma.TeamChatEventCreateOrConnectWithoutChatInput | Prisma.TeamChatEventCreateOrConnectWithoutChatInput[] createMany?: Prisma.TeamChatEventCreateManyChatInputEnvelope connect?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] } export type TeamChatEventUncheckedCreateNestedManyWithoutChatInput = { create?: Prisma.XOR | Prisma.TeamChatEventCreateWithoutChatInput[] | Prisma.TeamChatEventUncheckedCreateWithoutChatInput[] connectOrCreate?: Prisma.TeamChatEventCreateOrConnectWithoutChatInput | Prisma.TeamChatEventCreateOrConnectWithoutChatInput[] createMany?: Prisma.TeamChatEventCreateManyChatInputEnvelope connect?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] } export type TeamChatEventUpdateManyWithoutChatNestedInput = { create?: Prisma.XOR | Prisma.TeamChatEventCreateWithoutChatInput[] | Prisma.TeamChatEventUncheckedCreateWithoutChatInput[] connectOrCreate?: Prisma.TeamChatEventCreateOrConnectWithoutChatInput | Prisma.TeamChatEventCreateOrConnectWithoutChatInput[] upsert?: Prisma.TeamChatEventUpsertWithWhereUniqueWithoutChatInput | Prisma.TeamChatEventUpsertWithWhereUniqueWithoutChatInput[] createMany?: Prisma.TeamChatEventCreateManyChatInputEnvelope set?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] disconnect?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] delete?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] connect?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] update?: Prisma.TeamChatEventUpdateWithWhereUniqueWithoutChatInput | Prisma.TeamChatEventUpdateWithWhereUniqueWithoutChatInput[] updateMany?: Prisma.TeamChatEventUpdateManyWithWhereWithoutChatInput | Prisma.TeamChatEventUpdateManyWithWhereWithoutChatInput[] deleteMany?: Prisma.TeamChatEventScalarWhereInput | Prisma.TeamChatEventScalarWhereInput[] } export type TeamChatEventUncheckedUpdateManyWithoutChatNestedInput = { create?: Prisma.XOR | Prisma.TeamChatEventCreateWithoutChatInput[] | Prisma.TeamChatEventUncheckedCreateWithoutChatInput[] connectOrCreate?: Prisma.TeamChatEventCreateOrConnectWithoutChatInput | Prisma.TeamChatEventCreateOrConnectWithoutChatInput[] upsert?: Prisma.TeamChatEventUpsertWithWhereUniqueWithoutChatInput | Prisma.TeamChatEventUpsertWithWhereUniqueWithoutChatInput[] createMany?: Prisma.TeamChatEventCreateManyChatInputEnvelope set?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] disconnect?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] delete?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] connect?: Prisma.TeamChatEventWhereUniqueInput | Prisma.TeamChatEventWhereUniqueInput[] update?: Prisma.TeamChatEventUpdateWithWhereUniqueWithoutChatInput | Prisma.TeamChatEventUpdateWithWhereUniqueWithoutChatInput[] updateMany?: Prisma.TeamChatEventUpdateManyWithWhereWithoutChatInput | Prisma.TeamChatEventUpdateManyWithWhereWithoutChatInput[] deleteMany?: Prisma.TeamChatEventScalarWhereInput | Prisma.TeamChatEventScalarWhereInput[] } export type BigIntFieldUpdateOperationsInput = { set?: bigint | number increment?: bigint | number decrement?: bigint | number multiply?: bigint | number divide?: bigint | number } export type EnumTeamChatEventTypeFieldUpdateOperationsInput = { set?: $Enums.TeamChatEventType } export type TeamChatEventCreateWithoutChatInput = { id?: string sequence?: bigint | number occurredAt?: Date | string type: $Enums.TeamChatEventType actorUserId?: string | null entityId?: string | null requestId: string data: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventUncheckedCreateWithoutChatInput = { id?: string sequence?: bigint | number occurredAt?: Date | string type: $Enums.TeamChatEventType actorUserId?: string | null entityId?: string | null requestId: string data: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventCreateOrConnectWithoutChatInput = { where: Prisma.TeamChatEventWhereUniqueInput create: Prisma.XOR } export type TeamChatEventCreateManyChatInputEnvelope = { data: Prisma.TeamChatEventCreateManyChatInput | Prisma.TeamChatEventCreateManyChatInput[] skipDuplicates?: boolean } export type TeamChatEventUpsertWithWhereUniqueWithoutChatInput = { where: Prisma.TeamChatEventWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TeamChatEventUpdateWithWhereUniqueWithoutChatInput = { where: Prisma.TeamChatEventWhereUniqueInput data: Prisma.XOR } export type TeamChatEventUpdateManyWithWhereWithoutChatInput = { where: Prisma.TeamChatEventScalarWhereInput data: Prisma.XOR } export type TeamChatEventScalarWhereInput = { AND?: Prisma.TeamChatEventScalarWhereInput | Prisma.TeamChatEventScalarWhereInput[] OR?: Prisma.TeamChatEventScalarWhereInput[] NOT?: Prisma.TeamChatEventScalarWhereInput | Prisma.TeamChatEventScalarWhereInput[] id?: Prisma.StringFilter<"TeamChatEvent"> | string sequence?: Prisma.BigIntFilter<"TeamChatEvent"> | bigint | number occurredAt?: Prisma.DateTimeFilter<"TeamChatEvent"> | Date | string tenantId?: Prisma.StringFilter<"TeamChatEvent"> | string chatId?: Prisma.StringFilter<"TeamChatEvent"> | string type?: Prisma.EnumTeamChatEventTypeFilter<"TeamChatEvent"> | $Enums.TeamChatEventType actorUserId?: Prisma.StringNullableFilter<"TeamChatEvent"> | string | null entityId?: Prisma.StringNullableFilter<"TeamChatEvent"> | string | null requestId?: Prisma.StringFilter<"TeamChatEvent"> | string data?: Prisma.JsonFilter<"TeamChatEvent"> } export type TeamChatEventCreateManyChatInput = { id?: string sequence?: bigint | number occurredAt?: Date | string type: $Enums.TeamChatEventType actorUserId?: string | null entityId?: string | null requestId: string data: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventUpdateWithoutChatInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sequence?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.EnumTeamChatEventTypeFieldUpdateOperationsInput | $Enums.TeamChatEventType actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null requestId?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventUncheckedUpdateWithoutChatInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sequence?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.EnumTeamChatEventTypeFieldUpdateOperationsInput | $Enums.TeamChatEventType actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null requestId?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventUncheckedUpdateManyWithoutChatInput = { id?: Prisma.StringFieldUpdateOperationsInput | string sequence?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number occurredAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string type?: Prisma.EnumTeamChatEventTypeFieldUpdateOperationsInput | $Enums.TeamChatEventType actorUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null entityId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null requestId?: Prisma.StringFieldUpdateOperationsInput | string data?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type TeamChatEventSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean sequence?: boolean occurredAt?: boolean tenantId?: boolean chatId?: boolean type?: boolean actorUserId?: boolean entityId?: boolean requestId?: boolean data?: boolean chat?: boolean | Prisma.TeamChatDefaultArgs }, ExtArgs["result"]["teamChatEvent"]> export type TeamChatEventSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean sequence?: boolean occurredAt?: boolean tenantId?: boolean chatId?: boolean type?: boolean actorUserId?: boolean entityId?: boolean requestId?: boolean data?: boolean chat?: boolean | Prisma.TeamChatDefaultArgs }, ExtArgs["result"]["teamChatEvent"]> export type TeamChatEventSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean sequence?: boolean occurredAt?: boolean tenantId?: boolean chatId?: boolean type?: boolean actorUserId?: boolean entityId?: boolean requestId?: boolean data?: boolean chat?: boolean | Prisma.TeamChatDefaultArgs }, ExtArgs["result"]["teamChatEvent"]> export type TeamChatEventSelectScalar = { id?: boolean sequence?: boolean occurredAt?: boolean tenantId?: boolean chatId?: boolean type?: boolean actorUserId?: boolean entityId?: boolean requestId?: boolean data?: boolean } export type TeamChatEventOmit = runtime.Types.Extensions.GetOmit<"id" | "sequence" | "occurredAt" | "tenantId" | "chatId" | "type" | "actorUserId" | "entityId" | "requestId" | "data", ExtArgs["result"]["teamChatEvent"]> export type TeamChatEventInclude = { chat?: boolean | Prisma.TeamChatDefaultArgs } export type TeamChatEventIncludeCreateManyAndReturn = { chat?: boolean | Prisma.TeamChatDefaultArgs } export type TeamChatEventIncludeUpdateManyAndReturn = { chat?: boolean | Prisma.TeamChatDefaultArgs } export type $TeamChatEventPayload = { name: "TeamChatEvent" objects: { chat: Prisma.$TeamChatPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string sequence: bigint occurredAt: Date tenantId: string chatId: string type: $Enums.TeamChatEventType actorUserId: string | null entityId: string | null requestId: string data: runtime.JsonValue }, ExtArgs["result"]["teamChatEvent"]> composites: {} } export type TeamChatEventGetPayload = runtime.Types.Result.GetResult export type TeamChatEventCountArgs = Omit & { select?: TeamChatEventCountAggregateInputType | true } export interface TeamChatEventDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TeamChatEvent'], meta: { name: 'TeamChatEvent' } } /** * Find zero or one TeamChatEvent that matches the filter. * @param {TeamChatEventFindUniqueArgs} args - Arguments to find a TeamChatEvent * @example * // Get one TeamChatEvent * const teamChatEvent = await prisma.teamChatEvent.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatEventClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TeamChatEvent that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TeamChatEventFindUniqueOrThrowArgs} args - Arguments to find a TeamChatEvent * @example * // Get one TeamChatEvent * const teamChatEvent = await prisma.teamChatEvent.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatEventClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TeamChatEvent 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 {TeamChatEventFindFirstArgs} args - Arguments to find a TeamChatEvent * @example * // Get one TeamChatEvent * const teamChatEvent = await prisma.teamChatEvent.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TeamChatEventClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TeamChatEvent 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 {TeamChatEventFindFirstOrThrowArgs} args - Arguments to find a TeamChatEvent * @example * // Get one TeamChatEvent * const teamChatEvent = await prisma.teamChatEvent.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TeamChatEventClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TeamChatEvents 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 {TeamChatEventFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TeamChatEvents * const teamChatEvents = await prisma.teamChatEvent.findMany() * * // Get first 10 TeamChatEvents * const teamChatEvents = await prisma.teamChatEvent.findMany({ take: 10 }) * * // Only select the `id` * const teamChatEventWithIdOnly = await prisma.teamChatEvent.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a TeamChatEvent. * @param {TeamChatEventCreateArgs} args - Arguments to create a TeamChatEvent. * @example * // Create one TeamChatEvent * const TeamChatEvent = await prisma.teamChatEvent.create({ * data: { * // ... data to create a TeamChatEvent * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatEventClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TeamChatEvents. * @param {TeamChatEventCreateManyArgs} args - Arguments to create many TeamChatEvents. * @example * // Create many TeamChatEvents * const teamChatEvent = await prisma.teamChatEvent.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many TeamChatEvents and returns the data saved in the database. * @param {TeamChatEventCreateManyAndReturnArgs} args - Arguments to create many TeamChatEvents. * @example * // Create many TeamChatEvents * const teamChatEvent = await prisma.teamChatEvent.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TeamChatEvents and only return the `id` * const teamChatEventWithIdOnly = await prisma.teamChatEvent.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 TeamChatEvent. * @param {TeamChatEventDeleteArgs} args - Arguments to delete one TeamChatEvent. * @example * // Delete one TeamChatEvent * const TeamChatEvent = await prisma.teamChatEvent.delete({ * where: { * // ... filter to delete one TeamChatEvent * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatEventClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TeamChatEvent. * @param {TeamChatEventUpdateArgs} args - Arguments to update one TeamChatEvent. * @example * // Update one TeamChatEvent * const teamChatEvent = await prisma.teamChatEvent.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatEventClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TeamChatEvents. * @param {TeamChatEventDeleteManyArgs} args - Arguments to filter TeamChatEvents to delete. * @example * // Delete a few TeamChatEvents * const { count } = await prisma.teamChatEvent.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TeamChatEvents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TeamChatEventUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TeamChatEvents * const teamChatEvent = await prisma.teamChatEvent.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TeamChatEvents and returns the data updated in the database. * @param {TeamChatEventUpdateManyAndReturnArgs} args - Arguments to update many TeamChatEvents. * @example * // Update many TeamChatEvents * const teamChatEvent = await prisma.teamChatEvent.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TeamChatEvents and only return the `id` * const teamChatEventWithIdOnly = await prisma.teamChatEvent.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 TeamChatEvent. * @param {TeamChatEventUpsertArgs} args - Arguments to update or create a TeamChatEvent. * @example * // Update or create a TeamChatEvent * const teamChatEvent = await prisma.teamChatEvent.upsert({ * create: { * // ... data to create a TeamChatEvent * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TeamChatEvent we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatEventClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TeamChatEvents. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TeamChatEventCountArgs} args - Arguments to filter TeamChatEvents to count. * @example * // Count the number of TeamChatEvents * const count = await prisma.teamChatEvent.count({ * where: { * // ... the filter for the TeamChatEvents 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 TeamChatEvent. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TeamChatEventAggregateArgs} 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 TeamChatEvent. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TeamChatEventGroupByArgs} 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 TeamChatEventGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: TeamChatEventGroupByArgs['orderBy'] } : { orderBy?: TeamChatEventGroupByArgs['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 ? GetTeamChatEventGroupByPayload : Prisma.PrismaPromise /** * Fields of the TeamChatEvent model */ readonly fields: TeamChatEventFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TeamChatEvent. * 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__TeamChatEventClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" chat = {}>(args?: Prisma.Subset>): Prisma.Prisma__TeamChatClient, 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 TeamChatEvent model */ export interface TeamChatEventFieldRefs { readonly id: Prisma.FieldRef<"TeamChatEvent", 'String'> readonly sequence: Prisma.FieldRef<"TeamChatEvent", 'BigInt'> readonly occurredAt: Prisma.FieldRef<"TeamChatEvent", 'DateTime'> readonly tenantId: Prisma.FieldRef<"TeamChatEvent", 'String'> readonly chatId: Prisma.FieldRef<"TeamChatEvent", 'String'> readonly type: Prisma.FieldRef<"TeamChatEvent", 'TeamChatEventType'> readonly actorUserId: Prisma.FieldRef<"TeamChatEvent", 'String'> readonly entityId: Prisma.FieldRef<"TeamChatEvent", 'String'> readonly requestId: Prisma.FieldRef<"TeamChatEvent", 'String'> readonly data: Prisma.FieldRef<"TeamChatEvent", 'Json'> } // Custom InputTypes /** * TeamChatEvent findUnique */ export type TeamChatEventFindUniqueArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null /** * Filter, which TeamChatEvent to fetch. */ where: Prisma.TeamChatEventWhereUniqueInput } /** * TeamChatEvent findUniqueOrThrow */ export type TeamChatEventFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null /** * Filter, which TeamChatEvent to fetch. */ where: Prisma.TeamChatEventWhereUniqueInput } /** * TeamChatEvent findFirst */ export type TeamChatEventFindFirstArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null /** * Filter, which TeamChatEvent to fetch. */ where?: Prisma.TeamChatEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TeamChatEvents to fetch. */ orderBy?: Prisma.TeamChatEventOrderByWithRelationInput | Prisma.TeamChatEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TeamChatEvents. */ cursor?: Prisma.TeamChatEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TeamChatEvents 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` TeamChatEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TeamChatEvents. */ distinct?: Prisma.TeamChatEventScalarFieldEnum | Prisma.TeamChatEventScalarFieldEnum[] } /** * TeamChatEvent findFirstOrThrow */ export type TeamChatEventFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null /** * Filter, which TeamChatEvent to fetch. */ where?: Prisma.TeamChatEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TeamChatEvents to fetch. */ orderBy?: Prisma.TeamChatEventOrderByWithRelationInput | Prisma.TeamChatEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TeamChatEvents. */ cursor?: Prisma.TeamChatEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TeamChatEvents 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` TeamChatEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TeamChatEvents. */ distinct?: Prisma.TeamChatEventScalarFieldEnum | Prisma.TeamChatEventScalarFieldEnum[] } /** * TeamChatEvent findMany */ export type TeamChatEventFindManyArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null /** * Filter, which TeamChatEvents to fetch. */ where?: Prisma.TeamChatEventWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TeamChatEvents to fetch. */ orderBy?: Prisma.TeamChatEventOrderByWithRelationInput | Prisma.TeamChatEventOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TeamChatEvents. */ cursor?: Prisma.TeamChatEventWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TeamChatEvents 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` TeamChatEvents. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TeamChatEvents. */ distinct?: Prisma.TeamChatEventScalarFieldEnum | Prisma.TeamChatEventScalarFieldEnum[] } /** * TeamChatEvent create */ export type TeamChatEventCreateArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null /** * The data needed to create a TeamChatEvent. */ data: Prisma.XOR } /** * TeamChatEvent createMany */ export type TeamChatEventCreateManyArgs = { /** * The data used to create many TeamChatEvents. */ data: Prisma.TeamChatEventCreateManyInput | Prisma.TeamChatEventCreateManyInput[] skipDuplicates?: boolean } /** * TeamChatEvent createManyAndReturn */ export type TeamChatEventCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelectCreateManyAndReturn | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * The data used to create many TeamChatEvents. */ data: Prisma.TeamChatEventCreateManyInput | Prisma.TeamChatEventCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventIncludeCreateManyAndReturn | null } /** * TeamChatEvent update */ export type TeamChatEventUpdateArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null /** * The data needed to update a TeamChatEvent. */ data: Prisma.XOR /** * Choose, which TeamChatEvent to update. */ where: Prisma.TeamChatEventWhereUniqueInput } /** * TeamChatEvent updateMany */ export type TeamChatEventUpdateManyArgs = { /** * The data used to update TeamChatEvents. */ data: Prisma.XOR /** * Filter which TeamChatEvents to update */ where?: Prisma.TeamChatEventWhereInput /** * Limit how many TeamChatEvents to update. */ limit?: number } /** * TeamChatEvent updateManyAndReturn */ export type TeamChatEventUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelectUpdateManyAndReturn | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * The data used to update TeamChatEvents. */ data: Prisma.XOR /** * Filter which TeamChatEvents to update */ where?: Prisma.TeamChatEventWhereInput /** * Limit how many TeamChatEvents to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventIncludeUpdateManyAndReturn | null } /** * TeamChatEvent upsert */ export type TeamChatEventUpsertArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null /** * The filter to search for the TeamChatEvent to update in case it exists. */ where: Prisma.TeamChatEventWhereUniqueInput /** * In case the TeamChatEvent found by the `where` argument doesn't exist, create a new TeamChatEvent with this data. */ create: Prisma.XOR /** * In case the TeamChatEvent was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * TeamChatEvent delete */ export type TeamChatEventDeleteArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null /** * Filter which TeamChatEvent to delete. */ where: Prisma.TeamChatEventWhereUniqueInput } /** * TeamChatEvent deleteMany */ export type TeamChatEventDeleteManyArgs = { /** * Filter which TeamChatEvents to delete */ where?: Prisma.TeamChatEventWhereInput /** * Limit how many TeamChatEvents to delete. */ limit?: number } /** * TeamChatEvent without action */ export type TeamChatEventDefaultArgs = { /** * Select specific fields to fetch from the TeamChatEvent */ select?: Prisma.TeamChatEventSelect | null /** * Omit specific fields from the TeamChatEvent */ omit?: Prisma.TeamChatEventOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatEventInclude | null }