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

/**
 * Model DashboardVisit
 * 
 */
export type DashboardVisitModel = runtime.Types.Result.DefaultSelection<Prisma.$DashboardVisitPayload>

export type AggregateDashboardVisit = {
  _count: DashboardVisitCountAggregateOutputType | null
  _min: DashboardVisitMinAggregateOutputType | null
  _max: DashboardVisitMaxAggregateOutputType | null
}

export type DashboardVisitMinAggregateOutputType = {
  id: string | null
  clientId: string | null
  ipAddress: string | null
  visitedAt: Date | null
}

export type DashboardVisitMaxAggregateOutputType = {
  id: string | null
  clientId: string | null
  ipAddress: string | null
  visitedAt: Date | null
}

export type DashboardVisitCountAggregateOutputType = {
  id: number
  clientId: number
  ipAddress: number
  visitedAt: number
  _all: number
}


export type DashboardVisitMinAggregateInputType = {
  id?: true
  clientId?: true
  ipAddress?: true
  visitedAt?: true
}

export type DashboardVisitMaxAggregateInputType = {
  id?: true
  clientId?: true
  ipAddress?: true
  visitedAt?: true
}

export type DashboardVisitCountAggregateInputType = {
  id?: true
  clientId?: true
  ipAddress?: true
  visitedAt?: true
  _all?: true
}

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

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




export type DashboardVisitGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.DashboardVisitWhereInput
  orderBy?: Prisma.DashboardVisitOrderByWithAggregationInput | Prisma.DashboardVisitOrderByWithAggregationInput[]
  by: Prisma.DashboardVisitScalarFieldEnum[] | Prisma.DashboardVisitScalarFieldEnum
  having?: Prisma.DashboardVisitScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: DashboardVisitCountAggregateInputType | true
  _min?: DashboardVisitMinAggregateInputType
  _max?: DashboardVisitMaxAggregateInputType
}

export type DashboardVisitGroupByOutputType = {
  id: string
  clientId: string
  ipAddress: string | null
  visitedAt: Date
  _count: DashboardVisitCountAggregateOutputType | null
  _min: DashboardVisitMinAggregateOutputType | null
  _max: DashboardVisitMaxAggregateOutputType | null
}

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



export type DashboardVisitWhereInput = {
  AND?: Prisma.DashboardVisitWhereInput | Prisma.DashboardVisitWhereInput[]
  OR?: Prisma.DashboardVisitWhereInput[]
  NOT?: Prisma.DashboardVisitWhereInput | Prisma.DashboardVisitWhereInput[]
  id?: Prisma.StringFilter<"DashboardVisit"> | string
  clientId?: Prisma.StringFilter<"DashboardVisit"> | string
  ipAddress?: Prisma.StringNullableFilter<"DashboardVisit"> | string | null
  visitedAt?: Prisma.DateTimeFilter<"DashboardVisit"> | Date | string
  client?: Prisma.XOR<Prisma.ClientScalarRelationFilter, Prisma.ClientWhereInput>
}

export type DashboardVisitOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder
  visitedAt?: Prisma.SortOrder
  client?: Prisma.ClientOrderByWithRelationInput
}

export type DashboardVisitWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.DashboardVisitWhereInput | Prisma.DashboardVisitWhereInput[]
  OR?: Prisma.DashboardVisitWhereInput[]
  NOT?: Prisma.DashboardVisitWhereInput | Prisma.DashboardVisitWhereInput[]
  clientId?: Prisma.StringFilter<"DashboardVisit"> | string
  ipAddress?: Prisma.StringNullableFilter<"DashboardVisit"> | string | null
  visitedAt?: Prisma.DateTimeFilter<"DashboardVisit"> | Date | string
  client?: Prisma.XOR<Prisma.ClientScalarRelationFilter, Prisma.ClientWhereInput>
}, "id">

export type DashboardVisitOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder
  visitedAt?: Prisma.SortOrder
  _count?: Prisma.DashboardVisitCountOrderByAggregateInput
  _max?: Prisma.DashboardVisitMaxOrderByAggregateInput
  _min?: Prisma.DashboardVisitMinOrderByAggregateInput
}

