/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `HrSurveyItem` 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 HrSurveyItem * One question in a survey. `options` holds the choices for `choice` items. */ export type HrSurveyItemModel = runtime.Types.Result.DefaultSelection export type AggregateHrSurveyItem = { _count: HrSurveyItemCountAggregateOutputType | null _avg: HrSurveyItemAvgAggregateOutputType | null _sum: HrSurveyItemSumAggregateOutputType | null _min: HrSurveyItemMinAggregateOutputType | null _max: HrSurveyItemMaxAggregateOutputType | null } export type HrSurveyItemAvgAggregateOutputType = { sortOrder: number | null } export type HrSurveyItemSumAggregateOutputType = { sortOrder: number | null } export type HrSurveyItemMinAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null surveyId: string | null itemType: $Enums.HrSurveyItemType | null prompt: string | null required: boolean | null sortOrder: number | null } export type HrSurveyItemMaxAggregateOutputType = { id: string | null createdAt: Date | null updatedAt: Date | null tenantId: string | null surveyId: string | null itemType: $Enums.HrSurveyItemType | null prompt: string | null required: boolean | null sortOrder: number | null } export type HrSurveyItemCountAggregateOutputType = { id: number createdAt: number updatedAt: number tenantId: number surveyId: number itemType: number prompt: number required: number options: number sortOrder: number _all: number } export type HrSurveyItemAvgAggregateInputType = { sortOrder?: true } export type HrSurveyItemSumAggregateInputType = { sortOrder?: true } export type HrSurveyItemMinAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true surveyId?: true itemType?: true prompt?: true required?: true sortOrder?: true } export type HrSurveyItemMaxAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true surveyId?: true itemType?: true prompt?: true required?: true sortOrder?: true } export type HrSurveyItemCountAggregateInputType = { id?: true createdAt?: true updatedAt?: true tenantId?: true surveyId?: true itemType?: true prompt?: true required?: true options?: true sortOrder?: true _all?: true } export type HrSurveyItemAggregateArgs = { /** * Filter which HrSurveyItem to aggregate. */ where?: Prisma.HrSurveyItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrSurveyItems to fetch. */ orderBy?: Prisma.HrSurveyItemOrderByWithRelationInput | Prisma.HrSurveyItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.HrSurveyItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrSurveyItems 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` HrSurveyItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned HrSurveyItems **/ _count?: true | HrSurveyItemCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: HrSurveyItemAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: HrSurveyItemSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: HrSurveyItemMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: HrSurveyItemMaxAggregateInputType } export type GetHrSurveyItemAggregateType = { [P in keyof T & keyof AggregateHrSurveyItem]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type HrSurveyItemGroupByArgs = { where?: Prisma.HrSurveyItemWhereInput orderBy?: Prisma.HrSurveyItemOrderByWithAggregationInput | Prisma.HrSurveyItemOrderByWithAggregationInput[] by: Prisma.HrSurveyItemScalarFieldEnum[] | Prisma.HrSurveyItemScalarFieldEnum having?: Prisma.HrSurveyItemScalarWhereWithAggregatesInput take?: number skip?: number _count?: HrSurveyItemCountAggregateInputType | true _avg?: HrSurveyItemAvgAggregateInputType _sum?: HrSurveyItemSumAggregateInputType _min?: HrSurveyItemMinAggregateInputType _max?: HrSurveyItemMaxAggregateInputType } export type HrSurveyItemGroupByOutputType = { id: string createdAt: Date updatedAt: Date tenantId: string surveyId: string itemType: $Enums.HrSurveyItemType prompt: string required: boolean options: string[] sortOrder: number _count: HrSurveyItemCountAggregateOutputType | null _avg: HrSurveyItemAvgAggregateOutputType | null _sum: HrSurveyItemSumAggregateOutputType | null _min: HrSurveyItemMinAggregateOutputType | null _max: HrSurveyItemMaxAggregateOutputType | null } export type GetHrSurveyItemGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof HrSurveyItemGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type HrSurveyItemWhereInput = { AND?: Prisma.HrSurveyItemWhereInput | Prisma.HrSurveyItemWhereInput[] OR?: Prisma.HrSurveyItemWhereInput[] NOT?: Prisma.HrSurveyItemWhereInput | Prisma.HrSurveyItemWhereInput[] id?: Prisma.StringFilter<"HrSurveyItem"> | string createdAt?: Prisma.DateTimeFilter<"HrSurveyItem"> | Date | string updatedAt?: Prisma.DateTimeFilter<"HrSurveyItem"> | Date | string tenantId?: Prisma.StringFilter<"HrSurveyItem"> | string surveyId?: Prisma.StringFilter<"HrSurveyItem"> | string itemType?: Prisma.EnumHrSurveyItemTypeFilter<"HrSurveyItem"> | $Enums.HrSurveyItemType prompt?: Prisma.StringFilter<"HrSurveyItem"> | string required?: Prisma.BoolFilter<"HrSurveyItem"> | boolean options?: Prisma.StringNullableListFilter<"HrSurveyItem"> sortOrder?: Prisma.IntFilter<"HrSurveyItem"> | number survey?: Prisma.XOR } export type HrSurveyItemOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder itemType?: Prisma.SortOrder prompt?: Prisma.SortOrder required?: Prisma.SortOrder options?: Prisma.SortOrder sortOrder?: Prisma.SortOrder survey?: Prisma.HrSurveyOrderByWithRelationInput } export type HrSurveyItemWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.HrSurveyItemWhereInput | Prisma.HrSurveyItemWhereInput[] OR?: Prisma.HrSurveyItemWhereInput[] NOT?: Prisma.HrSurveyItemWhereInput | Prisma.HrSurveyItemWhereInput[] createdAt?: Prisma.DateTimeFilter<"HrSurveyItem"> | Date | string updatedAt?: Prisma.DateTimeFilter<"HrSurveyItem"> | Date | string tenantId?: Prisma.StringFilter<"HrSurveyItem"> | string surveyId?: Prisma.StringFilter<"HrSurveyItem"> | string itemType?: Prisma.EnumHrSurveyItemTypeFilter<"HrSurveyItem"> | $Enums.HrSurveyItemType prompt?: Prisma.StringFilter<"HrSurveyItem"> | string required?: Prisma.BoolFilter<"HrSurveyItem"> | boolean options?: Prisma.StringNullableListFilter<"HrSurveyItem"> sortOrder?: Prisma.IntFilter<"HrSurveyItem"> | number survey?: Prisma.XOR }, "id"> export type HrSurveyItemOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder itemType?: Prisma.SortOrder prompt?: Prisma.SortOrder required?: Prisma.SortOrder options?: Prisma.SortOrder sortOrder?: Prisma.SortOrder _count?: Prisma.HrSurveyItemCountOrderByAggregateInput _avg?: Prisma.HrSurveyItemAvgOrderByAggregateInput _max?: Prisma.HrSurveyItemMaxOrderByAggregateInput _min?: Prisma.HrSurveyItemMinOrderByAggregateInput _sum?: Prisma.HrSurveyItemSumOrderByAggregateInput } export type HrSurveyItemScalarWhereWithAggregatesInput = { AND?: Prisma.HrSurveyItemScalarWhereWithAggregatesInput | Prisma.HrSurveyItemScalarWhereWithAggregatesInput[] OR?: Prisma.HrSurveyItemScalarWhereWithAggregatesInput[] NOT?: Prisma.HrSurveyItemScalarWhereWithAggregatesInput | Prisma.HrSurveyItemScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"HrSurveyItem"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"HrSurveyItem"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"HrSurveyItem"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"HrSurveyItem"> | string surveyId?: Prisma.StringWithAggregatesFilter<"HrSurveyItem"> | string itemType?: Prisma.EnumHrSurveyItemTypeWithAggregatesFilter<"HrSurveyItem"> | $Enums.HrSurveyItemType prompt?: Prisma.StringWithAggregatesFilter<"HrSurveyItem"> | string required?: Prisma.BoolWithAggregatesFilter<"HrSurveyItem"> | boolean options?: Prisma.StringNullableListFilter<"HrSurveyItem"> sortOrder?: Prisma.IntWithAggregatesFilter<"HrSurveyItem"> | number } export type HrSurveyItemCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string itemType: $Enums.HrSurveyItemType prompt: string required?: boolean options?: Prisma.HrSurveyItemCreateoptionsInput | string[] sortOrder?: number survey: Prisma.HrSurveyCreateNestedOneWithoutItemsInput } export type HrSurveyItemUncheckedCreateInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string surveyId: string itemType: $Enums.HrSurveyItemType prompt: string required?: boolean options?: Prisma.HrSurveyItemCreateoptionsInput | string[] sortOrder?: number } export type HrSurveyItemUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string itemType?: Prisma.EnumHrSurveyItemTypeFieldUpdateOperationsInput | $Enums.HrSurveyItemType prompt?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean options?: Prisma.HrSurveyItemUpdateoptionsInput | string[] sortOrder?: Prisma.IntFieldUpdateOperationsInput | number survey?: Prisma.HrSurveyUpdateOneRequiredWithoutItemsNestedInput } export type HrSurveyItemUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string surveyId?: Prisma.StringFieldUpdateOperationsInput | string itemType?: Prisma.EnumHrSurveyItemTypeFieldUpdateOperationsInput | $Enums.HrSurveyItemType prompt?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean options?: Prisma.HrSurveyItemUpdateoptionsInput | string[] sortOrder?: Prisma.IntFieldUpdateOperationsInput | number } export type HrSurveyItemCreateManyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string surveyId: string itemType: $Enums.HrSurveyItemType prompt: string required?: boolean options?: Prisma.HrSurveyItemCreateoptionsInput | string[] sortOrder?: number } export type HrSurveyItemUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string itemType?: Prisma.EnumHrSurveyItemTypeFieldUpdateOperationsInput | $Enums.HrSurveyItemType prompt?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean options?: Prisma.HrSurveyItemUpdateoptionsInput | string[] sortOrder?: Prisma.IntFieldUpdateOperationsInput | number } export type HrSurveyItemUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string surveyId?: Prisma.StringFieldUpdateOperationsInput | string itemType?: Prisma.EnumHrSurveyItemTypeFieldUpdateOperationsInput | $Enums.HrSurveyItemType prompt?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean options?: Prisma.HrSurveyItemUpdateoptionsInput | string[] sortOrder?: Prisma.IntFieldUpdateOperationsInput | number } export type HrSurveyItemListRelationFilter = { every?: Prisma.HrSurveyItemWhereInput some?: Prisma.HrSurveyItemWhereInput none?: Prisma.HrSurveyItemWhereInput } export type HrSurveyItemOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type HrSurveyItemCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder itemType?: Prisma.SortOrder prompt?: Prisma.SortOrder required?: Prisma.SortOrder options?: Prisma.SortOrder sortOrder?: Prisma.SortOrder } export type HrSurveyItemAvgOrderByAggregateInput = { sortOrder?: Prisma.SortOrder } export type HrSurveyItemMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder itemType?: Prisma.SortOrder prompt?: Prisma.SortOrder required?: Prisma.SortOrder sortOrder?: Prisma.SortOrder } export type HrSurveyItemMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder itemType?: Prisma.SortOrder prompt?: Prisma.SortOrder required?: Prisma.SortOrder sortOrder?: Prisma.SortOrder } export type HrSurveyItemSumOrderByAggregateInput = { sortOrder?: Prisma.SortOrder } export type HrSurveyItemCreateNestedManyWithoutSurveyInput = { create?: Prisma.XOR | Prisma.HrSurveyItemCreateWithoutSurveyInput[] | Prisma.HrSurveyItemUncheckedCreateWithoutSurveyInput[] connectOrCreate?: Prisma.HrSurveyItemCreateOrConnectWithoutSurveyInput | Prisma.HrSurveyItemCreateOrConnectWithoutSurveyInput[] createMany?: Prisma.HrSurveyItemCreateManySurveyInputEnvelope connect?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] } export type HrSurveyItemUncheckedCreateNestedManyWithoutSurveyInput = { create?: Prisma.XOR | Prisma.HrSurveyItemCreateWithoutSurveyInput[] | Prisma.HrSurveyItemUncheckedCreateWithoutSurveyInput[] connectOrCreate?: Prisma.HrSurveyItemCreateOrConnectWithoutSurveyInput | Prisma.HrSurveyItemCreateOrConnectWithoutSurveyInput[] createMany?: Prisma.HrSurveyItemCreateManySurveyInputEnvelope connect?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] } export type HrSurveyItemUpdateManyWithoutSurveyNestedInput = { create?: Prisma.XOR | Prisma.HrSurveyItemCreateWithoutSurveyInput[] | Prisma.HrSurveyItemUncheckedCreateWithoutSurveyInput[] connectOrCreate?: Prisma.HrSurveyItemCreateOrConnectWithoutSurveyInput | Prisma.HrSurveyItemCreateOrConnectWithoutSurveyInput[] upsert?: Prisma.HrSurveyItemUpsertWithWhereUniqueWithoutSurveyInput | Prisma.HrSurveyItemUpsertWithWhereUniqueWithoutSurveyInput[] createMany?: Prisma.HrSurveyItemCreateManySurveyInputEnvelope set?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] disconnect?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] delete?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] connect?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] update?: Prisma.HrSurveyItemUpdateWithWhereUniqueWithoutSurveyInput | Prisma.HrSurveyItemUpdateWithWhereUniqueWithoutSurveyInput[] updateMany?: Prisma.HrSurveyItemUpdateManyWithWhereWithoutSurveyInput | Prisma.HrSurveyItemUpdateManyWithWhereWithoutSurveyInput[] deleteMany?: Prisma.HrSurveyItemScalarWhereInput | Prisma.HrSurveyItemScalarWhereInput[] } export type HrSurveyItemUncheckedUpdateManyWithoutSurveyNestedInput = { create?: Prisma.XOR | Prisma.HrSurveyItemCreateWithoutSurveyInput[] | Prisma.HrSurveyItemUncheckedCreateWithoutSurveyInput[] connectOrCreate?: Prisma.HrSurveyItemCreateOrConnectWithoutSurveyInput | Prisma.HrSurveyItemCreateOrConnectWithoutSurveyInput[] upsert?: Prisma.HrSurveyItemUpsertWithWhereUniqueWithoutSurveyInput | Prisma.HrSurveyItemUpsertWithWhereUniqueWithoutSurveyInput[] createMany?: Prisma.HrSurveyItemCreateManySurveyInputEnvelope set?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] disconnect?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] delete?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] connect?: Prisma.HrSurveyItemWhereUniqueInput | Prisma.HrSurveyItemWhereUniqueInput[] update?: Prisma.HrSurveyItemUpdateWithWhereUniqueWithoutSurveyInput | Prisma.HrSurveyItemUpdateWithWhereUniqueWithoutSurveyInput[] updateMany?: Prisma.HrSurveyItemUpdateManyWithWhereWithoutSurveyInput | Prisma.HrSurveyItemUpdateManyWithWhereWithoutSurveyInput[] deleteMany?: Prisma.HrSurveyItemScalarWhereInput | Prisma.HrSurveyItemScalarWhereInput[] } export type HrSurveyItemCreateoptionsInput = { set: string[] } export type EnumHrSurveyItemTypeFieldUpdateOperationsInput = { set?: $Enums.HrSurveyItemType } export type HrSurveyItemUpdateoptionsInput = { set?: string[] push?: string | string[] } export type HrSurveyItemCreateWithoutSurveyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string itemType: $Enums.HrSurveyItemType prompt: string required?: boolean options?: Prisma.HrSurveyItemCreateoptionsInput | string[] sortOrder?: number } export type HrSurveyItemUncheckedCreateWithoutSurveyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string itemType: $Enums.HrSurveyItemType prompt: string required?: boolean options?: Prisma.HrSurveyItemCreateoptionsInput | string[] sortOrder?: number } export type HrSurveyItemCreateOrConnectWithoutSurveyInput = { where: Prisma.HrSurveyItemWhereUniqueInput create: Prisma.XOR } export type HrSurveyItemCreateManySurveyInputEnvelope = { data: Prisma.HrSurveyItemCreateManySurveyInput | Prisma.HrSurveyItemCreateManySurveyInput[] skipDuplicates?: boolean } export type HrSurveyItemUpsertWithWhereUniqueWithoutSurveyInput = { where: Prisma.HrSurveyItemWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type HrSurveyItemUpdateWithWhereUniqueWithoutSurveyInput = { where: Prisma.HrSurveyItemWhereUniqueInput data: Prisma.XOR } export type HrSurveyItemUpdateManyWithWhereWithoutSurveyInput = { where: Prisma.HrSurveyItemScalarWhereInput data: Prisma.XOR } export type HrSurveyItemScalarWhereInput = { AND?: Prisma.HrSurveyItemScalarWhereInput | Prisma.HrSurveyItemScalarWhereInput[] OR?: Prisma.HrSurveyItemScalarWhereInput[] NOT?: Prisma.HrSurveyItemScalarWhereInput | Prisma.HrSurveyItemScalarWhereInput[] id?: Prisma.StringFilter<"HrSurveyItem"> | string createdAt?: Prisma.DateTimeFilter<"HrSurveyItem"> | Date | string updatedAt?: Prisma.DateTimeFilter<"HrSurveyItem"> | Date | string tenantId?: Prisma.StringFilter<"HrSurveyItem"> | string surveyId?: Prisma.StringFilter<"HrSurveyItem"> | string itemType?: Prisma.EnumHrSurveyItemTypeFilter<"HrSurveyItem"> | $Enums.HrSurveyItemType prompt?: Prisma.StringFilter<"HrSurveyItem"> | string required?: Prisma.BoolFilter<"HrSurveyItem"> | boolean options?: Prisma.StringNullableListFilter<"HrSurveyItem"> sortOrder?: Prisma.IntFilter<"HrSurveyItem"> | number } export type HrSurveyItemCreateManySurveyInput = { id?: string createdAt?: Date | string updatedAt?: Date | string tenantId: string itemType: $Enums.HrSurveyItemType prompt: string required?: boolean options?: Prisma.HrSurveyItemCreateoptionsInput | string[] sortOrder?: number } export type HrSurveyItemUpdateWithoutSurveyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string itemType?: Prisma.EnumHrSurveyItemTypeFieldUpdateOperationsInput | $Enums.HrSurveyItemType prompt?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean options?: Prisma.HrSurveyItemUpdateoptionsInput | string[] sortOrder?: Prisma.IntFieldUpdateOperationsInput | number } export type HrSurveyItemUncheckedUpdateWithoutSurveyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string itemType?: Prisma.EnumHrSurveyItemTypeFieldUpdateOperationsInput | $Enums.HrSurveyItemType prompt?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean options?: Prisma.HrSurveyItemUpdateoptionsInput | string[] sortOrder?: Prisma.IntFieldUpdateOperationsInput | number } export type HrSurveyItemUncheckedUpdateManyWithoutSurveyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string itemType?: Prisma.EnumHrSurveyItemTypeFieldUpdateOperationsInput | $Enums.HrSurveyItemType prompt?: Prisma.StringFieldUpdateOperationsInput | string required?: Prisma.BoolFieldUpdateOperationsInput | boolean options?: Prisma.HrSurveyItemUpdateoptionsInput | string[] sortOrder?: Prisma.IntFieldUpdateOperationsInput | number } export type HrSurveyItemSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean surveyId?: boolean itemType?: boolean prompt?: boolean required?: boolean options?: boolean sortOrder?: boolean survey?: boolean | Prisma.HrSurveyDefaultArgs }, ExtArgs["result"]["hrSurveyItem"]> export type HrSurveyItemSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean surveyId?: boolean itemType?: boolean prompt?: boolean required?: boolean options?: boolean sortOrder?: boolean survey?: boolean | Prisma.HrSurveyDefaultArgs }, ExtArgs["result"]["hrSurveyItem"]> export type HrSurveyItemSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean surveyId?: boolean itemType?: boolean prompt?: boolean required?: boolean options?: boolean sortOrder?: boolean survey?: boolean | Prisma.HrSurveyDefaultArgs }, ExtArgs["result"]["hrSurveyItem"]> export type HrSurveyItemSelectScalar = { id?: boolean createdAt?: boolean updatedAt?: boolean tenantId?: boolean surveyId?: boolean itemType?: boolean prompt?: boolean required?: boolean options?: boolean sortOrder?: boolean } export type HrSurveyItemOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "surveyId" | "itemType" | "prompt" | "required" | "options" | "sortOrder", ExtArgs["result"]["hrSurveyItem"]> export type HrSurveyItemInclude = { survey?: boolean | Prisma.HrSurveyDefaultArgs } export type HrSurveyItemIncludeCreateManyAndReturn = { survey?: boolean | Prisma.HrSurveyDefaultArgs } export type HrSurveyItemIncludeUpdateManyAndReturn = { survey?: boolean | Prisma.HrSurveyDefaultArgs } export type $HrSurveyItemPayload = { name: "HrSurveyItem" objects: { survey: Prisma.$HrSurveyPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date updatedAt: Date tenantId: string surveyId: string itemType: $Enums.HrSurveyItemType prompt: string required: boolean options: string[] sortOrder: number }, ExtArgs["result"]["hrSurveyItem"]> composites: {} } export type HrSurveyItemGetPayload = runtime.Types.Result.GetResult export type HrSurveyItemCountArgs = Omit & { select?: HrSurveyItemCountAggregateInputType | true } export interface HrSurveyItemDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['HrSurveyItem'], meta: { name: 'HrSurveyItem' } } /** * Find zero or one HrSurveyItem that matches the filter. * @param {HrSurveyItemFindUniqueArgs} args - Arguments to find a HrSurveyItem * @example * // Get one HrSurveyItem * const hrSurveyItem = await prisma.hrSurveyItem.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveyItemClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one HrSurveyItem that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {HrSurveyItemFindUniqueOrThrowArgs} args - Arguments to find a HrSurveyItem * @example * // Get one HrSurveyItem * const hrSurveyItem = await prisma.hrSurveyItem.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveyItemClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first HrSurveyItem 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 {HrSurveyItemFindFirstArgs} args - Arguments to find a HrSurveyItem * @example * // Get one HrSurveyItem * const hrSurveyItem = await prisma.hrSurveyItem.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__HrSurveyItemClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first HrSurveyItem 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 {HrSurveyItemFindFirstOrThrowArgs} args - Arguments to find a HrSurveyItem * @example * // Get one HrSurveyItem * const hrSurveyItem = await prisma.hrSurveyItem.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__HrSurveyItemClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more HrSurveyItems 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 {HrSurveyItemFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all HrSurveyItems * const hrSurveyItems = await prisma.hrSurveyItem.findMany() * * // Get first 10 HrSurveyItems * const hrSurveyItems = await prisma.hrSurveyItem.findMany({ take: 10 }) * * // Only select the `id` * const hrSurveyItemWithIdOnly = await prisma.hrSurveyItem.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a HrSurveyItem. * @param {HrSurveyItemCreateArgs} args - Arguments to create a HrSurveyItem. * @example * // Create one HrSurveyItem * const HrSurveyItem = await prisma.hrSurveyItem.create({ * data: { * // ... data to create a HrSurveyItem * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveyItemClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many HrSurveyItems. * @param {HrSurveyItemCreateManyArgs} args - Arguments to create many HrSurveyItems. * @example * // Create many HrSurveyItems * const hrSurveyItem = await prisma.hrSurveyItem.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many HrSurveyItems and returns the data saved in the database. * @param {HrSurveyItemCreateManyAndReturnArgs} args - Arguments to create many HrSurveyItems. * @example * // Create many HrSurveyItems * const hrSurveyItem = await prisma.hrSurveyItem.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many HrSurveyItems and only return the `id` * const hrSurveyItemWithIdOnly = await prisma.hrSurveyItem.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 HrSurveyItem. * @param {HrSurveyItemDeleteArgs} args - Arguments to delete one HrSurveyItem. * @example * // Delete one HrSurveyItem * const HrSurveyItem = await prisma.hrSurveyItem.delete({ * where: { * // ... filter to delete one HrSurveyItem * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveyItemClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one HrSurveyItem. * @param {HrSurveyItemUpdateArgs} args - Arguments to update one HrSurveyItem. * @example * // Update one HrSurveyItem * const hrSurveyItem = await prisma.hrSurveyItem.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveyItemClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more HrSurveyItems. * @param {HrSurveyItemDeleteManyArgs} args - Arguments to filter HrSurveyItems to delete. * @example * // Delete a few HrSurveyItems * const { count } = await prisma.hrSurveyItem.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HrSurveyItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrSurveyItemUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many HrSurveyItems * const hrSurveyItem = await prisma.hrSurveyItem.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HrSurveyItems and returns the data updated in the database. * @param {HrSurveyItemUpdateManyAndReturnArgs} args - Arguments to update many HrSurveyItems. * @example * // Update many HrSurveyItems * const hrSurveyItem = await prisma.hrSurveyItem.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more HrSurveyItems and only return the `id` * const hrSurveyItemWithIdOnly = await prisma.hrSurveyItem.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 HrSurveyItem. * @param {HrSurveyItemUpsertArgs} args - Arguments to update or create a HrSurveyItem. * @example * // Update or create a HrSurveyItem * const hrSurveyItem = await prisma.hrSurveyItem.upsert({ * create: { * // ... data to create a HrSurveyItem * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the HrSurveyItem we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveyItemClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of HrSurveyItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrSurveyItemCountArgs} args - Arguments to filter HrSurveyItems to count. * @example * // Count the number of HrSurveyItems * const count = await prisma.hrSurveyItem.count({ * where: { * // ... the filter for the HrSurveyItems 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 HrSurveyItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrSurveyItemAggregateArgs} 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 HrSurveyItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrSurveyItemGroupByArgs} 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 HrSurveyItemGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: HrSurveyItemGroupByArgs['orderBy'] } : { orderBy?: HrSurveyItemGroupByArgs['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 ? GetHrSurveyItemGroupByPayload : Prisma.PrismaPromise /** * Fields of the HrSurveyItem model */ readonly fields: HrSurveyItemFieldRefs; } /** * The delegate class that acts as a "Promise-like" for HrSurveyItem. * 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__HrSurveyItemClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" survey = {}>(args?: Prisma.Subset>): Prisma.Prisma__HrSurveyClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the HrSurveyItem model */ export interface HrSurveyItemFieldRefs { readonly id: Prisma.FieldRef<"HrSurveyItem", 'String'> readonly createdAt: Prisma.FieldRef<"HrSurveyItem", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"HrSurveyItem", 'DateTime'> readonly tenantId: Prisma.FieldRef<"HrSurveyItem", 'String'> readonly surveyId: Prisma.FieldRef<"HrSurveyItem", 'String'> readonly itemType: Prisma.FieldRef<"HrSurveyItem", 'HrSurveyItemType'> readonly prompt: Prisma.FieldRef<"HrSurveyItem", 'String'> readonly required: Prisma.FieldRef<"HrSurveyItem", 'Boolean'> readonly options: Prisma.FieldRef<"HrSurveyItem", 'String[]'> readonly sortOrder: Prisma.FieldRef<"HrSurveyItem", 'Int'> } // Custom InputTypes /** * HrSurveyItem findUnique */ export type HrSurveyItemFindUniqueArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null /** * Filter, which HrSurveyItem to fetch. */ where: Prisma.HrSurveyItemWhereUniqueInput } /** * HrSurveyItem findUniqueOrThrow */ export type HrSurveyItemFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null /** * Filter, which HrSurveyItem to fetch. */ where: Prisma.HrSurveyItemWhereUniqueInput } /** * HrSurveyItem findFirst */ export type HrSurveyItemFindFirstArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null /** * Filter, which HrSurveyItem to fetch. */ where?: Prisma.HrSurveyItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrSurveyItems to fetch. */ orderBy?: Prisma.HrSurveyItemOrderByWithRelationInput | Prisma.HrSurveyItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HrSurveyItems. */ cursor?: Prisma.HrSurveyItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrSurveyItems 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` HrSurveyItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HrSurveyItems. */ distinct?: Prisma.HrSurveyItemScalarFieldEnum | Prisma.HrSurveyItemScalarFieldEnum[] } /** * HrSurveyItem findFirstOrThrow */ export type HrSurveyItemFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null /** * Filter, which HrSurveyItem to fetch. */ where?: Prisma.HrSurveyItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrSurveyItems to fetch. */ orderBy?: Prisma.HrSurveyItemOrderByWithRelationInput | Prisma.HrSurveyItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HrSurveyItems. */ cursor?: Prisma.HrSurveyItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrSurveyItems 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` HrSurveyItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HrSurveyItems. */ distinct?: Prisma.HrSurveyItemScalarFieldEnum | Prisma.HrSurveyItemScalarFieldEnum[] } /** * HrSurveyItem findMany */ export type HrSurveyItemFindManyArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null /** * Filter, which HrSurveyItems to fetch. */ where?: Prisma.HrSurveyItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrSurveyItems to fetch. */ orderBy?: Prisma.HrSurveyItemOrderByWithRelationInput | Prisma.HrSurveyItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing HrSurveyItems. */ cursor?: Prisma.HrSurveyItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrSurveyItems 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` HrSurveyItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HrSurveyItems. */ distinct?: Prisma.HrSurveyItemScalarFieldEnum | Prisma.HrSurveyItemScalarFieldEnum[] } /** * HrSurveyItem create */ export type HrSurveyItemCreateArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null /** * The data needed to create a HrSurveyItem. */ data: Prisma.XOR } /** * HrSurveyItem createMany */ export type HrSurveyItemCreateManyArgs = { /** * The data used to create many HrSurveyItems. */ data: Prisma.HrSurveyItemCreateManyInput | Prisma.HrSurveyItemCreateManyInput[] skipDuplicates?: boolean } /** * HrSurveyItem createManyAndReturn */ export type HrSurveyItemCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelectCreateManyAndReturn | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * The data used to create many HrSurveyItems. */ data: Prisma.HrSurveyItemCreateManyInput | Prisma.HrSurveyItemCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemIncludeCreateManyAndReturn | null } /** * HrSurveyItem update */ export type HrSurveyItemUpdateArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null /** * The data needed to update a HrSurveyItem. */ data: Prisma.XOR /** * Choose, which HrSurveyItem to update. */ where: Prisma.HrSurveyItemWhereUniqueInput } /** * HrSurveyItem updateMany */ export type HrSurveyItemUpdateManyArgs = { /** * The data used to update HrSurveyItems. */ data: Prisma.XOR /** * Filter which HrSurveyItems to update */ where?: Prisma.HrSurveyItemWhereInput /** * Limit how many HrSurveyItems to update. */ limit?: number } /** * HrSurveyItem updateManyAndReturn */ export type HrSurveyItemUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelectUpdateManyAndReturn | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * The data used to update HrSurveyItems. */ data: Prisma.XOR /** * Filter which HrSurveyItems to update */ where?: Prisma.HrSurveyItemWhereInput /** * Limit how many HrSurveyItems to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemIncludeUpdateManyAndReturn | null } /** * HrSurveyItem upsert */ export type HrSurveyItemUpsertArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null /** * The filter to search for the HrSurveyItem to update in case it exists. */ where: Prisma.HrSurveyItemWhereUniqueInput /** * In case the HrSurveyItem found by the `where` argument doesn't exist, create a new HrSurveyItem with this data. */ create: Prisma.XOR /** * In case the HrSurveyItem was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * HrSurveyItem delete */ export type HrSurveyItemDeleteArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null /** * Filter which HrSurveyItem to delete. */ where: Prisma.HrSurveyItemWhereUniqueInput } /** * HrSurveyItem deleteMany */ export type HrSurveyItemDeleteManyArgs = { /** * Filter which HrSurveyItems to delete */ where?: Prisma.HrSurveyItemWhereInput /** * Limit how many HrSurveyItems to delete. */ limit?: number } /** * HrSurveyItem without action */ export type HrSurveyItemDefaultArgs = { /** * Select specific fields to fetch from the HrSurveyItem */ select?: Prisma.HrSurveyItemSelect | null /** * Omit specific fields from the HrSurveyItem */ omit?: Prisma.HrSurveyItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveyItemInclude | null }