
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `PublicDashboardLink` 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 PublicDashboardLink
 * 
 */
export type PublicDashboardLinkModel = runtime.Types.Result.DefaultSelection<Prisma.$PublicDashboardLinkPayload>

export type AggregatePublicDashboardLink = {
  _count: PublicDashboardLinkCountAggregateOutputType | null
  _min: PublicDashboardLinkMinAggregateOutputType | null
  _max: PublicDashboardLinkMaxAggregateOutputType | null
}

export type PublicDashboardLinkMinAggregateOutputType = {
  id: string | null
  clientId: string | null
  token: string | null
  isActive: boolean | null
  expiresAt: Date | null
  revokedAt: Date | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type PublicDashboardLinkMaxAggregateOutputType = {
  id: string | null
  clientId: string | null
  token: string | null
  isActive: boolean | null
  expiresAt: Date | null
  revokedAt: Date | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type PublicDashboardLinkCountAggregateOutputType = {
  id: number
  clientId: number
  token: number
  isActive: number
  expiresAt: number
  revokedAt: number
  createdAt: number
  updatedAt: number
  _all: number
}


export type PublicDashboardLinkMinAggregateInputType = {
  id?: true
  clientId?: true
  token?: true
  isActive?: true
  expiresAt?: true
  revokedAt?: true
  createdAt?: true
  updatedAt?: true
}

export type PublicDashboardLinkMaxAggregateInputType = {
  id?: true
  clientId?: true
  token?: true
  isActive?: true
  expiresAt?: true
  revokedAt?: true
  createdAt?: true
  updatedAt?: true
}

export type PublicDashboardLinkCountAggregateInputType = {
  id?: true
  clientId?: true
  token?: true
  isActive?: true
  expiresAt?: true
  revokedAt?: true
  createdAt?: true
  updatedAt?: true
  _all?: true
}

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

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




export type PublicDashboardLinkGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.PublicDashboardLinkWhereInput
  orderBy?: Prisma.PublicDashboardLinkOrderByWithAggregationInput | Prisma.PublicDashboardLinkOrderByWithAggregationInput[]
  by: Prisma.PublicDashboardLinkScalarFieldEnum[] | Prisma.PublicDashboardLinkScalarFieldEnum
  having?: Prisma.PublicDashboardLinkScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: PublicDashboardLinkCountAggregateInputType | true
  _min?: PublicDashboardLinkMinAggregateInputType
  _max?: PublicDashboardLinkMaxAggregateInputType
}

export type PublicDashboardLinkGroupByOutputType = {
  id: string
  clientId: string
  token: string
  isActive: boolean
  expiresAt: Date | null
  revokedAt: Date | null
  createdAt: Date
  updatedAt: Date
  _count: PublicDashboardLinkCountAggregateOutputType | null
  _min: PublicDashboardLinkMinAggregateOutputType | null
  _max: PublicDashboardLinkMaxAggregateOutputType | null
}

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



export type PublicDashboardLinkWhereInput = {
  AND?: Prisma.PublicDashboardLinkWhereInput | Prisma.PublicDashboardLinkWhereInput[]
  OR?: Prisma.PublicDashboardLinkWhereInput[]
  NOT?: Prisma.PublicDashboardLinkWhereInput | Prisma.PublicDashboardLinkWhereInput[]
  id?: Prisma.StringFilter<"PublicDashboardLink"> | string
  clientId?: Prisma.StringFilter<"PublicDashboardLink"> | string
  token?: Prisma.StringFilter<"PublicDashboardLink"> | string
  isActive?: Prisma.BoolFilter<"PublicDashboardLink"> | boolean
  expiresAt?: Prisma.DateTimeNullableFilter<"PublicDashboardLink"> | Date | string | null
  revokedAt?: Prisma.DateTimeNullableFilter<"PublicDashboardLink"> | Date | string | null
  createdAt?: Prisma.DateTimeFilter<"PublicDashboardLink"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"PublicDashboardLink"> | Date | string
  client?: Prisma.XOR<Prisma.ClientScalarRelationFilter, Prisma.ClientWhereInput>
}

export type PublicDashboardLinkOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  token?: Prisma.SortOrder
  isActive?: Prisma.SortOrder
  expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
  revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  client?: Prisma.ClientOrderByWithRelationInput
}

