/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `TeamChatGroupSource` 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 TeamChatGroupSource * Permission-group sources selected while creating a group chat. Sources are * kept even when synchronization is disabled so the channel configuration is * explicit and can be enabled later without guessing its original scope. * `groupId` deliberately remains a bare cross-module identifier (AD-21). */ export type TeamChatGroupSourceModel = runtime.Types.Result.DefaultSelection export type AggregateTeamChatGroupSource = { _count: TeamChatGroupSourceCountAggregateOutputType | null _min: TeamChatGroupSourceMinAggregateOutputType | null _max: TeamChatGroupSourceMaxAggregateOutputType | null } export type TeamChatGroupSourceMinAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null chatId: string | null groupId: string | null syncEnabled: boolean | null } export type TeamChatGroupSourceMaxAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null chatId: string | null groupId: string | null syncEnabled: boolean | null } export type TeamChatGroupSourceCountAggregateOutputType = { id: number createdAt: number tenantId: number chatId: number groupId: number syncEnabled: number _all: number } export type TeamChatGroupSourceMinAggregateInputType = { id?: true createdAt?: true tenantId?: true chatId?: true groupId?: true syncEnabled?: true } export type TeamChatGroupSourceMaxAggregateInputType = { id?: true createdAt?: true tenantId?: true chatId?: true groupId?: true syncEnabled?: true } export type TeamChatGroupSourceCountAggregateInputType = { id?: true createdAt?: true tenantId?: true chatId?: true groupId?: true syncEnabled?: true _all?: true } export type TeamChatGroupSourceAggregateArgs = { /** * Filter which TeamChatGroupSource to aggregate. */ where?: Prisma.TeamChatGroupSourceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TeamChatGroupSources to fetch. */ orderBy?: Prisma.TeamChatGroupSourceOrderByWithRelationInput | Prisma.TeamChatGroupSourceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.TeamChatGroupSourceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TeamChatGroupSources 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` TeamChatGroupSources. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned TeamChatGroupSources **/ _count?: true | TeamChatGroupSourceCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: TeamChatGroupSourceMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: TeamChatGroupSourceMaxAggregateInputType } export type GetTeamChatGroupSourceAggregateType = { [P in keyof T & keyof AggregateTeamChatGroupSource]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type TeamChatGroupSourceGroupByArgs = { where?: Prisma.TeamChatGroupSourceWhereInput orderBy?: Prisma.TeamChatGroupSourceOrderByWithAggregationInput | Prisma.TeamChatGroupSourceOrderByWithAggregationInput[] by: Prisma.TeamChatGroupSourceScalarFieldEnum[] | Prisma.TeamChatGroupSourceScalarFieldEnum having?: Prisma.TeamChatGroupSourceScalarWhereWithAggregatesInput take?: number skip?: number _count?: TeamChatGroupSourceCountAggregateInputType | true _min?: TeamChatGroupSourceMinAggregateInputType _max?: TeamChatGroupSourceMaxAggregateInputType } export type TeamChatGroupSourceGroupByOutputType = { id: string createdAt: Date tenantId: string chatId: string groupId: string syncEnabled: boolean _count: TeamChatGroupSourceCountAggregateOutputType | null _min: TeamChatGroupSourceMinAggregateOutputType | null _max: TeamChatGroupSourceMaxAggregateOutputType | null } export type GetTeamChatGroupSourceGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof TeamChatGroupSourceGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type TeamChatGroupSourceWhereInput = { AND?: Prisma.TeamChatGroupSourceWhereInput | Prisma.TeamChatGroupSourceWhereInput[] OR?: Prisma.TeamChatGroupSourceWhereInput[] NOT?: Prisma.TeamChatGroupSourceWhereInput | Prisma.TeamChatGroupSourceWhereInput[] id?: Prisma.StringFilter<"TeamChatGroupSource"> | string createdAt?: Prisma.DateTimeFilter<"TeamChatGroupSource"> | Date | string tenantId?: Prisma.StringFilter<"TeamChatGroupSource"> | string chatId?: Prisma.StringFilter<"TeamChatGroupSource"> | string groupId?: Prisma.StringFilter<"TeamChatGroupSource"> | string syncEnabled?: Prisma.BoolFilter<"TeamChatGroupSource"> | boolean chat?: Prisma.XOR } export type TeamChatGroupSourceOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder groupId?: Prisma.SortOrder syncEnabled?: Prisma.SortOrder chat?: Prisma.TeamChatOrderByWithRelationInput } export type TeamChatGroupSourceWhereUniqueInput = Prisma.AtLeast<{ id?: string chatId_groupId?: Prisma.TeamChatGroupSourceChatIdGroupIdCompoundUniqueInput AND?: Prisma.TeamChatGroupSourceWhereInput | Prisma.TeamChatGroupSourceWhereInput[] OR?: Prisma.TeamChatGroupSourceWhereInput[] NOT?: Prisma.TeamChatGroupSourceWhereInput | Prisma.TeamChatGroupSourceWhereInput[] createdAt?: Prisma.DateTimeFilter<"TeamChatGroupSource"> | Date | string tenantId?: Prisma.StringFilter<"TeamChatGroupSource"> | string chatId?: Prisma.StringFilter<"TeamChatGroupSource"> | string groupId?: Prisma.StringFilter<"TeamChatGroupSource"> | string syncEnabled?: Prisma.BoolFilter<"TeamChatGroupSource"> | boolean chat?: Prisma.XOR }, "id" | "chatId_groupId"> export type TeamChatGroupSourceOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder groupId?: Prisma.SortOrder syncEnabled?: Prisma.SortOrder _count?: Prisma.TeamChatGroupSourceCountOrderByAggregateInput _max?: Prisma.TeamChatGroupSourceMaxOrderByAggregateInput _min?: Prisma.TeamChatGroupSourceMinOrderByAggregateInput } export type TeamChatGroupSourceScalarWhereWithAggregatesInput = { AND?: Prisma.TeamChatGroupSourceScalarWhereWithAggregatesInput | Prisma.TeamChatGroupSourceScalarWhereWithAggregatesInput[] OR?: Prisma.TeamChatGroupSourceScalarWhereWithAggregatesInput[] NOT?: Prisma.TeamChatGroupSourceScalarWhereWithAggregatesInput | Prisma.TeamChatGroupSourceScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"TeamChatGroupSource"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"TeamChatGroupSource"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"TeamChatGroupSource"> | string chatId?: Prisma.StringWithAggregatesFilter<"TeamChatGroupSource"> | string groupId?: Prisma.StringWithAggregatesFilter<"TeamChatGroupSource"> | string syncEnabled?: Prisma.BoolWithAggregatesFilter<"TeamChatGroupSource"> | boolean } export type TeamChatGroupSourceCreateInput = { id?: string createdAt?: Date | string groupId: string syncEnabled?: boolean chat: Prisma.TeamChatCreateNestedOneWithoutGroupSourcesInput } export type TeamChatGroupSourceUncheckedCreateInput = { id?: string createdAt?: Date | string tenantId: string chatId: string groupId: string syncEnabled?: boolean } export type TeamChatGroupSourceUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string groupId?: Prisma.StringFieldUpdateOperationsInput | string syncEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean chat?: Prisma.TeamChatUpdateOneRequiredWithoutGroupSourcesNestedInput } export type TeamChatGroupSourceUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string chatId?: Prisma.StringFieldUpdateOperationsInput | string groupId?: Prisma.StringFieldUpdateOperationsInput | string syncEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TeamChatGroupSourceCreateManyInput = { id?: string createdAt?: Date | string tenantId: string chatId: string groupId: string syncEnabled?: boolean } export type TeamChatGroupSourceUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string groupId?: Prisma.StringFieldUpdateOperationsInput | string syncEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TeamChatGroupSourceUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string chatId?: Prisma.StringFieldUpdateOperationsInput | string groupId?: Prisma.StringFieldUpdateOperationsInput | string syncEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TeamChatGroupSourceListRelationFilter = { every?: Prisma.TeamChatGroupSourceWhereInput some?: Prisma.TeamChatGroupSourceWhereInput none?: Prisma.TeamChatGroupSourceWhereInput } export type TeamChatGroupSourceOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type TeamChatGroupSourceChatIdGroupIdCompoundUniqueInput = { chatId: string groupId: string } export type TeamChatGroupSourceCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder groupId?: Prisma.SortOrder syncEnabled?: Prisma.SortOrder } export type TeamChatGroupSourceMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder groupId?: Prisma.SortOrder syncEnabled?: Prisma.SortOrder } export type TeamChatGroupSourceMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder chatId?: Prisma.SortOrder groupId?: Prisma.SortOrder syncEnabled?: Prisma.SortOrder } export type TeamChatGroupSourceCreateNestedManyWithoutChatInput = { create?: Prisma.XOR | Prisma.TeamChatGroupSourceCreateWithoutChatInput[] | Prisma.TeamChatGroupSourceUncheckedCreateWithoutChatInput[] connectOrCreate?: Prisma.TeamChatGroupSourceCreateOrConnectWithoutChatInput | Prisma.TeamChatGroupSourceCreateOrConnectWithoutChatInput[] createMany?: Prisma.TeamChatGroupSourceCreateManyChatInputEnvelope connect?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] } export type TeamChatGroupSourceUncheckedCreateNestedManyWithoutChatInput = { create?: Prisma.XOR | Prisma.TeamChatGroupSourceCreateWithoutChatInput[] | Prisma.TeamChatGroupSourceUncheckedCreateWithoutChatInput[] connectOrCreate?: Prisma.TeamChatGroupSourceCreateOrConnectWithoutChatInput | Prisma.TeamChatGroupSourceCreateOrConnectWithoutChatInput[] createMany?: Prisma.TeamChatGroupSourceCreateManyChatInputEnvelope connect?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] } export type TeamChatGroupSourceUpdateManyWithoutChatNestedInput = { create?: Prisma.XOR | Prisma.TeamChatGroupSourceCreateWithoutChatInput[] | Prisma.TeamChatGroupSourceUncheckedCreateWithoutChatInput[] connectOrCreate?: Prisma.TeamChatGroupSourceCreateOrConnectWithoutChatInput | Prisma.TeamChatGroupSourceCreateOrConnectWithoutChatInput[] upsert?: Prisma.TeamChatGroupSourceUpsertWithWhereUniqueWithoutChatInput | Prisma.TeamChatGroupSourceUpsertWithWhereUniqueWithoutChatInput[] createMany?: Prisma.TeamChatGroupSourceCreateManyChatInputEnvelope set?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] disconnect?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] delete?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] connect?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] update?: Prisma.TeamChatGroupSourceUpdateWithWhereUniqueWithoutChatInput | Prisma.TeamChatGroupSourceUpdateWithWhereUniqueWithoutChatInput[] updateMany?: Prisma.TeamChatGroupSourceUpdateManyWithWhereWithoutChatInput | Prisma.TeamChatGroupSourceUpdateManyWithWhereWithoutChatInput[] deleteMany?: Prisma.TeamChatGroupSourceScalarWhereInput | Prisma.TeamChatGroupSourceScalarWhereInput[] } export type TeamChatGroupSourceUncheckedUpdateManyWithoutChatNestedInput = { create?: Prisma.XOR | Prisma.TeamChatGroupSourceCreateWithoutChatInput[] | Prisma.TeamChatGroupSourceUncheckedCreateWithoutChatInput[] connectOrCreate?: Prisma.TeamChatGroupSourceCreateOrConnectWithoutChatInput | Prisma.TeamChatGroupSourceCreateOrConnectWithoutChatInput[] upsert?: Prisma.TeamChatGroupSourceUpsertWithWhereUniqueWithoutChatInput | Prisma.TeamChatGroupSourceUpsertWithWhereUniqueWithoutChatInput[] createMany?: Prisma.TeamChatGroupSourceCreateManyChatInputEnvelope set?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] disconnect?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] delete?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] connect?: Prisma.TeamChatGroupSourceWhereUniqueInput | Prisma.TeamChatGroupSourceWhereUniqueInput[] update?: Prisma.TeamChatGroupSourceUpdateWithWhereUniqueWithoutChatInput | Prisma.TeamChatGroupSourceUpdateWithWhereUniqueWithoutChatInput[] updateMany?: Prisma.TeamChatGroupSourceUpdateManyWithWhereWithoutChatInput | Prisma.TeamChatGroupSourceUpdateManyWithWhereWithoutChatInput[] deleteMany?: Prisma.TeamChatGroupSourceScalarWhereInput | Prisma.TeamChatGroupSourceScalarWhereInput[] } export type TeamChatGroupSourceCreateWithoutChatInput = { id?: string createdAt?: Date | string groupId: string syncEnabled?: boolean } export type TeamChatGroupSourceUncheckedCreateWithoutChatInput = { id?: string createdAt?: Date | string groupId: string syncEnabled?: boolean } export type TeamChatGroupSourceCreateOrConnectWithoutChatInput = { where: Prisma.TeamChatGroupSourceWhereUniqueInput create: Prisma.XOR } export type TeamChatGroupSourceCreateManyChatInputEnvelope = { data: Prisma.TeamChatGroupSourceCreateManyChatInput | Prisma.TeamChatGroupSourceCreateManyChatInput[] skipDuplicates?: boolean } export type TeamChatGroupSourceUpsertWithWhereUniqueWithoutChatInput = { where: Prisma.TeamChatGroupSourceWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type TeamChatGroupSourceUpdateWithWhereUniqueWithoutChatInput = { where: Prisma.TeamChatGroupSourceWhereUniqueInput data: Prisma.XOR } export type TeamChatGroupSourceUpdateManyWithWhereWithoutChatInput = { where: Prisma.TeamChatGroupSourceScalarWhereInput data: Prisma.XOR } export type TeamChatGroupSourceScalarWhereInput = { AND?: Prisma.TeamChatGroupSourceScalarWhereInput | Prisma.TeamChatGroupSourceScalarWhereInput[] OR?: Prisma.TeamChatGroupSourceScalarWhereInput[] NOT?: Prisma.TeamChatGroupSourceScalarWhereInput | Prisma.TeamChatGroupSourceScalarWhereInput[] id?: Prisma.StringFilter<"TeamChatGroupSource"> | string createdAt?: Prisma.DateTimeFilter<"TeamChatGroupSource"> | Date | string tenantId?: Prisma.StringFilter<"TeamChatGroupSource"> | string chatId?: Prisma.StringFilter<"TeamChatGroupSource"> | string groupId?: Prisma.StringFilter<"TeamChatGroupSource"> | string syncEnabled?: Prisma.BoolFilter<"TeamChatGroupSource"> | boolean } export type TeamChatGroupSourceCreateManyChatInput = { id?: string createdAt?: Date | string groupId: string syncEnabled?: boolean } export type TeamChatGroupSourceUpdateWithoutChatInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string groupId?: Prisma.StringFieldUpdateOperationsInput | string syncEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TeamChatGroupSourceUncheckedUpdateWithoutChatInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string groupId?: Prisma.StringFieldUpdateOperationsInput | string syncEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TeamChatGroupSourceUncheckedUpdateManyWithoutChatInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string groupId?: Prisma.StringFieldUpdateOperationsInput | string syncEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean } export type TeamChatGroupSourceSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean chatId?: boolean groupId?: boolean syncEnabled?: boolean chat?: boolean | Prisma.TeamChatDefaultArgs }, ExtArgs["result"]["teamChatGroupSource"]> export type TeamChatGroupSourceSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean chatId?: boolean groupId?: boolean syncEnabled?: boolean chat?: boolean | Prisma.TeamChatDefaultArgs }, ExtArgs["result"]["teamChatGroupSource"]> export type TeamChatGroupSourceSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean chatId?: boolean groupId?: boolean syncEnabled?: boolean chat?: boolean | Prisma.TeamChatDefaultArgs }, ExtArgs["result"]["teamChatGroupSource"]> export type TeamChatGroupSourceSelectScalar = { id?: boolean createdAt?: boolean tenantId?: boolean chatId?: boolean groupId?: boolean syncEnabled?: boolean } export type TeamChatGroupSourceOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "chatId" | "groupId" | "syncEnabled", ExtArgs["result"]["teamChatGroupSource"]> export type TeamChatGroupSourceInclude = { chat?: boolean | Prisma.TeamChatDefaultArgs } export type TeamChatGroupSourceIncludeCreateManyAndReturn = { chat?: boolean | Prisma.TeamChatDefaultArgs } export type TeamChatGroupSourceIncludeUpdateManyAndReturn = { chat?: boolean | Prisma.TeamChatDefaultArgs } export type $TeamChatGroupSourcePayload = { name: "TeamChatGroupSource" objects: { chat: Prisma.$TeamChatPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date tenantId: string chatId: string groupId: string syncEnabled: boolean }, ExtArgs["result"]["teamChatGroupSource"]> composites: {} } export type TeamChatGroupSourceGetPayload = runtime.Types.Result.GetResult export type TeamChatGroupSourceCountArgs = Omit & { select?: TeamChatGroupSourceCountAggregateInputType | true } export interface TeamChatGroupSourceDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['TeamChatGroupSource'], meta: { name: 'TeamChatGroupSource' } } /** * Find zero or one TeamChatGroupSource that matches the filter. * @param {TeamChatGroupSourceFindUniqueArgs} args - Arguments to find a TeamChatGroupSource * @example * // Get one TeamChatGroupSource * const teamChatGroupSource = await prisma.teamChatGroupSource.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatGroupSourceClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one TeamChatGroupSource that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {TeamChatGroupSourceFindUniqueOrThrowArgs} args - Arguments to find a TeamChatGroupSource * @example * // Get one TeamChatGroupSource * const teamChatGroupSource = await prisma.teamChatGroupSource.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatGroupSourceClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first TeamChatGroupSource 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 {TeamChatGroupSourceFindFirstArgs} args - Arguments to find a TeamChatGroupSource * @example * // Get one TeamChatGroupSource * const teamChatGroupSource = await prisma.teamChatGroupSource.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__TeamChatGroupSourceClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first TeamChatGroupSource 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 {TeamChatGroupSourceFindFirstOrThrowArgs} args - Arguments to find a TeamChatGroupSource * @example * // Get one TeamChatGroupSource * const teamChatGroupSource = await prisma.teamChatGroupSource.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__TeamChatGroupSourceClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more TeamChatGroupSources 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 {TeamChatGroupSourceFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all TeamChatGroupSources * const teamChatGroupSources = await prisma.teamChatGroupSource.findMany() * * // Get first 10 TeamChatGroupSources * const teamChatGroupSources = await prisma.teamChatGroupSource.findMany({ take: 10 }) * * // Only select the `id` * const teamChatGroupSourceWithIdOnly = await prisma.teamChatGroupSource.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a TeamChatGroupSource. * @param {TeamChatGroupSourceCreateArgs} args - Arguments to create a TeamChatGroupSource. * @example * // Create one TeamChatGroupSource * const TeamChatGroupSource = await prisma.teamChatGroupSource.create({ * data: { * // ... data to create a TeamChatGroupSource * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatGroupSourceClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many TeamChatGroupSources. * @param {TeamChatGroupSourceCreateManyArgs} args - Arguments to create many TeamChatGroupSources. * @example * // Create many TeamChatGroupSources * const teamChatGroupSource = await prisma.teamChatGroupSource.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many TeamChatGroupSources and returns the data saved in the database. * @param {TeamChatGroupSourceCreateManyAndReturnArgs} args - Arguments to create many TeamChatGroupSources. * @example * // Create many TeamChatGroupSources * const teamChatGroupSource = await prisma.teamChatGroupSource.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many TeamChatGroupSources and only return the `id` * const teamChatGroupSourceWithIdOnly = await prisma.teamChatGroupSource.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 TeamChatGroupSource. * @param {TeamChatGroupSourceDeleteArgs} args - Arguments to delete one TeamChatGroupSource. * @example * // Delete one TeamChatGroupSource * const TeamChatGroupSource = await prisma.teamChatGroupSource.delete({ * where: { * // ... filter to delete one TeamChatGroupSource * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatGroupSourceClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one TeamChatGroupSource. * @param {TeamChatGroupSourceUpdateArgs} args - Arguments to update one TeamChatGroupSource. * @example * // Update one TeamChatGroupSource * const teamChatGroupSource = await prisma.teamChatGroupSource.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatGroupSourceClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more TeamChatGroupSources. * @param {TeamChatGroupSourceDeleteManyArgs} args - Arguments to filter TeamChatGroupSources to delete. * @example * // Delete a few TeamChatGroupSources * const { count } = await prisma.teamChatGroupSource.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TeamChatGroupSources. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TeamChatGroupSourceUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many TeamChatGroupSources * const teamChatGroupSource = await prisma.teamChatGroupSource.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more TeamChatGroupSources and returns the data updated in the database. * @param {TeamChatGroupSourceUpdateManyAndReturnArgs} args - Arguments to update many TeamChatGroupSources. * @example * // Update many TeamChatGroupSources * const teamChatGroupSource = await prisma.teamChatGroupSource.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more TeamChatGroupSources and only return the `id` * const teamChatGroupSourceWithIdOnly = await prisma.teamChatGroupSource.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 TeamChatGroupSource. * @param {TeamChatGroupSourceUpsertArgs} args - Arguments to update or create a TeamChatGroupSource. * @example * // Update or create a TeamChatGroupSource * const teamChatGroupSource = await prisma.teamChatGroupSource.upsert({ * create: { * // ... data to create a TeamChatGroupSource * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the TeamChatGroupSource we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__TeamChatGroupSourceClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of TeamChatGroupSources. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TeamChatGroupSourceCountArgs} args - Arguments to filter TeamChatGroupSources to count. * @example * // Count the number of TeamChatGroupSources * const count = await prisma.teamChatGroupSource.count({ * where: { * // ... the filter for the TeamChatGroupSources 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 TeamChatGroupSource. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TeamChatGroupSourceAggregateArgs} 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 TeamChatGroupSource. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {TeamChatGroupSourceGroupByArgs} 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 TeamChatGroupSourceGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: TeamChatGroupSourceGroupByArgs['orderBy'] } : { orderBy?: TeamChatGroupSourceGroupByArgs['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 ? GetTeamChatGroupSourceGroupByPayload : Prisma.PrismaPromise /** * Fields of the TeamChatGroupSource model */ readonly fields: TeamChatGroupSourceFieldRefs; } /** * The delegate class that acts as a "Promise-like" for TeamChatGroupSource. * 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__TeamChatGroupSourceClient 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 TeamChatGroupSource model */ export interface TeamChatGroupSourceFieldRefs { readonly id: Prisma.FieldRef<"TeamChatGroupSource", 'String'> readonly createdAt: Prisma.FieldRef<"TeamChatGroupSource", 'DateTime'> readonly tenantId: Prisma.FieldRef<"TeamChatGroupSource", 'String'> readonly chatId: Prisma.FieldRef<"TeamChatGroupSource", 'String'> readonly groupId: Prisma.FieldRef<"TeamChatGroupSource", 'String'> readonly syncEnabled: Prisma.FieldRef<"TeamChatGroupSource", 'Boolean'> } // Custom InputTypes /** * TeamChatGroupSource findUnique */ export type TeamChatGroupSourceFindUniqueArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null /** * Filter, which TeamChatGroupSource to fetch. */ where: Prisma.TeamChatGroupSourceWhereUniqueInput } /** * TeamChatGroupSource findUniqueOrThrow */ export type TeamChatGroupSourceFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null /** * Filter, which TeamChatGroupSource to fetch. */ where: Prisma.TeamChatGroupSourceWhereUniqueInput } /** * TeamChatGroupSource findFirst */ export type TeamChatGroupSourceFindFirstArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null /** * Filter, which TeamChatGroupSource to fetch. */ where?: Prisma.TeamChatGroupSourceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TeamChatGroupSources to fetch. */ orderBy?: Prisma.TeamChatGroupSourceOrderByWithRelationInput | Prisma.TeamChatGroupSourceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TeamChatGroupSources. */ cursor?: Prisma.TeamChatGroupSourceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TeamChatGroupSources 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` TeamChatGroupSources. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TeamChatGroupSources. */ distinct?: Prisma.TeamChatGroupSourceScalarFieldEnum | Prisma.TeamChatGroupSourceScalarFieldEnum[] } /** * TeamChatGroupSource findFirstOrThrow */ export type TeamChatGroupSourceFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null /** * Filter, which TeamChatGroupSource to fetch. */ where?: Prisma.TeamChatGroupSourceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TeamChatGroupSources to fetch. */ orderBy?: Prisma.TeamChatGroupSourceOrderByWithRelationInput | Prisma.TeamChatGroupSourceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for TeamChatGroupSources. */ cursor?: Prisma.TeamChatGroupSourceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TeamChatGroupSources 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` TeamChatGroupSources. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TeamChatGroupSources. */ distinct?: Prisma.TeamChatGroupSourceScalarFieldEnum | Prisma.TeamChatGroupSourceScalarFieldEnum[] } /** * TeamChatGroupSource findMany */ export type TeamChatGroupSourceFindManyArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null /** * Filter, which TeamChatGroupSources to fetch. */ where?: Prisma.TeamChatGroupSourceWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of TeamChatGroupSources to fetch. */ orderBy?: Prisma.TeamChatGroupSourceOrderByWithRelationInput | Prisma.TeamChatGroupSourceOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing TeamChatGroupSources. */ cursor?: Prisma.TeamChatGroupSourceWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` TeamChatGroupSources 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` TeamChatGroupSources. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of TeamChatGroupSources. */ distinct?: Prisma.TeamChatGroupSourceScalarFieldEnum | Prisma.TeamChatGroupSourceScalarFieldEnum[] } /** * TeamChatGroupSource create */ export type TeamChatGroupSourceCreateArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null /** * The data needed to create a TeamChatGroupSource. */ data: Prisma.XOR } /** * TeamChatGroupSource createMany */ export type TeamChatGroupSourceCreateManyArgs = { /** * The data used to create many TeamChatGroupSources. */ data: Prisma.TeamChatGroupSourceCreateManyInput | Prisma.TeamChatGroupSourceCreateManyInput[] skipDuplicates?: boolean } /** * TeamChatGroupSource createManyAndReturn */ export type TeamChatGroupSourceCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelectCreateManyAndReturn | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * The data used to create many TeamChatGroupSources. */ data: Prisma.TeamChatGroupSourceCreateManyInput | Prisma.TeamChatGroupSourceCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceIncludeCreateManyAndReturn | null } /** * TeamChatGroupSource update */ export type TeamChatGroupSourceUpdateArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null /** * The data needed to update a TeamChatGroupSource. */ data: Prisma.XOR /** * Choose, which TeamChatGroupSource to update. */ where: Prisma.TeamChatGroupSourceWhereUniqueInput } /** * TeamChatGroupSource updateMany */ export type TeamChatGroupSourceUpdateManyArgs = { /** * The data used to update TeamChatGroupSources. */ data: Prisma.XOR /** * Filter which TeamChatGroupSources to update */ where?: Prisma.TeamChatGroupSourceWhereInput /** * Limit how many TeamChatGroupSources to update. */ limit?: number } /** * TeamChatGroupSource updateManyAndReturn */ export type TeamChatGroupSourceUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelectUpdateManyAndReturn | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * The data used to update TeamChatGroupSources. */ data: Prisma.XOR /** * Filter which TeamChatGroupSources to update */ where?: Prisma.TeamChatGroupSourceWhereInput /** * Limit how many TeamChatGroupSources to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceIncludeUpdateManyAndReturn | null } /** * TeamChatGroupSource upsert */ export type TeamChatGroupSourceUpsertArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null /** * The filter to search for the TeamChatGroupSource to update in case it exists. */ where: Prisma.TeamChatGroupSourceWhereUniqueInput /** * In case the TeamChatGroupSource found by the `where` argument doesn't exist, create a new TeamChatGroupSource with this data. */ create: Prisma.XOR /** * In case the TeamChatGroupSource was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * TeamChatGroupSource delete */ export type TeamChatGroupSourceDeleteArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null /** * Filter which TeamChatGroupSource to delete. */ where: Prisma.TeamChatGroupSourceWhereUniqueInput } /** * TeamChatGroupSource deleteMany */ export type TeamChatGroupSourceDeleteManyArgs = { /** * Filter which TeamChatGroupSources to delete */ where?: Prisma.TeamChatGroupSourceWhereInput /** * Limit how many TeamChatGroupSources to delete. */ limit?: number } /** * TeamChatGroupSource without action */ export type TeamChatGroupSourceDefaultArgs = { /** * Select specific fields to fetch from the TeamChatGroupSource */ select?: Prisma.TeamChatGroupSourceSelect | null /** * Omit specific fields from the TeamChatGroupSource */ omit?: Prisma.TeamChatGroupSourceOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TeamChatGroupSourceInclude | null }