export type DashboardVisitScalarWhereWithAggregatesInput = {
  AND?: Prisma.DashboardVisitScalarWhereWithAggregatesInput | Prisma.DashboardVisitScalarWhereWithAggregatesInput[]
  OR?: Prisma.DashboardVisitScalarWhereWithAggregatesInput[]
  NOT?: Prisma.DashboardVisitScalarWhereWithAggregatesInput | Prisma.DashboardVisitScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"DashboardVisit"> | string
  clientId?: Prisma.StringWithAggregatesFilter<"DashboardVisit"> | string
  ipAddress?: Prisma.StringNullableWithAggregatesFilter<"DashboardVisit"> | string | null
  visitedAt?: Prisma.DateTimeWithAggregatesFilter<"DashboardVisit"> | Date | string
}

export type DashboardVisitCreateInput = {
  id?: string
  ipAddress?: string | null
  visitedAt?: Date | string
  client: Prisma.ClientCreateNestedOneWithoutDashboardVisitsInput
}

export type DashboardVisitUncheckedCreateInput = {
  id?: string
  clientId: string
  ipAddress?: string | null
  visitedAt?: Date | string
}

export type DashboardVisitUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  visitedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  client?: Prisma.ClientUpdateOneRequiredWithoutDashboardVisitsNestedInput
}

export type DashboardVisitUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  clientId?: Prisma.StringFieldUpdateOperationsInput | string
  ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  visitedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type DashboardVisitCreateManyInput = {
  id?: string
  clientId: string
  ipAddress?: string | null
  visitedAt?: Date | string
}

export type DashboardVisitUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  visitedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type DashboardVisitUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  clientId?: Prisma.StringFieldUpdateOperationsInput | string
  ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  visitedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type DashboardVisitListRelationFilter = {
  every?: Prisma.DashboardVisitWhereInput
  some?: Prisma.DashboardVisitWhereInput
  none?: Prisma.DashboardVisitWhereInput
}

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

export type DashboardVisitCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  ipAddress?: Prisma.SortOrder
  visitedAt?: Prisma.SortOrder
}

export type DashboardVisitMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  ipAddress?: Prisma.SortOrder
  visitedAt?: Prisma.SortOrder
}

export type DashboardVisitMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  ipAddress?: Prisma.SortOrder
  visitedAt?: Prisma.SortOrder
}

export type DashboardVisitCreateNestedManyWithoutClientInput = {
  create?: Prisma.XOR<Prisma.DashboardVisitCreateWithoutClientInput, Prisma.DashboardVisitUncheckedCreateWithoutClientInput> | Prisma.DashboardVisitCreateWithoutClientInput[] | Prisma.DashboardVisitUncheckedCreateWithoutClientInput[]
  connectOrCreate?: Prisma.DashboardVisitCreateOrConnectWithoutClientInput | Prisma.DashboardVisitCreateOrConnectWithoutClientInput[]
  createMany?: Prisma.DashboardVisitCreateManyClientInputEnvelope
  connect?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
}

export type DashboardVisitUncheckedCreateNestedManyWithoutClientInput = {
  create?: Prisma.XOR<Prisma.DashboardVisitCreateWithoutClientInput, Prisma.DashboardVisitUncheckedCreateWithoutClientInput> | Prisma.DashboardVisitCreateWithoutClientInput[] | Prisma.DashboardVisitUncheckedCreateWithoutClientInput[]
  connectOrCreate?: Prisma.DashboardVisitCreateOrConnectWithoutClientInput | Prisma.DashboardVisitCreateOrConnectWithoutClientInput[]
  createMany?: Prisma.DashboardVisitCreateManyClientInputEnvelope
  connect?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
}

