/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `SegmentSnapshotMember` 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 SegmentSnapshotMember * Frozen membership row of a static segment. `kontaktId` is a bare scalar * (typed Kontakt id, no DB FK — AD-21). */ export type SegmentSnapshotMemberModel = runtime.Types.Result.DefaultSelection export type AggregateSegmentSnapshotMember = { _count: SegmentSnapshotMemberCountAggregateOutputType | null _min: SegmentSnapshotMemberMinAggregateOutputType | null _max: SegmentSnapshotMemberMaxAggregateOutputType | null } export type SegmentSnapshotMemberMinAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null segmentId: string | null kontaktId: string | null } export type SegmentSnapshotMemberMaxAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null segmentId: string | null kontaktId: string | null } export type SegmentSnapshotMemberCountAggregateOutputType = { id: number createdAt: number tenantId: number segmentId: number kontaktId: number _all: number } export type SegmentSnapshotMemberMinAggregateInputType = { id?: true createdAt?: true tenantId?: true segmentId?: true kontaktId?: true } export type SegmentSnapshotMemberMaxAggregateInputType = { id?: true createdAt?: true tenantId?: true segmentId?: true kontaktId?: true } export type SegmentSnapshotMemberCountAggregateInputType = { id?: true createdAt?: true tenantId?: true segmentId?: true kontaktId?: true _all?: true } export type SegmentSnapshotMemberAggregateArgs = { /** * Filter which SegmentSnapshotMember to aggregate. */ where?: Prisma.SegmentSnapshotMemberWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SegmentSnapshotMembers to fetch. */ orderBy?: Prisma.SegmentSnapshotMemberOrderByWithRelationInput | Prisma.SegmentSnapshotMemberOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.SegmentSnapshotMemberWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SegmentSnapshotMembers 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` SegmentSnapshotMembers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned SegmentSnapshotMembers **/ _count?: true | SegmentSnapshotMemberCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: SegmentSnapshotMemberMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: SegmentSnapshotMemberMaxAggregateInputType } export type GetSegmentSnapshotMemberAggregateType = { [P in keyof T & keyof AggregateSegmentSnapshotMember]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type SegmentSnapshotMemberGroupByArgs = { where?: Prisma.SegmentSnapshotMemberWhereInput orderBy?: Prisma.SegmentSnapshotMemberOrderByWithAggregationInput | Prisma.SegmentSnapshotMemberOrderByWithAggregationInput[] by: Prisma.SegmentSnapshotMemberScalarFieldEnum[] | Prisma.SegmentSnapshotMemberScalarFieldEnum having?: Prisma.SegmentSnapshotMemberScalarWhereWithAggregatesInput take?: number skip?: number _count?: SegmentSnapshotMemberCountAggregateInputType | true _min?: SegmentSnapshotMemberMinAggregateInputType _max?: SegmentSnapshotMemberMaxAggregateInputType } export type SegmentSnapshotMemberGroupByOutputType = { id: string createdAt: Date tenantId: string segmentId: string kontaktId: string _count: SegmentSnapshotMemberCountAggregateOutputType | null _min: SegmentSnapshotMemberMinAggregateOutputType | null _max: SegmentSnapshotMemberMaxAggregateOutputType | null } export type GetSegmentSnapshotMemberGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof SegmentSnapshotMemberGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type SegmentSnapshotMemberWhereInput = { AND?: Prisma.SegmentSnapshotMemberWhereInput | Prisma.SegmentSnapshotMemberWhereInput[] OR?: Prisma.SegmentSnapshotMemberWhereInput[] NOT?: Prisma.SegmentSnapshotMemberWhereInput | Prisma.SegmentSnapshotMemberWhereInput[] id?: Prisma.StringFilter<"SegmentSnapshotMember"> | string createdAt?: Prisma.DateTimeFilter<"SegmentSnapshotMember"> | Date | string tenantId?: Prisma.StringFilter<"SegmentSnapshotMember"> | string segmentId?: Prisma.StringFilter<"SegmentSnapshotMember"> | string kontaktId?: Prisma.StringFilter<"SegmentSnapshotMember"> | string segment?: Prisma.XOR } export type SegmentSnapshotMemberOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder segmentId?: Prisma.SortOrder kontaktId?: Prisma.SortOrder segment?: Prisma.RecipientSegmentOrderByWithRelationInput } export type SegmentSnapshotMemberWhereUniqueInput = Prisma.AtLeast<{ id?: string segmentId_kontaktId?: Prisma.SegmentSnapshotMemberSegmentIdKontaktIdCompoundUniqueInput AND?: Prisma.SegmentSnapshotMemberWhereInput | Prisma.SegmentSnapshotMemberWhereInput[] OR?: Prisma.SegmentSnapshotMemberWhereInput[] NOT?: Prisma.SegmentSnapshotMemberWhereInput | Prisma.SegmentSnapshotMemberWhereInput[] createdAt?: Prisma.DateTimeFilter<"SegmentSnapshotMember"> | Date | string tenantId?: Prisma.StringFilter<"SegmentSnapshotMember"> | string segmentId?: Prisma.StringFilter<"SegmentSnapshotMember"> | string kontaktId?: Prisma.StringFilter<"SegmentSnapshotMember"> | string segment?: Prisma.XOR }, "id" | "segmentId_kontaktId"> export type SegmentSnapshotMemberOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder segmentId?: Prisma.SortOrder kontaktId?: Prisma.SortOrder _count?: Prisma.SegmentSnapshotMemberCountOrderByAggregateInput _max?: Prisma.SegmentSnapshotMemberMaxOrderByAggregateInput _min?: Prisma.SegmentSnapshotMemberMinOrderByAggregateInput } export type SegmentSnapshotMemberScalarWhereWithAggregatesInput = { AND?: Prisma.SegmentSnapshotMemberScalarWhereWithAggregatesInput | Prisma.SegmentSnapshotMemberScalarWhereWithAggregatesInput[] OR?: Prisma.SegmentSnapshotMemberScalarWhereWithAggregatesInput[] NOT?: Prisma.SegmentSnapshotMemberScalarWhereWithAggregatesInput | Prisma.SegmentSnapshotMemberScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"SegmentSnapshotMember"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"SegmentSnapshotMember"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"SegmentSnapshotMember"> | string segmentId?: Prisma.StringWithAggregatesFilter<"SegmentSnapshotMember"> | string kontaktId?: Prisma.StringWithAggregatesFilter<"SegmentSnapshotMember"> | string } export type SegmentSnapshotMemberCreateInput = { id?: string createdAt?: Date | string tenantId: string kontaktId: string segment: Prisma.RecipientSegmentCreateNestedOneWithoutSnapshotMembersInput } export type SegmentSnapshotMemberUncheckedCreateInput = { id?: string createdAt?: Date | string tenantId: string segmentId: string kontaktId: string } export type SegmentSnapshotMemberUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string kontaktId?: Prisma.StringFieldUpdateOperationsInput | string segment?: Prisma.RecipientSegmentUpdateOneRequiredWithoutSnapshotMembersNestedInput } export type SegmentSnapshotMemberUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string segmentId?: Prisma.StringFieldUpdateOperationsInput | string kontaktId?: Prisma.StringFieldUpdateOperationsInput | string } export type SegmentSnapshotMemberCreateManyInput = { id?: string createdAt?: Date | string tenantId: string segmentId: string kontaktId: string } export type SegmentSnapshotMemberUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string kontaktId?: Prisma.StringFieldUpdateOperationsInput | string } export type SegmentSnapshotMemberUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string segmentId?: Prisma.StringFieldUpdateOperationsInput | string kontaktId?: Prisma.StringFieldUpdateOperationsInput | string } export type SegmentSnapshotMemberListRelationFilter = { every?: Prisma.SegmentSnapshotMemberWhereInput some?: Prisma.SegmentSnapshotMemberWhereInput none?: Prisma.SegmentSnapshotMemberWhereInput } export type SegmentSnapshotMemberOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type SegmentSnapshotMemberSegmentIdKontaktIdCompoundUniqueInput = { segmentId: string kontaktId: string } export type SegmentSnapshotMemberCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder segmentId?: Prisma.SortOrder kontaktId?: Prisma.SortOrder } export type SegmentSnapshotMemberMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder segmentId?: Prisma.SortOrder kontaktId?: Prisma.SortOrder } export type SegmentSnapshotMemberMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder segmentId?: Prisma.SortOrder kontaktId?: Prisma.SortOrder } export type SegmentSnapshotMemberCreateNestedManyWithoutSegmentInput = { create?: Prisma.XOR | Prisma.SegmentSnapshotMemberCreateWithoutSegmentInput[] | Prisma.SegmentSnapshotMemberUncheckedCreateWithoutSegmentInput[] connectOrCreate?: Prisma.SegmentSnapshotMemberCreateOrConnectWithoutSegmentInput | Prisma.SegmentSnapshotMemberCreateOrConnectWithoutSegmentInput[] createMany?: Prisma.SegmentSnapshotMemberCreateManySegmentInputEnvelope connect?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] } export type SegmentSnapshotMemberUncheckedCreateNestedManyWithoutSegmentInput = { create?: Prisma.XOR | Prisma.SegmentSnapshotMemberCreateWithoutSegmentInput[] | Prisma.SegmentSnapshotMemberUncheckedCreateWithoutSegmentInput[] connectOrCreate?: Prisma.SegmentSnapshotMemberCreateOrConnectWithoutSegmentInput | Prisma.SegmentSnapshotMemberCreateOrConnectWithoutSegmentInput[] createMany?: Prisma.SegmentSnapshotMemberCreateManySegmentInputEnvelope connect?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] } export type SegmentSnapshotMemberUpdateManyWithoutSegmentNestedInput = { create?: Prisma.XOR | Prisma.SegmentSnapshotMemberCreateWithoutSegmentInput[] | Prisma.SegmentSnapshotMemberUncheckedCreateWithoutSegmentInput[] connectOrCreate?: Prisma.SegmentSnapshotMemberCreateOrConnectWithoutSegmentInput | Prisma.SegmentSnapshotMemberCreateOrConnectWithoutSegmentInput[] upsert?: Prisma.SegmentSnapshotMemberUpsertWithWhereUniqueWithoutSegmentInput | Prisma.SegmentSnapshotMemberUpsertWithWhereUniqueWithoutSegmentInput[] createMany?: Prisma.SegmentSnapshotMemberCreateManySegmentInputEnvelope set?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] disconnect?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] delete?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] connect?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] update?: Prisma.SegmentSnapshotMemberUpdateWithWhereUniqueWithoutSegmentInput | Prisma.SegmentSnapshotMemberUpdateWithWhereUniqueWithoutSegmentInput[] updateMany?: Prisma.SegmentSnapshotMemberUpdateManyWithWhereWithoutSegmentInput | Prisma.SegmentSnapshotMemberUpdateManyWithWhereWithoutSegmentInput[] deleteMany?: Prisma.SegmentSnapshotMemberScalarWhereInput | Prisma.SegmentSnapshotMemberScalarWhereInput[] } export type SegmentSnapshotMemberUncheckedUpdateManyWithoutSegmentNestedInput = { create?: Prisma.XOR | Prisma.SegmentSnapshotMemberCreateWithoutSegmentInput[] | Prisma.SegmentSnapshotMemberUncheckedCreateWithoutSegmentInput[] connectOrCreate?: Prisma.SegmentSnapshotMemberCreateOrConnectWithoutSegmentInput | Prisma.SegmentSnapshotMemberCreateOrConnectWithoutSegmentInput[] upsert?: Prisma.SegmentSnapshotMemberUpsertWithWhereUniqueWithoutSegmentInput | Prisma.SegmentSnapshotMemberUpsertWithWhereUniqueWithoutSegmentInput[] createMany?: Prisma.SegmentSnapshotMemberCreateManySegmentInputEnvelope set?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] disconnect?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] delete?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] connect?: Prisma.SegmentSnapshotMemberWhereUniqueInput | Prisma.SegmentSnapshotMemberWhereUniqueInput[] update?: Prisma.SegmentSnapshotMemberUpdateWithWhereUniqueWithoutSegmentInput | Prisma.SegmentSnapshotMemberUpdateWithWhereUniqueWithoutSegmentInput[] updateMany?: Prisma.SegmentSnapshotMemberUpdateManyWithWhereWithoutSegmentInput | Prisma.SegmentSnapshotMemberUpdateManyWithWhereWithoutSegmentInput[] deleteMany?: Prisma.SegmentSnapshotMemberScalarWhereInput | Prisma.SegmentSnapshotMemberScalarWhereInput[] } export type SegmentSnapshotMemberCreateWithoutSegmentInput = { id?: string createdAt?: Date | string tenantId: string kontaktId: string } export type SegmentSnapshotMemberUncheckedCreateWithoutSegmentInput = { id?: string createdAt?: Date | string tenantId: string kontaktId: string } export type SegmentSnapshotMemberCreateOrConnectWithoutSegmentInput = { where: Prisma.SegmentSnapshotMemberWhereUniqueInput create: Prisma.XOR } export type SegmentSnapshotMemberCreateManySegmentInputEnvelope = { data: Prisma.SegmentSnapshotMemberCreateManySegmentInput | Prisma.SegmentSnapshotMemberCreateManySegmentInput[] skipDuplicates?: boolean } export type SegmentSnapshotMemberUpsertWithWhereUniqueWithoutSegmentInput = { where: Prisma.SegmentSnapshotMemberWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type SegmentSnapshotMemberUpdateWithWhereUniqueWithoutSegmentInput = { where: Prisma.SegmentSnapshotMemberWhereUniqueInput data: Prisma.XOR } export type SegmentSnapshotMemberUpdateManyWithWhereWithoutSegmentInput = { where: Prisma.SegmentSnapshotMemberScalarWhereInput data: Prisma.XOR } export type SegmentSnapshotMemberScalarWhereInput = { AND?: Prisma.SegmentSnapshotMemberScalarWhereInput | Prisma.SegmentSnapshotMemberScalarWhereInput[] OR?: Prisma.SegmentSnapshotMemberScalarWhereInput[] NOT?: Prisma.SegmentSnapshotMemberScalarWhereInput | Prisma.SegmentSnapshotMemberScalarWhereInput[] id?: Prisma.StringFilter<"SegmentSnapshotMember"> | string createdAt?: Prisma.DateTimeFilter<"SegmentSnapshotMember"> | Date | string tenantId?: Prisma.StringFilter<"SegmentSnapshotMember"> | string segmentId?: Prisma.StringFilter<"SegmentSnapshotMember"> | string kontaktId?: Prisma.StringFilter<"SegmentSnapshotMember"> | string } export type SegmentSnapshotMemberCreateManySegmentInput = { id?: string createdAt?: Date | string tenantId: string kontaktId: string } export type SegmentSnapshotMemberUpdateWithoutSegmentInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string kontaktId?: Prisma.StringFieldUpdateOperationsInput | string } export type SegmentSnapshotMemberUncheckedUpdateWithoutSegmentInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string kontaktId?: Prisma.StringFieldUpdateOperationsInput | string } export type SegmentSnapshotMemberUncheckedUpdateManyWithoutSegmentInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string kontaktId?: Prisma.StringFieldUpdateOperationsInput | string } export type SegmentSnapshotMemberSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean segmentId?: boolean kontaktId?: boolean segment?: boolean | Prisma.RecipientSegmentDefaultArgs }, ExtArgs["result"]["segmentSnapshotMember"]> export type SegmentSnapshotMemberSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean segmentId?: boolean kontaktId?: boolean segment?: boolean | Prisma.RecipientSegmentDefaultArgs }, ExtArgs["result"]["segmentSnapshotMember"]> export type SegmentSnapshotMemberSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean segmentId?: boolean kontaktId?: boolean segment?: boolean | Prisma.RecipientSegmentDefaultArgs }, ExtArgs["result"]["segmentSnapshotMember"]> export type SegmentSnapshotMemberSelectScalar = { id?: boolean createdAt?: boolean tenantId?: boolean segmentId?: boolean kontaktId?: boolean } export type SegmentSnapshotMemberOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "segmentId" | "kontaktId", ExtArgs["result"]["segmentSnapshotMember"]> export type SegmentSnapshotMemberInclude = { segment?: boolean | Prisma.RecipientSegmentDefaultArgs } export type SegmentSnapshotMemberIncludeCreateManyAndReturn = { segment?: boolean | Prisma.RecipientSegmentDefaultArgs } export type SegmentSnapshotMemberIncludeUpdateManyAndReturn = { segment?: boolean | Prisma.RecipientSegmentDefaultArgs } export type $SegmentSnapshotMemberPayload = { name: "SegmentSnapshotMember" objects: { segment: Prisma.$RecipientSegmentPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date tenantId: string segmentId: string kontaktId: string }, ExtArgs["result"]["segmentSnapshotMember"]> composites: {} } export type SegmentSnapshotMemberGetPayload = runtime.Types.Result.GetResult export type SegmentSnapshotMemberCountArgs = Omit & { select?: SegmentSnapshotMemberCountAggregateInputType | true } export interface SegmentSnapshotMemberDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['SegmentSnapshotMember'], meta: { name: 'SegmentSnapshotMember' } } /** * Find zero or one SegmentSnapshotMember that matches the filter. * @param {SegmentSnapshotMemberFindUniqueArgs} args - Arguments to find a SegmentSnapshotMember * @example * // Get one SegmentSnapshotMember * const segmentSnapshotMember = await prisma.segmentSnapshotMember.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__SegmentSnapshotMemberClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one SegmentSnapshotMember that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {SegmentSnapshotMemberFindUniqueOrThrowArgs} args - Arguments to find a SegmentSnapshotMember * @example * // Get one SegmentSnapshotMember * const segmentSnapshotMember = await prisma.segmentSnapshotMember.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__SegmentSnapshotMemberClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first SegmentSnapshotMember 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 {SegmentSnapshotMemberFindFirstArgs} args - Arguments to find a SegmentSnapshotMember * @example * // Get one SegmentSnapshotMember * const segmentSnapshotMember = await prisma.segmentSnapshotMember.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__SegmentSnapshotMemberClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first SegmentSnapshotMember 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 {SegmentSnapshotMemberFindFirstOrThrowArgs} args - Arguments to find a SegmentSnapshotMember * @example * // Get one SegmentSnapshotMember * const segmentSnapshotMember = await prisma.segmentSnapshotMember.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__SegmentSnapshotMemberClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more SegmentSnapshotMembers 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 {SegmentSnapshotMemberFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all SegmentSnapshotMembers * const segmentSnapshotMembers = await prisma.segmentSnapshotMember.findMany() * * // Get first 10 SegmentSnapshotMembers * const segmentSnapshotMembers = await prisma.segmentSnapshotMember.findMany({ take: 10 }) * * // Only select the `id` * const segmentSnapshotMemberWithIdOnly = await prisma.segmentSnapshotMember.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a SegmentSnapshotMember. * @param {SegmentSnapshotMemberCreateArgs} args - Arguments to create a SegmentSnapshotMember. * @example * // Create one SegmentSnapshotMember * const SegmentSnapshotMember = await prisma.segmentSnapshotMember.create({ * data: { * // ... data to create a SegmentSnapshotMember * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__SegmentSnapshotMemberClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many SegmentSnapshotMembers. * @param {SegmentSnapshotMemberCreateManyArgs} args - Arguments to create many SegmentSnapshotMembers. * @example * // Create many SegmentSnapshotMembers * const segmentSnapshotMember = await prisma.segmentSnapshotMember.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many SegmentSnapshotMembers and returns the data saved in the database. * @param {SegmentSnapshotMemberCreateManyAndReturnArgs} args - Arguments to create many SegmentSnapshotMembers. * @example * // Create many SegmentSnapshotMembers * const segmentSnapshotMember = await prisma.segmentSnapshotMember.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many SegmentSnapshotMembers and only return the `id` * const segmentSnapshotMemberWithIdOnly = await prisma.segmentSnapshotMember.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 SegmentSnapshotMember. * @param {SegmentSnapshotMemberDeleteArgs} args - Arguments to delete one SegmentSnapshotMember. * @example * // Delete one SegmentSnapshotMember * const SegmentSnapshotMember = await prisma.segmentSnapshotMember.delete({ * where: { * // ... filter to delete one SegmentSnapshotMember * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__SegmentSnapshotMemberClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one SegmentSnapshotMember. * @param {SegmentSnapshotMemberUpdateArgs} args - Arguments to update one SegmentSnapshotMember. * @example * // Update one SegmentSnapshotMember * const segmentSnapshotMember = await prisma.segmentSnapshotMember.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__SegmentSnapshotMemberClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more SegmentSnapshotMembers. * @param {SegmentSnapshotMemberDeleteManyArgs} args - Arguments to filter SegmentSnapshotMembers to delete. * @example * // Delete a few SegmentSnapshotMembers * const { count } = await prisma.segmentSnapshotMember.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SegmentSnapshotMembers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SegmentSnapshotMemberUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many SegmentSnapshotMembers * const segmentSnapshotMember = await prisma.segmentSnapshotMember.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more SegmentSnapshotMembers and returns the data updated in the database. * @param {SegmentSnapshotMemberUpdateManyAndReturnArgs} args - Arguments to update many SegmentSnapshotMembers. * @example * // Update many SegmentSnapshotMembers * const segmentSnapshotMember = await prisma.segmentSnapshotMember.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more SegmentSnapshotMembers and only return the `id` * const segmentSnapshotMemberWithIdOnly = await prisma.segmentSnapshotMember.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 SegmentSnapshotMember. * @param {SegmentSnapshotMemberUpsertArgs} args - Arguments to update or create a SegmentSnapshotMember. * @example * // Update or create a SegmentSnapshotMember * const segmentSnapshotMember = await prisma.segmentSnapshotMember.upsert({ * create: { * // ... data to create a SegmentSnapshotMember * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the SegmentSnapshotMember we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__SegmentSnapshotMemberClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of SegmentSnapshotMembers. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SegmentSnapshotMemberCountArgs} args - Arguments to filter SegmentSnapshotMembers to count. * @example * // Count the number of SegmentSnapshotMembers * const count = await prisma.segmentSnapshotMember.count({ * where: { * // ... the filter for the SegmentSnapshotMembers 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 SegmentSnapshotMember. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SegmentSnapshotMemberAggregateArgs} 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 SegmentSnapshotMember. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {SegmentSnapshotMemberGroupByArgs} 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 SegmentSnapshotMemberGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: SegmentSnapshotMemberGroupByArgs['orderBy'] } : { orderBy?: SegmentSnapshotMemberGroupByArgs['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 ? GetSegmentSnapshotMemberGroupByPayload : Prisma.PrismaPromise /** * Fields of the SegmentSnapshotMember model */ readonly fields: SegmentSnapshotMemberFieldRefs; } /** * The delegate class that acts as a "Promise-like" for SegmentSnapshotMember. * 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__SegmentSnapshotMemberClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" segment = {}>(args?: Prisma.Subset>): Prisma.Prisma__RecipientSegmentClient, 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 SegmentSnapshotMember model */ export interface SegmentSnapshotMemberFieldRefs { readonly id: Prisma.FieldRef<"SegmentSnapshotMember", 'String'> readonly createdAt: Prisma.FieldRef<"SegmentSnapshotMember", 'DateTime'> readonly tenantId: Prisma.FieldRef<"SegmentSnapshotMember", 'String'> readonly segmentId: Prisma.FieldRef<"SegmentSnapshotMember", 'String'> readonly kontaktId: Prisma.FieldRef<"SegmentSnapshotMember", 'String'> } // Custom InputTypes /** * SegmentSnapshotMember findUnique */ export type SegmentSnapshotMemberFindUniqueArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null /** * Filter, which SegmentSnapshotMember to fetch. */ where: Prisma.SegmentSnapshotMemberWhereUniqueInput } /** * SegmentSnapshotMember findUniqueOrThrow */ export type SegmentSnapshotMemberFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null /** * Filter, which SegmentSnapshotMember to fetch. */ where: Prisma.SegmentSnapshotMemberWhereUniqueInput } /** * SegmentSnapshotMember findFirst */ export type SegmentSnapshotMemberFindFirstArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null /** * Filter, which SegmentSnapshotMember to fetch. */ where?: Prisma.SegmentSnapshotMemberWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SegmentSnapshotMembers to fetch. */ orderBy?: Prisma.SegmentSnapshotMemberOrderByWithRelationInput | Prisma.SegmentSnapshotMemberOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SegmentSnapshotMembers. */ cursor?: Prisma.SegmentSnapshotMemberWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SegmentSnapshotMembers 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` SegmentSnapshotMembers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SegmentSnapshotMembers. */ distinct?: Prisma.SegmentSnapshotMemberScalarFieldEnum | Prisma.SegmentSnapshotMemberScalarFieldEnum[] } /** * SegmentSnapshotMember findFirstOrThrow */ export type SegmentSnapshotMemberFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null /** * Filter, which SegmentSnapshotMember to fetch. */ where?: Prisma.SegmentSnapshotMemberWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SegmentSnapshotMembers to fetch. */ orderBy?: Prisma.SegmentSnapshotMemberOrderByWithRelationInput | Prisma.SegmentSnapshotMemberOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for SegmentSnapshotMembers. */ cursor?: Prisma.SegmentSnapshotMemberWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SegmentSnapshotMembers 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` SegmentSnapshotMembers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SegmentSnapshotMembers. */ distinct?: Prisma.SegmentSnapshotMemberScalarFieldEnum | Prisma.SegmentSnapshotMemberScalarFieldEnum[] } /** * SegmentSnapshotMember findMany */ export type SegmentSnapshotMemberFindManyArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null /** * Filter, which SegmentSnapshotMembers to fetch. */ where?: Prisma.SegmentSnapshotMemberWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of SegmentSnapshotMembers to fetch. */ orderBy?: Prisma.SegmentSnapshotMemberOrderByWithRelationInput | Prisma.SegmentSnapshotMemberOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing SegmentSnapshotMembers. */ cursor?: Prisma.SegmentSnapshotMemberWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` SegmentSnapshotMembers 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` SegmentSnapshotMembers. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of SegmentSnapshotMembers. */ distinct?: Prisma.SegmentSnapshotMemberScalarFieldEnum | Prisma.SegmentSnapshotMemberScalarFieldEnum[] } /** * SegmentSnapshotMember create */ export type SegmentSnapshotMemberCreateArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null /** * The data needed to create a SegmentSnapshotMember. */ data: Prisma.XOR } /** * SegmentSnapshotMember createMany */ export type SegmentSnapshotMemberCreateManyArgs = { /** * The data used to create many SegmentSnapshotMembers. */ data: Prisma.SegmentSnapshotMemberCreateManyInput | Prisma.SegmentSnapshotMemberCreateManyInput[] skipDuplicates?: boolean } /** * SegmentSnapshotMember createManyAndReturn */ export type SegmentSnapshotMemberCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelectCreateManyAndReturn | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * The data used to create many SegmentSnapshotMembers. */ data: Prisma.SegmentSnapshotMemberCreateManyInput | Prisma.SegmentSnapshotMemberCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberIncludeCreateManyAndReturn | null } /** * SegmentSnapshotMember update */ export type SegmentSnapshotMemberUpdateArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null /** * The data needed to update a SegmentSnapshotMember. */ data: Prisma.XOR /** * Choose, which SegmentSnapshotMember to update. */ where: Prisma.SegmentSnapshotMemberWhereUniqueInput } /** * SegmentSnapshotMember updateMany */ export type SegmentSnapshotMemberUpdateManyArgs = { /** * The data used to update SegmentSnapshotMembers. */ data: Prisma.XOR /** * Filter which SegmentSnapshotMembers to update */ where?: Prisma.SegmentSnapshotMemberWhereInput /** * Limit how many SegmentSnapshotMembers to update. */ limit?: number } /** * SegmentSnapshotMember updateManyAndReturn */ export type SegmentSnapshotMemberUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelectUpdateManyAndReturn | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * The data used to update SegmentSnapshotMembers. */ data: Prisma.XOR /** * Filter which SegmentSnapshotMembers to update */ where?: Prisma.SegmentSnapshotMemberWhereInput /** * Limit how many SegmentSnapshotMembers to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberIncludeUpdateManyAndReturn | null } /** * SegmentSnapshotMember upsert */ export type SegmentSnapshotMemberUpsertArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null /** * The filter to search for the SegmentSnapshotMember to update in case it exists. */ where: Prisma.SegmentSnapshotMemberWhereUniqueInput /** * In case the SegmentSnapshotMember found by the `where` argument doesn't exist, create a new SegmentSnapshotMember with this data. */ create: Prisma.XOR /** * In case the SegmentSnapshotMember was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * SegmentSnapshotMember delete */ export type SegmentSnapshotMemberDeleteArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null /** * Filter which SegmentSnapshotMember to delete. */ where: Prisma.SegmentSnapshotMemberWhereUniqueInput } /** * SegmentSnapshotMember deleteMany */ export type SegmentSnapshotMemberDeleteManyArgs = { /** * Filter which SegmentSnapshotMembers to delete */ where?: Prisma.SegmentSnapshotMemberWhereInput /** * Limit how many SegmentSnapshotMembers to delete. */ limit?: number } /** * SegmentSnapshotMember without action */ export type SegmentSnapshotMemberDefaultArgs = { /** * Select specific fields to fetch from the SegmentSnapshotMember */ select?: Prisma.SegmentSnapshotMemberSelect | null /** * Omit specific fields from the SegmentSnapshotMember */ omit?: Prisma.SegmentSnapshotMemberOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.SegmentSnapshotMemberInclude | null }