/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `HrSurveySubmission` 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 HrSurveySubmission * One submission to a survey. For identified surveys `submitterUserId` is set * and unique per survey; for anonymous surveys it is null and `submitterHash` * (a non-reversible per-survey hash of the user) enforces one-submission * without re-identification. `answers` maps item id → answer value. */ export type HrSurveySubmissionModel = runtime.Types.Result.DefaultSelection export type AggregateHrSurveySubmission = { _count: HrSurveySubmissionCountAggregateOutputType | null _min: HrSurveySubmissionMinAggregateOutputType | null _max: HrSurveySubmissionMaxAggregateOutputType | null } export type HrSurveySubmissionMinAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null surveyId: string | null submitterUserId: string | null submitterHash: string | null } export type HrSurveySubmissionMaxAggregateOutputType = { id: string | null createdAt: Date | null tenantId: string | null surveyId: string | null submitterUserId: string | null submitterHash: string | null } export type HrSurveySubmissionCountAggregateOutputType = { id: number createdAt: number tenantId: number surveyId: number submitterUserId: number submitterHash: number answers: number _all: number } export type HrSurveySubmissionMinAggregateInputType = { id?: true createdAt?: true tenantId?: true surveyId?: true submitterUserId?: true submitterHash?: true } export type HrSurveySubmissionMaxAggregateInputType = { id?: true createdAt?: true tenantId?: true surveyId?: true submitterUserId?: true submitterHash?: true } export type HrSurveySubmissionCountAggregateInputType = { id?: true createdAt?: true tenantId?: true surveyId?: true submitterUserId?: true submitterHash?: true answers?: true _all?: true } export type HrSurveySubmissionAggregateArgs = { /** * Filter which HrSurveySubmission to aggregate. */ where?: Prisma.HrSurveySubmissionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrSurveySubmissions to fetch. */ orderBy?: Prisma.HrSurveySubmissionOrderByWithRelationInput | Prisma.HrSurveySubmissionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.HrSurveySubmissionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrSurveySubmissions 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` HrSurveySubmissions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned HrSurveySubmissions **/ _count?: true | HrSurveySubmissionCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: HrSurveySubmissionMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: HrSurveySubmissionMaxAggregateInputType } export type GetHrSurveySubmissionAggregateType = { [P in keyof T & keyof AggregateHrSurveySubmission]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type HrSurveySubmissionGroupByArgs = { where?: Prisma.HrSurveySubmissionWhereInput orderBy?: Prisma.HrSurveySubmissionOrderByWithAggregationInput | Prisma.HrSurveySubmissionOrderByWithAggregationInput[] by: Prisma.HrSurveySubmissionScalarFieldEnum[] | Prisma.HrSurveySubmissionScalarFieldEnum having?: Prisma.HrSurveySubmissionScalarWhereWithAggregatesInput take?: number skip?: number _count?: HrSurveySubmissionCountAggregateInputType | true _min?: HrSurveySubmissionMinAggregateInputType _max?: HrSurveySubmissionMaxAggregateInputType } export type HrSurveySubmissionGroupByOutputType = { id: string createdAt: Date tenantId: string surveyId: string submitterUserId: string | null submitterHash: string | null answers: runtime.JsonValue _count: HrSurveySubmissionCountAggregateOutputType | null _min: HrSurveySubmissionMinAggregateOutputType | null _max: HrSurveySubmissionMaxAggregateOutputType | null } export type GetHrSurveySubmissionGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof HrSurveySubmissionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type HrSurveySubmissionWhereInput = { AND?: Prisma.HrSurveySubmissionWhereInput | Prisma.HrSurveySubmissionWhereInput[] OR?: Prisma.HrSurveySubmissionWhereInput[] NOT?: Prisma.HrSurveySubmissionWhereInput | Prisma.HrSurveySubmissionWhereInput[] id?: Prisma.StringFilter<"HrSurveySubmission"> | string createdAt?: Prisma.DateTimeFilter<"HrSurveySubmission"> | Date | string tenantId?: Prisma.StringFilter<"HrSurveySubmission"> | string surveyId?: Prisma.StringFilter<"HrSurveySubmission"> | string submitterUserId?: Prisma.StringNullableFilter<"HrSurveySubmission"> | string | null submitterHash?: Prisma.StringNullableFilter<"HrSurveySubmission"> | string | null answers?: Prisma.JsonFilter<"HrSurveySubmission"> survey?: Prisma.XOR } export type HrSurveySubmissionOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder submitterUserId?: Prisma.SortOrderInput | Prisma.SortOrder submitterHash?: Prisma.SortOrderInput | Prisma.SortOrder answers?: Prisma.SortOrder survey?: Prisma.HrSurveyOrderByWithRelationInput } export type HrSurveySubmissionWhereUniqueInput = Prisma.AtLeast<{ id?: string surveyId_submitterUserId?: Prisma.HrSurveySubmissionSurveyIdSubmitterUserIdCompoundUniqueInput surveyId_submitterHash?: Prisma.HrSurveySubmissionSurveyIdSubmitterHashCompoundUniqueInput AND?: Prisma.HrSurveySubmissionWhereInput | Prisma.HrSurveySubmissionWhereInput[] OR?: Prisma.HrSurveySubmissionWhereInput[] NOT?: Prisma.HrSurveySubmissionWhereInput | Prisma.HrSurveySubmissionWhereInput[] createdAt?: Prisma.DateTimeFilter<"HrSurveySubmission"> | Date | string tenantId?: Prisma.StringFilter<"HrSurveySubmission"> | string surveyId?: Prisma.StringFilter<"HrSurveySubmission"> | string submitterUserId?: Prisma.StringNullableFilter<"HrSurveySubmission"> | string | null submitterHash?: Prisma.StringNullableFilter<"HrSurveySubmission"> | string | null answers?: Prisma.JsonFilter<"HrSurveySubmission"> survey?: Prisma.XOR }, "id" | "surveyId_submitterUserId" | "surveyId_submitterHash"> export type HrSurveySubmissionOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder submitterUserId?: Prisma.SortOrderInput | Prisma.SortOrder submitterHash?: Prisma.SortOrderInput | Prisma.SortOrder answers?: Prisma.SortOrder _count?: Prisma.HrSurveySubmissionCountOrderByAggregateInput _max?: Prisma.HrSurveySubmissionMaxOrderByAggregateInput _min?: Prisma.HrSurveySubmissionMinOrderByAggregateInput } export type HrSurveySubmissionScalarWhereWithAggregatesInput = { AND?: Prisma.HrSurveySubmissionScalarWhereWithAggregatesInput | Prisma.HrSurveySubmissionScalarWhereWithAggregatesInput[] OR?: Prisma.HrSurveySubmissionScalarWhereWithAggregatesInput[] NOT?: Prisma.HrSurveySubmissionScalarWhereWithAggregatesInput | Prisma.HrSurveySubmissionScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"HrSurveySubmission"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"HrSurveySubmission"> | Date | string tenantId?: Prisma.StringWithAggregatesFilter<"HrSurveySubmission"> | string surveyId?: Prisma.StringWithAggregatesFilter<"HrSurveySubmission"> | string submitterUserId?: Prisma.StringNullableWithAggregatesFilter<"HrSurveySubmission"> | string | null submitterHash?: Prisma.StringNullableWithAggregatesFilter<"HrSurveySubmission"> | string | null answers?: Prisma.JsonWithAggregatesFilter<"HrSurveySubmission"> } export type HrSurveySubmissionCreateInput = { id?: string createdAt?: Date | string tenantId: string submitterUserId?: string | null submitterHash?: string | null answers: Prisma.JsonNullValueInput | runtime.InputJsonValue survey: Prisma.HrSurveyCreateNestedOneWithoutSubmissionsInput } export type HrSurveySubmissionUncheckedCreateInput = { id?: string createdAt?: Date | string tenantId: string surveyId: string submitterUserId?: string | null submitterHash?: string | null answers: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string submitterUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null submitterHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null answers?: Prisma.JsonNullValueInput | runtime.InputJsonValue survey?: Prisma.HrSurveyUpdateOneRequiredWithoutSubmissionsNestedInput } export type HrSurveySubmissionUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string surveyId?: Prisma.StringFieldUpdateOperationsInput | string submitterUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null submitterHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null answers?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionCreateManyInput = { id?: string createdAt?: Date | string tenantId: string surveyId: string submitterUserId?: string | null submitterHash?: string | null answers: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string submitterUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null submitterHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null answers?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string surveyId?: Prisma.StringFieldUpdateOperationsInput | string submitterUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null submitterHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null answers?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionListRelationFilter = { every?: Prisma.HrSurveySubmissionWhereInput some?: Prisma.HrSurveySubmissionWhereInput none?: Prisma.HrSurveySubmissionWhereInput } export type HrSurveySubmissionOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type HrSurveySubmissionSurveyIdSubmitterUserIdCompoundUniqueInput = { surveyId: string submitterUserId: string } export type HrSurveySubmissionSurveyIdSubmitterHashCompoundUniqueInput = { surveyId: string submitterHash: string } export type HrSurveySubmissionCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder submitterUserId?: Prisma.SortOrder submitterHash?: Prisma.SortOrder answers?: Prisma.SortOrder } export type HrSurveySubmissionMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder submitterUserId?: Prisma.SortOrder submitterHash?: Prisma.SortOrder } export type HrSurveySubmissionMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder tenantId?: Prisma.SortOrder surveyId?: Prisma.SortOrder submitterUserId?: Prisma.SortOrder submitterHash?: Prisma.SortOrder } export type HrSurveySubmissionCreateNestedManyWithoutSurveyInput = { create?: Prisma.XOR | Prisma.HrSurveySubmissionCreateWithoutSurveyInput[] | Prisma.HrSurveySubmissionUncheckedCreateWithoutSurveyInput[] connectOrCreate?: Prisma.HrSurveySubmissionCreateOrConnectWithoutSurveyInput | Prisma.HrSurveySubmissionCreateOrConnectWithoutSurveyInput[] createMany?: Prisma.HrSurveySubmissionCreateManySurveyInputEnvelope connect?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] } export type HrSurveySubmissionUncheckedCreateNestedManyWithoutSurveyInput = { create?: Prisma.XOR | Prisma.HrSurveySubmissionCreateWithoutSurveyInput[] | Prisma.HrSurveySubmissionUncheckedCreateWithoutSurveyInput[] connectOrCreate?: Prisma.HrSurveySubmissionCreateOrConnectWithoutSurveyInput | Prisma.HrSurveySubmissionCreateOrConnectWithoutSurveyInput[] createMany?: Prisma.HrSurveySubmissionCreateManySurveyInputEnvelope connect?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] } export type HrSurveySubmissionUpdateManyWithoutSurveyNestedInput = { create?: Prisma.XOR | Prisma.HrSurveySubmissionCreateWithoutSurveyInput[] | Prisma.HrSurveySubmissionUncheckedCreateWithoutSurveyInput[] connectOrCreate?: Prisma.HrSurveySubmissionCreateOrConnectWithoutSurveyInput | Prisma.HrSurveySubmissionCreateOrConnectWithoutSurveyInput[] upsert?: Prisma.HrSurveySubmissionUpsertWithWhereUniqueWithoutSurveyInput | Prisma.HrSurveySubmissionUpsertWithWhereUniqueWithoutSurveyInput[] createMany?: Prisma.HrSurveySubmissionCreateManySurveyInputEnvelope set?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] disconnect?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] delete?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] connect?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] update?: Prisma.HrSurveySubmissionUpdateWithWhereUniqueWithoutSurveyInput | Prisma.HrSurveySubmissionUpdateWithWhereUniqueWithoutSurveyInput[] updateMany?: Prisma.HrSurveySubmissionUpdateManyWithWhereWithoutSurveyInput | Prisma.HrSurveySubmissionUpdateManyWithWhereWithoutSurveyInput[] deleteMany?: Prisma.HrSurveySubmissionScalarWhereInput | Prisma.HrSurveySubmissionScalarWhereInput[] } export type HrSurveySubmissionUncheckedUpdateManyWithoutSurveyNestedInput = { create?: Prisma.XOR | Prisma.HrSurveySubmissionCreateWithoutSurveyInput[] | Prisma.HrSurveySubmissionUncheckedCreateWithoutSurveyInput[] connectOrCreate?: Prisma.HrSurveySubmissionCreateOrConnectWithoutSurveyInput | Prisma.HrSurveySubmissionCreateOrConnectWithoutSurveyInput[] upsert?: Prisma.HrSurveySubmissionUpsertWithWhereUniqueWithoutSurveyInput | Prisma.HrSurveySubmissionUpsertWithWhereUniqueWithoutSurveyInput[] createMany?: Prisma.HrSurveySubmissionCreateManySurveyInputEnvelope set?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] disconnect?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] delete?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] connect?: Prisma.HrSurveySubmissionWhereUniqueInput | Prisma.HrSurveySubmissionWhereUniqueInput[] update?: Prisma.HrSurveySubmissionUpdateWithWhereUniqueWithoutSurveyInput | Prisma.HrSurveySubmissionUpdateWithWhereUniqueWithoutSurveyInput[] updateMany?: Prisma.HrSurveySubmissionUpdateManyWithWhereWithoutSurveyInput | Prisma.HrSurveySubmissionUpdateManyWithWhereWithoutSurveyInput[] deleteMany?: Prisma.HrSurveySubmissionScalarWhereInput | Prisma.HrSurveySubmissionScalarWhereInput[] } export type HrSurveySubmissionCreateWithoutSurveyInput = { id?: string createdAt?: Date | string tenantId: string submitterUserId?: string | null submitterHash?: string | null answers: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionUncheckedCreateWithoutSurveyInput = { id?: string createdAt?: Date | string tenantId: string submitterUserId?: string | null submitterHash?: string | null answers: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionCreateOrConnectWithoutSurveyInput = { where: Prisma.HrSurveySubmissionWhereUniqueInput create: Prisma.XOR } export type HrSurveySubmissionCreateManySurveyInputEnvelope = { data: Prisma.HrSurveySubmissionCreateManySurveyInput | Prisma.HrSurveySubmissionCreateManySurveyInput[] skipDuplicates?: boolean } export type HrSurveySubmissionUpsertWithWhereUniqueWithoutSurveyInput = { where: Prisma.HrSurveySubmissionWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type HrSurveySubmissionUpdateWithWhereUniqueWithoutSurveyInput = { where: Prisma.HrSurveySubmissionWhereUniqueInput data: Prisma.XOR } export type HrSurveySubmissionUpdateManyWithWhereWithoutSurveyInput = { where: Prisma.HrSurveySubmissionScalarWhereInput data: Prisma.XOR } export type HrSurveySubmissionScalarWhereInput = { AND?: Prisma.HrSurveySubmissionScalarWhereInput | Prisma.HrSurveySubmissionScalarWhereInput[] OR?: Prisma.HrSurveySubmissionScalarWhereInput[] NOT?: Prisma.HrSurveySubmissionScalarWhereInput | Prisma.HrSurveySubmissionScalarWhereInput[] id?: Prisma.StringFilter<"HrSurveySubmission"> | string createdAt?: Prisma.DateTimeFilter<"HrSurveySubmission"> | Date | string tenantId?: Prisma.StringFilter<"HrSurveySubmission"> | string surveyId?: Prisma.StringFilter<"HrSurveySubmission"> | string submitterUserId?: Prisma.StringNullableFilter<"HrSurveySubmission"> | string | null submitterHash?: Prisma.StringNullableFilter<"HrSurveySubmission"> | string | null answers?: Prisma.JsonFilter<"HrSurveySubmission"> } export type HrSurveySubmissionCreateManySurveyInput = { id?: string createdAt?: Date | string tenantId: string submitterUserId?: string | null submitterHash?: string | null answers: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionUpdateWithoutSurveyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string submitterUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null submitterHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null answers?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionUncheckedUpdateWithoutSurveyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string submitterUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null submitterHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null answers?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionUncheckedUpdateManyWithoutSurveyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string submitterUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null submitterHash?: Prisma.NullableStringFieldUpdateOperationsInput | string | null answers?: Prisma.JsonNullValueInput | runtime.InputJsonValue } export type HrSurveySubmissionSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean surveyId?: boolean submitterUserId?: boolean submitterHash?: boolean answers?: boolean survey?: boolean | Prisma.HrSurveyDefaultArgs }, ExtArgs["result"]["hrSurveySubmission"]> export type HrSurveySubmissionSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean surveyId?: boolean submitterUserId?: boolean submitterHash?: boolean answers?: boolean survey?: boolean | Prisma.HrSurveyDefaultArgs }, ExtArgs["result"]["hrSurveySubmission"]> export type HrSurveySubmissionSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean tenantId?: boolean surveyId?: boolean submitterUserId?: boolean submitterHash?: boolean answers?: boolean survey?: boolean | Prisma.HrSurveyDefaultArgs }, ExtArgs["result"]["hrSurveySubmission"]> export type HrSurveySubmissionSelectScalar = { id?: boolean createdAt?: boolean tenantId?: boolean surveyId?: boolean submitterUserId?: boolean submitterHash?: boolean answers?: boolean } export type HrSurveySubmissionOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "tenantId" | "surveyId" | "submitterUserId" | "submitterHash" | "answers", ExtArgs["result"]["hrSurveySubmission"]> export type HrSurveySubmissionInclude = { survey?: boolean | Prisma.HrSurveyDefaultArgs } export type HrSurveySubmissionIncludeCreateManyAndReturn = { survey?: boolean | Prisma.HrSurveyDefaultArgs } export type HrSurveySubmissionIncludeUpdateManyAndReturn = { survey?: boolean | Prisma.HrSurveyDefaultArgs } export type $HrSurveySubmissionPayload = { name: "HrSurveySubmission" objects: { survey: Prisma.$HrSurveyPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date tenantId: string surveyId: string submitterUserId: string | null submitterHash: string | null answers: runtime.JsonValue }, ExtArgs["result"]["hrSurveySubmission"]> composites: {} } export type HrSurveySubmissionGetPayload = runtime.Types.Result.GetResult export type HrSurveySubmissionCountArgs = Omit & { select?: HrSurveySubmissionCountAggregateInputType | true } export interface HrSurveySubmissionDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['HrSurveySubmission'], meta: { name: 'HrSurveySubmission' } } /** * Find zero or one HrSurveySubmission that matches the filter. * @param {HrSurveySubmissionFindUniqueArgs} args - Arguments to find a HrSurveySubmission * @example * // Get one HrSurveySubmission * const hrSurveySubmission = await prisma.hrSurveySubmission.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveySubmissionClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one HrSurveySubmission that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {HrSurveySubmissionFindUniqueOrThrowArgs} args - Arguments to find a HrSurveySubmission * @example * // Get one HrSurveySubmission * const hrSurveySubmission = await prisma.hrSurveySubmission.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveySubmissionClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first HrSurveySubmission 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 {HrSurveySubmissionFindFirstArgs} args - Arguments to find a HrSurveySubmission * @example * // Get one HrSurveySubmission * const hrSurveySubmission = await prisma.hrSurveySubmission.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__HrSurveySubmissionClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first HrSurveySubmission 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 {HrSurveySubmissionFindFirstOrThrowArgs} args - Arguments to find a HrSurveySubmission * @example * // Get one HrSurveySubmission * const hrSurveySubmission = await prisma.hrSurveySubmission.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__HrSurveySubmissionClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more HrSurveySubmissions 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 {HrSurveySubmissionFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all HrSurveySubmissions * const hrSurveySubmissions = await prisma.hrSurveySubmission.findMany() * * // Get first 10 HrSurveySubmissions * const hrSurveySubmissions = await prisma.hrSurveySubmission.findMany({ take: 10 }) * * // Only select the `id` * const hrSurveySubmissionWithIdOnly = await prisma.hrSurveySubmission.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a HrSurveySubmission. * @param {HrSurveySubmissionCreateArgs} args - Arguments to create a HrSurveySubmission. * @example * // Create one HrSurveySubmission * const HrSurveySubmission = await prisma.hrSurveySubmission.create({ * data: { * // ... data to create a HrSurveySubmission * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveySubmissionClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many HrSurveySubmissions. * @param {HrSurveySubmissionCreateManyArgs} args - Arguments to create many HrSurveySubmissions. * @example * // Create many HrSurveySubmissions * const hrSurveySubmission = await prisma.hrSurveySubmission.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many HrSurveySubmissions and returns the data saved in the database. * @param {HrSurveySubmissionCreateManyAndReturnArgs} args - Arguments to create many HrSurveySubmissions. * @example * // Create many HrSurveySubmissions * const hrSurveySubmission = await prisma.hrSurveySubmission.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many HrSurveySubmissions and only return the `id` * const hrSurveySubmissionWithIdOnly = await prisma.hrSurveySubmission.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 HrSurveySubmission. * @param {HrSurveySubmissionDeleteArgs} args - Arguments to delete one HrSurveySubmission. * @example * // Delete one HrSurveySubmission * const HrSurveySubmission = await prisma.hrSurveySubmission.delete({ * where: { * // ... filter to delete one HrSurveySubmission * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveySubmissionClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one HrSurveySubmission. * @param {HrSurveySubmissionUpdateArgs} args - Arguments to update one HrSurveySubmission. * @example * // Update one HrSurveySubmission * const hrSurveySubmission = await prisma.hrSurveySubmission.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveySubmissionClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more HrSurveySubmissions. * @param {HrSurveySubmissionDeleteManyArgs} args - Arguments to filter HrSurveySubmissions to delete. * @example * // Delete a few HrSurveySubmissions * const { count } = await prisma.hrSurveySubmission.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HrSurveySubmissions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrSurveySubmissionUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many HrSurveySubmissions * const hrSurveySubmission = await prisma.hrSurveySubmission.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more HrSurveySubmissions and returns the data updated in the database. * @param {HrSurveySubmissionUpdateManyAndReturnArgs} args - Arguments to update many HrSurveySubmissions. * @example * // Update many HrSurveySubmissions * const hrSurveySubmission = await prisma.hrSurveySubmission.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more HrSurveySubmissions and only return the `id` * const hrSurveySubmissionWithIdOnly = await prisma.hrSurveySubmission.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 HrSurveySubmission. * @param {HrSurveySubmissionUpsertArgs} args - Arguments to update or create a HrSurveySubmission. * @example * // Update or create a HrSurveySubmission * const hrSurveySubmission = await prisma.hrSurveySubmission.upsert({ * create: { * // ... data to create a HrSurveySubmission * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the HrSurveySubmission we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__HrSurveySubmissionClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of HrSurveySubmissions. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrSurveySubmissionCountArgs} args - Arguments to filter HrSurveySubmissions to count. * @example * // Count the number of HrSurveySubmissions * const count = await prisma.hrSurveySubmission.count({ * where: { * // ... the filter for the HrSurveySubmissions 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 HrSurveySubmission. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrSurveySubmissionAggregateArgs} 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 HrSurveySubmission. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {HrSurveySubmissionGroupByArgs} 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 HrSurveySubmissionGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: HrSurveySubmissionGroupByArgs['orderBy'] } : { orderBy?: HrSurveySubmissionGroupByArgs['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 ? GetHrSurveySubmissionGroupByPayload : Prisma.PrismaPromise /** * Fields of the HrSurveySubmission model */ readonly fields: HrSurveySubmissionFieldRefs; } /** * The delegate class that acts as a "Promise-like" for HrSurveySubmission. * 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__HrSurveySubmissionClient 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 HrSurveySubmission model */ export interface HrSurveySubmissionFieldRefs { readonly id: Prisma.FieldRef<"HrSurveySubmission", 'String'> readonly createdAt: Prisma.FieldRef<"HrSurveySubmission", 'DateTime'> readonly tenantId: Prisma.FieldRef<"HrSurveySubmission", 'String'> readonly surveyId: Prisma.FieldRef<"HrSurveySubmission", 'String'> readonly submitterUserId: Prisma.FieldRef<"HrSurveySubmission", 'String'> readonly submitterHash: Prisma.FieldRef<"HrSurveySubmission", 'String'> readonly answers: Prisma.FieldRef<"HrSurveySubmission", 'Json'> } // Custom InputTypes /** * HrSurveySubmission findUnique */ export type HrSurveySubmissionFindUniqueArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null /** * Filter, which HrSurveySubmission to fetch. */ where: Prisma.HrSurveySubmissionWhereUniqueInput } /** * HrSurveySubmission findUniqueOrThrow */ export type HrSurveySubmissionFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null /** * Filter, which HrSurveySubmission to fetch. */ where: Prisma.HrSurveySubmissionWhereUniqueInput } /** * HrSurveySubmission findFirst */ export type HrSurveySubmissionFindFirstArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null /** * Filter, which HrSurveySubmission to fetch. */ where?: Prisma.HrSurveySubmissionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrSurveySubmissions to fetch. */ orderBy?: Prisma.HrSurveySubmissionOrderByWithRelationInput | Prisma.HrSurveySubmissionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HrSurveySubmissions. */ cursor?: Prisma.HrSurveySubmissionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrSurveySubmissions 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` HrSurveySubmissions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HrSurveySubmissions. */ distinct?: Prisma.HrSurveySubmissionScalarFieldEnum | Prisma.HrSurveySubmissionScalarFieldEnum[] } /** * HrSurveySubmission findFirstOrThrow */ export type HrSurveySubmissionFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null /** * Filter, which HrSurveySubmission to fetch. */ where?: Prisma.HrSurveySubmissionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrSurveySubmissions to fetch. */ orderBy?: Prisma.HrSurveySubmissionOrderByWithRelationInput | Prisma.HrSurveySubmissionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for HrSurveySubmissions. */ cursor?: Prisma.HrSurveySubmissionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrSurveySubmissions 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` HrSurveySubmissions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HrSurveySubmissions. */ distinct?: Prisma.HrSurveySubmissionScalarFieldEnum | Prisma.HrSurveySubmissionScalarFieldEnum[] } /** * HrSurveySubmission findMany */ export type HrSurveySubmissionFindManyArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null /** * Filter, which HrSurveySubmissions to fetch. */ where?: Prisma.HrSurveySubmissionWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of HrSurveySubmissions to fetch. */ orderBy?: Prisma.HrSurveySubmissionOrderByWithRelationInput | Prisma.HrSurveySubmissionOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing HrSurveySubmissions. */ cursor?: Prisma.HrSurveySubmissionWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` HrSurveySubmissions 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` HrSurveySubmissions. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of HrSurveySubmissions. */ distinct?: Prisma.HrSurveySubmissionScalarFieldEnum | Prisma.HrSurveySubmissionScalarFieldEnum[] } /** * HrSurveySubmission create */ export type HrSurveySubmissionCreateArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null /** * The data needed to create a HrSurveySubmission. */ data: Prisma.XOR } /** * HrSurveySubmission createMany */ export type HrSurveySubmissionCreateManyArgs = { /** * The data used to create many HrSurveySubmissions. */ data: Prisma.HrSurveySubmissionCreateManyInput | Prisma.HrSurveySubmissionCreateManyInput[] skipDuplicates?: boolean } /** * HrSurveySubmission createManyAndReturn */ export type HrSurveySubmissionCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelectCreateManyAndReturn | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * The data used to create many HrSurveySubmissions. */ data: Prisma.HrSurveySubmissionCreateManyInput | Prisma.HrSurveySubmissionCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionIncludeCreateManyAndReturn | null } /** * HrSurveySubmission update */ export type HrSurveySubmissionUpdateArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null /** * The data needed to update a HrSurveySubmission. */ data: Prisma.XOR /** * Choose, which HrSurveySubmission to update. */ where: Prisma.HrSurveySubmissionWhereUniqueInput } /** * HrSurveySubmission updateMany */ export type HrSurveySubmissionUpdateManyArgs = { /** * The data used to update HrSurveySubmissions. */ data: Prisma.XOR /** * Filter which HrSurveySubmissions to update */ where?: Prisma.HrSurveySubmissionWhereInput /** * Limit how many HrSurveySubmissions to update. */ limit?: number } /** * HrSurveySubmission updateManyAndReturn */ export type HrSurveySubmissionUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelectUpdateManyAndReturn | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * The data used to update HrSurveySubmissions. */ data: Prisma.XOR /** * Filter which HrSurveySubmissions to update */ where?: Prisma.HrSurveySubmissionWhereInput /** * Limit how many HrSurveySubmissions to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionIncludeUpdateManyAndReturn | null } /** * HrSurveySubmission upsert */ export type HrSurveySubmissionUpsertArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null /** * The filter to search for the HrSurveySubmission to update in case it exists. */ where: Prisma.HrSurveySubmissionWhereUniqueInput /** * In case the HrSurveySubmission found by the `where` argument doesn't exist, create a new HrSurveySubmission with this data. */ create: Prisma.XOR /** * In case the HrSurveySubmission was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * HrSurveySubmission delete */ export type HrSurveySubmissionDeleteArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null /** * Filter which HrSurveySubmission to delete. */ where: Prisma.HrSurveySubmissionWhereUniqueInput } /** * HrSurveySubmission deleteMany */ export type HrSurveySubmissionDeleteManyArgs = { /** * Filter which HrSurveySubmissions to delete */ where?: Prisma.HrSurveySubmissionWhereInput /** * Limit how many HrSurveySubmissions to delete. */ limit?: number } /** * HrSurveySubmission without action */ export type HrSurveySubmissionDefaultArgs = { /** * Select specific fields to fetch from the HrSurveySubmission */ select?: Prisma.HrSurveySubmissionSelect | null /** * Omit specific fields from the HrSurveySubmission */ omit?: Prisma.HrSurveySubmissionOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.HrSurveySubmissionInclude | null }