export type DashboardVisitUpdateManyWithoutClientNestedInput = {
  create?: Prisma.XOR<Prisma.DashboardVisitCreateWithoutClientInput, Prisma.DashboardVisitUncheckedCreateWithoutClientInput> | Prisma.DashboardVisitCreateWithoutClientInput[] | Prisma.DashboardVisitUncheckedCreateWithoutClientInput[]
  connectOrCreate?: Prisma.DashboardVisitCreateOrConnectWithoutClientInput | Prisma.DashboardVisitCreateOrConnectWithoutClientInput[]
  upsert?: Prisma.DashboardVisitUpsertWithWhereUniqueWithoutClientInput | Prisma.DashboardVisitUpsertWithWhereUniqueWithoutClientInput[]
  createMany?: Prisma.DashboardVisitCreateManyClientInputEnvelope
  set?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
  disconnect?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
  delete?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
  connect?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
  update?: Prisma.DashboardVisitUpdateWithWhereUniqueWithoutClientInput | Prisma.DashboardVisitUpdateWithWhereUniqueWithoutClientInput[]
  updateMany?: Prisma.DashboardVisitUpdateManyWithWhereWithoutClientInput | Prisma.DashboardVisitUpdateManyWithWhereWithoutClientInput[]
  deleteMany?: Prisma.DashboardVisitScalarWhereInput | Prisma.DashboardVisitScalarWhereInput[]
}

export type DashboardVisitUncheckedUpdateManyWithoutClientNestedInput = {
  create?: Prisma.XOR<Prisma.DashboardVisitCreateWithoutClientInput, Prisma.DashboardVisitUncheckedCreateWithoutClientInput> | Prisma.DashboardVisitCreateWithoutClientInput[] | Prisma.DashboardVisitUncheckedCreateWithoutClientInput[]
  connectOrCreate?: Prisma.DashboardVisitCreateOrConnectWithoutClientInput | Prisma.DashboardVisitCreateOrConnectWithoutClientInput[]
  upsert?: Prisma.DashboardVisitUpsertWithWhereUniqueWithoutClientInput | Prisma.DashboardVisitUpsertWithWhereUniqueWithoutClientInput[]
  createMany?: Prisma.DashboardVisitCreateManyClientInputEnvelope
  set?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
  disconnect?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
  delete?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
  connect?: Prisma.DashboardVisitWhereUniqueInput | Prisma.DashboardVisitWhereUniqueInput[]
  update?: Prisma.DashboardVisitUpdateWithWhereUniqueWithoutClientInput | Prisma.DashboardVisitUpdateWithWhereUniqueWithoutClientInput[]
  updateMany?: Prisma.DashboardVisitUpdateManyWithWhereWithoutClientInput | Prisma.DashboardVisitUpdateManyWithWhereWithoutClientInput[]
  deleteMany?: Prisma.DashboardVisitScalarWhereInput | Prisma.DashboardVisitScalarWhereInput[]
}

export type DashboardVisitCreateWithoutClientInput = {
  id?: string
  ipAddress?: string | null
  visitedAt?: Date | string
}

export type DashboardVisitUncheckedCreateWithoutClientInput = {
  id?: string
  ipAddress?: string | null
  visitedAt?: Date | string
}

export type DashboardVisitCreateOrConnectWithoutClientInput = {
  where: Prisma.DashboardVisitWhereUniqueInput
  create: Prisma.XOR<Prisma.DashboardVisitCreateWithoutClientInput, Prisma.DashboardVisitUncheckedCreateWithoutClientInput>
}

export type DashboardVisitCreateManyClientInputEnvelope = {
  data: Prisma.DashboardVisitCreateManyClientInput | Prisma.DashboardVisitCreateManyClientInput[]
  skipDuplicates?: boolean
}

export type DashboardVisitUpsertWithWhereUniqueWithoutClientInput = {
  where: Prisma.DashboardVisitWhereUniqueInput
  update: Prisma.XOR<Prisma.DashboardVisitUpdateWithoutClientInput, Prisma.DashboardVisitUncheckedUpdateWithoutClientInput>
  create: Prisma.XOR<Prisma.DashboardVisitCreateWithoutClientInput, Prisma.DashboardVisitUncheckedCreateWithoutClientInput>
}

export type DashboardVisitUpdateWithWhereUniqueWithoutClientInput = {
  where: Prisma.DashboardVisitWhereUniqueInput
  data: Prisma.XOR<Prisma.DashboardVisitUpdateWithoutClientInput, Prisma.DashboardVisitUncheckedUpdateWithoutClientInput>
}

export type DashboardVisitUpdateManyWithWhereWithoutClientInput = {
  where: Prisma.DashboardVisitScalarWhereInput
  data: Prisma.XOR<Prisma.DashboardVisitUpdateManyMutationInput, Prisma.DashboardVisitUncheckedUpdateManyWithoutClientInput>
}