export type PublicDashboardLinkWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  clientId?: string
  token?: string
  AND?: Prisma.PublicDashboardLinkWhereInput | Prisma.PublicDashboardLinkWhereInput[]
  OR?: Prisma.PublicDashboardLinkWhereInput[]
  NOT?: Prisma.PublicDashboardLinkWhereInput | Prisma.PublicDashboardLinkWhereInput[]
  isActive?: Prisma.BoolFilter<"PublicDashboardLink"> | boolean
  expiresAt?: Prisma.DateTimeNullableFilter<"PublicDashboardLink"> | Date | string | null
  revokedAt?: Prisma.DateTimeNullableFilter<"PublicDashboardLink"> | Date | string | null
  createdAt?: Prisma.DateTimeFilter<"PublicDashboardLink"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"PublicDashboardLink"> | Date | string
  client?: Prisma.XOR<Prisma.ClientScalarRelationFilter, Prisma.ClientWhereInput>
}, "id" | "clientId" | "token">

export type PublicDashboardLinkOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  token?: Prisma.SortOrder
  isActive?: Prisma.SortOrder
  expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder
  revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  _count?: Prisma.PublicDashboardLinkCountOrderByAggregateInput
  _max?: Prisma.PublicDashboardLinkMaxOrderByAggregateInput
  _min?: Prisma.PublicDashboardLinkMinOrderByAggregateInput
}

export type PublicDashboardLinkScalarWhereWithAggregatesInput = {
  AND?: Prisma.PublicDashboardLinkScalarWhereWithAggregatesInput | Prisma.PublicDashboardLinkScalarWhereWithAggregatesInput[]
  OR?: Prisma.PublicDashboardLinkScalarWhereWithAggregatesInput[]
  NOT?: Prisma.PublicDashboardLinkScalarWhereWithAggregatesInput | Prisma.PublicDashboardLinkScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"PublicDashboardLink"> | string
  clientId?: Prisma.StringWithAggregatesFilter<"PublicDashboardLink"> | string
  token?: Prisma.StringWithAggregatesFilter<"PublicDashboardLink"> | string
  isActive?: Prisma.BoolWithAggregatesFilter<"PublicDashboardLink"> | boolean
  expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"PublicDashboardLink"> | Date | string | null
  revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"PublicDashboardLink"> | Date | string | null
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"PublicDashboardLink"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PublicDashboardLink"> | Date | string
}

export type PublicDashboardLinkCreateInput = {
  id?: string
  token: string
  isActive?: boolean
  expiresAt?: Date | string | null
  revokedAt?: Date | string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  client: Prisma.ClientCreateNestedOneWithoutPublicLinkInput
}

export type PublicDashboardLinkUncheckedCreateInput = {
  id?: string
  clientId: string
  token: string
  isActive?: boolean
  expiresAt?: Date | string | null
  revokedAt?: Date | string | null
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type PublicDashboardLinkUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  token?: Prisma.StringFieldUpdateOperationsInput | string
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  client?: Prisma.ClientUpdateOneRequiredWithoutPublicLinkNestedInput
}

