/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AnalyticsPageView` 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 AnalyticsPageView * */ export type AnalyticsPageViewModel = runtime.Types.Result.DefaultSelection export type AggregateAnalyticsPageView = { _count: AnalyticsPageViewCountAggregateOutputType | null _min: AnalyticsPageViewMinAggregateOutputType | null _max: AnalyticsPageViewMaxAggregateOutputType | null } export type AnalyticsPageViewMinAggregateOutputType = { id: string | null createdAt: Date | null uniqueVisitorId: string | null url: string | null route: string | null portalId: string | null portalUserId: string | null } export type AnalyticsPageViewMaxAggregateOutputType = { id: string | null createdAt: Date | null uniqueVisitorId: string | null url: string | null route: string | null portalId: string | null portalUserId: string | null } export type AnalyticsPageViewCountAggregateOutputType = { id: number createdAt: number uniqueVisitorId: number url: number route: number portalId: number portalUserId: number _all: number } export type AnalyticsPageViewMinAggregateInputType = { id?: true createdAt?: true uniqueVisitorId?: true url?: true route?: true portalId?: true portalUserId?: true } export type AnalyticsPageViewMaxAggregateInputType = { id?: true createdAt?: true uniqueVisitorId?: true url?: true route?: true portalId?: true portalUserId?: true } export type AnalyticsPageViewCountAggregateInputType = { id?: true createdAt?: true uniqueVisitorId?: true url?: true route?: true portalId?: true portalUserId?: true _all?: true } export type AnalyticsPageViewAggregateArgs = { /** * Filter which AnalyticsPageView to aggregate. */ where?: Prisma.AnalyticsPageViewWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnalyticsPageViews to fetch. */ orderBy?: Prisma.AnalyticsPageViewOrderByWithRelationInput | Prisma.AnalyticsPageViewOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AnalyticsPageViewWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnalyticsPageViews 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` AnalyticsPageViews. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AnalyticsPageViews **/ _count?: true | AnalyticsPageViewCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AnalyticsPageViewMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AnalyticsPageViewMaxAggregateInputType } export type GetAnalyticsPageViewAggregateType = { [P in keyof T & keyof AggregateAnalyticsPageView]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AnalyticsPageViewGroupByArgs = { where?: Prisma.AnalyticsPageViewWhereInput orderBy?: Prisma.AnalyticsPageViewOrderByWithAggregationInput | Prisma.AnalyticsPageViewOrderByWithAggregationInput[] by: Prisma.AnalyticsPageViewScalarFieldEnum[] | Prisma.AnalyticsPageViewScalarFieldEnum having?: Prisma.AnalyticsPageViewScalarWhereWithAggregatesInput take?: number skip?: number _count?: AnalyticsPageViewCountAggregateInputType | true _min?: AnalyticsPageViewMinAggregateInputType _max?: AnalyticsPageViewMaxAggregateInputType } export type AnalyticsPageViewGroupByOutputType = { id: string createdAt: Date uniqueVisitorId: string url: string route: string | null portalId: string | null portalUserId: string | null _count: AnalyticsPageViewCountAggregateOutputType | null _min: AnalyticsPageViewMinAggregateOutputType | null _max: AnalyticsPageViewMaxAggregateOutputType | null } export type GetAnalyticsPageViewGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AnalyticsPageViewGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AnalyticsPageViewWhereInput = { AND?: Prisma.AnalyticsPageViewWhereInput | Prisma.AnalyticsPageViewWhereInput[] OR?: Prisma.AnalyticsPageViewWhereInput[] NOT?: Prisma.AnalyticsPageViewWhereInput | Prisma.AnalyticsPageViewWhereInput[] id?: Prisma.StringFilter<"AnalyticsPageView"> | string createdAt?: Prisma.DateTimeFilter<"AnalyticsPageView"> | Date | string uniqueVisitorId?: Prisma.StringFilter<"AnalyticsPageView"> | string url?: Prisma.StringFilter<"AnalyticsPageView"> | string route?: Prisma.StringNullableFilter<"AnalyticsPageView"> | string | null portalId?: Prisma.StringNullableFilter<"AnalyticsPageView"> | string | null portalUserId?: Prisma.StringNullableFilter<"AnalyticsPageView"> | string | null uniqueVisitor?: Prisma.XOR portal?: Prisma.XOR | null portalUser?: Prisma.XOR | null } export type AnalyticsPageViewOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder uniqueVisitorId?: Prisma.SortOrder url?: Prisma.SortOrder route?: Prisma.SortOrderInput | Prisma.SortOrder portalId?: Prisma.SortOrderInput | Prisma.SortOrder portalUserId?: Prisma.SortOrderInput | Prisma.SortOrder uniqueVisitor?: Prisma.AnalyticsUniqueVisitorOrderByWithRelationInput portal?: Prisma.PortalOrderByWithRelationInput portalUser?: Prisma.PortalUserOrderByWithRelationInput } export type AnalyticsPageViewWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.AnalyticsPageViewWhereInput | Prisma.AnalyticsPageViewWhereInput[] OR?: Prisma.AnalyticsPageViewWhereInput[] NOT?: Prisma.AnalyticsPageViewWhereInput | Prisma.AnalyticsPageViewWhereInput[] createdAt?: Prisma.DateTimeFilter<"AnalyticsPageView"> | Date | string uniqueVisitorId?: Prisma.StringFilter<"AnalyticsPageView"> | string url?: Prisma.StringFilter<"AnalyticsPageView"> | string route?: Prisma.StringNullableFilter<"AnalyticsPageView"> | string | null portalId?: Prisma.StringNullableFilter<"AnalyticsPageView"> | string | null portalUserId?: Prisma.StringNullableFilter<"AnalyticsPageView"> | string | null uniqueVisitor?: Prisma.XOR portal?: Prisma.XOR | null portalUser?: Prisma.XOR | null }, "id"> export type AnalyticsPageViewOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder uniqueVisitorId?: Prisma.SortOrder url?: Prisma.SortOrder route?: Prisma.SortOrderInput | Prisma.SortOrder portalId?: Prisma.SortOrderInput | Prisma.SortOrder portalUserId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AnalyticsPageViewCountOrderByAggregateInput _max?: Prisma.AnalyticsPageViewMaxOrderByAggregateInput _min?: Prisma.AnalyticsPageViewMinOrderByAggregateInput } export type AnalyticsPageViewScalarWhereWithAggregatesInput = { AND?: Prisma.AnalyticsPageViewScalarWhereWithAggregatesInput | Prisma.AnalyticsPageViewScalarWhereWithAggregatesInput[] OR?: Prisma.AnalyticsPageViewScalarWhereWithAggregatesInput[] NOT?: Prisma.AnalyticsPageViewScalarWhereWithAggregatesInput | Prisma.AnalyticsPageViewScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AnalyticsPageView"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AnalyticsPageView"> | Date | string uniqueVisitorId?: Prisma.StringWithAggregatesFilter<"AnalyticsPageView"> | string url?: Prisma.StringWithAggregatesFilter<"AnalyticsPageView"> | string route?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsPageView"> | string | null portalId?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsPageView"> | string | null portalUserId?: Prisma.StringNullableWithAggregatesFilter<"AnalyticsPageView"> | string | null } export type AnalyticsPageViewCreateInput = { id?: string createdAt?: Date | string url: string route?: string | null uniqueVisitor: Prisma.AnalyticsUniqueVisitorCreateNestedOneWithoutPageViewsInput portal?: Prisma.PortalCreateNestedOneWithoutAnalyticsPageViewsInput portalUser?: Prisma.PortalUserCreateNestedOneWithoutAnalyticsPageViewsInput } export type AnalyticsPageViewUncheckedCreateInput = { id?: string createdAt?: Date | string uniqueVisitorId: string url: string route?: string | null portalId?: string | null portalUserId?: string | null } export type AnalyticsPageViewUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null uniqueVisitor?: Prisma.AnalyticsUniqueVisitorUpdateOneRequiredWithoutPageViewsNestedInput portal?: Prisma.PortalUpdateOneWithoutAnalyticsPageViewsNestedInput portalUser?: Prisma.PortalUserUpdateOneWithoutAnalyticsPageViewsNestedInput } export type AnalyticsPageViewUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AnalyticsPageViewCreateManyInput = { id?: string createdAt?: Date | string uniqueVisitorId: string url: string route?: string | null portalId?: string | null portalUserId?: string | null } export type AnalyticsPageViewUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AnalyticsPageViewUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AnalyticsPageViewListRelationFilter = { every?: Prisma.AnalyticsPageViewWhereInput some?: Prisma.AnalyticsPageViewWhereInput none?: Prisma.AnalyticsPageViewWhereInput } export type AnalyticsPageViewOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AnalyticsPageViewCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder uniqueVisitorId?: Prisma.SortOrder url?: Prisma.SortOrder route?: Prisma.SortOrder portalId?: Prisma.SortOrder portalUserId?: Prisma.SortOrder } export type AnalyticsPageViewMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder uniqueVisitorId?: Prisma.SortOrder url?: Prisma.SortOrder route?: Prisma.SortOrder portalId?: Prisma.SortOrder portalUserId?: Prisma.SortOrder } export type AnalyticsPageViewMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder uniqueVisitorId?: Prisma.SortOrder url?: Prisma.SortOrder route?: Prisma.SortOrder portalId?: Prisma.SortOrder portalUserId?: Prisma.SortOrder } export type AnalyticsPageViewCreateNestedManyWithoutUniqueVisitorInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutUniqueVisitorInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutUniqueVisitorInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutUniqueVisitorInput[] createMany?: Prisma.AnalyticsPageViewCreateManyUniqueVisitorInputEnvelope connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] } export type AnalyticsPageViewUncheckedCreateNestedManyWithoutUniqueVisitorInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutUniqueVisitorInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutUniqueVisitorInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutUniqueVisitorInput[] createMany?: Prisma.AnalyticsPageViewCreateManyUniqueVisitorInputEnvelope connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] } export type AnalyticsPageViewUpdateManyWithoutUniqueVisitorNestedInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutUniqueVisitorInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutUniqueVisitorInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutUniqueVisitorInput[] upsert?: Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutUniqueVisitorInput[] createMany?: Prisma.AnalyticsPageViewCreateManyUniqueVisitorInputEnvelope set?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] disconnect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] delete?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] update?: Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutUniqueVisitorInput[] updateMany?: Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutUniqueVisitorInput[] deleteMany?: Prisma.AnalyticsPageViewScalarWhereInput | Prisma.AnalyticsPageViewScalarWhereInput[] } export type AnalyticsPageViewUncheckedUpdateManyWithoutUniqueVisitorNestedInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutUniqueVisitorInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutUniqueVisitorInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutUniqueVisitorInput[] upsert?: Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutUniqueVisitorInput[] createMany?: Prisma.AnalyticsPageViewCreateManyUniqueVisitorInputEnvelope set?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] disconnect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] delete?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] update?: Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutUniqueVisitorInput[] updateMany?: Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutUniqueVisitorInput | Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutUniqueVisitorInput[] deleteMany?: Prisma.AnalyticsPageViewScalarWhereInput | Prisma.AnalyticsPageViewScalarWhereInput[] } export type AnalyticsPageViewCreateNestedManyWithoutPortalInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutPortalInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutPortalInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalInput[] createMany?: Prisma.AnalyticsPageViewCreateManyPortalInputEnvelope connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] } export type AnalyticsPageViewUncheckedCreateNestedManyWithoutPortalInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutPortalInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutPortalInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalInput[] createMany?: Prisma.AnalyticsPageViewCreateManyPortalInputEnvelope connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] } export type AnalyticsPageViewUpdateManyWithoutPortalNestedInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutPortalInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutPortalInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalInput[] upsert?: Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalInput | Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalInput[] createMany?: Prisma.AnalyticsPageViewCreateManyPortalInputEnvelope set?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] disconnect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] delete?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] update?: Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalInput | Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalInput[] updateMany?: Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutPortalInput | Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutPortalInput[] deleteMany?: Prisma.AnalyticsPageViewScalarWhereInput | Prisma.AnalyticsPageViewScalarWhereInput[] } export type AnalyticsPageViewUncheckedUpdateManyWithoutPortalNestedInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutPortalInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutPortalInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalInput[] upsert?: Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalInput | Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalInput[] createMany?: Prisma.AnalyticsPageViewCreateManyPortalInputEnvelope set?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] disconnect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] delete?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] update?: Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalInput | Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalInput[] updateMany?: Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutPortalInput | Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutPortalInput[] deleteMany?: Prisma.AnalyticsPageViewScalarWhereInput | Prisma.AnalyticsPageViewScalarWhereInput[] } export type AnalyticsPageViewCreateNestedManyWithoutPortalUserInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutPortalUserInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutPortalUserInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalUserInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalUserInput[] createMany?: Prisma.AnalyticsPageViewCreateManyPortalUserInputEnvelope connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] } export type AnalyticsPageViewUncheckedCreateNestedManyWithoutPortalUserInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutPortalUserInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutPortalUserInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalUserInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalUserInput[] createMany?: Prisma.AnalyticsPageViewCreateManyPortalUserInputEnvelope connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] } export type AnalyticsPageViewUpdateManyWithoutPortalUserNestedInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutPortalUserInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutPortalUserInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalUserInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalUserInput[] upsert?: Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalUserInput | Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalUserInput[] createMany?: Prisma.AnalyticsPageViewCreateManyPortalUserInputEnvelope set?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] disconnect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] delete?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] update?: Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalUserInput | Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalUserInput[] updateMany?: Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutPortalUserInput | Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutPortalUserInput[] deleteMany?: Prisma.AnalyticsPageViewScalarWhereInput | Prisma.AnalyticsPageViewScalarWhereInput[] } export type AnalyticsPageViewUncheckedUpdateManyWithoutPortalUserNestedInput = { create?: Prisma.XOR | Prisma.AnalyticsPageViewCreateWithoutPortalUserInput[] | Prisma.AnalyticsPageViewUncheckedCreateWithoutPortalUserInput[] connectOrCreate?: Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalUserInput | Prisma.AnalyticsPageViewCreateOrConnectWithoutPortalUserInput[] upsert?: Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalUserInput | Prisma.AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalUserInput[] createMany?: Prisma.AnalyticsPageViewCreateManyPortalUserInputEnvelope set?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] disconnect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] delete?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] connect?: Prisma.AnalyticsPageViewWhereUniqueInput | Prisma.AnalyticsPageViewWhereUniqueInput[] update?: Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalUserInput | Prisma.AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalUserInput[] updateMany?: Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutPortalUserInput | Prisma.AnalyticsPageViewUpdateManyWithWhereWithoutPortalUserInput[] deleteMany?: Prisma.AnalyticsPageViewScalarWhereInput | Prisma.AnalyticsPageViewScalarWhereInput[] } export type AnalyticsPageViewCreateWithoutUniqueVisitorInput = { id?: string createdAt?: Date | string url: string route?: string | null portal?: Prisma.PortalCreateNestedOneWithoutAnalyticsPageViewsInput portalUser?: Prisma.PortalUserCreateNestedOneWithoutAnalyticsPageViewsInput } export type AnalyticsPageViewUncheckedCreateWithoutUniqueVisitorInput = { id?: string createdAt?: Date | string url: string route?: string | null portalId?: string | null portalUserId?: string | null } export type AnalyticsPageViewCreateOrConnectWithoutUniqueVisitorInput = { where: Prisma.AnalyticsPageViewWhereUniqueInput create: Prisma.XOR } export type AnalyticsPageViewCreateManyUniqueVisitorInputEnvelope = { data: Prisma.AnalyticsPageViewCreateManyUniqueVisitorInput | Prisma.AnalyticsPageViewCreateManyUniqueVisitorInput[] skipDuplicates?: boolean } export type AnalyticsPageViewUpsertWithWhereUniqueWithoutUniqueVisitorInput = { where: Prisma.AnalyticsPageViewWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AnalyticsPageViewUpdateWithWhereUniqueWithoutUniqueVisitorInput = { where: Prisma.AnalyticsPageViewWhereUniqueInput data: Prisma.XOR } export type AnalyticsPageViewUpdateManyWithWhereWithoutUniqueVisitorInput = { where: Prisma.AnalyticsPageViewScalarWhereInput data: Prisma.XOR } export type AnalyticsPageViewScalarWhereInput = { AND?: Prisma.AnalyticsPageViewScalarWhereInput | Prisma.AnalyticsPageViewScalarWhereInput[] OR?: Prisma.AnalyticsPageViewScalarWhereInput[] NOT?: Prisma.AnalyticsPageViewScalarWhereInput | Prisma.AnalyticsPageViewScalarWhereInput[] id?: Prisma.StringFilter<"AnalyticsPageView"> | string createdAt?: Prisma.DateTimeFilter<"AnalyticsPageView"> | Date | string uniqueVisitorId?: Prisma.StringFilter<"AnalyticsPageView"> | string url?: Prisma.StringFilter<"AnalyticsPageView"> | string route?: Prisma.StringNullableFilter<"AnalyticsPageView"> | string | null portalId?: Prisma.StringNullableFilter<"AnalyticsPageView"> | string | null portalUserId?: Prisma.StringNullableFilter<"AnalyticsPageView"> | string | null } export type AnalyticsPageViewCreateWithoutPortalInput = { id?: string createdAt?: Date | string url: string route?: string | null uniqueVisitor: Prisma.AnalyticsUniqueVisitorCreateNestedOneWithoutPageViewsInput portalUser?: Prisma.PortalUserCreateNestedOneWithoutAnalyticsPageViewsInput } export type AnalyticsPageViewUncheckedCreateWithoutPortalInput = { id?: string createdAt?: Date | string uniqueVisitorId: string url: string route?: string | null portalUserId?: string | null } export type AnalyticsPageViewCreateOrConnectWithoutPortalInput = { where: Prisma.AnalyticsPageViewWhereUniqueInput create: Prisma.XOR } export type AnalyticsPageViewCreateManyPortalInputEnvelope = { data: Prisma.AnalyticsPageViewCreateManyPortalInput | Prisma.AnalyticsPageViewCreateManyPortalInput[] skipDuplicates?: boolean } export type AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalInput = { where: Prisma.AnalyticsPageViewWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalInput = { where: Prisma.AnalyticsPageViewWhereUniqueInput data: Prisma.XOR } export type AnalyticsPageViewUpdateManyWithWhereWithoutPortalInput = { where: Prisma.AnalyticsPageViewScalarWhereInput data: Prisma.XOR } export type AnalyticsPageViewCreateWithoutPortalUserInput = { id?: string createdAt?: Date | string url: string route?: string | null uniqueVisitor: Prisma.AnalyticsUniqueVisitorCreateNestedOneWithoutPageViewsInput portal?: Prisma.PortalCreateNestedOneWithoutAnalyticsPageViewsInput } export type AnalyticsPageViewUncheckedCreateWithoutPortalUserInput = { id?: string createdAt?: Date | string uniqueVisitorId: string url: string route?: string | null portalId?: string | null } export type AnalyticsPageViewCreateOrConnectWithoutPortalUserInput = { where: Prisma.AnalyticsPageViewWhereUniqueInput create: Prisma.XOR } export type AnalyticsPageViewCreateManyPortalUserInputEnvelope = { data: Prisma.AnalyticsPageViewCreateManyPortalUserInput | Prisma.AnalyticsPageViewCreateManyPortalUserInput[] skipDuplicates?: boolean } export type AnalyticsPageViewUpsertWithWhereUniqueWithoutPortalUserInput = { where: Prisma.AnalyticsPageViewWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AnalyticsPageViewUpdateWithWhereUniqueWithoutPortalUserInput = { where: Prisma.AnalyticsPageViewWhereUniqueInput data: Prisma.XOR } export type AnalyticsPageViewUpdateManyWithWhereWithoutPortalUserInput = { where: Prisma.AnalyticsPageViewScalarWhereInput data: Prisma.XOR } export type AnalyticsPageViewCreateManyUniqueVisitorInput = { id?: string createdAt?: Date | string url: string route?: string | null portalId?: string | null portalUserId?: string | null } export type AnalyticsPageViewUpdateWithoutUniqueVisitorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portal?: Prisma.PortalUpdateOneWithoutAnalyticsPageViewsNestedInput portalUser?: Prisma.PortalUserUpdateOneWithoutAnalyticsPageViewsNestedInput } export type AnalyticsPageViewUncheckedUpdateWithoutUniqueVisitorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AnalyticsPageViewUncheckedUpdateManyWithoutUniqueVisitorInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AnalyticsPageViewCreateManyPortalInput = { id?: string createdAt?: Date | string uniqueVisitorId: string url: string route?: string | null portalUserId?: string | null } export type AnalyticsPageViewUpdateWithoutPortalInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null uniqueVisitor?: Prisma.AnalyticsUniqueVisitorUpdateOneRequiredWithoutPageViewsNestedInput portalUser?: Prisma.PortalUserUpdateOneWithoutAnalyticsPageViewsNestedInput } export type AnalyticsPageViewUncheckedUpdateWithoutPortalInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AnalyticsPageViewUncheckedUpdateManyWithoutPortalInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AnalyticsPageViewCreateManyPortalUserInput = { id?: string createdAt?: Date | string uniqueVisitorId: string url: string route?: string | null portalId?: string | null } export type AnalyticsPageViewUpdateWithoutPortalUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null uniqueVisitor?: Prisma.AnalyticsUniqueVisitorUpdateOneRequiredWithoutPageViewsNestedInput portal?: Prisma.PortalUpdateOneWithoutAnalyticsPageViewsNestedInput } export type AnalyticsPageViewUncheckedUpdateWithoutPortalUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AnalyticsPageViewUncheckedUpdateManyWithoutPortalUserInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string uniqueVisitorId?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string route?: Prisma.NullableStringFieldUpdateOperationsInput | string | null portalId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type AnalyticsPageViewSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean uniqueVisitorId?: boolean url?: boolean route?: boolean portalId?: boolean portalUserId?: boolean uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs portal?: boolean | Prisma.AnalyticsPageView$portalArgs portalUser?: boolean | Prisma.AnalyticsPageView$portalUserArgs }, ExtArgs["result"]["analyticsPageView"]> export type AnalyticsPageViewSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean uniqueVisitorId?: boolean url?: boolean route?: boolean portalId?: boolean portalUserId?: boolean uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs portal?: boolean | Prisma.AnalyticsPageView$portalArgs portalUser?: boolean | Prisma.AnalyticsPageView$portalUserArgs }, ExtArgs["result"]["analyticsPageView"]> export type AnalyticsPageViewSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean uniqueVisitorId?: boolean url?: boolean route?: boolean portalId?: boolean portalUserId?: boolean uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs portal?: boolean | Prisma.AnalyticsPageView$portalArgs portalUser?: boolean | Prisma.AnalyticsPageView$portalUserArgs }, ExtArgs["result"]["analyticsPageView"]> export type AnalyticsPageViewSelectScalar = { id?: boolean createdAt?: boolean uniqueVisitorId?: boolean url?: boolean route?: boolean portalId?: boolean portalUserId?: boolean } export type AnalyticsPageViewOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "uniqueVisitorId" | "url" | "route" | "portalId" | "portalUserId", ExtArgs["result"]["analyticsPageView"]> export type AnalyticsPageViewInclude = { uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs portal?: boolean | Prisma.AnalyticsPageView$portalArgs portalUser?: boolean | Prisma.AnalyticsPageView$portalUserArgs } export type AnalyticsPageViewIncludeCreateManyAndReturn = { uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs portal?: boolean | Prisma.AnalyticsPageView$portalArgs portalUser?: boolean | Prisma.AnalyticsPageView$portalUserArgs } export type AnalyticsPageViewIncludeUpdateManyAndReturn = { uniqueVisitor?: boolean | Prisma.AnalyticsUniqueVisitorDefaultArgs portal?: boolean | Prisma.AnalyticsPageView$portalArgs portalUser?: boolean | Prisma.AnalyticsPageView$portalUserArgs } export type $AnalyticsPageViewPayload = { name: "AnalyticsPageView" objects: { uniqueVisitor: Prisma.$AnalyticsUniqueVisitorPayload portal: Prisma.$PortalPayload | null portalUser: Prisma.$PortalUserPayload | null } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date uniqueVisitorId: string url: string route: string | null portalId: string | null portalUserId: string | null }, ExtArgs["result"]["analyticsPageView"]> composites: {} } export type AnalyticsPageViewGetPayload = runtime.Types.Result.GetResult export type AnalyticsPageViewCountArgs = Omit & { select?: AnalyticsPageViewCountAggregateInputType | true } export interface AnalyticsPageViewDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AnalyticsPageView'], meta: { name: 'AnalyticsPageView' } } /** * Find zero or one AnalyticsPageView that matches the filter. * @param {AnalyticsPageViewFindUniqueArgs} args - Arguments to find a AnalyticsPageView * @example * // Get one AnalyticsPageView * const analyticsPageView = await prisma.analyticsPageView.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AnalyticsPageViewClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AnalyticsPageView that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AnalyticsPageViewFindUniqueOrThrowArgs} args - Arguments to find a AnalyticsPageView * @example * // Get one AnalyticsPageView * const analyticsPageView = await prisma.analyticsPageView.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AnalyticsPageViewClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AnalyticsPageView 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 {AnalyticsPageViewFindFirstArgs} args - Arguments to find a AnalyticsPageView * @example * // Get one AnalyticsPageView * const analyticsPageView = await prisma.analyticsPageView.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AnalyticsPageViewClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AnalyticsPageView 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 {AnalyticsPageViewFindFirstOrThrowArgs} args - Arguments to find a AnalyticsPageView * @example * // Get one AnalyticsPageView * const analyticsPageView = await prisma.analyticsPageView.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AnalyticsPageViewClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AnalyticsPageViews 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 {AnalyticsPageViewFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AnalyticsPageViews * const analyticsPageViews = await prisma.analyticsPageView.findMany() * * // Get first 10 AnalyticsPageViews * const analyticsPageViews = await prisma.analyticsPageView.findMany({ take: 10 }) * * // Only select the `id` * const analyticsPageViewWithIdOnly = await prisma.analyticsPageView.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AnalyticsPageView. * @param {AnalyticsPageViewCreateArgs} args - Arguments to create a AnalyticsPageView. * @example * // Create one AnalyticsPageView * const AnalyticsPageView = await prisma.analyticsPageView.create({ * data: { * // ... data to create a AnalyticsPageView * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AnalyticsPageViewClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AnalyticsPageViews. * @param {AnalyticsPageViewCreateManyArgs} args - Arguments to create many AnalyticsPageViews. * @example * // Create many AnalyticsPageViews * const analyticsPageView = await prisma.analyticsPageView.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AnalyticsPageViews and returns the data saved in the database. * @param {AnalyticsPageViewCreateManyAndReturnArgs} args - Arguments to create many AnalyticsPageViews. * @example * // Create many AnalyticsPageViews * const analyticsPageView = await prisma.analyticsPageView.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AnalyticsPageViews and only return the `id` * const analyticsPageViewWithIdOnly = await prisma.analyticsPageView.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a AnalyticsPageView. * @param {AnalyticsPageViewDeleteArgs} args - Arguments to delete one AnalyticsPageView. * @example * // Delete one AnalyticsPageView * const AnalyticsPageView = await prisma.analyticsPageView.delete({ * where: { * // ... filter to delete one AnalyticsPageView * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AnalyticsPageViewClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AnalyticsPageView. * @param {AnalyticsPageViewUpdateArgs} args - Arguments to update one AnalyticsPageView. * @example * // Update one AnalyticsPageView * const analyticsPageView = await prisma.analyticsPageView.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AnalyticsPageViewClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AnalyticsPageViews. * @param {AnalyticsPageViewDeleteManyArgs} args - Arguments to filter AnalyticsPageViews to delete. * @example * // Delete a few AnalyticsPageViews * const { count } = await prisma.analyticsPageView.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AnalyticsPageViews. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnalyticsPageViewUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AnalyticsPageViews * const analyticsPageView = await prisma.analyticsPageView.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AnalyticsPageViews and returns the data updated in the database. * @param {AnalyticsPageViewUpdateManyAndReturnArgs} args - Arguments to update many AnalyticsPageViews. * @example * // Update many AnalyticsPageViews * const analyticsPageView = await prisma.analyticsPageView.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AnalyticsPageViews and only return the `id` * const analyticsPageViewWithIdOnly = await prisma.analyticsPageView.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one AnalyticsPageView. * @param {AnalyticsPageViewUpsertArgs} args - Arguments to update or create a AnalyticsPageView. * @example * // Update or create a AnalyticsPageView * const analyticsPageView = await prisma.analyticsPageView.upsert({ * create: { * // ... data to create a AnalyticsPageView * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AnalyticsPageView we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AnalyticsPageViewClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AnalyticsPageViews. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnalyticsPageViewCountArgs} args - Arguments to filter AnalyticsPageViews to count. * @example * // Count the number of AnalyticsPageViews * const count = await prisma.analyticsPageView.count({ * where: { * // ... the filter for the AnalyticsPageViews we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a AnalyticsPageView. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnalyticsPageViewAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by AnalyticsPageView. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AnalyticsPageViewGroupByArgs} 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 AnalyticsPageViewGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AnalyticsPageViewGroupByArgs['orderBy'] } : { orderBy?: AnalyticsPageViewGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetAnalyticsPageViewGroupByPayload : Prisma.PrismaPromise /** * Fields of the AnalyticsPageView model */ readonly fields: AnalyticsPageViewFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AnalyticsPageView. * 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__AnalyticsPageViewClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" uniqueVisitor = {}>(args?: Prisma.Subset>): Prisma.Prisma__AnalyticsUniqueVisitorClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> portal = {}>(args?: Prisma.Subset>): Prisma.Prisma__PortalClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> portalUser = {}>(args?: Prisma.Subset>): Prisma.Prisma__PortalUserClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the AnalyticsPageView model */ export interface AnalyticsPageViewFieldRefs { readonly id: Prisma.FieldRef<"AnalyticsPageView", 'String'> readonly createdAt: Prisma.FieldRef<"AnalyticsPageView", 'DateTime'> readonly uniqueVisitorId: Prisma.FieldRef<"AnalyticsPageView", 'String'> readonly url: Prisma.FieldRef<"AnalyticsPageView", 'String'> readonly route: Prisma.FieldRef<"AnalyticsPageView", 'String'> readonly portalId: Prisma.FieldRef<"AnalyticsPageView", 'String'> readonly portalUserId: Prisma.FieldRef<"AnalyticsPageView", 'String'> } // Custom InputTypes /** * AnalyticsPageView findUnique */ export type AnalyticsPageViewFindUniqueArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null /** * Filter, which AnalyticsPageView to fetch. */ where: Prisma.AnalyticsPageViewWhereUniqueInput } /** * AnalyticsPageView findUniqueOrThrow */ export type AnalyticsPageViewFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null /** * Filter, which AnalyticsPageView to fetch. */ where: Prisma.AnalyticsPageViewWhereUniqueInput } /** * AnalyticsPageView findFirst */ export type AnalyticsPageViewFindFirstArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null /** * Filter, which AnalyticsPageView to fetch. */ where?: Prisma.AnalyticsPageViewWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnalyticsPageViews to fetch. */ orderBy?: Prisma.AnalyticsPageViewOrderByWithRelationInput | Prisma.AnalyticsPageViewOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AnalyticsPageViews. */ cursor?: Prisma.AnalyticsPageViewWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnalyticsPageViews 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` AnalyticsPageViews. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AnalyticsPageViews. */ distinct?: Prisma.AnalyticsPageViewScalarFieldEnum | Prisma.AnalyticsPageViewScalarFieldEnum[] } /** * AnalyticsPageView findFirstOrThrow */ export type AnalyticsPageViewFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null /** * Filter, which AnalyticsPageView to fetch. */ where?: Prisma.AnalyticsPageViewWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnalyticsPageViews to fetch. */ orderBy?: Prisma.AnalyticsPageViewOrderByWithRelationInput | Prisma.AnalyticsPageViewOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AnalyticsPageViews. */ cursor?: Prisma.AnalyticsPageViewWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnalyticsPageViews 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` AnalyticsPageViews. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AnalyticsPageViews. */ distinct?: Prisma.AnalyticsPageViewScalarFieldEnum | Prisma.AnalyticsPageViewScalarFieldEnum[] } /** * AnalyticsPageView findMany */ export type AnalyticsPageViewFindManyArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null /** * Filter, which AnalyticsPageViews to fetch. */ where?: Prisma.AnalyticsPageViewWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AnalyticsPageViews to fetch. */ orderBy?: Prisma.AnalyticsPageViewOrderByWithRelationInput | Prisma.AnalyticsPageViewOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AnalyticsPageViews. */ cursor?: Prisma.AnalyticsPageViewWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AnalyticsPageViews 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` AnalyticsPageViews. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AnalyticsPageViews. */ distinct?: Prisma.AnalyticsPageViewScalarFieldEnum | Prisma.AnalyticsPageViewScalarFieldEnum[] } /** * AnalyticsPageView create */ export type AnalyticsPageViewCreateArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null /** * The data needed to create a AnalyticsPageView. */ data: Prisma.XOR } /** * AnalyticsPageView createMany */ export type AnalyticsPageViewCreateManyArgs = { /** * The data used to create many AnalyticsPageViews. */ data: Prisma.AnalyticsPageViewCreateManyInput | Prisma.AnalyticsPageViewCreateManyInput[] skipDuplicates?: boolean } /** * AnalyticsPageView createManyAndReturn */ export type AnalyticsPageViewCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelectCreateManyAndReturn | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * The data used to create many AnalyticsPageViews. */ data: Prisma.AnalyticsPageViewCreateManyInput | Prisma.AnalyticsPageViewCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewIncludeCreateManyAndReturn | null } /** * AnalyticsPageView update */ export type AnalyticsPageViewUpdateArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null /** * The data needed to update a AnalyticsPageView. */ data: Prisma.XOR /** * Choose, which AnalyticsPageView to update. */ where: Prisma.AnalyticsPageViewWhereUniqueInput } /** * AnalyticsPageView updateMany */ export type AnalyticsPageViewUpdateManyArgs = { /** * The data used to update AnalyticsPageViews. */ data: Prisma.XOR /** * Filter which AnalyticsPageViews to update */ where?: Prisma.AnalyticsPageViewWhereInput /** * Limit how many AnalyticsPageViews to update. */ limit?: number } /** * AnalyticsPageView updateManyAndReturn */ export type AnalyticsPageViewUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelectUpdateManyAndReturn | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * The data used to update AnalyticsPageViews. */ data: Prisma.XOR /** * Filter which AnalyticsPageViews to update */ where?: Prisma.AnalyticsPageViewWhereInput /** * Limit how many AnalyticsPageViews to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewIncludeUpdateManyAndReturn | null } /** * AnalyticsPageView upsert */ export type AnalyticsPageViewUpsertArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null /** * The filter to search for the AnalyticsPageView to update in case it exists. */ where: Prisma.AnalyticsPageViewWhereUniqueInput /** * In case the AnalyticsPageView found by the `where` argument doesn't exist, create a new AnalyticsPageView with this data. */ create: Prisma.XOR /** * In case the AnalyticsPageView was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AnalyticsPageView delete */ export type AnalyticsPageViewDeleteArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null /** * Filter which AnalyticsPageView to delete. */ where: Prisma.AnalyticsPageViewWhereUniqueInput } /** * AnalyticsPageView deleteMany */ export type AnalyticsPageViewDeleteManyArgs = { /** * Filter which AnalyticsPageViews to delete */ where?: Prisma.AnalyticsPageViewWhereInput /** * Limit how many AnalyticsPageViews to delete. */ limit?: number } /** * AnalyticsPageView.portal */ export type AnalyticsPageView$portalArgs = { /** * Select specific fields to fetch from the Portal */ select?: Prisma.PortalSelect | null /** * Omit specific fields from the Portal */ omit?: Prisma.PortalOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalInclude | null where?: Prisma.PortalWhereInput } /** * AnalyticsPageView.portalUser */ export type AnalyticsPageView$portalUserArgs = { /** * Select specific fields to fetch from the PortalUser */ select?: Prisma.PortalUserSelect | null /** * Omit specific fields from the PortalUser */ omit?: Prisma.PortalUserOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.PortalUserInclude | null where?: Prisma.PortalUserWhereInput } /** * AnalyticsPageView without action */ export type AnalyticsPageViewDefaultArgs = { /** * Select specific fields to fetch from the AnalyticsPageView */ select?: Prisma.AnalyticsPageViewSelect | null /** * Omit specific fields from the AnalyticsPageView */ omit?: Prisma.AnalyticsPageViewOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AnalyticsPageViewInclude | null }