1353 lines
56 KiB
TypeScript
1353 lines
56 KiB
TypeScript
|
|
/* !!! 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<Prisma.$SegmentSnapshotMemberPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends SegmentSnapshotMemberAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateSegmentSnapshotMember]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateSegmentSnapshotMember[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateSegmentSnapshotMember[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type SegmentSnapshotMemberGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends SegmentSnapshotMemberGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<SegmentSnapshotMemberGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof SegmentSnapshotMemberGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], SegmentSnapshotMemberGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], SegmentSnapshotMemberGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.RecipientSegmentScalarRelationFilter, Prisma.RecipientSegmentWhereInput>
|
|
}
|
|
|
|
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<Prisma.RecipientSegmentScalarRelationFilter, Prisma.RecipientSegmentWhereInput>
|
|
}, "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> | 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> | 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> | 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> | 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<Prisma.SegmentSnapshotMemberCreateWithoutSegmentInput, Prisma.SegmentSnapshotMemberUncheckedCreateWithoutSegmentInput>
|
|
}
|
|
|
|
export type SegmentSnapshotMemberCreateManySegmentInputEnvelope = {
|
|
data: Prisma.SegmentSnapshotMemberCreateManySegmentInput | Prisma.SegmentSnapshotMemberCreateManySegmentInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
export type SegmentSnapshotMemberUpsertWithWhereUniqueWithoutSegmentInput = {
|
|
where: Prisma.SegmentSnapshotMemberWhereUniqueInput
|
|
update: Prisma.XOR<Prisma.SegmentSnapshotMemberUpdateWithoutSegmentInput, Prisma.SegmentSnapshotMemberUncheckedUpdateWithoutSegmentInput>
|
|
create: Prisma.XOR<Prisma.SegmentSnapshotMemberCreateWithoutSegmentInput, Prisma.SegmentSnapshotMemberUncheckedCreateWithoutSegmentInput>
|
|
}
|
|
|
|
export type SegmentSnapshotMemberUpdateWithWhereUniqueWithoutSegmentInput = {
|
|
where: Prisma.SegmentSnapshotMemberWhereUniqueInput
|
|
data: Prisma.XOR<Prisma.SegmentSnapshotMemberUpdateWithoutSegmentInput, Prisma.SegmentSnapshotMemberUncheckedUpdateWithoutSegmentInput>
|
|
}
|
|
|
|
export type SegmentSnapshotMemberUpdateManyWithWhereWithoutSegmentInput = {
|
|
where: Prisma.SegmentSnapshotMemberScalarWhereInput
|
|
data: Prisma.XOR<Prisma.SegmentSnapshotMemberUpdateManyMutationInput, Prisma.SegmentSnapshotMemberUncheckedUpdateManyWithoutSegmentInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
segmentId?: boolean
|
|
kontaktId?: boolean
|
|
segment?: boolean | Prisma.RecipientSegmentDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["segmentSnapshotMember"]>
|
|
|
|
export type SegmentSnapshotMemberSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
segmentId?: boolean
|
|
kontaktId?: boolean
|
|
segment?: boolean | Prisma.RecipientSegmentDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["segmentSnapshotMember"]>
|
|
|
|
export type SegmentSnapshotMemberSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
segmentId?: boolean
|
|
kontaktId?: boolean
|
|
segment?: boolean | Prisma.RecipientSegmentDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["segmentSnapshotMember"]>
|
|
|
|
export type SegmentSnapshotMemberSelectScalar = {
|
|
id?: boolean
|
|
createdAt?: boolean
|
|
tenantId?: boolean
|
|
segmentId?: boolean
|
|
kontaktId?: boolean
|
|
}
|
|
|
|
export type SegmentSnapshotMemberOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "segmentId" | "kontaktId", ExtArgs["result"]["segmentSnapshotMember"]>
|
|
export type SegmentSnapshotMemberInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
segment?: boolean | Prisma.RecipientSegmentDefaultArgs<ExtArgs>
|
|
}
|
|
export type SegmentSnapshotMemberIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
segment?: boolean | Prisma.RecipientSegmentDefaultArgs<ExtArgs>
|
|
}
|
|
export type SegmentSnapshotMemberIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
segment?: boolean | Prisma.RecipientSegmentDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $SegmentSnapshotMemberPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "SegmentSnapshotMember"
|
|
objects: {
|
|
segment: Prisma.$RecipientSegmentPayload<ExtArgs>
|
|
}
|
|
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
id: string
|
|
createdAt: Date
|
|
tenantId: string
|
|
segmentId: string
|
|
kontaktId: string
|
|
}, ExtArgs["result"]["segmentSnapshotMember"]>
|
|
composites: {}
|
|
}
|
|
|
|
export type SegmentSnapshotMemberGetPayload<S extends boolean | null | undefined | SegmentSnapshotMemberDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload, S>
|
|
|
|
export type SegmentSnapshotMemberCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<SegmentSnapshotMemberFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: SegmentSnapshotMemberCountAggregateInputType | true
|
|
}
|
|
|
|
export interface SegmentSnapshotMemberDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends SegmentSnapshotMemberFindUniqueArgs>(args: Prisma.SelectSubset<T, SegmentSnapshotMemberFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SegmentSnapshotMemberClient<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SegmentSnapshotMemberFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SegmentSnapshotMemberClient<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberFindFirstArgs>(args?: Prisma.SelectSubset<T, SegmentSnapshotMemberFindFirstArgs<ExtArgs>>): Prisma.Prisma__SegmentSnapshotMemberClient<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SegmentSnapshotMemberFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SegmentSnapshotMemberClient<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberFindManyArgs>(args?: Prisma.SelectSubset<T, SegmentSnapshotMemberFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberCreateArgs>(args: Prisma.SelectSubset<T, SegmentSnapshotMemberCreateArgs<ExtArgs>>): Prisma.Prisma__SegmentSnapshotMemberClient<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberCreateManyArgs>(args?: Prisma.SelectSubset<T, SegmentSnapshotMemberCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends SegmentSnapshotMemberCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SegmentSnapshotMemberCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberDeleteArgs>(args: Prisma.SelectSubset<T, SegmentSnapshotMemberDeleteArgs<ExtArgs>>): Prisma.Prisma__SegmentSnapshotMemberClient<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberUpdateArgs>(args: Prisma.SelectSubset<T, SegmentSnapshotMemberUpdateArgs<ExtArgs>>): Prisma.Prisma__SegmentSnapshotMemberClient<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberDeleteManyArgs>(args?: Prisma.SelectSubset<T, SegmentSnapshotMemberDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends SegmentSnapshotMemberUpdateManyArgs>(args: Prisma.SelectSubset<T, SegmentSnapshotMemberUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends SegmentSnapshotMemberUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SegmentSnapshotMemberUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberUpsertArgs>(args: Prisma.SelectSubset<T, SegmentSnapshotMemberUpsertArgs<ExtArgs>>): Prisma.Prisma__SegmentSnapshotMemberClient<runtime.Types.Result.GetResult<Prisma.$SegmentSnapshotMemberPayload<ExtArgs>, 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<T extends SegmentSnapshotMemberCountArgs>(
|
|
args?: Prisma.Subset<T, SegmentSnapshotMemberCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], SegmentSnapshotMemberCountAggregateOutputType>
|
|
: 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<T extends SegmentSnapshotMemberAggregateArgs>(args: Prisma.Subset<T, SegmentSnapshotMemberAggregateArgs>): Prisma.PrismaPromise<GetSegmentSnapshotMemberAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: SegmentSnapshotMemberGroupByArgs['orderBy'] }
|
|
: { orderBy?: SegmentSnapshotMemberGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T, SegmentSnapshotMemberGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSegmentSnapshotMemberGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
segment<T extends Prisma.RecipientSegmentDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.RecipientSegmentDefaultArgs<ExtArgs>>): Prisma.Prisma__RecipientSegmentClient<runtime.Types.Result.GetResult<Prisma.$RecipientSegmentPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* 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<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which SegmentSnapshotMember to fetch.
|
|
*/
|
|
where: Prisma.SegmentSnapshotMemberWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember findUniqueOrThrow
|
|
*/
|
|
export type SegmentSnapshotMemberFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which SegmentSnapshotMember to fetch.
|
|
*/
|
|
where: Prisma.SegmentSnapshotMemberWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember findFirst
|
|
*/
|
|
export type SegmentSnapshotMemberFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a SegmentSnapshotMember.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SegmentSnapshotMemberCreateInput, Prisma.SegmentSnapshotMemberUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember createMany
|
|
*/
|
|
export type SegmentSnapshotMemberCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many SegmentSnapshotMembers.
|
|
*/
|
|
data: Prisma.SegmentSnapshotMemberCreateManyInput | Prisma.SegmentSnapshotMemberCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember createManyAndReturn
|
|
*/
|
|
export type SegmentSnapshotMemberCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember update
|
|
*/
|
|
export type SegmentSnapshotMemberUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a SegmentSnapshotMember.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SegmentSnapshotMemberUpdateInput, Prisma.SegmentSnapshotMemberUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which SegmentSnapshotMember to update.
|
|
*/
|
|
where: Prisma.SegmentSnapshotMemberWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember updateMany
|
|
*/
|
|
export type SegmentSnapshotMemberUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update SegmentSnapshotMembers.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SegmentSnapshotMemberUpdateManyMutationInput, Prisma.SegmentSnapshotMemberUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which SegmentSnapshotMembers to update
|
|
*/
|
|
where?: Prisma.SegmentSnapshotMemberWhereInput
|
|
/**
|
|
* Limit how many SegmentSnapshotMembers to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember updateManyAndReturn
|
|
*/
|
|
export type SegmentSnapshotMemberUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update SegmentSnapshotMembers.
|
|
*/
|
|
data: Prisma.XOR<Prisma.SegmentSnapshotMemberUpdateManyMutationInput, Prisma.SegmentSnapshotMemberUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember upsert
|
|
*/
|
|
export type SegmentSnapshotMemberUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | 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<Prisma.SegmentSnapshotMemberCreateInput, Prisma.SegmentSnapshotMemberUncheckedCreateInput>
|
|
/**
|
|
* In case the SegmentSnapshotMember was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.SegmentSnapshotMemberUpdateInput, Prisma.SegmentSnapshotMemberUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember delete
|
|
*/
|
|
export type SegmentSnapshotMemberDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which SegmentSnapshotMember to delete.
|
|
*/
|
|
where: Prisma.SegmentSnapshotMemberWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember deleteMany
|
|
*/
|
|
export type SegmentSnapshotMemberDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which SegmentSnapshotMembers to delete
|
|
*/
|
|
where?: Prisma.SegmentSnapshotMemberWhereInput
|
|
/**
|
|
* Limit how many SegmentSnapshotMembers to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* SegmentSnapshotMember without action
|
|
*/
|
|
export type SegmentSnapshotMemberDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the SegmentSnapshotMember
|
|
*/
|
|
select?: Prisma.SegmentSnapshotMemberSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the SegmentSnapshotMember
|
|
*/
|
|
omit?: Prisma.SegmentSnapshotMemberOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.SegmentSnapshotMemberInclude<ExtArgs> | null
|
|
}
|