export type PublicDashboardLinkUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  clientId?: Prisma.StringFieldUpdateOperationsInput | string
  token?: Prisma.StringFieldUpdateOperationsInput | string
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type PublicDashboardLinkCreateManyInput = {
  id?: string
  clientId: string
  token: string
  isActive?: boolean
  expiresAt?: Date | string | null
  revokedAt?: Date | string | null
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type PublicDashboardLinkUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  token?: Prisma.StringFieldUpdateOperationsInput | string
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type PublicDashboardLinkUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  clientId?: Prisma.StringFieldUpdateOperationsInput | string
  token?: Prisma.StringFieldUpdateOperationsInput | string
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type PublicDashboardLinkNullableScalarRelationFilter = {
  is?: Prisma.PublicDashboardLinkWhereInput | null
  isNot?: Prisma.PublicDashboardLinkWhereInput | null
}

export type PublicDashboardLinkCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  token?: Prisma.SortOrder
  isActive?: Prisma.SortOrder
  expiresAt?: Prisma.SortOrder
  revokedAt?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type PublicDashboardLinkMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  token?: Prisma.SortOrder
  isActive?: Prisma.SortOrder
  expiresAt?: Prisma.SortOrder
  revokedAt?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type PublicDashboardLinkMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  clientId?: Prisma.SortOrder
  token?: Prisma.SortOrder
  isActive?: Prisma.SortOrder
  expiresAt?: Prisma.SortOrder
  revokedAt?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type PublicDashboardLinkCreateNestedOneWithoutClientInput = {
  create?: Prisma.XOR<Prisma.PublicDashboardLinkCreateWithoutClientInput, Prisma.PublicDashboardLinkUncheckedCreateWithoutClientInput>
  connectOrCreate?: Prisma.PublicDashboardLinkCreateOrConnectWithoutClientInput
  connect?: Prisma.PublicDashboardLinkWhereUniqueInput
}

export type PublicDashboardLinkUncheckedCreateNestedOneWithoutClientInput = {
  create?: Prisma.XOR<Prisma.PublicDashboardLinkCreateWithoutClientInput, Prisma.PublicDashboardLinkUncheckedCreateWithoutClientInput>
  connectOrCreate?: Prisma.PublicDashboardLinkCreateOrConnectWithoutClientInput
  connect?: Prisma.PublicDashboardLinkWhereUniqueInput
}

export type PublicDashboardLinkUpdateOneWithoutClientNestedInput = {
  create?: Prisma.XOR<Prisma.PublicDashboardLinkCreateWithoutClientInput, Prisma.PublicDashboardLinkUncheckedCreateWithoutClientInput>
  connectOrCreate?: Prisma.PublicDashboardLinkCreateOrConnectWithoutClientInput
  upsert?: Prisma.PublicDashboardLinkUpsertWithoutClientInput
  disconnect?: Prisma.PublicDashboardLinkWhereInput | boolean
  delete?: Prisma.PublicDashboardLinkWhereInput | boolean
  connect?: Prisma.PublicDashboardLinkWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.PublicDashboardLinkUpdateToOneWithWhereWithoutClientInput, Prisma.PublicDashboardLinkUpdateWithoutClientInput>, Prisma.PublicDashboardLinkUncheckedUpdateWithoutClientInput>
}

export type PublicDashboardLinkUncheckedUpdateOneWithoutClientNestedInput = {
  create?: Prisma.XOR<Prisma.PublicDashboardLinkCreateWithoutClientInput, Prisma.PublicDashboardLinkUncheckedCreateWithoutClientInput>
  connectOrCreate?: Prisma.PublicDashboardLinkCreateOrConnectWithoutClientInput
  upsert?: Prisma.PublicDashboardLinkUpsertWithoutClientInput
  disconnect?: Prisma.PublicDashboardLinkWhereInput | boolean
  delete?: Prisma.PublicDashboardLinkWhereInput | boolean
  connect?: Prisma.PublicDashboardLinkWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.PublicDashboardLinkUpdateToOneWithWhereWithoutClientInput, Prisma.PublicDashboardLinkUpdateWithoutClientInput>, Prisma.PublicDashboardLinkUncheckedUpdateWithoutClientInput>
}

export type PublicDashboardLinkCreateWithoutClientInput = {
  id?: string
  token: string
  isActive?: boolean
  expiresAt?: Date | string | null
  revokedAt?: Date | string | null
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type PublicDashboardLinkUncheckedCreateWithoutClientInput = {
  id?: string
  token: string
  isActive?: boolean
  expiresAt?: Date | string | null
  revokedAt?: Date | string | null
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type PublicDashboardLinkCreateOrConnectWithoutClientInput = {
  where: Prisma.PublicDashboardLinkWhereUniqueInput
  create: Prisma.XOR<Prisma.PublicDashboardLinkCreateWithoutClientInput, Prisma.PublicDashboardLinkUncheckedCreateWithoutClientInput>
}

export type PublicDashboardLinkUpsertWithoutClientInput = {
  update: Prisma.XOR<Prisma.PublicDashboardLinkUpdateWithoutClientInput, Prisma.PublicDashboardLinkUncheckedUpdateWithoutClientInput>
  create: Prisma.XOR<Prisma.PublicDashboardLinkCreateWithoutClientInput, Prisma.PublicDashboardLinkUncheckedCreateWithoutClientInput>
  where?: Prisma.PublicDashboardLinkWhereInput
}

export type PublicDashboardLinkUpdateToOneWithWhereWithoutClientInput = {
  where?: Prisma.PublicDashboardLinkWhereInput
  data: Prisma.XOR<Prisma.PublicDashboardLinkUpdateWithoutClientInput, Prisma.PublicDashboardLinkUncheckedUpdateWithoutClientInput>
}

export type PublicDashboardLinkUpdateWithoutClientInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  token?: Prisma.StringFieldUpdateOperationsInput | string
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type PublicDashboardLinkUncheckedUpdateWithoutClientInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  token?: Prisma.StringFieldUpdateOperationsInput | string
  isActive?: Prisma.BoolFieldUpdateOperationsInput | boolean
  expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}



export type PublicDashboardLinkSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  clientId?: boolean
  token?: boolean
  isActive?: boolean
  expiresAt?: boolean
  revokedAt?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}, ExtArgs["result"]["publicDashboardLink"]>

export type PublicDashboardLinkSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  clientId?: boolean
  token?: boolean
  isActive?: boolean
  expiresAt?: boolean
  revokedAt?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}, ExtArgs["result"]["publicDashboardLink"]>