export type DashboardVisitScalarWhereInput = {
  AND?: Prisma.DashboardVisitScalarWhereInput | Prisma.DashboardVisitScalarWhereInput[]
  OR?: Prisma.DashboardVisitScalarWhereInput[]
  NOT?: Prisma.DashboardVisitScalarWhereInput | Prisma.DashboardVisitScalarWhereInput[]
  id?: Prisma.StringFilter<"DashboardVisit"> | string
  clientId?: Prisma.StringFilter<"DashboardVisit"> | string
  ipAddress?: Prisma.StringNullableFilter<"DashboardVisit"> | string | null
  visitedAt?: Prisma.DateTimeFilter<"DashboardVisit"> | Date | string
}

export type DashboardVisitCreateManyClientInput = {
  id?: string
  ipAddress?: string | null
  visitedAt?: Date | string
}

export type DashboardVisitUpdateWithoutClientInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  visitedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type DashboardVisitUncheckedUpdateWithoutClientInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  visitedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type DashboardVisitUncheckedUpdateManyWithoutClientInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  visitedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}



export type DashboardVisitSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  clientId?: boolean
  ipAddress?: boolean
  visitedAt?: boolean
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}, ExtArgs["result"]["dashboardVisit"]>

export type DashboardVisitSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  clientId?: boolean
  ipAddress?: boolean
  visitedAt?: boolean
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}, ExtArgs["result"]["dashboardVisit"]>

export type DashboardVisitSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  clientId?: boolean
  ipAddress?: boolean
  visitedAt?: boolean
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}, ExtArgs["result"]["dashboardVisit"]>

export type DashboardVisitSelectScalar = {
  id?: boolean
  clientId?: boolean
  ipAddress?: boolean
  visitedAt?: boolean
}

export type DashboardVisitOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "clientId" | "ipAddress" | "visitedAt", ExtArgs["result"]["dashboardVisit"]>
export type DashboardVisitInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}
export type DashboardVisitIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}
export type DashboardVisitIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}

export type $DashboardVisitPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "DashboardVisit"
  objects: {
    client: Prisma.$ClientPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    clientId: string
    ipAddress: string | null
    visitedAt: Date
  }, ExtArgs["result"]["dashboardVisit"]>
  composites: {}
}

export type DashboardVisitGetPayload<S extends boolean | null | undefined | DashboardVisitDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$DashboardVisitPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for DashboardVisit.
 * 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__DashboardVisitClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  client<T extends Prisma.ClientDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ClientDefaultArgs<ExtArgs>>): Prisma.Prisma__ClientClient<runtime.Types.Result.GetResult<Prisma.$ClientPayload<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 DashboardVisit model
 */
export interface DashboardVisitFieldRefs {
  readonly id: Prisma.FieldRef<"DashboardVisit", 'String'>
  readonly clientId: Prisma.FieldRef<"DashboardVisit", 'String'>
  readonly ipAddress: Prisma.FieldRef<"DashboardVisit", 'String'>
  readonly visitedAt: Prisma.FieldRef<"DashboardVisit", 'DateTime'>
}
    

// Custom InputTypes
/**
 * DashboardVisit findUnique
 */
export type DashboardVisitFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DashboardVisit
   */
  select?: Prisma.DashboardVisitSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DashboardVisit
   */
  omit?: Prisma.DashboardVisitOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.DashboardVisitInclude<ExtArgs> | null
  /**
   * Filter, which DashboardVisit to fetch.
   */
  where: Prisma.DashboardVisitWhereUniqueInput
}

/**
 * DashboardVisit findUniqueOrThrow
 */
export type DashboardVisitFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DashboardVisit
   */
  select?: Prisma.DashboardVisitSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DashboardVisit
   */
  omit?: Prisma.DashboardVisitOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.DashboardVisitInclude<ExtArgs> | null
  /**
   * Filter, which DashboardVisit to fetch.
   */
  where: Prisma.DashboardVisitWhereUniqueInput
}

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

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

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

/**
 * DashboardVisit create
 */
