
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `SessionReplaySaved` 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"
import type * as Prisma from "../internal/prismaNamespace"

/**
 * Model SessionReplaySaved
 * 
 */
export type SessionReplaySavedModel = runtime.Types.Result.DefaultSelection<Prisma.$SessionReplaySavedPayload>

export type AggregateSessionReplaySaved = {
  _count: SessionReplaySavedCountAggregateOutputType | null
  _min: SessionReplaySavedMinAggregateOutputType | null
  _max: SessionReplaySavedMaxAggregateOutputType | null
}

export type SessionReplaySavedMinAggregateOutputType = {
  id: string | null
  name: string | null
  websiteId: string | null
  visitId: string | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type SessionReplaySavedMaxAggregateOutputType = {
  id: string | null
  name: string | null
  websiteId: string | null
  visitId: string | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type SessionReplaySavedCountAggregateOutputType = {
  id: number
  name: number
  websiteId: number
  visitId: number
  createdAt: number
  updatedAt: number
  _all: number
}


export type SessionReplaySavedMinAggregateInputType = {
  id?: true
  name?: true
  websiteId?: true
  visitId?: true
  createdAt?: true
  updatedAt?: true
}

export type SessionReplaySavedMaxAggregateInputType = {
  id?: true
  name?: true
  websiteId?: true
  visitId?: true
  createdAt?: true
  updatedAt?: true
}

export type SessionReplaySavedCountAggregateInputType = {
  id?: true
  name?: true
  websiteId?: true
  visitId?: true
  createdAt?: true
  updatedAt?: true
  _all?: true
}

export type SessionReplaySavedAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which SessionReplaySaved to aggregate.
   */
  where?: Prisma.SessionReplaySavedWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SessionReplaySaveds to fetch.
   */
  orderBy?: Prisma.SessionReplaySavedOrderByWithRelationInput | Prisma.SessionReplaySavedOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.SessionReplaySavedWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SessionReplaySaveds 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` SessionReplaySaveds.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned SessionReplaySaveds
  **/
  _count?: true | SessionReplaySavedCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: SessionReplaySavedMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: SessionReplaySavedMaxAggregateInputType
}

export type GetSessionReplaySavedAggregateType<T extends SessionReplaySavedAggregateArgs> = {
      [P in keyof T & keyof AggregateSessionReplaySaved]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateSessionReplaySaved[P]>
    : Prisma.GetScalarType<T[P], AggregateSessionReplaySaved[P]>
}




export type SessionReplaySavedGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.SessionReplaySavedWhereInput
  orderBy?: Prisma.SessionReplaySavedOrderByWithAggregationInput | Prisma.SessionReplaySavedOrderByWithAggregationInput[]
  by: Prisma.SessionReplaySavedScalarFieldEnum[] | Prisma.SessionReplaySavedScalarFieldEnum
  having?: Prisma.SessionReplaySavedScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: SessionReplaySavedCountAggregateInputType | true
  _min?: SessionReplaySavedMinAggregateInputType
  _max?: SessionReplaySavedMaxAggregateInputType
}

export type SessionReplaySavedGroupByOutputType = {
  id: string
  name: string
  websiteId: string
  visitId: string
  createdAt: Date | null
  updatedAt: Date | null
  _count: SessionReplaySavedCountAggregateOutputType | null
  _min: SessionReplaySavedMinAggregateOutputType | null
  _max: SessionReplaySavedMaxAggregateOutputType | null
}

export type GetSessionReplaySavedGroupByPayload<T extends SessionReplaySavedGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<SessionReplaySavedGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof SessionReplaySavedGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], SessionReplaySavedGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], SessionReplaySavedGroupByOutputType[P]>
      }
    >
  >



export type SessionReplaySavedWhereInput = {
  AND?: Prisma.SessionReplaySavedWhereInput | Prisma.SessionReplaySavedWhereInput[]
  OR?: Prisma.SessionReplaySavedWhereInput[]
  NOT?: Prisma.SessionReplaySavedWhereInput | Prisma.SessionReplaySavedWhereInput[]
  id?: Prisma.UuidFilter<"SessionReplaySaved"> | string
  name?: Prisma.StringFilter<"SessionReplaySaved"> | string
  websiteId?: Prisma.UuidFilter<"SessionReplaySaved"> | string
  visitId?: Prisma.UuidFilter<"SessionReplaySaved"> | string
  createdAt?: Prisma.DateTimeNullableFilter<"SessionReplaySaved"> | Date | string | null
  updatedAt?: Prisma.DateTimeNullableFilter<"SessionReplaySaved"> | Date | string | null
  website?: Prisma.XOR<Prisma.WebsiteScalarRelationFilter, Prisma.WebsiteWhereInput>
}

export type SessionReplaySavedOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
  updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  website?: Prisma.WebsiteOrderByWithRelationInput
}

export type SessionReplaySavedWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  websiteId_visitId?: Prisma.SessionReplaySavedWebsiteIdVisitIdCompoundUniqueInput
  AND?: Prisma.SessionReplaySavedWhereInput | Prisma.SessionReplaySavedWhereInput[]
  OR?: Prisma.SessionReplaySavedWhereInput[]
  NOT?: Prisma.SessionReplaySavedWhereInput | Prisma.SessionReplaySavedWhereInput[]
  name?: Prisma.StringFilter<"SessionReplaySaved"> | string
  websiteId?: Prisma.UuidFilter<"SessionReplaySaved"> | string
  visitId?: Prisma.UuidFilter<"SessionReplaySaved"> | string
  createdAt?: Prisma.DateTimeNullableFilter<"SessionReplaySaved"> | Date | string | null
  updatedAt?: Prisma.DateTimeNullableFilter<"SessionReplaySaved"> | Date | string | null
  website?: Prisma.XOR<Prisma.WebsiteScalarRelationFilter, Prisma.WebsiteWhereInput>
}, "id" | "websiteId_visitId">

export type SessionReplaySavedOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrderInput | Prisma.SortOrder
  updatedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.SessionReplaySavedCountOrderByAggregateInput
  _max?: Prisma.SessionReplaySavedMaxOrderByAggregateInput
  _min?: Prisma.SessionReplaySavedMinOrderByAggregateInput
}

export type SessionReplaySavedScalarWhereWithAggregatesInput = {
  AND?: Prisma.SessionReplaySavedScalarWhereWithAggregatesInput | Prisma.SessionReplaySavedScalarWhereWithAggregatesInput[]
  OR?: Prisma.SessionReplaySavedScalarWhereWithAggregatesInput[]
  NOT?: Prisma.SessionReplaySavedScalarWhereWithAggregatesInput | Prisma.SessionReplaySavedScalarWhereWithAggregatesInput[]
  id?: Prisma.UuidWithAggregatesFilter<"SessionReplaySaved"> | string
  name?: Prisma.StringWithAggregatesFilter<"SessionReplaySaved"> | string
  websiteId?: Prisma.UuidWithAggregatesFilter<"SessionReplaySaved"> | string
  visitId?: Prisma.UuidWithAggregatesFilter<"SessionReplaySaved"> | string
  createdAt?: Prisma.DateTimeNullableWithAggregatesFilter<"SessionReplaySaved"> | Date | string | null
  updatedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"SessionReplaySaved"> | Date | string | null
}

export type SessionReplaySavedCreateInput = {
  id: string
  name: string
  visitId: string
  createdAt?: Date | string | null
  updatedAt?: Date | string | null
  website: Prisma.WebsiteCreateNestedOneWithoutSessionReplaysSavedInput
}

export type SessionReplaySavedUncheckedCreateInput = {
  id: string
  name: string
  websiteId: string
  visitId: string
  createdAt?: Date | string | null
  updatedAt?: Date | string | null
}

export type SessionReplaySavedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  website?: Prisma.WebsiteUpdateOneRequiredWithoutSessionReplaysSavedNestedInput
}

export type SessionReplaySavedUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type SessionReplaySavedCreateManyInput = {
  id: string
  name: string
  websiteId: string
  visitId: string
  createdAt?: Date | string | null
  updatedAt?: Date | string | null
}

export type SessionReplaySavedUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type SessionReplaySavedUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  websiteId?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type SessionReplaySavedListRelationFilter = {
  every?: Prisma.SessionReplaySavedWhereInput
  some?: Prisma.SessionReplaySavedWhereInput
  none?: Prisma.SessionReplaySavedWhereInput
}

export type SessionReplaySavedOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type SessionReplaySavedWebsiteIdVisitIdCompoundUniqueInput = {
  websiteId: string
  visitId: string
}

export type SessionReplaySavedCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type SessionReplaySavedMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type SessionReplaySavedMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  name?: Prisma.SortOrder
  websiteId?: Prisma.SortOrder
  visitId?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type SessionReplaySavedCreateNestedManyWithoutWebsiteInput = {
  create?: Prisma.XOR<Prisma.SessionReplaySavedCreateWithoutWebsiteInput, Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput> | Prisma.SessionReplaySavedCreateWithoutWebsiteInput[] | Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput[]
  connectOrCreate?: Prisma.SessionReplaySavedCreateOrConnectWithoutWebsiteInput | Prisma.SessionReplaySavedCreateOrConnectWithoutWebsiteInput[]
  createMany?: Prisma.SessionReplaySavedCreateManyWebsiteInputEnvelope
  connect?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
}

export type SessionReplaySavedUncheckedCreateNestedManyWithoutWebsiteInput = {
  create?: Prisma.XOR<Prisma.SessionReplaySavedCreateWithoutWebsiteInput, Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput> | Prisma.SessionReplaySavedCreateWithoutWebsiteInput[] | Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput[]
  connectOrCreate?: Prisma.SessionReplaySavedCreateOrConnectWithoutWebsiteInput | Prisma.SessionReplaySavedCreateOrConnectWithoutWebsiteInput[]
  createMany?: Prisma.SessionReplaySavedCreateManyWebsiteInputEnvelope
  connect?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
}

export type SessionReplaySavedUpdateManyWithoutWebsiteNestedInput = {
  create?: Prisma.XOR<Prisma.SessionReplaySavedCreateWithoutWebsiteInput, Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput> | Prisma.SessionReplaySavedCreateWithoutWebsiteInput[] | Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput[]
  connectOrCreate?: Prisma.SessionReplaySavedCreateOrConnectWithoutWebsiteInput | Prisma.SessionReplaySavedCreateOrConnectWithoutWebsiteInput[]
  upsert?: Prisma.SessionReplaySavedUpsertWithWhereUniqueWithoutWebsiteInput | Prisma.SessionReplaySavedUpsertWithWhereUniqueWithoutWebsiteInput[]
  createMany?: Prisma.SessionReplaySavedCreateManyWebsiteInputEnvelope
  set?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
  disconnect?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
  delete?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
  connect?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
  update?: Prisma.SessionReplaySavedUpdateWithWhereUniqueWithoutWebsiteInput | Prisma.SessionReplaySavedUpdateWithWhereUniqueWithoutWebsiteInput[]
  updateMany?: Prisma.SessionReplaySavedUpdateManyWithWhereWithoutWebsiteInput | Prisma.SessionReplaySavedUpdateManyWithWhereWithoutWebsiteInput[]
  deleteMany?: Prisma.SessionReplaySavedScalarWhereInput | Prisma.SessionReplaySavedScalarWhereInput[]
}

export type SessionReplaySavedUncheckedUpdateManyWithoutWebsiteNestedInput = {
  create?: Prisma.XOR<Prisma.SessionReplaySavedCreateWithoutWebsiteInput, Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput> | Prisma.SessionReplaySavedCreateWithoutWebsiteInput[] | Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput[]
  connectOrCreate?: Prisma.SessionReplaySavedCreateOrConnectWithoutWebsiteInput | Prisma.SessionReplaySavedCreateOrConnectWithoutWebsiteInput[]
  upsert?: Prisma.SessionReplaySavedUpsertWithWhereUniqueWithoutWebsiteInput | Prisma.SessionReplaySavedUpsertWithWhereUniqueWithoutWebsiteInput[]
  createMany?: Prisma.SessionReplaySavedCreateManyWebsiteInputEnvelope
  set?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
  disconnect?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
  delete?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
  connect?: Prisma.SessionReplaySavedWhereUniqueInput | Prisma.SessionReplaySavedWhereUniqueInput[]
  update?: Prisma.SessionReplaySavedUpdateWithWhereUniqueWithoutWebsiteInput | Prisma.SessionReplaySavedUpdateWithWhereUniqueWithoutWebsiteInput[]
  updateMany?: Prisma.SessionReplaySavedUpdateManyWithWhereWithoutWebsiteInput | Prisma.SessionReplaySavedUpdateManyWithWhereWithoutWebsiteInput[]
  deleteMany?: Prisma.SessionReplaySavedScalarWhereInput | Prisma.SessionReplaySavedScalarWhereInput[]
}

export type SessionReplaySavedCreateWithoutWebsiteInput = {
  id: string
  name: string
  visitId: string
  createdAt?: Date | string | null
  updatedAt?: Date | string | null
}

export type SessionReplaySavedUncheckedCreateWithoutWebsiteInput = {
  id: string
  name: string
  visitId: string
  createdAt?: Date | string | null
  updatedAt?: Date | string | null
}

export type SessionReplaySavedCreateOrConnectWithoutWebsiteInput = {
  where: Prisma.SessionReplaySavedWhereUniqueInput
  create: Prisma.XOR<Prisma.SessionReplaySavedCreateWithoutWebsiteInput, Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput>
}

export type SessionReplaySavedCreateManyWebsiteInputEnvelope = {
  data: Prisma.SessionReplaySavedCreateManyWebsiteInput | Prisma.SessionReplaySavedCreateManyWebsiteInput[]
  skipDuplicates?: boolean
}

export type SessionReplaySavedUpsertWithWhereUniqueWithoutWebsiteInput = {
  where: Prisma.SessionReplaySavedWhereUniqueInput
  update: Prisma.XOR<Prisma.SessionReplaySavedUpdateWithoutWebsiteInput, Prisma.SessionReplaySavedUncheckedUpdateWithoutWebsiteInput>
  create: Prisma.XOR<Prisma.SessionReplaySavedCreateWithoutWebsiteInput, Prisma.SessionReplaySavedUncheckedCreateWithoutWebsiteInput>
}

export type SessionReplaySavedUpdateWithWhereUniqueWithoutWebsiteInput = {
  where: Prisma.SessionReplaySavedWhereUniqueInput
  data: Prisma.XOR<Prisma.SessionReplaySavedUpdateWithoutWebsiteInput, Prisma.SessionReplaySavedUncheckedUpdateWithoutWebsiteInput>
}

export type SessionReplaySavedUpdateManyWithWhereWithoutWebsiteInput = {
  where: Prisma.SessionReplaySavedScalarWhereInput
  data: Prisma.XOR<Prisma.SessionReplaySavedUpdateManyMutationInput, Prisma.SessionReplaySavedUncheckedUpdateManyWithoutWebsiteInput>
}

export type SessionReplaySavedScalarWhereInput = {
  AND?: Prisma.SessionReplaySavedScalarWhereInput | Prisma.SessionReplaySavedScalarWhereInput[]
  OR?: Prisma.SessionReplaySavedScalarWhereInput[]
  NOT?: Prisma.SessionReplaySavedScalarWhereInput | Prisma.SessionReplaySavedScalarWhereInput[]
  id?: Prisma.UuidFilter<"SessionReplaySaved"> | string
  name?: Prisma.StringFilter<"SessionReplaySaved"> | string
  websiteId?: Prisma.UuidFilter<"SessionReplaySaved"> | string
  visitId?: Prisma.UuidFilter<"SessionReplaySaved"> | string
  createdAt?: Prisma.DateTimeNullableFilter<"SessionReplaySaved"> | Date | string | null
  updatedAt?: Prisma.DateTimeNullableFilter<"SessionReplaySaved"> | Date | string | null
}

export type SessionReplaySavedCreateManyWebsiteInput = {
  id: string
  name: string
  visitId: string
  createdAt?: Date | string | null
  updatedAt?: Date | string | null
}

export type SessionReplaySavedUpdateWithoutWebsiteInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type SessionReplaySavedUncheckedUpdateWithoutWebsiteInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type SessionReplaySavedUncheckedUpdateManyWithoutWebsiteInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  visitId?: Prisma.StringFieldUpdateOperationsInput | string
  createdAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updatedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}



export type SessionReplaySavedSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  name?: boolean
  websiteId?: boolean
  visitId?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  website?: boolean | Prisma.WebsiteDefaultArgs<ExtArgs>
}, ExtArgs["result"]["sessionReplaySaved"]>

export type SessionReplaySavedSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  name?: boolean
  websiteId?: boolean
  visitId?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  website?: boolean | Prisma.WebsiteDefaultArgs<ExtArgs>
}, ExtArgs["result"]["sessionReplaySaved"]>

export type SessionReplaySavedSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  name?: boolean
  websiteId?: boolean
  visitId?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  website?: boolean | Prisma.WebsiteDefaultArgs<ExtArgs>
}, ExtArgs["result"]["sessionReplaySaved"]>

export type SessionReplaySavedSelectScalar = {
  id?: boolean
  name?: boolean
  websiteId?: boolean
  visitId?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}

export type SessionReplaySavedOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "websiteId" | "visitId" | "createdAt" | "updatedAt", ExtArgs["result"]["sessionReplaySaved"]>
export type SessionReplaySavedInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  website?: boolean | Prisma.WebsiteDefaultArgs<ExtArgs>
}
export type SessionReplaySavedIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  website?: boolean | Prisma.WebsiteDefaultArgs<ExtArgs>
}
export type SessionReplaySavedIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  website?: boolean | Prisma.WebsiteDefaultArgs<ExtArgs>
}

export type $SessionReplaySavedPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "SessionReplaySaved"
  objects: {
    website: Prisma.$WebsitePayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    name: string
    websiteId: string
    visitId: string
    createdAt: Date | null
    updatedAt: Date | null
  }, ExtArgs["result"]["sessionReplaySaved"]>
  composites: {}
}

export type SessionReplaySavedGetPayload<S extends boolean | null | undefined | SessionReplaySavedDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload, S>

export type SessionReplaySavedCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<SessionReplaySavedFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: SessionReplaySavedCountAggregateInputType | true
  }

export interface SessionReplaySavedDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['SessionReplaySaved'], meta: { name: 'SessionReplaySaved' } }
  /**
   * Find zero or one SessionReplaySaved that matches the filter.
   * @param {SessionReplaySavedFindUniqueArgs} args - Arguments to find a SessionReplaySaved
   * @example
   * // Get one SessionReplaySaved
   * const sessionReplaySaved = await prisma.sessionReplaySaved.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends SessionReplaySavedFindUniqueArgs>(args: Prisma.SelectSubset<T, SessionReplaySavedFindUniqueArgs<ExtArgs>>): Prisma.Prisma__SessionReplaySavedClient<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one SessionReplaySaved that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {SessionReplaySavedFindUniqueOrThrowArgs} args - Arguments to find a SessionReplaySaved
   * @example
   * // Get one SessionReplaySaved
   * const sessionReplaySaved = await prisma.sessionReplaySaved.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends SessionReplaySavedFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, SessionReplaySavedFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__SessionReplaySavedClient<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first SessionReplaySaved 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 {SessionReplaySavedFindFirstArgs} args - Arguments to find a SessionReplaySaved
   * @example
   * // Get one SessionReplaySaved
   * const sessionReplaySaved = await prisma.sessionReplaySaved.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends SessionReplaySavedFindFirstArgs>(args?: Prisma.SelectSubset<T, SessionReplaySavedFindFirstArgs<ExtArgs>>): Prisma.Prisma__SessionReplaySavedClient<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first SessionReplaySaved 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 {SessionReplaySavedFindFirstOrThrowArgs} args - Arguments to find a SessionReplaySaved
   * @example
   * // Get one SessionReplaySaved
   * const sessionReplaySaved = await prisma.sessionReplaySaved.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends SessionReplaySavedFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, SessionReplaySavedFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__SessionReplaySavedClient<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more SessionReplaySaveds 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 {SessionReplaySavedFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all SessionReplaySaveds
   * const sessionReplaySaveds = await prisma.sessionReplaySaved.findMany()
   * 
   * // Get first 10 SessionReplaySaveds
   * const sessionReplaySaveds = await prisma.sessionReplaySaved.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const sessionReplaySavedWithIdOnly = await prisma.sessionReplaySaved.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends SessionReplaySavedFindManyArgs>(args?: Prisma.SelectSubset<T, SessionReplaySavedFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a SessionReplaySaved.
   * @param {SessionReplaySavedCreateArgs} args - Arguments to create a SessionReplaySaved.
   * @example
   * // Create one SessionReplaySaved
   * const SessionReplaySaved = await prisma.sessionReplaySaved.create({
   *   data: {
   *     // ... data to create a SessionReplaySaved
   *   }
   * })
   * 
   */
  create<T extends SessionReplaySavedCreateArgs>(args: Prisma.SelectSubset<T, SessionReplaySavedCreateArgs<ExtArgs>>): Prisma.Prisma__SessionReplaySavedClient<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many SessionReplaySaveds.
   * @param {SessionReplaySavedCreateManyArgs} args - Arguments to create many SessionReplaySaveds.
   * @example
   * // Create many SessionReplaySaveds
   * const sessionReplaySaved = await prisma.sessionReplaySaved.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends SessionReplaySavedCreateManyArgs>(args?: Prisma.SelectSubset<T, SessionReplaySavedCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many SessionReplaySaveds and returns the data saved in the database.
   * @param {SessionReplaySavedCreateManyAndReturnArgs} args - Arguments to create many SessionReplaySaveds.
   * @example
   * // Create many SessionReplaySaveds
   * const sessionReplaySaved = await prisma.sessionReplaySaved.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many SessionReplaySaveds and only return the `id`
   * const sessionReplaySavedWithIdOnly = await prisma.sessionReplaySaved.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 SessionReplaySavedCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, SessionReplaySavedCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a SessionReplaySaved.
   * @param {SessionReplaySavedDeleteArgs} args - Arguments to delete one SessionReplaySaved.
   * @example
   * // Delete one SessionReplaySaved
   * const SessionReplaySaved = await prisma.sessionReplaySaved.delete({
   *   where: {
   *     // ... filter to delete one SessionReplaySaved
   *   }
   * })
   * 
   */
  delete<T extends SessionReplaySavedDeleteArgs>(args: Prisma.SelectSubset<T, SessionReplaySavedDeleteArgs<ExtArgs>>): Prisma.Prisma__SessionReplaySavedClient<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one SessionReplaySaved.
   * @param {SessionReplaySavedUpdateArgs} args - Arguments to update one SessionReplaySaved.
   * @example
   * // Update one SessionReplaySaved
   * const sessionReplaySaved = await prisma.sessionReplaySaved.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends SessionReplaySavedUpdateArgs>(args: Prisma.SelectSubset<T, SessionReplaySavedUpdateArgs<ExtArgs>>): Prisma.Prisma__SessionReplaySavedClient<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more SessionReplaySaveds.
   * @param {SessionReplaySavedDeleteManyArgs} args - Arguments to filter SessionReplaySaveds to delete.
   * @example
   * // Delete a few SessionReplaySaveds
   * const { count } = await prisma.sessionReplaySaved.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends SessionReplaySavedDeleteManyArgs>(args?: Prisma.SelectSubset<T, SessionReplaySavedDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more SessionReplaySaveds.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {SessionReplaySavedUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many SessionReplaySaveds
   * const sessionReplaySaved = await prisma.sessionReplaySaved.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends SessionReplaySavedUpdateManyArgs>(args: Prisma.SelectSubset<T, SessionReplaySavedUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more SessionReplaySaveds and returns the data updated in the database.
   * @param {SessionReplaySavedUpdateManyAndReturnArgs} args - Arguments to update many SessionReplaySaveds.
   * @example
   * // Update many SessionReplaySaveds
   * const sessionReplaySaved = await prisma.sessionReplaySaved.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more SessionReplaySaveds and only return the `id`
   * const sessionReplaySavedWithIdOnly = await prisma.sessionReplaySaved.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 SessionReplaySavedUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, SessionReplaySavedUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one SessionReplaySaved.
   * @param {SessionReplaySavedUpsertArgs} args - Arguments to update or create a SessionReplaySaved.
   * @example
   * // Update or create a SessionReplaySaved
   * const sessionReplaySaved = await prisma.sessionReplaySaved.upsert({
   *   create: {
   *     // ... data to create a SessionReplaySaved
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the SessionReplaySaved we want to update
   *   }
   * })
   */
  upsert<T extends SessionReplaySavedUpsertArgs>(args: Prisma.SelectSubset<T, SessionReplaySavedUpsertArgs<ExtArgs>>): Prisma.Prisma__SessionReplaySavedClient<runtime.Types.Result.GetResult<Prisma.$SessionReplaySavedPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of SessionReplaySaveds.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {SessionReplaySavedCountArgs} args - Arguments to filter SessionReplaySaveds to count.
   * @example
   * // Count the number of SessionReplaySaveds
   * const count = await prisma.sessionReplaySaved.count({
   *   where: {
   *     // ... the filter for the SessionReplaySaveds we want to count
   *   }
   * })
  **/
  count<T extends SessionReplaySavedCountArgs>(
    args?: Prisma.Subset<T, SessionReplaySavedCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], SessionReplaySavedCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a SessionReplaySaved.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {SessionReplaySavedAggregateArgs} 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 SessionReplaySavedAggregateArgs>(args: Prisma.Subset<T, SessionReplaySavedAggregateArgs>): Prisma.PrismaPromise<GetSessionReplaySavedAggregateType<T>>

  /**
   * Group by SessionReplaySaved.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {SessionReplaySavedGroupByArgs} 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 SessionReplaySavedGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: SessionReplaySavedGroupByArgs['orderBy'] }
      : { orderBy?: SessionReplaySavedGroupByArgs['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, SessionReplaySavedGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetSessionReplaySavedGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the SessionReplaySaved model
 */
readonly fields: SessionReplaySavedFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for SessionReplaySaved.
 * 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__SessionReplaySavedClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  website<T extends Prisma.WebsiteDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.WebsiteDefaultArgs<ExtArgs>>): Prisma.Prisma__WebsiteClient<runtime.Types.Result.GetResult<Prisma.$WebsitePayload<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 SessionReplaySaved model
 */
export interface SessionReplaySavedFieldRefs {
  readonly id: Prisma.FieldRef<"SessionReplaySaved", 'String'>
  readonly name: Prisma.FieldRef<"SessionReplaySaved", 'String'>
  readonly websiteId: Prisma.FieldRef<"SessionReplaySaved", 'String'>
  readonly visitId: Prisma.FieldRef<"SessionReplaySaved", 'String'>
  readonly createdAt: Prisma.FieldRef<"SessionReplaySaved", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"SessionReplaySaved", 'DateTime'>
}
    

// Custom InputTypes
/**
 * SessionReplaySaved findUnique
 */
export type SessionReplaySavedFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
  /**
   * Filter, which SessionReplaySaved to fetch.
   */
  where: Prisma.SessionReplaySavedWhereUniqueInput
}

/**
 * SessionReplaySaved findUniqueOrThrow
 */
export type SessionReplaySavedFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
  /**
   * Filter, which SessionReplaySaved to fetch.
   */
  where: Prisma.SessionReplaySavedWhereUniqueInput
}

/**
 * SessionReplaySaved findFirst
 */
export type SessionReplaySavedFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
  /**
   * Filter, which SessionReplaySaved to fetch.
   */
  where?: Prisma.SessionReplaySavedWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SessionReplaySaveds to fetch.
   */
  orderBy?: Prisma.SessionReplaySavedOrderByWithRelationInput | Prisma.SessionReplaySavedOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for SessionReplaySaveds.
   */
  cursor?: Prisma.SessionReplaySavedWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SessionReplaySaveds 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` SessionReplaySaveds.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of SessionReplaySaveds.
   */
  distinct?: Prisma.SessionReplaySavedScalarFieldEnum | Prisma.SessionReplaySavedScalarFieldEnum[]
}

/**
 * SessionReplaySaved findFirstOrThrow
 */
export type SessionReplaySavedFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
  /**
   * Filter, which SessionReplaySaved to fetch.
   */
  where?: Prisma.SessionReplaySavedWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SessionReplaySaveds to fetch.
   */
  orderBy?: Prisma.SessionReplaySavedOrderByWithRelationInput | Prisma.SessionReplaySavedOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for SessionReplaySaveds.
   */
  cursor?: Prisma.SessionReplaySavedWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SessionReplaySaveds 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` SessionReplaySaveds.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of SessionReplaySaveds.
   */
  distinct?: Prisma.SessionReplaySavedScalarFieldEnum | Prisma.SessionReplaySavedScalarFieldEnum[]
}

/**
 * SessionReplaySaved findMany
 */
export type SessionReplaySavedFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
  /**
   * Filter, which SessionReplaySaveds to fetch.
   */
  where?: Prisma.SessionReplaySavedWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of SessionReplaySaveds to fetch.
   */
  orderBy?: Prisma.SessionReplaySavedOrderByWithRelationInput | Prisma.SessionReplaySavedOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing SessionReplaySaveds.
   */
  cursor?: Prisma.SessionReplaySavedWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` SessionReplaySaveds 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` SessionReplaySaveds.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of SessionReplaySaveds.
   */
  distinct?: Prisma.SessionReplaySavedScalarFieldEnum | Prisma.SessionReplaySavedScalarFieldEnum[]
}

/**
 * SessionReplaySaved create
 */
export type SessionReplaySavedCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
  /**
   * The data needed to create a SessionReplaySaved.
   */
  data: Prisma.XOR<Prisma.SessionReplaySavedCreateInput, Prisma.SessionReplaySavedUncheckedCreateInput>
}

/**
 * SessionReplaySaved createMany
 */
export type SessionReplaySavedCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many SessionReplaySaveds.
   */
  data: Prisma.SessionReplaySavedCreateManyInput | Prisma.SessionReplaySavedCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * SessionReplaySaved createManyAndReturn
 */
export type SessionReplaySavedCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * The data used to create many SessionReplaySaveds.
   */
  data: Prisma.SessionReplaySavedCreateManyInput | Prisma.SessionReplaySavedCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * SessionReplaySaved update
 */
export type SessionReplaySavedUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
  /**
   * The data needed to update a SessionReplaySaved.
   */
  data: Prisma.XOR<Prisma.SessionReplaySavedUpdateInput, Prisma.SessionReplaySavedUncheckedUpdateInput>
  /**
   * Choose, which SessionReplaySaved to update.
   */
  where: Prisma.SessionReplaySavedWhereUniqueInput
}

/**
 * SessionReplaySaved updateMany
 */
export type SessionReplaySavedUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update SessionReplaySaveds.
   */
  data: Prisma.XOR<Prisma.SessionReplaySavedUpdateManyMutationInput, Prisma.SessionReplaySavedUncheckedUpdateManyInput>
  /**
   * Filter which SessionReplaySaveds to update
   */
  where?: Prisma.SessionReplaySavedWhereInput
  /**
   * Limit how many SessionReplaySaveds to update.
   */
  limit?: number
}

/**
 * SessionReplaySaved updateManyAndReturn
 */
export type SessionReplaySavedUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * The data used to update SessionReplaySaveds.
   */
  data: Prisma.XOR<Prisma.SessionReplaySavedUpdateManyMutationInput, Prisma.SessionReplaySavedUncheckedUpdateManyInput>
  /**
   * Filter which SessionReplaySaveds to update
   */
  where?: Prisma.SessionReplaySavedWhereInput
  /**
   * Limit how many SessionReplaySaveds to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * SessionReplaySaved upsert
 */
export type SessionReplaySavedUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
  /**
   * The filter to search for the SessionReplaySaved to update in case it exists.
   */
  where: Prisma.SessionReplaySavedWhereUniqueInput
  /**
   * In case the SessionReplaySaved found by the `where` argument doesn't exist, create a new SessionReplaySaved with this data.
   */
  create: Prisma.XOR<Prisma.SessionReplaySavedCreateInput, Prisma.SessionReplaySavedUncheckedCreateInput>
  /**
   * In case the SessionReplaySaved was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.SessionReplaySavedUpdateInput, Prisma.SessionReplaySavedUncheckedUpdateInput>
}

/**
 * SessionReplaySaved delete
 */
export type SessionReplaySavedDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
  /**
   * Filter which SessionReplaySaved to delete.
   */
  where: Prisma.SessionReplaySavedWhereUniqueInput
}

/**
 * SessionReplaySaved deleteMany
 */
export type SessionReplaySavedDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which SessionReplaySaveds to delete
   */
  where?: Prisma.SessionReplaySavedWhereInput
  /**
   * Limit how many SessionReplaySaveds to delete.
   */
  limit?: number
}

/**
 * SessionReplaySaved without action
 */
export type SessionReplaySavedDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the SessionReplaySaved
   */
  select?: Prisma.SessionReplaySavedSelect<ExtArgs> | null
  /**
   * Omit specific fields from the SessionReplaySaved
   */
  omit?: Prisma.SessionReplaySavedOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.SessionReplaySavedInclude<ExtArgs> | null
}