export type PublicDashboardLinkSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  clientId?: boolean
  token?: boolean
  isActive?: boolean
  expiresAt?: boolean
  revokedAt?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}, ExtArgs["result"]["publicDashboardLink"]>

export type PublicDashboardLinkSelectScalar = {
  id?: boolean
  clientId?: boolean
  token?: boolean
  isActive?: boolean
  expiresAt?: boolean
  revokedAt?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}

export type PublicDashboardLinkOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "clientId" | "token" | "isActive" | "expiresAt" | "revokedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["publicDashboardLink"]>
export type PublicDashboardLinkInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}
export type PublicDashboardLinkIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}
export type PublicDashboardLinkIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  client?: boolean | Prisma.ClientDefaultArgs<ExtArgs>
}

export type $PublicDashboardLinkPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "PublicDashboardLink"
  objects: {
    client: Prisma.$ClientPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    clientId: string
    token: string
    isActive: boolean
    expiresAt: Date | null
    revokedAt: Date | null
    createdAt: Date
    updatedAt: Date
  }, ExtArgs["result"]["publicDashboardLink"]>
  composites: {}
}

export type PublicDashboardLinkGetPayload<S extends boolean | null | undefined | PublicDashboardLinkDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PublicDashboardLinkPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for PublicDashboardLink.
 * 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__PublicDashboardLinkClient<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 PublicDashboardLink model
 */
export interface PublicDashboardLinkFieldRefs {
  readonly id: Prisma.FieldRef<"PublicDashboardLink", 'String'>
  readonly clientId: Prisma.FieldRef<"PublicDashboardLink", 'String'>
  readonly token: Prisma.FieldRef<"PublicDashboardLink", 'String'>
  readonly isActive: Prisma.FieldRef<"PublicDashboardLink", 'Boolean'>
  readonly expiresAt: Prisma.FieldRef<"PublicDashboardLink", 'DateTime'>
  readonly revokedAt: Prisma.FieldRef<"PublicDashboardLink", 'DateTime'>
  readonly createdAt: Prisma.FieldRef<"PublicDashboardLink", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"PublicDashboardLink", 'DateTime'>
}
    

// Custom InputTypes
/**
 * PublicDashboardLink findUnique
 */
export type PublicDashboardLinkFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PublicDashboardLink
   */
  select?: Prisma.PublicDashboardLinkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PublicDashboardLink
   */
  omit?: Prisma.PublicDashboardLinkOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PublicDashboardLinkInclude<ExtArgs> | null
  /**
   * Filter, which PublicDashboardLink to fetch.
   */
  where: Prisma.PublicDashboardLinkWhereUniqueInput
}

/**
 * PublicDashboardLink findUniqueOrThrow
 */
export type PublicDashboardLinkFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PublicDashboardLink
   */
  select?: Prisma.PublicDashboardLinkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PublicDashboardLink
   */
  omit?: Prisma.PublicDashboardLinkOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PublicDashboardLinkInclude<ExtArgs> | null
  /**
   * Filter, which PublicDashboardLink to fetch.
   */
  where: Prisma.PublicDashboardLinkWhereUniqueInput
}

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

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

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

/**
 * PublicDashboardLink create
 */
export type PublicDashboardLinkCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PublicDashboardLink
   */
  select?: Prisma.PublicDashboardLinkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PublicDashboardLink
   */
  omit?: Prisma.PublicDashboardLinkOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PublicDashboardLinkInclude<ExtArgs> | null
  /**
   * The data needed to create a PublicDashboardLink.
   */
  data: Prisma.XOR<Prisma.PublicDashboardLinkCreateInput, Prisma.PublicDashboardLinkUncheckedCreateInput>
}

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

