/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `HrQuickLink` model and its related types. * * 🟢 You can import this file directly. */ import type * as runtime from "@prisma/client/runtime/client" import type * as $Enums from "../enums.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model HrQuickLink * A quick link tile on the HR hub. Soft-delete via `archivedAt`. */ export type HrQuickLinkModel = runtime.Types.Result.DefaultSelection export type AggregateHrQuickLink = { _count: HrQuickLinkCountAggregateOutputType | null _avg: HrQuickLinkAvgAggregateOutputType | null _sum: HrQuickLinkSumAggregateOutputType | null _min: HrQuickLinkMinAggregateOutputType | null _max: HrQuickLinkMaxAggregateOutputType | null } export type HrQuickLinkAvgAggregateOutputType = { sortOrder: number | null } export type HrQuickLinkSumAggregateOutputType = { sortOrder: number | null } export type HrQuickLinkMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null title: string | null url: string | null icon: string | null audience: string | null sortOrder: number | null isDemoData: boolean | null archivedAt: Date | null } export type HrQuickLinkMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null title: string | null url: string | null icon: string | null audience: string | null sortOrder: number | null isDemoData: boolean | null archivedAt: Date | null } export type HrQuickLinkCountAggregateOutputType = { id: number createdAt: number updatedAt: number tenantId: number title: number url: number icon: number audience: number sortOrder: number isDemoData: number archivedAt: number _all: number } export type HrQuickLinkAvgAggregateInputType = { sortOrder?: true } export type HrQuickLinkSumAggregateInputType = { sortOrder?: true } export type HrQuickLinkMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true title?: true url?: true icon?: true audience?: true sortOrder?: true isDemoData?: true archivedAt?: true } export type HrQuickLinkMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true title?: true url?: true icon?: true audience?: true sortOrder?: true isDemoData?: true archivedAt?: true } export type HrQuickLinkCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true title?: true url?: true icon?: true audience?: true sortOrder?: true isDemoData?: true archivedAt?: true _all?: true } export type HrQuickLinkAggregateArgs = { /** * Filter which HrQuickLink to aggregate. */ where?: Prisma.HrQuickLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrQuickLinks to fetch. */ orderBy?: Prisma.HrQuickLinkOrderByWithRelationInput | Prisma.HrQuickLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.HrQuickLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrQuickLinks 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` HrQuickLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned HrQuickLinks **/ _count?: true | HrQuickLinkCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: HrQuickLinkAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: HrQuickLinkSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: HrQuickLinkMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: HrQuickLinkMaxAggregateInputType } export type GetHrQuickLinkAggregateType = { [P in keyof T & keyof AggregateHrQuickLink]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type HrQuickLinkGroupByArgs = { where?: Prisma.HrQuickLinkWhereInput orderBy?: Prisma.HrQuickLinkOrderByWithAggregationInput | Prisma.HrQuickLinkOrderByWithAggregationInput[] by: Prisma.HrQuickLinkScalarFieldEnum[] | Prisma.HrQuickLinkScalarFieldEnum having?: Prisma.HrQuickLinkScalarWhereWithAggregatesInput take?: number skip?: number _count?: HrQuickLinkCountAggregateInputType | true _avg?: HrQuickLinkAvgAggregateInputType _sum?: HrQuickLinkSumAggregateInputType _min?: HrQuickLinkMinAggregateInputType _max?: HrQuickLinkMaxAggregateInputType } export type HrQuickLinkGroupByOutputType = { id: string createdAt: Date updatedAt: Date tenantId: string title: string url: string icon: string | null audience: string sortOrder: number isDemoData: boolean archivedAt: Date | null _count: HrQuickLinkCountAggregateOutputType | null _avg: HrQuickLinkAvgAggregateOutputType | null _sum: HrQuickLinkSumAggregateOutputType | null _min: HrQuickLinkMinAggregateOutputType | null _max: HrQuickLinkMaxAggregateOutputType | null } export type GetHrQuickLinkGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof HrQuickLinkGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type HrQuickLinkWhereInput = { AND?: Prisma.HrQuickLinkWhereInput | Prisma.HrQuickLinkWhereInput[] OR?: Prisma.HrQuickLinkWhereInput[] NOT?: Prisma.HrQuickLinkWhereInput | Prisma.HrQuickLinkWhereInput[] id?: Prisma.StringFilter<"HrQuickLink"> | string createdAt?: Prisma.DateTimeFilter<"HrQuickLink"> | Date | string updatedAt?: Prisma.DateTimeFilter<"HrQuickLink"> | Date | string tenantId?: Prisma.StringFilter<"HrQuickLink"> | string title?: Prisma.StringFilter<"HrQuickLink"> | string url?: Prisma.StringFilter<"HrQuickLink"> | string icon?: Prisma.StringNullableFilter<"HrQuickLink"> | string | null audience?: Prisma.StringFilter<"HrQuickLink"> | string sortOrder?: Prisma.IntFilter<"HrQuickLink"> | number isDemoData?: Prisma.BoolFilter<"HrQuickLink"> | boolean archivedAt?: Prisma.DateTimeNullableFilter<"HrQuickLink"> | Date | string | null } export type HrQuickLinkOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder url?: Prisma.SortOrder icon?: Prisma.SortOrderInput | Prisma.SortOrder audience?: Prisma.SortOrder sortOrder?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder } export type HrQuickLinkWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.HrQuickLinkWhereInput | Prisma.HrQuickLinkWhereInput[] OR?: Prisma.HrQuickLinkWhereInput[] NOT?: Prisma.HrQuickLinkWhereInput | Prisma.HrQuickLinkWhereInput[] createdAt?: Prisma.DateTimeFilter<"HrQuickLink"> | Date | string updatedAt?: Prisma.DateTimeFilter<"HrQuickLink"> | Date | string tenantId?: Prisma.StringFilter<"HrQuickLink"> | string title?: Prisma.StringFilter<"HrQuickLink"> | string url?: Prisma.StringFilter<"HrQuickLink"> | string icon?: Prisma.StringNullableFilter<"HrQuickLink"> | string | null audience?: Prisma.StringFilter<"HrQuickLink"> | string sortOrder?: Prisma.IntFilter<"HrQuickLink"> | number isDemoData?: Prisma.BoolFilter<"HrQuickLink"> | boolean archivedAt?: Prisma.DateTimeNullableFilter<"HrQuickLink"> | Date | string | null }, "id"> export type HrQuickLinkOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder url?: Prisma.SortOrder icon?: Prisma.SortOrderInput | Prisma.SortOrder audience?: Prisma.SortOrder sortOrder?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.HrQuickLinkCountOrderByAggregateInput _avg?: Prisma.HrQuickLinkAvgOrderByAggregateInput _max?: Prisma.HrQuickLinkMaxOrderByAggregateInput _min?: Prisma.HrQuickLinkMinOrderByAggregateInput _sum?: Prisma.HrQuickLinkSumOrderByAggregateInput } export type HrQuickLinkScalarWhereWithAggregatesInput = { AND?: Prisma.HrQuickLinkScalarWhereWithAggregatesInput | Prisma.HrQuickLinkScalarWhereWithAggregatesInput[] OR?: Prisma.HrQuickLinkScalarWhereWithAggregatesInput[] NOT?: Prisma.HrQuickLinkScalarWhereWithAggregatesInput | Prisma.HrQuickLinkScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"HrQuickLink"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HrQuickLink"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string title?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string url?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string icon?: Prisma.StringNullableWithAggregatesFilter<"HrQuickLink"> | string | null audience?: Prisma.StringWithAggregatesFilter<"HrQuickLink"> | string sortOrder?: Prisma.IntWithAggregatesFilter<"HrQuickLink"> | number isDemoData?: Prisma.BoolWithAggregatesFilter<"HrQuickLink"> | boolean archivedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"HrQuickLink"> | Date | string | null } export type HrQuickLinkCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string title: string url: string icon?: string | null audience?: string sortOrder?: number isDemoData?: boolean archivedAt?: Date | string | null } export type HrQuickLinkUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string title: string url: string icon?: string | null audience?: string sortOrder?: number isDemoData?: boolean archivedAt?: Date | string | null } export type HrQuickLinkUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null audience?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type HrQuickLinkUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null audience?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type HrQuickLinkCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string title: string url: string icon?: string | null audience?: string sortOrder?: number isDemoData?: boolean archivedAt?: Date | string | null } export type HrQuickLinkUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null audience?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type HrQuickLinkUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string title?: Prisma.StringFieldUpdateOperationsInput | string url?: Prisma.StringFieldUpdateOperationsInput | string icon?: Prisma.NullableStringFieldUpdateOperationsInput | string | null audience?: Prisma.StringFieldUpdateOperationsInput | string sortOrder?: Prisma.IntFieldUpdateOperationsInput | number isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean archivedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type HrQuickLinkCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder url?: Prisma.SortOrder icon?: Prisma.SortOrder audience?: Prisma.SortOrder sortOrder?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type HrQuickLinkAvgOrderByAggregateInput = { sortOrder?: Prisma.SortOrder } export type HrQuickLinkMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder url?: Prisma.SortOrder icon?: Prisma.SortOrder audience?: Prisma.SortOrder sortOrder?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type HrQuickLinkMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder title?: Prisma.SortOrder url?: Prisma.SortOrder icon?: Prisma.SortOrder audience?: Prisma.SortOrder sortOrder?: Prisma.SortOrder isDemoData?: Prisma.SortOrder archivedAt?: Prisma.SortOrder } export type HrQuickLinkSumOrderByAggregateInput = { sortOrder?: Prisma.SortOrder } export type HrQuickLinkSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean title?: boolean url?: boolean icon?: boolean audience?: boolean sortOrder?: boolean isDemoData?: boolean archivedAt?: boolean }, ExtArgs["result"]["hrQuickLink"]> export type HrQuickLinkSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean title?: boolean url?: boolean icon?: boolean audience?: boolean sortOrder?: boolean isDemoData?: boolean archivedAt?: boolean }, ExtArgs["result"]["hrQuickLink"]> export type HrQuickLinkSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean title?: boolean url?: boolean icon?: boolean audience?: boolean sortOrder?: boolean isDemoData?: boolean archivedAt?: boolean }, ExtArgs["result"]["hrQuickLink"]> export type HrQuickLinkSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean title?: boolean url?: boolean icon?: boolean audience?: boolean sortOrder?: boolean isDemoData?: boolean archivedAt?: boolean } export type HrQuickLinkOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "title" | "url" | "icon" | "audience" | "sortOrder" | "isDemoData" | "archivedAt", ExtArgs["result"]["hrQuickLink"]> export type $HrQuickLinkPayload = { name: "HrQuickLink" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date tenantId: string title: string url: string icon: string | null audience: string sortOrder: number isDemoData: boolean archivedAt: Date | null }, ExtArgs["result"]["hrQuickLink"]> composites: {} } export type HrQuickLinkGetPayload = runtime.Types.Result.GetResult export type HrQuickLinkCountArgs = Omit & { select?: HrQuickLinkCountAggregateInputType | true } export interface HrQuickLinkDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['HrQuickLink'], meta: { name: 'HrQuickLink' } } /** * Find zero or one HrQuickLink that matches the filter. * @param {HrQuickLinkFindUniqueArgs} args - Arguments to find a HrQuickLink * @example * // Get one HrQuickLink * const hrQuickLink = await prisma.hrQuickLink.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__HrQuickLinkClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one HrQuickLink that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {HrQuickLinkFindUniqueOrThrowArgs} args - Arguments to find a HrQuickLink * @example * // Get one HrQuickLink * const hrQuickLink = await prisma.hrQuickLink.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__HrQuickLinkClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first HrQuickLink 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 {HrQuickLinkFindFirstArgs} args - Arguments to find a HrQuickLink * @example * // Get one HrQuickLink * const hrQuickLink = await prisma.hrQuickLink.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__HrQuickLinkClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first HrQuickLink 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 {HrQuickLinkFindFirstOrThrowArgs} args - Arguments to find a HrQuickLink * @example * // Get one HrQuickLink * const hrQuickLink = await prisma.hrQuickLink.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__HrQuickLinkClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more HrQuickLinks 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 {HrQuickLinkFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all HrQuickLinks * const hrQuickLinks = await prisma.hrQuickLink.findMany() * * // Get first 10 HrQuickLinks * const hrQuickLinks = await prisma.hrQuickLink.findMany({ take: 10 }) * * // Only select the `id` * const hrQuickLinkWithIdOnly = await prisma.hrQuickLink.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a HrQuickLink. * @param {HrQuickLinkCreateArgs} args - Arguments to create a HrQuickLink. * @example * // Create one HrQuickLink * const HrQuickLink = await prisma.hrQuickLink.create({ * data: { * // ... data to create a HrQuickLink * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__HrQuickLinkClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many HrQuickLinks. * @param {HrQuickLinkCreateManyArgs} args - Arguments to create many HrQuickLinks. * @example * // Create many HrQuickLinks * const hrQuickLink = await prisma.hrQuickLink.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many HrQuickLinks and returns the data saved in the database. * @param {HrQuickLinkCreateManyAndReturnArgs} args - Arguments to create many HrQuickLinks. * @example * // Create many HrQuickLinks * const hrQuickLink = await prisma.hrQuickLink.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many HrQuickLinks and only return the `id` * const hrQuickLinkWithIdOnly = await prisma.hrQuickLink.createManyAndReturn({ * select: { id: true }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ createManyAndReturn(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a HrQuickLink. * @param {HrQuickLinkDeleteArgs} args - Arguments to delete one HrQuickLink. * @example * // Delete one HrQuickLink * const HrQuickLink = await prisma.hrQuickLink.delete({ * where: { * // ... filter to delete one HrQuickLink * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__HrQuickLinkClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one HrQuickLink. * @param {HrQuickLinkUpdateArgs} args - Arguments to update one HrQuickLink. * @example * // Update one HrQuickLink * const hrQuickLink = await prisma.hrQuickLink.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__HrQuickLinkClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more HrQuickLinks. * @param {HrQuickLinkDeleteManyArgs} args - Arguments to filter HrQuickLinks to delete. * @example * // Delete a few HrQuickLinks * const { count } = await prisma.hrQuickLink.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HrQuickLinks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrQuickLinkUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many HrQuickLinks * const hrQuickLink = await prisma.hrQuickLink.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HrQuickLinks and returns the data updated in the database. * @param {HrQuickLinkUpdateManyAndReturnArgs} args - Arguments to update many HrQuickLinks. * @example * // Update many HrQuickLinks * const hrQuickLink = await prisma.hrQuickLink.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more HrQuickLinks and only return the `id` * const hrQuickLinkWithIdOnly = await prisma.hrQuickLink.updateManyAndReturn({ * select: { id: true }, * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * */ updateManyAndReturn(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one HrQuickLink. * @param {HrQuickLinkUpsertArgs} args - Arguments to update or create a HrQuickLink. * @example * // Update or create a HrQuickLink * const hrQuickLink = await prisma.hrQuickLink.upsert({ * create: { * // ... data to create a HrQuickLink * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the HrQuickLink we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__HrQuickLinkClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of HrQuickLinks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrQuickLinkCountArgs} args - Arguments to filter HrQuickLinks to count. * @example * // Count the number of HrQuickLinks * const count = await prisma.hrQuickLink.count({ * where: { * // ... the filter for the HrQuickLinks we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a HrQuickLink. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrQuickLinkAggregateArgs} args - Select which aggregations you would like to apply and on what fields. * @example * // Ordered by age ascending * // Where email contains prisma.io * // Limited to the 10 users * const aggregations = await prisma.user.aggregate({ * _avg: { * age: true, * }, * where: { * email: { * contains: "prisma.io", * }, * }, * orderBy: { * age: "asc", * }, * take: 10, * }) **/ aggregate(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by HrQuickLink. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrQuickLinkGroupByArgs} 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 HrQuickLinkGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: HrQuickLinkGroupByArgs['orderBy'] } : { orderBy?: HrQuickLinkGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetHrQuickLinkGroupByPayload : Prisma.PrismaPromise /** * Fields of the HrQuickLink model */ readonly fields: HrQuickLinkFieldRefs; } /** * The delegate class that acts as a "Promise-like" for HrQuickLink. * 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__HrQuickLinkClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the HrQuickLink model */ export interface HrQuickLinkFieldRefs { readonly id: Prisma.FieldRef<"HrQuickLink", 'String'> readonly createdAt: Prisma.FieldRef<"HrQuickLink", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"HrQuickLink", 'DateTime'> readonly tenantId: Prisma.FieldRef<"HrQuickLink", 'String'> readonly title: Prisma.FieldRef<"HrQuickLink", 'String'> readonly url: Prisma.FieldRef<"HrQuickLink", 'String'> readonly icon: Prisma.FieldRef<"HrQuickLink", 'String'> readonly audience: Prisma.FieldRef<"HrQuickLink", 'String'> readonly sortOrder: Prisma.FieldRef<"HrQuickLink", 'Int'> readonly isDemoData: Prisma.FieldRef<"HrQuickLink", 'Boolean'> readonly archivedAt: Prisma.FieldRef<"HrQuickLink", 'DateTime'> } // Custom InputTypes /** * HrQuickLink findUnique */ export type HrQuickLinkFindUniqueArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * Filter, which HrQuickLink to fetch. */ where: Prisma.HrQuickLinkWhereUniqueInput } /** * HrQuickLink findUniqueOrThrow */ export type HrQuickLinkFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * Filter, which HrQuickLink to fetch. */ where: Prisma.HrQuickLinkWhereUniqueInput } /** * HrQuickLink findFirst */ export type HrQuickLinkFindFirstArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * Filter, which HrQuickLink to fetch. */ where?: Prisma.HrQuickLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrQuickLinks to fetch. */ orderBy?: Prisma.HrQuickLinkOrderByWithRelationInput | Prisma.HrQuickLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HrQuickLinks. */ cursor?: Prisma.HrQuickLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrQuickLinks 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` HrQuickLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HrQuickLinks. */ distinct?: Prisma.HrQuickLinkScalarFieldEnum | Prisma.HrQuickLinkScalarFieldEnum[] } /** * HrQuickLink findFirstOrThrow */ export type HrQuickLinkFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * Filter, which HrQuickLink to fetch. */ where?: Prisma.HrQuickLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrQuickLinks to fetch. */ orderBy?: Prisma.HrQuickLinkOrderByWithRelationInput | Prisma.HrQuickLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HrQuickLinks. */ cursor?: Prisma.HrQuickLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrQuickLinks 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` HrQuickLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HrQuickLinks. */ distinct?: Prisma.HrQuickLinkScalarFieldEnum | Prisma.HrQuickLinkScalarFieldEnum[] } /** * HrQuickLink findMany */ export type HrQuickLinkFindManyArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * Filter, which HrQuickLinks to fetch. */ where?: Prisma.HrQuickLinkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrQuickLinks to fetch. */ orderBy?: Prisma.HrQuickLinkOrderByWithRelationInput | Prisma.HrQuickLinkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing HrQuickLinks. */ cursor?: Prisma.HrQuickLinkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrQuickLinks 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` HrQuickLinks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HrQuickLinks. */ distinct?: Prisma.HrQuickLinkScalarFieldEnum | Prisma.HrQuickLinkScalarFieldEnum[] } /** * HrQuickLink create */ export type HrQuickLinkCreateArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * The data needed to create a HrQuickLink. */ data: Prisma.XOR } /** * HrQuickLink createMany */ export type HrQuickLinkCreateManyArgs = { /** * The data used to create many HrQuickLinks. */ data: Prisma.HrQuickLinkCreateManyInput | Prisma.HrQuickLinkCreateManyInput[] skipDuplicates?: boolean } /** * HrQuickLink createManyAndReturn */ export type HrQuickLinkCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelectCreateManyAndReturn | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * The data used to create many HrQuickLinks. */ data: Prisma.HrQuickLinkCreateManyInput | Prisma.HrQuickLinkCreateManyInput[] skipDuplicates?: boolean } /** * HrQuickLink update */ export type HrQuickLinkUpdateArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * The data needed to update a HrQuickLink. */ data: Prisma.XOR /** * Choose, which HrQuickLink to update. */ where: Prisma.HrQuickLinkWhereUniqueInput } /** * HrQuickLink updateMany */ export type HrQuickLinkUpdateManyArgs = { /** * The data used to update HrQuickLinks. */ data: Prisma.XOR /** * Filter which HrQuickLinks to update */ where?: Prisma.HrQuickLinkWhereInput /** * Limit how many HrQuickLinks to update. */ limit?: number } /** * HrQuickLink updateManyAndReturn */ export type HrQuickLinkUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelectUpdateManyAndReturn | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * The data used to update HrQuickLinks. */ data: Prisma.XOR /** * Filter which HrQuickLinks to update */ where?: Prisma.HrQuickLinkWhereInput /** * Limit how many HrQuickLinks to update. */ limit?: number } /** * HrQuickLink upsert */ export type HrQuickLinkUpsertArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * The filter to search for the HrQuickLink to update in case it exists. */ where: Prisma.HrQuickLinkWhereUniqueInput /** * In case the HrQuickLink found by the `where` argument doesn't exist, create a new HrQuickLink with this data. */ create: Prisma.XOR /** * In case the HrQuickLink was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * HrQuickLink delete */ export type HrQuickLinkDeleteArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null /** * Filter which HrQuickLink to delete. */ where: Prisma.HrQuickLinkWhereUniqueInput } /** * HrQuickLink deleteMany */ export type HrQuickLinkDeleteManyArgs = { /** * Filter which HrQuickLinks to delete */ where?: Prisma.HrQuickLinkWhereInput /** * Limit how many HrQuickLinks to delete. */ limit?: number } /** * HrQuickLink without action */ export type HrQuickLinkDefaultArgs = { /** * Select specific fields to fetch from the HrQuickLink */ select?: Prisma.HrQuickLinkSelect | null /** * Omit specific fields from the HrQuickLink */ omit?: Prisma.HrQuickLinkOmit | null }