Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/AnalyticsEvent.ts
T

2134 lines
94 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 `AnalyticsEvent` 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 AnalyticsEvent
*
*/
export type AnalyticsEventModel = runtime.Types.Result.DefaultSelection<Prisma.$AnalyticsEventPayload>
export type AggregateAnalyticsEvent = {
_count: AnalyticsEventCountAggregateOutputType | null
_min: AnalyticsEventMinAggregateOutputType | null
_max: AnalyticsEventMaxAggregateOutputType | null
}
export type AnalyticsEventMinAggregateOutputType = {
id: string | null
createdAt: Date | null
uniqueVisitorId: string | null
action: string | null
category: string | null
label: string | null
value: string | null
url: string | null
route: string | null
featureFlagId: string | null
portalId: string | null
portalUserId: string | null
}
export type AnalyticsEventMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
uniqueVisitorId: string | null
action: string | null
category: string | null
label: string | null
value: string | null
url: string | null
route: string | null
featureFlagId: string | null
portalId: string | null
portalUserId: string | null
}
export type AnalyticsEventCountAggregateOutputType = {
id: number
createdAt: number
uniqueVisitorId: number
action: number
category: number
label: number
value: number
url: number
route: number
featureFlagId: number
portalId: number
portalUserId: number
_all: number
}
export type AnalyticsEventMinAggregateInputType = {
id?: true
createdAt?: true
uniqueVisitorId?: true
action?: true
category?: true
label?: true
value?: true
url?: true
route?: true
featureFlagId?: true
portalId?: true
portalUserId?: true
}
export type AnalyticsEventMaxAggregateInputType = {
id?: true
createdAt?: true
uniqueVisitorId?: true
action?: true
category?: true
label?: true
value?: true
url?: true
route?: true
featureFlagId?: true
portalId?: true
portalUserId?: true
}
export type AnalyticsEventCountAggregateInputType = {
id?: true
createdAt?: true
uniqueVisitorId?: true
action?: true
category?: true
label?: true
value?: true
url?: true
route?: true
featureFlagId?: true
portalId?: true
portalUserId?: true
_all?: true
}
export type AnalyticsEventAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AnalyticsEvent to aggregate.
*/
where?: Prisma.AnalyticsEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AnalyticsEvents to fetch.
*/
orderBy?: Prisma.AnalyticsEventOrderByWithRelationInput | Prisma.AnalyticsEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.AnalyticsEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AnalyticsEvents 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` AnalyticsEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned AnalyticsEvents
**/
_count?: true | AnalyticsEventCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: AnalyticsEventMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: AnalyticsEventMaxAggregateInputType
}
export type GetAnalyticsEventAggregateType<T extends AnalyticsEventAggregateArgs> = {
[P in keyof T & keyof AggregateAnalyticsEvent]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateAnalyticsEvent[P]>
: Prisma.GetScalarType<T[P], AggregateAnalyticsEvent[P]>
}
export type AnalyticsEventGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.AnalyticsEventWhereInput
orderBy?: Prisma.AnalyticsEventOrderByWithAggregationInput | Prisma.AnalyticsEventOrderByWithAggregationInput[]
by: Prisma.AnalyticsEventScalarFieldEnum[] | Prisma.AnalyticsEventScalarFieldEnum
having?: Prisma.AnalyticsEventScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: AnalyticsEventCountAggregateInputType | true
_min?: AnalyticsEventMinAggregateInputType
_max?: AnalyticsEventMaxAggregateInputType
}
export type AnalyticsEventGroupByOutputType = {
id: string
createdAt: Date
uniqueVisitorId: string
action: string
category: string | null
label: string | null
value: string | null
url: string | null
route: string | null
featureFlagId: string | null
portalId: string | null
portalUserId: string | null
_count: AnalyticsEventCountAggregateOutputType | null
_min: AnalyticsEventMinAggregateOutputType | null
_max: AnalyticsEventMaxAggregateOutputType | null
}
export type GetAnalyticsEventGroupByPayload<T extends AnalyticsEventGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<AnalyticsEventGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof AnalyticsEventGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], AnalyticsEventGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], AnalyticsEventGroupByOutputType[P]>
}
>
>
export type AnalyticsEventWhereInput = {
AND?: Prisma.AnalyticsEventWhereInput | Prisma.AnalyticsEventWhereInput[]
OR?: Prisma.AnalyticsEventWhereInput[]
NOT?: Prisma.AnalyticsEventWhereInput | Prisma.AnalyticsEventWhereInput[]
id?: Prisma.StringFilter<"AnalyticsEvent"> | string
createdAt?: Prisma.DateTimeFilter<"AnalyticsEvent"> | Date | string
uniqueVisitorId?: Prisma.StringFilter<"AnalyticsEvent"> | string
action?: Prisma.StringFilter<"AnalyticsEvent"> | string
category?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
label?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
value?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
url?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
route?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
featureFlagId?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
portalId?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
portalUserId?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
uniqueVisitor?: Prisma.XOR<Prisma.AnalyticsUniqueVisitorScalarRelationFilter, Prisma.AnalyticsUniqueVisitorWhereInput>
featureFlag?: Prisma.XOR<Prisma.FeatureFlagNullableScalarRelationFilter, Prisma.FeatureFlagWhereInput> | null
portal?: Prisma.XOR<Prisma.PortalNullableScalarRelationFilter, Prisma.PortalWhereInput> | null
portalUser?: Prisma.XOR<Prisma.PortalUserNullableScalarRelationFilter, Prisma.PortalUserWhereInput> | null
}
export type AnalyticsEventOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
uniqueVisitorId?: Prisma.SortOrder
action?: Prisma.SortOrder
category?: Prisma.SortOrderInput | Prisma.SortOrder
label?: Prisma.SortOrderInput | Prisma.SortOrder
value?: Prisma.SortOrderInput | Prisma.SortOrder
url?: Prisma.SortOrderInput | Prisma.SortOrder
route?: Prisma.SortOrderInput | Prisma.SortOrder
featureFlagId?: Prisma.SortOrderInput | Prisma.SortOrder
portalId?: Prisma.SortOrderInput | Prisma.SortOrder
portalUserId?: Prisma.SortOrderInput | Prisma.SortOrder
uniqueVisitor?: Prisma.AnalyticsUniqueVisitorOrderByWithRelationInput
featureFlag?: Prisma.FeatureFlagOrderByWithRelationInput
portal?: Prisma.PortalOrderByWithRelationInput
portalUser?: Prisma.PortalUserOrderByWithRelationInput
}
export type AnalyticsEventWhereUniqueInput = Prisma.AtLeast<{
id?: string
AND?: Prisma.AnalyticsEventWhereInput | Prisma.AnalyticsEventWhereInput[]
OR?: Prisma.AnalyticsEventWhereInput[]
NOT?: Prisma.AnalyticsEventWhereInput | Prisma.AnalyticsEventWhereInput[]
createdAt?: Prisma.DateTimeFilter<"AnalyticsEvent"> | Date | string
uniqueVisitorId?: Prisma.StringFilter<"AnalyticsEvent"> | string
action?: Prisma.StringFilter<"AnalyticsEvent"> | string
category?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
label?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
value?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
url?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
route?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
featureFlagId?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
portalId?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
portalUserId?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
uniqueVisitor?: Prisma.XOR<Prisma.AnalyticsUniqueVisitorScalarRelationFilter, Prisma.AnalyticsUniqueVisitorWhereInput>
featureFlag?: Prisma.XOR<Prisma.FeatureFlagNullableScalarRelationFilter, Prisma.FeatureFlagWhereInput> | null
portal?: Prisma.XOR<Prisma.PortalNullableScalarRelationFilter, Prisma.PortalWhereInput> | null
portalUser?: Prisma.XOR<Prisma.PortalUserNullableScalarRelationFilter, Prisma.PortalUserWhereInput> | null
}, "id">
export type AnalyticsEventOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
uniqueVisitorId?: Prisma.SortOrder
action?: Prisma.SortOrder
category?: Prisma.SortOrderInput | Prisma.SortOrder
label?: Prisma.SortOrderInput | Prisma.SortOrder
value?: Prisma.SortOrderInput | Prisma.SortOrder
url?: Prisma.SortOrderInput | Prisma.SortOrder
route?: Prisma.SortOrderInput | Prisma.SortOrder
featureFlagId?: Prisma.SortOrderInput | Prisma.SortOrder
portalId?: Prisma.SortOrderInput | Prisma.SortOrder
portalUserId?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.AnalyticsEventCountOrderByAggregateInput
_max?: Prisma.AnalyticsEventMaxOrderByAggregateInput
_min?: Prisma.AnalyticsEventMinOrderByAggregateInput
}
export type AnalyticsEventScalarWhereWithAggregatesInput = {
AND?: Prisma.AnalyticsEventScalarWhereWithAggregatesInput | Prisma.AnalyticsEventScalarWhereWithAggregatesInput[]
OR?: Prisma.AnalyticsEventScalarWhereWithAggregatesInput[]
NOT?: Prisma.AnalyticsEventScalarWhereWithAggregatesInput | Prisma.AnalyticsEventScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"AnalyticsEvent"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"AnalyticsEvent"> | Date | string
uniqueVisitorId?: Prisma.StringWithAggregatesFilter<"AnalyticsEvent"> | string
action?: Prisma.StringWithAggregatesFilter<"AnalyticsEvent"> | string
category?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsEvent"> | string | null
label?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsEvent"> | string | null
value?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsEvent"> | string | null
url?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsEvent"> | string | null
route?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsEvent"> | string | null
featureFlagId?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsEvent"> | string | null
portalId?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsEvent"> | string | null
portalUserId?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsEvent"> | string | null
}
export type AnalyticsEventCreateInput = {
id?: string
createdAt?: Date | string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
uniqueVisitor: Prisma.AnalyticsUniqueVisitorCreateNestedOneWithoutEventsInput
featureFlag?: Prisma.FeatureFlagCreateNestedOneWithoutEventsInput
portal?: Prisma.PortalCreateNestedOneWithoutAnalyticsEventsInput
portalUser?: Prisma.PortalUserCreateNestedOneWithoutAnalyticsEventsInput
}
export type AnalyticsEventUncheckedCreateInput = {
id?: string
createdAt?: Date | string
uniqueVisitorId: string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
featureFlagId?: string | null
portalId?: string | null
portalUserId?: string | null
}
export type AnalyticsEventUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
uniqueVisitor?: Prisma.AnalyticsUniqueVisitorUpdateOneRequiredWithoutEventsNestedInput
featureFlag?: Prisma.FeatureFlagUpdateOneWithoutEventsNestedInput
portal?: Prisma.PortalUpdateOneWithoutAnalyticsEventsNestedInput
portalUser?: Prisma.PortalUserUpdateOneWithoutAnalyticsEventsNestedInput
}
export type AnalyticsEventUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlagId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventCreateManyInput = {
id?: string
createdAt?: Date | string
uniqueVisitorId: string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
featureFlagId?: string | null
portalId?: string | null
portalUserId?: string | null
}
export type AnalyticsEventUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlagId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventListRelationFilter = {
every?: Prisma.AnalyticsEventWhereInput
some?: Prisma.AnalyticsEventWhereInput
none?: Prisma.AnalyticsEventWhereInput
}
export type AnalyticsEventOrderByRelationAggregateInput = {
_count?: Prisma.SortOrder
}
export type AnalyticsEventCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
uniqueVisitorId?: Prisma.SortOrder
action?: Prisma.SortOrder
category?: Prisma.SortOrder
label?: Prisma.SortOrder
value?: Prisma.SortOrder
url?: Prisma.SortOrder
route?: Prisma.SortOrder
featureFlagId?: Prisma.SortOrder
portalId?: Prisma.SortOrder
portalUserId?: Prisma.SortOrder
}
export type AnalyticsEventMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
uniqueVisitorId?: Prisma.SortOrder
action?: Prisma.SortOrder
category?: Prisma.SortOrder
label?: Prisma.SortOrder
value?: Prisma.SortOrder
url?: Prisma.SortOrder
route?: Prisma.SortOrder
featureFlagId?: Prisma.SortOrder
portalId?: Prisma.SortOrder
portalUserId?: Prisma.SortOrder
}
export type AnalyticsEventMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
uniqueVisitorId?: Prisma.SortOrder
action?: Prisma.SortOrder
category?: Prisma.SortOrder
label?: Prisma.SortOrder
value?: Prisma.SortOrder
url?: Prisma.SortOrder
route?: Prisma.SortOrder
featureFlagId?: Prisma.SortOrder
portalId?: Prisma.SortOrder
portalUserId?: Prisma.SortOrder
}
export type AnalyticsEventCreateNestedManyWithoutUniqueVisitorInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput, Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput> | Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutUniqueVisitorInput | Prisma.AnalyticsEventCreateOrConnectWithoutUniqueVisitorInput[]
createMany?: Prisma.AnalyticsEventCreateManyUniqueVisitorInputEnvelope
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
}
export type AnalyticsEventUncheckedCreateNestedManyWithoutUniqueVisitorInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput, Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput> | Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutUniqueVisitorInput | Prisma.AnalyticsEventCreateOrConnectWithoutUniqueVisitorInput[]
createMany?: Prisma.AnalyticsEventCreateManyUniqueVisitorInputEnvelope
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
}
export type AnalyticsEventUpdateManyWithoutUniqueVisitorNestedInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput, Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput> | Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutUniqueVisitorInput | Prisma.AnalyticsEventCreateOrConnectWithoutUniqueVisitorInput[]
upsert?: Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutUniqueVisitorInput | Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutUniqueVisitorInput[]
createMany?: Prisma.AnalyticsEventCreateManyUniqueVisitorInputEnvelope
set?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
disconnect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
delete?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
update?: Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutUniqueVisitorInput | Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutUniqueVisitorInput[]
updateMany?: Prisma.AnalyticsEventUpdateManyWithWhereWithoutUniqueVisitorInput | Prisma.AnalyticsEventUpdateManyWithWhereWithoutUniqueVisitorInput[]
deleteMany?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
}
export type AnalyticsEventUncheckedUpdateManyWithoutUniqueVisitorNestedInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput, Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput> | Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutUniqueVisitorInput | Prisma.AnalyticsEventCreateOrConnectWithoutUniqueVisitorInput[]
upsert?: Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutUniqueVisitorInput | Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutUniqueVisitorInput[]
createMany?: Prisma.AnalyticsEventCreateManyUniqueVisitorInputEnvelope
set?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
disconnect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
delete?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
update?: Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutUniqueVisitorInput | Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutUniqueVisitorInput[]
updateMany?: Prisma.AnalyticsEventUpdateManyWithWhereWithoutUniqueVisitorInput | Prisma.AnalyticsEventUpdateManyWithWhereWithoutUniqueVisitorInput[]
deleteMany?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
}
export type AnalyticsEventCreateNestedManyWithoutFeatureFlagInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutFeatureFlagInput, Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput> | Prisma.AnalyticsEventCreateWithoutFeatureFlagInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutFeatureFlagInput | Prisma.AnalyticsEventCreateOrConnectWithoutFeatureFlagInput[]
createMany?: Prisma.AnalyticsEventCreateManyFeatureFlagInputEnvelope
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
}
export type AnalyticsEventUncheckedCreateNestedManyWithoutFeatureFlagInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutFeatureFlagInput, Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput> | Prisma.AnalyticsEventCreateWithoutFeatureFlagInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutFeatureFlagInput | Prisma.AnalyticsEventCreateOrConnectWithoutFeatureFlagInput[]
createMany?: Prisma.AnalyticsEventCreateManyFeatureFlagInputEnvelope
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
}
export type AnalyticsEventUpdateManyWithoutFeatureFlagNestedInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutFeatureFlagInput, Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput> | Prisma.AnalyticsEventCreateWithoutFeatureFlagInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutFeatureFlagInput | Prisma.AnalyticsEventCreateOrConnectWithoutFeatureFlagInput[]
upsert?: Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutFeatureFlagInput | Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutFeatureFlagInput[]
createMany?: Prisma.AnalyticsEventCreateManyFeatureFlagInputEnvelope
set?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
disconnect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
delete?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
update?: Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutFeatureFlagInput | Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutFeatureFlagInput[]
updateMany?: Prisma.AnalyticsEventUpdateManyWithWhereWithoutFeatureFlagInput | Prisma.AnalyticsEventUpdateManyWithWhereWithoutFeatureFlagInput[]
deleteMany?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
}
export type AnalyticsEventUncheckedUpdateManyWithoutFeatureFlagNestedInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutFeatureFlagInput, Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput> | Prisma.AnalyticsEventCreateWithoutFeatureFlagInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutFeatureFlagInput | Prisma.AnalyticsEventCreateOrConnectWithoutFeatureFlagInput[]
upsert?: Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutFeatureFlagInput | Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutFeatureFlagInput[]
createMany?: Prisma.AnalyticsEventCreateManyFeatureFlagInputEnvelope
set?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
disconnect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
delete?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
update?: Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutFeatureFlagInput | Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutFeatureFlagInput[]
updateMany?: Prisma.AnalyticsEventUpdateManyWithWhereWithoutFeatureFlagInput | Prisma.AnalyticsEventUpdateManyWithWhereWithoutFeatureFlagInput[]
deleteMany?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
}
export type AnalyticsEventCreateNestedManyWithoutPortalInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput> | Prisma.AnalyticsEventCreateWithoutPortalInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutPortalInput | Prisma.AnalyticsEventCreateOrConnectWithoutPortalInput[]
createMany?: Prisma.AnalyticsEventCreateManyPortalInputEnvelope
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
}
export type AnalyticsEventUncheckedCreateNestedManyWithoutPortalInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput> | Prisma.AnalyticsEventCreateWithoutPortalInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutPortalInput | Prisma.AnalyticsEventCreateOrConnectWithoutPortalInput[]
createMany?: Prisma.AnalyticsEventCreateManyPortalInputEnvelope
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
}
export type AnalyticsEventUpdateManyWithoutPortalNestedInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput> | Prisma.AnalyticsEventCreateWithoutPortalInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutPortalInput | Prisma.AnalyticsEventCreateOrConnectWithoutPortalInput[]
upsert?: Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutPortalInput | Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutPortalInput[]
createMany?: Prisma.AnalyticsEventCreateManyPortalInputEnvelope
set?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
disconnect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
delete?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
update?: Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutPortalInput | Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutPortalInput[]
updateMany?: Prisma.AnalyticsEventUpdateManyWithWhereWithoutPortalInput | Prisma.AnalyticsEventUpdateManyWithWhereWithoutPortalInput[]
deleteMany?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
}
export type AnalyticsEventUncheckedUpdateManyWithoutPortalNestedInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput> | Prisma.AnalyticsEventCreateWithoutPortalInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutPortalInput | Prisma.AnalyticsEventCreateOrConnectWithoutPortalInput[]
upsert?: Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutPortalInput | Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutPortalInput[]
createMany?: Prisma.AnalyticsEventCreateManyPortalInputEnvelope
set?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
disconnect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
delete?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
update?: Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutPortalInput | Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutPortalInput[]
updateMany?: Prisma.AnalyticsEventUpdateManyWithWhereWithoutPortalInput | Prisma.AnalyticsEventUpdateManyWithWhereWithoutPortalInput[]
deleteMany?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
}
export type AnalyticsEventCreateNestedManyWithoutPortalUserInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalUserInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput> | Prisma.AnalyticsEventCreateWithoutPortalUserInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutPortalUserInput | Prisma.AnalyticsEventCreateOrConnectWithoutPortalUserInput[]
createMany?: Prisma.AnalyticsEventCreateManyPortalUserInputEnvelope
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
}
export type AnalyticsEventUncheckedCreateNestedManyWithoutPortalUserInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalUserInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput> | Prisma.AnalyticsEventCreateWithoutPortalUserInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutPortalUserInput | Prisma.AnalyticsEventCreateOrConnectWithoutPortalUserInput[]
createMany?: Prisma.AnalyticsEventCreateManyPortalUserInputEnvelope
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
}
export type AnalyticsEventUpdateManyWithoutPortalUserNestedInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalUserInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput> | Prisma.AnalyticsEventCreateWithoutPortalUserInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutPortalUserInput | Prisma.AnalyticsEventCreateOrConnectWithoutPortalUserInput[]
upsert?: Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutPortalUserInput | Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutPortalUserInput[]
createMany?: Prisma.AnalyticsEventCreateManyPortalUserInputEnvelope
set?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
disconnect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
delete?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
update?: Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutPortalUserInput | Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutPortalUserInput[]
updateMany?: Prisma.AnalyticsEventUpdateManyWithWhereWithoutPortalUserInput | Prisma.AnalyticsEventUpdateManyWithWhereWithoutPortalUserInput[]
deleteMany?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
}
export type AnalyticsEventUncheckedUpdateManyWithoutPortalUserNestedInput = {
create?: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalUserInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput> | Prisma.AnalyticsEventCreateWithoutPortalUserInput[] | Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput[]
connectOrCreate?: Prisma.AnalyticsEventCreateOrConnectWithoutPortalUserInput | Prisma.AnalyticsEventCreateOrConnectWithoutPortalUserInput[]
upsert?: Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutPortalUserInput | Prisma.AnalyticsEventUpsertWithWhereUniqueWithoutPortalUserInput[]
createMany?: Prisma.AnalyticsEventCreateManyPortalUserInputEnvelope
set?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
disconnect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
delete?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
connect?: Prisma.AnalyticsEventWhereUniqueInput | Prisma.AnalyticsEventWhereUniqueInput[]
update?: Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutPortalUserInput | Prisma.AnalyticsEventUpdateWithWhereUniqueWithoutPortalUserInput[]
updateMany?: Prisma.AnalyticsEventUpdateManyWithWhereWithoutPortalUserInput | Prisma.AnalyticsEventUpdateManyWithWhereWithoutPortalUserInput[]
deleteMany?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
}
export type AnalyticsEventCreateWithoutUniqueVisitorInput = {
id?: string
createdAt?: Date | string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
featureFlag?: Prisma.FeatureFlagCreateNestedOneWithoutEventsInput
portal?: Prisma.PortalCreateNestedOneWithoutAnalyticsEventsInput
portalUser?: Prisma.PortalUserCreateNestedOneWithoutAnalyticsEventsInput
}
export type AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput = {
id?: string
createdAt?: Date | string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
featureFlagId?: string | null
portalId?: string | null
portalUserId?: string | null
}
export type AnalyticsEventCreateOrConnectWithoutUniqueVisitorInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
create: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput, Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput>
}
export type AnalyticsEventCreateManyUniqueVisitorInputEnvelope = {
data: Prisma.AnalyticsEventCreateManyUniqueVisitorInput | Prisma.AnalyticsEventCreateManyUniqueVisitorInput[]
skipDuplicates?: boolean
}
export type AnalyticsEventUpsertWithWhereUniqueWithoutUniqueVisitorInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
update: Prisma.XOR<Prisma.AnalyticsEventUpdateWithoutUniqueVisitorInput, Prisma.AnalyticsEventUncheckedUpdateWithoutUniqueVisitorInput>
create: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutUniqueVisitorInput, Prisma.AnalyticsEventUncheckedCreateWithoutUniqueVisitorInput>
}
export type AnalyticsEventUpdateWithWhereUniqueWithoutUniqueVisitorInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
data: Prisma.XOR<Prisma.AnalyticsEventUpdateWithoutUniqueVisitorInput, Prisma.AnalyticsEventUncheckedUpdateWithoutUniqueVisitorInput>
}
export type AnalyticsEventUpdateManyWithWhereWithoutUniqueVisitorInput = {
where: Prisma.AnalyticsEventScalarWhereInput
data: Prisma.XOR<Prisma.AnalyticsEventUpdateManyMutationInput, Prisma.AnalyticsEventUncheckedUpdateManyWithoutUniqueVisitorInput>
}
export type AnalyticsEventScalarWhereInput = {
AND?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
OR?: Prisma.AnalyticsEventScalarWhereInput[]
NOT?: Prisma.AnalyticsEventScalarWhereInput | Prisma.AnalyticsEventScalarWhereInput[]
id?: Prisma.StringFilter<"AnalyticsEvent"> | string
createdAt?: Prisma.DateTimeFilter<"AnalyticsEvent"> | Date | string
uniqueVisitorId?: Prisma.StringFilter<"AnalyticsEvent"> | string
action?: Prisma.StringFilter<"AnalyticsEvent"> | string
category?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
label?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
value?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
url?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
route?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
featureFlagId?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
portalId?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
portalUserId?: Prisma.StringNullableFilter<"AnalyticsEvent"> | string | null
}
export type AnalyticsEventCreateWithoutFeatureFlagInput = {
id?: string
createdAt?: Date | string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
uniqueVisitor: Prisma.AnalyticsUniqueVisitorCreateNestedOneWithoutEventsInput
portal?: Prisma.PortalCreateNestedOneWithoutAnalyticsEventsInput
portalUser?: Prisma.PortalUserCreateNestedOneWithoutAnalyticsEventsInput
}
export type AnalyticsEventUncheckedCreateWithoutFeatureFlagInput = {
id?: string
createdAt?: Date | string
uniqueVisitorId: string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
portalId?: string | null
portalUserId?: string | null
}
export type AnalyticsEventCreateOrConnectWithoutFeatureFlagInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
create: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutFeatureFlagInput, Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput>
}
export type AnalyticsEventCreateManyFeatureFlagInputEnvelope = {
data: Prisma.AnalyticsEventCreateManyFeatureFlagInput | Prisma.AnalyticsEventCreateManyFeatureFlagInput[]
skipDuplicates?: boolean
}
export type AnalyticsEventUpsertWithWhereUniqueWithoutFeatureFlagInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
update: Prisma.XOR<Prisma.AnalyticsEventUpdateWithoutFeatureFlagInput, Prisma.AnalyticsEventUncheckedUpdateWithoutFeatureFlagInput>
create: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutFeatureFlagInput, Prisma.AnalyticsEventUncheckedCreateWithoutFeatureFlagInput>
}
export type AnalyticsEventUpdateWithWhereUniqueWithoutFeatureFlagInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
data: Prisma.XOR<Prisma.AnalyticsEventUpdateWithoutFeatureFlagInput, Prisma.AnalyticsEventUncheckedUpdateWithoutFeatureFlagInput>
}
export type AnalyticsEventUpdateManyWithWhereWithoutFeatureFlagInput = {
where: Prisma.AnalyticsEventScalarWhereInput
data: Prisma.XOR<Prisma.AnalyticsEventUpdateManyMutationInput, Prisma.AnalyticsEventUncheckedUpdateManyWithoutFeatureFlagInput>
}
export type AnalyticsEventCreateWithoutPortalInput = {
id?: string
createdAt?: Date | string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
uniqueVisitor: Prisma.AnalyticsUniqueVisitorCreateNestedOneWithoutEventsInput
featureFlag?: Prisma.FeatureFlagCreateNestedOneWithoutEventsInput
portalUser?: Prisma.PortalUserCreateNestedOneWithoutAnalyticsEventsInput
}
export type AnalyticsEventUncheckedCreateWithoutPortalInput = {
id?: string
createdAt?: Date | string
uniqueVisitorId: string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
featureFlagId?: string | null
portalUserId?: string | null
}
export type AnalyticsEventCreateOrConnectWithoutPortalInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
create: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput>
}
export type AnalyticsEventCreateManyPortalInputEnvelope = {
data: Prisma.AnalyticsEventCreateManyPortalInput | Prisma.AnalyticsEventCreateManyPortalInput[]
skipDuplicates?: boolean
}
export type AnalyticsEventUpsertWithWhereUniqueWithoutPortalInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
update: Prisma.XOR<Prisma.AnalyticsEventUpdateWithoutPortalInput, Prisma.AnalyticsEventUncheckedUpdateWithoutPortalInput>
create: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalInput>
}
export type AnalyticsEventUpdateWithWhereUniqueWithoutPortalInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
data: Prisma.XOR<Prisma.AnalyticsEventUpdateWithoutPortalInput, Prisma.AnalyticsEventUncheckedUpdateWithoutPortalInput>
}
export type AnalyticsEventUpdateManyWithWhereWithoutPortalInput = {
where: Prisma.AnalyticsEventScalarWhereInput
data: Prisma.XOR<Prisma.AnalyticsEventUpdateManyMutationInput, Prisma.AnalyticsEventUncheckedUpdateManyWithoutPortalInput>
}
export type AnalyticsEventCreateWithoutPortalUserInput = {
id?: string
createdAt?: Date | string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
uniqueVisitor: Prisma.AnalyticsUniqueVisitorCreateNestedOneWithoutEventsInput
featureFlag?: Prisma.FeatureFlagCreateNestedOneWithoutEventsInput
portal?: Prisma.PortalCreateNestedOneWithoutAnalyticsEventsInput
}
export type AnalyticsEventUncheckedCreateWithoutPortalUserInput = {
id?: string
createdAt?: Date | string
uniqueVisitorId: string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
featureFlagId?: string | null
portalId?: string | null
}
export type AnalyticsEventCreateOrConnectWithoutPortalUserInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
create: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalUserInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput>
}
export type AnalyticsEventCreateManyPortalUserInputEnvelope = {
data: Prisma.AnalyticsEventCreateManyPortalUserInput | Prisma.AnalyticsEventCreateManyPortalUserInput[]
skipDuplicates?: boolean
}
export type AnalyticsEventUpsertWithWhereUniqueWithoutPortalUserInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
update: Prisma.XOR<Prisma.AnalyticsEventUpdateWithoutPortalUserInput, Prisma.AnalyticsEventUncheckedUpdateWithoutPortalUserInput>
create: Prisma.XOR<Prisma.AnalyticsEventCreateWithoutPortalUserInput, Prisma.AnalyticsEventUncheckedCreateWithoutPortalUserInput>
}
export type AnalyticsEventUpdateWithWhereUniqueWithoutPortalUserInput = {
where: Prisma.AnalyticsEventWhereUniqueInput
data: Prisma.XOR<Prisma.AnalyticsEventUpdateWithoutPortalUserInput, Prisma.AnalyticsEventUncheckedUpdateWithoutPortalUserInput>
}
export type AnalyticsEventUpdateManyWithWhereWithoutPortalUserInput = {
where: Prisma.AnalyticsEventScalarWhereInput
data: Prisma.XOR<Prisma.AnalyticsEventUpdateManyMutationInput, Prisma.AnalyticsEventUncheckedUpdateManyWithoutPortalUserInput>
}
export type AnalyticsEventCreateManyUniqueVisitorInput = {
id?: string
createdAt?: Date | string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
featureFlagId?: string | null
portalId?: string | null
portalUserId?: string | null
}
export type AnalyticsEventUpdateWithoutUniqueVisitorInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlag?: Prisma.FeatureFlagUpdateOneWithoutEventsNestedInput
portal?: Prisma.PortalUpdateOneWithoutAnalyticsEventsNestedInput
portalUser?: Prisma.PortalUserUpdateOneWithoutAnalyticsEventsNestedInput
}
export type AnalyticsEventUncheckedUpdateWithoutUniqueVisitorInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlagId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventUncheckedUpdateManyWithoutUniqueVisitorInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlagId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventCreateManyFeatureFlagInput = {
id?: string
createdAt?: Date | string
uniqueVisitorId: string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
portalId?: string | null
portalUserId?: string | null
}
export type AnalyticsEventUpdateWithoutFeatureFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
uniqueVisitor?: Prisma.AnalyticsUniqueVisitorUpdateOneRequiredWithoutEventsNestedInput
portal?: Prisma.PortalUpdateOneWithoutAnalyticsEventsNestedInput
portalUser?: Prisma.PortalUserUpdateOneWithoutAnalyticsEventsNestedInput
}
export type AnalyticsEventUncheckedUpdateWithoutFeatureFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventUncheckedUpdateManyWithoutFeatureFlagInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventCreateManyPortalInput = {
id?: string
createdAt?: Date | string
uniqueVisitorId: string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
featureFlagId?: string | null
portalUserId?: string | null
}
export type AnalyticsEventUpdateWithoutPortalInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
uniqueVisitor?: Prisma.AnalyticsUniqueVisitorUpdateOneRequiredWithoutEventsNestedInput
featureFlag?: Prisma.FeatureFlagUpdateOneWithoutEventsNestedInput
portalUser?: Prisma.PortalUserUpdateOneWithoutAnalyticsEventsNestedInput
}
export type AnalyticsEventUncheckedUpdateWithoutPortalInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlagId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventUncheckedUpdateManyWithoutPortalInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlagId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventCreateManyPortalUserInput = {
id?: string
createdAt?: Date | string
uniqueVisitorId: string
action: string
category?: string | null
label?: string | null
value?: string | null
url?: string | null
route?: string | null
featureFlagId?: string | null
portalId?: string | null
}
export type AnalyticsEventUpdateWithoutPortalUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
uniqueVisitor?: Prisma.AnalyticsUniqueVisitorUpdateOneRequiredWithoutEventsNestedInput
featureFlag?: Prisma.FeatureFlagUpdateOneWithoutEventsNestedInput
portal?: Prisma.PortalUpdateOneWithoutAnalyticsEventsNestedInput
}
export type AnalyticsEventUncheckedUpdateWithoutPortalUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlagId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventUncheckedUpdateManyWithoutPortalUserInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string
action?: Prisma.StringFieldUpdateOperationsInput | string
category?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
label?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
value?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
url?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
featureFlagId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}
export type AnalyticsEventSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
uniqueVisitorId?: boolean
action?: boolean
category?: boolean
label?: boolean
value?: boolean
url?: boolean
route?: boolean
featureFlagId?: boolean
portalId?: boolean
portalUserId?: boolean
uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs<ExtArgs>
featureFlag?: boolean | Prisma.AnalyticsEvent$featureFlagArgs<ExtArgs>
portal?: boolean | Prisma.AnalyticsEvent$portalArgs<ExtArgs>
portalUser?: boolean | Prisma.AnalyticsEvent$portalUserArgs<ExtArgs>
}, ExtArgs["result"]["analyticsEvent"]>
export type AnalyticsEventSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
uniqueVisitorId?: boolean
action?: boolean
category?: boolean
label?: boolean
value?: boolean
url?: boolean
route?: boolean
featureFlagId?: boolean
portalId?: boolean
portalUserId?: boolean
uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs<ExtArgs>
featureFlag?: boolean | Prisma.AnalyticsEvent$featureFlagArgs<ExtArgs>
portal?: boolean | Prisma.AnalyticsEvent$portalArgs<ExtArgs>
portalUser?: boolean | Prisma.AnalyticsEvent$portalUserArgs<ExtArgs>
}, ExtArgs["result"]["analyticsEvent"]>
export type AnalyticsEventSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
uniqueVisitorId?: boolean
action?: boolean
category?: boolean
label?: boolean
value?: boolean
url?: boolean
route?: boolean
featureFlagId?: boolean
portalId?: boolean
portalUserId?: boolean
uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs<ExtArgs>
featureFlag?: boolean | Prisma.AnalyticsEvent$featureFlagArgs<ExtArgs>
portal?: boolean | Prisma.AnalyticsEvent$portalArgs<ExtArgs>
portalUser?: boolean | Prisma.AnalyticsEvent$portalUserArgs<ExtArgs>
}, ExtArgs["result"]["analyticsEvent"]>
export type AnalyticsEventSelectScalar = {
id?: boolean
createdAt?: boolean
uniqueVisitorId?: boolean
action?: boolean
category?: boolean
label?: boolean
value?: boolean
url?: boolean
route?: boolean
featureFlagId?: boolean
portalId?: boolean
portalUserId?: boolean
}
export type AnalyticsEventOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "uniqueVisitorId" | "action" | "category" | "label" | "value" | "url" | "route" | "featureFlagId" | "portalId" | "portalUserId", ExtArgs["result"]["analyticsEvent"]>
export type AnalyticsEventInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs<ExtArgs>
featureFlag?: boolean | Prisma.AnalyticsEvent$featureFlagArgs<ExtArgs>
portal?: boolean | Prisma.AnalyticsEvent$portalArgs<ExtArgs>
portalUser?: boolean | Prisma.AnalyticsEvent$portalUserArgs<ExtArgs>
}
export type AnalyticsEventIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs<ExtArgs>
featureFlag?: boolean | Prisma.AnalyticsEvent$featureFlagArgs<ExtArgs>
portal?: boolean | Prisma.AnalyticsEvent$portalArgs<ExtArgs>
portalUser?: boolean | Prisma.AnalyticsEvent$portalUserArgs<ExtArgs>
}
export type AnalyticsEventIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs<ExtArgs>
featureFlag?: boolean | Prisma.AnalyticsEvent$featureFlagArgs<ExtArgs>
portal?: boolean | Prisma.AnalyticsEvent$portalArgs<ExtArgs>
portalUser?: boolean | Prisma.AnalyticsEvent$portalUserArgs<ExtArgs>
}
export type $AnalyticsEventPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "AnalyticsEvent"
objects: {
uniqueVisitor: Prisma.$AnalyticsUniqueVisitorPayload<ExtArgs>
featureFlag: Prisma.$FeatureFlagPayload<ExtArgs> | null
portal: Prisma.$PortalPayload<ExtArgs> | null
portalUser: Prisma.$PortalUserPayload<ExtArgs> | null
}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
uniqueVisitorId: string
action: string
category: string | null
label: string | null
value: string | null
url: string | null
route: string | null
featureFlagId: string | null
portalId: string | null
portalUserId: string | null
}, ExtArgs["result"]["analyticsEvent"]>
composites: {}
}
export type AnalyticsEventGetPayload<S extends boolean | null | undefined | AnalyticsEventDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload, S>
export type AnalyticsEventCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<AnalyticsEventFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: AnalyticsEventCountAggregateInputType | true
}
export interface AnalyticsEventDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['AnalyticsEvent'], meta: { name: 'AnalyticsEvent' } }
/**
* Find zero or one AnalyticsEvent that matches the filter.
* @param {AnalyticsEventFindUniqueArgs} args - Arguments to find a AnalyticsEvent
* @example
* // Get one AnalyticsEvent
* const analyticsEvent = await prisma.analyticsEvent.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends AnalyticsEventFindUniqueArgs>(args: Prisma.SelectSubset<T, AnalyticsEventFindUniqueArgs<ExtArgs>>): Prisma.Prisma__AnalyticsEventClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one AnalyticsEvent that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {AnalyticsEventFindUniqueOrThrowArgs} args - Arguments to find a AnalyticsEvent
* @example
* // Get one AnalyticsEvent
* const analyticsEvent = await prisma.analyticsEvent.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends AnalyticsEventFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, AnalyticsEventFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__AnalyticsEventClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first AnalyticsEvent 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 {AnalyticsEventFindFirstArgs} args - Arguments to find a AnalyticsEvent
* @example
* // Get one AnalyticsEvent
* const analyticsEvent = await prisma.analyticsEvent.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends AnalyticsEventFindFirstArgs>(args?: Prisma.SelectSubset<T, AnalyticsEventFindFirstArgs<ExtArgs>>): Prisma.Prisma__AnalyticsEventClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first AnalyticsEvent 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 {AnalyticsEventFindFirstOrThrowArgs} args - Arguments to find a AnalyticsEvent
* @example
* // Get one AnalyticsEvent
* const analyticsEvent = await prisma.analyticsEvent.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends AnalyticsEventFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, AnalyticsEventFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__AnalyticsEventClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more AnalyticsEvents 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 {AnalyticsEventFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all AnalyticsEvents
* const analyticsEvents = await prisma.analyticsEvent.findMany()
*
* // Get first 10 AnalyticsEvents
* const analyticsEvents = await prisma.analyticsEvent.findMany({ take: 10 })
*
* // Only select the `id`
* const analyticsEventWithIdOnly = await prisma.analyticsEvent.findMany({ select: { id: true } })
*
*/
findMany<T extends AnalyticsEventFindManyArgs>(args?: Prisma.SelectSubset<T, AnalyticsEventFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a AnalyticsEvent.
* @param {AnalyticsEventCreateArgs} args - Arguments to create a AnalyticsEvent.
* @example
* // Create one AnalyticsEvent
* const AnalyticsEvent = await prisma.analyticsEvent.create({
* data: {
* // ... data to create a AnalyticsEvent
* }
* })
*
*/
create<T extends AnalyticsEventCreateArgs>(args: Prisma.SelectSubset<T, AnalyticsEventCreateArgs<ExtArgs>>): Prisma.Prisma__AnalyticsEventClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many AnalyticsEvents.
* @param {AnalyticsEventCreateManyArgs} args - Arguments to create many AnalyticsEvents.
* @example
* // Create many AnalyticsEvents
* const analyticsEvent = await prisma.analyticsEvent.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends AnalyticsEventCreateManyArgs>(args?: Prisma.SelectSubset<T, AnalyticsEventCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many AnalyticsEvents and returns the data saved in the database.
* @param {AnalyticsEventCreateManyAndReturnArgs} args - Arguments to create many AnalyticsEvents.
* @example
* // Create many AnalyticsEvents
* const analyticsEvent = await prisma.analyticsEvent.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many AnalyticsEvents and only return the `id`
* const analyticsEventWithIdOnly = await prisma.analyticsEvent.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 AnalyticsEventCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, AnalyticsEventCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a AnalyticsEvent.
* @param {AnalyticsEventDeleteArgs} args - Arguments to delete one AnalyticsEvent.
* @example
* // Delete one AnalyticsEvent
* const AnalyticsEvent = await prisma.analyticsEvent.delete({
* where: {
* // ... filter to delete one AnalyticsEvent
* }
* })
*
*/
delete<T extends AnalyticsEventDeleteArgs>(args: Prisma.SelectSubset<T, AnalyticsEventDeleteArgs<ExtArgs>>): Prisma.Prisma__AnalyticsEventClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one AnalyticsEvent.
* @param {AnalyticsEventUpdateArgs} args - Arguments to update one AnalyticsEvent.
* @example
* // Update one AnalyticsEvent
* const analyticsEvent = await prisma.analyticsEvent.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends AnalyticsEventUpdateArgs>(args: Prisma.SelectSubset<T, AnalyticsEventUpdateArgs<ExtArgs>>): Prisma.Prisma__AnalyticsEventClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more AnalyticsEvents.
* @param {AnalyticsEventDeleteManyArgs} args - Arguments to filter AnalyticsEvents to delete.
* @example
* // Delete a few AnalyticsEvents
* const { count } = await prisma.analyticsEvent.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends AnalyticsEventDeleteManyArgs>(args?: Prisma.SelectSubset<T, AnalyticsEventDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AnalyticsEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AnalyticsEventUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many AnalyticsEvents
* const analyticsEvent = await prisma.analyticsEvent.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends AnalyticsEventUpdateManyArgs>(args: Prisma.SelectSubset<T, AnalyticsEventUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more AnalyticsEvents and returns the data updated in the database.
* @param {AnalyticsEventUpdateManyAndReturnArgs} args - Arguments to update many AnalyticsEvents.
* @example
* // Update many AnalyticsEvents
* const analyticsEvent = await prisma.analyticsEvent.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more AnalyticsEvents and only return the `id`
* const analyticsEventWithIdOnly = await prisma.analyticsEvent.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 AnalyticsEventUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, AnalyticsEventUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one AnalyticsEvent.
* @param {AnalyticsEventUpsertArgs} args - Arguments to update or create a AnalyticsEvent.
* @example
* // Update or create a AnalyticsEvent
* const analyticsEvent = await prisma.analyticsEvent.upsert({
* create: {
* // ... data to create a AnalyticsEvent
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the AnalyticsEvent we want to update
* }
* })
*/
upsert<T extends AnalyticsEventUpsertArgs>(args: Prisma.SelectSubset<T, AnalyticsEventUpsertArgs<ExtArgs>>): Prisma.Prisma__AnalyticsEventClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsEventPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of AnalyticsEvents.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AnalyticsEventCountArgs} args - Arguments to filter AnalyticsEvents to count.
* @example
* // Count the number of AnalyticsEvents
* const count = await prisma.analyticsEvent.count({
* where: {
* // ... the filter for the AnalyticsEvents we want to count
* }
* })
**/
count<T extends AnalyticsEventCountArgs>(
args?: Prisma.Subset<T, AnalyticsEventCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], AnalyticsEventCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a AnalyticsEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AnalyticsEventAggregateArgs} 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 AnalyticsEventAggregateArgs>(args: Prisma.Subset<T, AnalyticsEventAggregateArgs>): Prisma.PrismaPromise<GetAnalyticsEventAggregateType<T>>
/**
* Group by AnalyticsEvent.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {AnalyticsEventGroupByArgs} 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 AnalyticsEventGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: AnalyticsEventGroupByArgs['orderBy'] }
: { orderBy?: AnalyticsEventGroupByArgs['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, AnalyticsEventGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetAnalyticsEventGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the AnalyticsEvent model
*/
readonly fields: AnalyticsEventFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for AnalyticsEvent.
* 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__AnalyticsEventClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
readonly [Symbol.toStringTag]: "PrismaPromise"
uniqueVisitor<T extends Prisma.AnalyticsUniqueVisitorDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AnalyticsUniqueVisitorDefaultArgs<ExtArgs>>): Prisma.Prisma__AnalyticsUniqueVisitorClient<runtime.Types.Result.GetResult<Prisma.$AnalyticsUniqueVisitorPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
featureFlag<T extends Prisma.AnalyticsEvent$featureFlagArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AnalyticsEvent$featureFlagArgs<ExtArgs>>): Prisma.Prisma__FeatureFlagClient<runtime.Types.Result.GetResult<Prisma.$FeatureFlagPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
portal<T extends Prisma.AnalyticsEvent$portalArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AnalyticsEvent$portalArgs<ExtArgs>>): Prisma.Prisma__PortalClient<runtime.Types.Result.GetResult<Prisma.$PortalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
portalUser<T extends Prisma.AnalyticsEvent$portalUserArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.AnalyticsEvent$portalUserArgs<ExtArgs>>): Prisma.Prisma__PortalUserClient<runtime.Types.Result.GetResult<Prisma.$PortalUserPayload<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 AnalyticsEvent model
*/
export interface AnalyticsEventFieldRefs {
readonly id: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly createdAt: Prisma.FieldRef<"AnalyticsEvent", 'DateTime'>
readonly uniqueVisitorId: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly action: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly category: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly label: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly value: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly url: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly route: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly featureFlagId: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly portalId: Prisma.FieldRef<"AnalyticsEvent", 'String'>
readonly portalUserId: Prisma.FieldRef<"AnalyticsEvent", 'String'>
}
// Custom InputTypes
/**
* AnalyticsEvent findUnique
*/
export type AnalyticsEventFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
/**
* Filter, which AnalyticsEvent to fetch.
*/
where: Prisma.AnalyticsEventWhereUniqueInput
}
/**
* AnalyticsEvent findUniqueOrThrow
*/
export type AnalyticsEventFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
/**
* Filter, which AnalyticsEvent to fetch.
*/
where: Prisma.AnalyticsEventWhereUniqueInput
}
/**
* AnalyticsEvent findFirst
*/
export type AnalyticsEventFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
/**
* Filter, which AnalyticsEvent to fetch.
*/
where?: Prisma.AnalyticsEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AnalyticsEvents to fetch.
*/
orderBy?: Prisma.AnalyticsEventOrderByWithRelationInput | Prisma.AnalyticsEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AnalyticsEvents.
*/
cursor?: Prisma.AnalyticsEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AnalyticsEvents 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` AnalyticsEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AnalyticsEvents.
*/
distinct?: Prisma.AnalyticsEventScalarFieldEnum | Prisma.AnalyticsEventScalarFieldEnum[]
}
/**
* AnalyticsEvent findFirstOrThrow
*/
export type AnalyticsEventFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
/**
* Filter, which AnalyticsEvent to fetch.
*/
where?: Prisma.AnalyticsEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AnalyticsEvents to fetch.
*/
orderBy?: Prisma.AnalyticsEventOrderByWithRelationInput | Prisma.AnalyticsEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for AnalyticsEvents.
*/
cursor?: Prisma.AnalyticsEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AnalyticsEvents 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` AnalyticsEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AnalyticsEvents.
*/
distinct?: Prisma.AnalyticsEventScalarFieldEnum | Prisma.AnalyticsEventScalarFieldEnum[]
}
/**
* AnalyticsEvent findMany
*/
export type AnalyticsEventFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
/**
* Filter, which AnalyticsEvents to fetch.
*/
where?: Prisma.AnalyticsEventWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of AnalyticsEvents to fetch.
*/
orderBy?: Prisma.AnalyticsEventOrderByWithRelationInput | Prisma.AnalyticsEventOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing AnalyticsEvents.
*/
cursor?: Prisma.AnalyticsEventWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` AnalyticsEvents 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` AnalyticsEvents.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of AnalyticsEvents.
*/
distinct?: Prisma.AnalyticsEventScalarFieldEnum | Prisma.AnalyticsEventScalarFieldEnum[]
}
/**
* AnalyticsEvent create
*/
export type AnalyticsEventCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
/**
* The data needed to create a AnalyticsEvent.
*/
data: Prisma.XOR<Prisma.AnalyticsEventCreateInput, Prisma.AnalyticsEventUncheckedCreateInput>
}
/**
* AnalyticsEvent createMany
*/
export type AnalyticsEventCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many AnalyticsEvents.
*/
data: Prisma.AnalyticsEventCreateManyInput | Prisma.AnalyticsEventCreateManyInput[]
skipDuplicates?: boolean
}
/**
* AnalyticsEvent createManyAndReturn
*/
export type AnalyticsEventCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* The data used to create many AnalyticsEvents.
*/
data: Prisma.AnalyticsEventCreateManyInput | Prisma.AnalyticsEventCreateManyInput[]
skipDuplicates?: boolean
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventIncludeCreateManyAndReturn<ExtArgs> | null
}
/**
* AnalyticsEvent update
*/
export type AnalyticsEventUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
/**
* The data needed to update a AnalyticsEvent.
*/
data: Prisma.XOR<Prisma.AnalyticsEventUpdateInput, Prisma.AnalyticsEventUncheckedUpdateInput>
/**
* Choose, which AnalyticsEvent to update.
*/
where: Prisma.AnalyticsEventWhereUniqueInput
}
/**
* AnalyticsEvent updateMany
*/
export type AnalyticsEventUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update AnalyticsEvents.
*/
data: Prisma.XOR<Prisma.AnalyticsEventUpdateManyMutationInput, Prisma.AnalyticsEventUncheckedUpdateManyInput>
/**
* Filter which AnalyticsEvents to update
*/
where?: Prisma.AnalyticsEventWhereInput
/**
* Limit how many AnalyticsEvents to update.
*/
limit?: number
}
/**
* AnalyticsEvent updateManyAndReturn
*/
export type AnalyticsEventUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* The data used to update AnalyticsEvents.
*/
data: Prisma.XOR<Prisma.AnalyticsEventUpdateManyMutationInput, Prisma.AnalyticsEventUncheckedUpdateManyInput>
/**
* Filter which AnalyticsEvents to update
*/
where?: Prisma.AnalyticsEventWhereInput
/**
* Limit how many AnalyticsEvents to update.
*/
limit?: number
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventIncludeUpdateManyAndReturn<ExtArgs> | null
}
/**
* AnalyticsEvent upsert
*/
export type AnalyticsEventUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
/**
* The filter to search for the AnalyticsEvent to update in case it exists.
*/
where: Prisma.AnalyticsEventWhereUniqueInput
/**
* In case the AnalyticsEvent found by the `where` argument doesn't exist, create a new AnalyticsEvent with this data.
*/
create: Prisma.XOR<Prisma.AnalyticsEventCreateInput, Prisma.AnalyticsEventUncheckedCreateInput>
/**
* In case the AnalyticsEvent was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.AnalyticsEventUpdateInput, Prisma.AnalyticsEventUncheckedUpdateInput>
}
/**
* AnalyticsEvent delete
*/
export type AnalyticsEventDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
/**
* Filter which AnalyticsEvent to delete.
*/
where: Prisma.AnalyticsEventWhereUniqueInput
}
/**
* AnalyticsEvent deleteMany
*/
export type AnalyticsEventDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which AnalyticsEvents to delete
*/
where?: Prisma.AnalyticsEventWhereInput
/**
* Limit how many AnalyticsEvents to delete.
*/
limit?: number
}
/**
* AnalyticsEvent.featureFlag
*/
export type AnalyticsEvent$featureFlagArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the FeatureFlag
*/
select?: Prisma.FeatureFlagSelect<ExtArgs> | null
/**
* Omit specific fields from the FeatureFlag
*/
omit?: Prisma.FeatureFlagOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.FeatureFlagInclude<ExtArgs> | null
where?: Prisma.FeatureFlagWhereInput
}
/**
* AnalyticsEvent.portal
*/
export type AnalyticsEvent$portalArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the Portal
*/
select?: Prisma.PortalSelect<ExtArgs> | null
/**
* Omit specific fields from the Portal
*/
omit?: Prisma.PortalOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalInclude<ExtArgs> | null
where?: Prisma.PortalWhereInput
}
/**
* AnalyticsEvent.portalUser
*/
export type AnalyticsEvent$portalUserArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the PortalUser
*/
select?: Prisma.PortalUserSelect<ExtArgs> | null
/**
* Omit specific fields from the PortalUser
*/
omit?: Prisma.PortalUserOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.PortalUserInclude<ExtArgs> | null
where?: Prisma.PortalUserWhereInput
}
/**
* AnalyticsEvent without action
*/
export type AnalyticsEventDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the AnalyticsEvent
*/
select?: Prisma.AnalyticsEventSelect<ExtArgs> | null
/**
* Omit specific fields from the AnalyticsEvent
*/
omit?: Prisma.AnalyticsEventOmit<ExtArgs> | null
/**
* Choose, which related nodes to fetch as well
*/
include?: Prisma.AnalyticsEventInclude<ExtArgs> | null
}