/**
 * PublicDashboardLink createManyAndReturn
 */
export type PublicDashboardLinkCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PublicDashboardLink
   */
  select?: Prisma.PublicDashboardLinkSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the PublicDashboardLink
   */
  omit?: Prisma.PublicDashboardLinkOmit<ExtArgs> | null
  /**
   * The data used to create many PublicDashboardLinks.
   */
  data: Prisma.PublicDashboardLinkCreateManyInput | Prisma.PublicDashboardLinkCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PublicDashboardLinkIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * PublicDashboardLink update
 */
export type PublicDashboardLinkUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PublicDashboardLink
   */
  select?: Prisma.PublicDashboardLinkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PublicDashboardLink
   */
  omit?: Prisma.PublicDashboardLinkOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PublicDashboardLinkInclude<ExtArgs> | null
  /**
   * The data needed to update a PublicDashboardLink.
   */
  data: Prisma.XOR<Prisma.PublicDashboardLinkUpdateInput, Prisma.PublicDashboardLinkUncheckedUpdateInput>
  /**
   * Choose, which PublicDashboardLink to update.
   */
  where: Prisma.PublicDashboardLinkWhereUniqueInput
}

/**
 * PublicDashboardLink updateMany
 */
export type PublicDashboardLinkUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update PublicDashboardLinks.
   */
  data: Prisma.XOR<Prisma.PublicDashboardLinkUpdateManyMutationInput, Prisma.PublicDashboardLinkUncheckedUpdateManyInput>
  /**
   * Filter which PublicDashboardLinks to update
   */
  where?: Prisma.PublicDashboardLinkWhereInput
  /**
   * Limit how many PublicDashboardLinks to update.
   */
  limit?: number
}

/**
 * PublicDashboardLink updateManyAndReturn
 */
export type PublicDashboardLinkUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PublicDashboardLink
   */
  select?: Prisma.PublicDashboardLinkSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the PublicDashboardLink
   */
  omit?: Prisma.PublicDashboardLinkOmit<ExtArgs> | null
  /**
   * The data used to update PublicDashboardLinks.
   */
  data: Prisma.XOR<Prisma.PublicDashboardLinkUpdateManyMutationInput, Prisma.PublicDashboardLinkUncheckedUpdateManyInput>
  /**
   * Filter which PublicDashboardLinks to update
   */
  where?: Prisma.PublicDashboardLinkWhereInput
  /**
   * Limit how many PublicDashboardLinks to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PublicDashboardLinkIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * PublicDashboardLink upsert
 */
export type PublicDashboardLinkUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PublicDashboardLink
   */
  select?: Prisma.PublicDashboardLinkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PublicDashboardLink
   */
  omit?: Prisma.PublicDashboardLinkOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PublicDashboardLinkInclude<ExtArgs> | null
  /**
   * The filter to search for the PublicDashboardLink to update in case it exists.
   */
  where: Prisma.PublicDashboardLinkWhereUniqueInput
  /**
   * In case the PublicDashboardLink found by the `where` argument doesn't exist, create a new PublicDashboardLink with this data.
   */
  create: Prisma.XOR<Prisma.PublicDashboardLinkCreateInput, Prisma.PublicDashboardLinkUncheckedCreateInput>
  /**
   * In case the PublicDashboardLink was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.PublicDashboardLinkUpdateInput, Prisma.PublicDashboardLinkUncheckedUpdateInput>
}

/**
 * PublicDashboardLink delete
 */
export type PublicDashboardLinkDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PublicDashboardLink
   */
  select?: Prisma.PublicDashboardLinkSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PublicDashboardLink
   */
  omit?: Prisma.PublicDashboardLinkOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PublicDashboardLinkInclude<ExtArgs> | null
  /**
   * Filter which PublicDashboardLink to delete.
   */
  where: Prisma.PublicDashboardLinkWhereUniqueInput
}

/**
 * PublicDashboardLink deleteMany
 */
export type PublicDashboardLinkDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which PublicDashboardLinks to delete
   */
  where?: Prisma.PublicDashboardLinkWhereInput
  /**
   * Limit how many PublicDashboardLinks to delete.
   */
  limit?: number
}

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