export type DashboardVisitCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DashboardVisit
   */
  select?: Prisma.DashboardVisitSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DashboardVisit
   */
  omit?: Prisma.DashboardVisitOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.DashboardVisitInclude<ExtArgs> | null
  /**
   * The data needed to create a DashboardVisit.
   */
  data: Prisma.XOR<Prisma.DashboardVisitCreateInput, Prisma.DashboardVisitUncheckedCreateInput>
}

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

/**
 * DashboardVisit createManyAndReturn
 */
export type DashboardVisitCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DashboardVisit
   */
  select?: Prisma.DashboardVisitSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the DashboardVisit
   */
  omit?: Prisma.DashboardVisitOmit<ExtArgs> | null
  /**
   * The data used to create many DashboardVisits.
   */
  data: Prisma.DashboardVisitCreateManyInput | Prisma.DashboardVisitCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.DashboardVisitIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * DashboardVisit update
 */
export type DashboardVisitUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DashboardVisit
   */
  select?: Prisma.DashboardVisitSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DashboardVisit
   */
  omit?: Prisma.DashboardVisitOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.DashboardVisitInclude<ExtArgs> | null
  /**
   * The data needed to update a DashboardVisit.
   */
  data: Prisma.XOR<Prisma.DashboardVisitUpdateInput, Prisma.DashboardVisitUncheckedUpdateInput>
  /**
   * Choose, which DashboardVisit to update.
   */
  where: Prisma.DashboardVisitWhereUniqueInput
}

/**
 * DashboardVisit updateMany
 */
export type DashboardVisitUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update DashboardVisits.
   */
  data: Prisma.XOR<Prisma.DashboardVisitUpdateManyMutationInput, Prisma.DashboardVisitUncheckedUpdateManyInput>
  /**
   * Filter which DashboardVisits to update
   */
  where?: Prisma.DashboardVisitWhereInput
  /**
   * Limit how many DashboardVisits to update.
   */
  limit?: number
}

/**
 * DashboardVisit updateManyAndReturn
 */
export type DashboardVisitUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DashboardVisit
   */
  select?: Prisma.DashboardVisitSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the DashboardVisit
   */
  omit?: Prisma.DashboardVisitOmit<ExtArgs> | null
  /**
   * The data used to update DashboardVisits.
   */
  data: Prisma.XOR<Prisma.DashboardVisitUpdateManyMutationInput, Prisma.DashboardVisitUncheckedUpdateManyInput>
  /**
   * Filter which DashboardVisits to update
   */
  where?: Prisma.DashboardVisitWhereInput
  /**
   * Limit how many DashboardVisits to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.DashboardVisitIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * DashboardVisit upsert
 */
export type DashboardVisitUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DashboardVisit
   */
  select?: Prisma.DashboardVisitSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DashboardVisit
   */
  omit?: Prisma.DashboardVisitOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.DashboardVisitInclude<ExtArgs> | null
  /**
   * The filter to search for the DashboardVisit to update in case it exists.
   */
  where: Prisma.DashboardVisitWhereUniqueInput
  /**
   * In case the DashboardVisit found by the `where` argument doesn't exist, create a new DashboardVisit with this data.
   */
  create: Prisma.XOR<Prisma.DashboardVisitCreateInput, Prisma.DashboardVisitUncheckedCreateInput>
  /**
   * In case the DashboardVisit was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.DashboardVisitUpdateInput, Prisma.DashboardVisitUncheckedUpdateInput>
}

/**
 * DashboardVisit delete
 */
export type DashboardVisitDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the DashboardVisit
   */
  select?: Prisma.DashboardVisitSelect<ExtArgs> | null
  /**
   * Omit specific fields from the DashboardVisit
   */
  omit?: Prisma.DashboardVisitOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.DashboardVisitInclude<ExtArgs> | null
  /**
   * Filter which DashboardVisit to delete.
   */
  where: Prisma.DashboardVisitWhereUniqueInput
}

/**
 * DashboardVisit deleteMany
 */
export type DashboardVisitDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which DashboardVisits to delete
   */
  where?: Prisma.DashboardVisitWhereInput
  /**
   * Limit how many DashboardVisits to delete.
   */
  limit?: number
}

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