/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `FileUploadChunk` 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 FileUploadChunk * One uploaded chunk of a `FileUpload` session (replaces spec `FileChunk`). * Bytes live in temp storage (`storageKey`), not in the DB. */ export type FileUploadChunkModel = runtime.Types.Result.DefaultSelection export type AggregateFileUploadChunk = { _count: FileUploadChunkCountAggregateOutputType | null _avg: FileUploadChunkAvgAggregateOutputType | null _sum: FileUploadChunkSumAggregateOutputType | null _min: FileUploadChunkMinAggregateOutputType | null _max: FileUploadChunkMaxAggregateOutputType | null } export type FileUploadChunkAvgAggregateOutputType = { chunkIndex: number | null sizeBytes: number | null } export type FileUploadChunkSumAggregateOutputType = { chunkIndex: number | null sizeBytes: number | null } export type FileUploadChunkMinAggregateOutputType = { id: string | null tenantId: string | null uploadId: string | null chunkIndex: number | null storageKey: string | null sizeBytes: number | null checksumSha256: string | null receivedAt: Date | null } export type FileUploadChunkMaxAggregateOutputType = { id: string | null tenantId: string | null uploadId: string | null chunkIndex: number | null storageKey: string | null sizeBytes: number | null checksumSha256: string | null receivedAt: Date | null } export type FileUploadChunkCountAggregateOutputType = { id: number tenantId: number uploadId: number chunkIndex: number storageKey: number sizeBytes: number checksumSha256: number receivedAt: number _all: number } export type FileUploadChunkAvgAggregateInputType = { chunkIndex?: true sizeBytes?: true } export type FileUploadChunkSumAggregateInputType = { chunkIndex?: true sizeBytes?: true } export type FileUploadChunkMinAggregateInputType = { id?: true tenantId?: true uploadId?: true chunkIndex?: true storageKey?: true sizeBytes?: true checksumSha256?: true receivedAt?: true } export type FileUploadChunkMaxAggregateInputType = { id?: true tenantId?: true uploadId?: true chunkIndex?: true storageKey?: true sizeBytes?: true checksumSha256?: true receivedAt?: true } export type FileUploadChunkCountAggregateInputType = { id?: true tenantId?: true uploadId?: true chunkIndex?: true storageKey?: true sizeBytes?: true checksumSha256?: true receivedAt?: true _all?: true } export type FileUploadChunkAggregateArgs = { /** * Filter which FileUploadChunk to aggregate. */ where?: Prisma.FileUploadChunkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileUploadChunks to fetch. */ orderBy?: Prisma.FileUploadChunkOrderByWithRelationInput | Prisma.FileUploadChunkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.FileUploadChunkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileUploadChunks 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` FileUploadChunks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned FileUploadChunks **/ _count?: true | FileUploadChunkCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: FileUploadChunkAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: FileUploadChunkSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: FileUploadChunkMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: FileUploadChunkMaxAggregateInputType } export type GetFileUploadChunkAggregateType = { [P in keyof T & keyof AggregateFileUploadChunk]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type FileUploadChunkGroupByArgs = { where?: Prisma.FileUploadChunkWhereInput orderBy?: Prisma.FileUploadChunkOrderByWithAggregationInput | Prisma.FileUploadChunkOrderByWithAggregationInput[] by: Prisma.FileUploadChunkScalarFieldEnum[] | Prisma.FileUploadChunkScalarFieldEnum having?: Prisma.FileUploadChunkScalarWhereWithAggregatesInput take?: number skip?: number _count?: FileUploadChunkCountAggregateInputType | true _avg?: FileUploadChunkAvgAggregateInputType _sum?: FileUploadChunkSumAggregateInputType _min?: FileUploadChunkMinAggregateInputType _max?: FileUploadChunkMaxAggregateInputType } export type FileUploadChunkGroupByOutputType = { id: string tenantId: string uploadId: string chunkIndex: number storageKey: string sizeBytes: number checksumSha256: string | null receivedAt: Date _count: FileUploadChunkCountAggregateOutputType | null _avg: FileUploadChunkAvgAggregateOutputType | null _sum: FileUploadChunkSumAggregateOutputType | null _min: FileUploadChunkMinAggregateOutputType | null _max: FileUploadChunkMaxAggregateOutputType | null } export type GetFileUploadChunkGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof FileUploadChunkGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type FileUploadChunkWhereInput = { AND?: Prisma.FileUploadChunkWhereInput | Prisma.FileUploadChunkWhereInput[] OR?: Prisma.FileUploadChunkWhereInput[] NOT?: Prisma.FileUploadChunkWhereInput | Prisma.FileUploadChunkWhereInput[] id?: Prisma.StringFilter<"FileUploadChunk"> | string tenantId?: Prisma.StringFilter<"FileUploadChunk"> | string uploadId?: Prisma.StringFilter<"FileUploadChunk"> | string chunkIndex?: Prisma.IntFilter<"FileUploadChunk"> | number storageKey?: Prisma.StringFilter<"FileUploadChunk"> | string sizeBytes?: Prisma.IntFilter<"FileUploadChunk"> | number checksumSha256?: Prisma.StringNullableFilter<"FileUploadChunk"> | string | null receivedAt?: Prisma.DateTimeFilter<"FileUploadChunk"> | Date | string upload?: Prisma.XOR } export type FileUploadChunkOrderByWithRelationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder uploadId?: Prisma.SortOrder chunkIndex?: Prisma.SortOrder storageKey?: Prisma.SortOrder sizeBytes?: Prisma.SortOrder checksumSha256?: Prisma.SortOrderInput | Prisma.SortOrder receivedAt?: Prisma.SortOrder upload?: Prisma.FileUploadOrderByWithRelationInput } export type FileUploadChunkWhereUniqueInput = Prisma.AtLeast<{ id?: string uploadId_chunkIndex?: Prisma.FileUploadChunkUploadIdChunkIndexCompoundUniqueInput AND?: Prisma.FileUploadChunkWhereInput | Prisma.FileUploadChunkWhereInput[] OR?: Prisma.FileUploadChunkWhereInput[] NOT?: Prisma.FileUploadChunkWhereInput | Prisma.FileUploadChunkWhereInput[] tenantId?: Prisma.StringFilter<"FileUploadChunk"> | string uploadId?: Prisma.StringFilter<"FileUploadChunk"> | string chunkIndex?: Prisma.IntFilter<"FileUploadChunk"> | number storageKey?: Prisma.StringFilter<"FileUploadChunk"> | string sizeBytes?: Prisma.IntFilter<"FileUploadChunk"> | number checksumSha256?: Prisma.StringNullableFilter<"FileUploadChunk"> | string | null receivedAt?: Prisma.DateTimeFilter<"FileUploadChunk"> | Date | string upload?: Prisma.XOR }, "id" | "uploadId_chunkIndex"> export type FileUploadChunkOrderByWithAggregationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder uploadId?: Prisma.SortOrder chunkIndex?: Prisma.SortOrder storageKey?: Prisma.SortOrder sizeBytes?: Prisma.SortOrder checksumSha256?: Prisma.SortOrderInput | Prisma.SortOrder receivedAt?: Prisma.SortOrder _count?: Prisma.FileUploadChunkCountOrderByAggregateInput _avg?: Prisma.FileUploadChunkAvgOrderByAggregateInput _max?: Prisma.FileUploadChunkMaxOrderByAggregateInput _min?: Prisma.FileUploadChunkMinOrderByAggregateInput _sum?: Prisma.FileUploadChunkSumOrderByAggregateInput } export type FileUploadChunkScalarWhereWithAggregatesInput = { AND?: Prisma.FileUploadChunkScalarWhereWithAggregatesInput | Prisma.FileUploadChunkScalarWhereWithAggregatesInput[] OR?: Prisma.FileUploadChunkScalarWhereWithAggregatesInput[] NOT?: Prisma.FileUploadChunkScalarWhereWithAggregatesInput | Prisma.FileUploadChunkScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"FileUploadChunk"> | string tenantId?: Prisma.StringWithAggregatesFilter<"FileUploadChunk"> | string uploadId?: Prisma.StringWithAggregatesFilter<"FileUploadChunk"> | string chunkIndex?: Prisma.IntWithAggregatesFilter<"FileUploadChunk"> | number storageKey?: Prisma.StringWithAggregatesFilter<"FileUploadChunk"> | string sizeBytes?: Prisma.IntWithAggregatesFilter<"FileUploadChunk"> | number checksumSha256?: Prisma.StringNullableWithAggregatesFilter<"FileUploadChunk"> | string | null receivedAt?: Prisma.DateTimeWithAggregatesFilter<"FileUploadChunk"> | Date | string } export type FileUploadChunkCreateInput = { id?: string tenantId: string chunkIndex: number storageKey: string sizeBytes: number checksumSha256?: string | null receivedAt?: Date | string upload: Prisma.FileUploadCreateNestedOneWithoutChunksInput } export type FileUploadChunkUncheckedCreateInput = { id?: string tenantId: string uploadId: string chunkIndex: number storageKey: string sizeBytes: number checksumSha256?: string | null receivedAt?: Date | string } export type FileUploadChunkUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string chunkIndex?: Prisma.IntFieldUpdateOperationsInput | number storageKey?: Prisma.StringFieldUpdateOperationsInput | string sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number checksumSha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string upload?: Prisma.FileUploadUpdateOneRequiredWithoutChunksNestedInput } export type FileUploadChunkUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string uploadId?: Prisma.StringFieldUpdateOperationsInput | string chunkIndex?: Prisma.IntFieldUpdateOperationsInput | number storageKey?: Prisma.StringFieldUpdateOperationsInput | string sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number checksumSha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type FileUploadChunkCreateManyInput = { id?: string tenantId: string uploadId: string chunkIndex: number storageKey: string sizeBytes: number checksumSha256?: string | null receivedAt?: Date | string } export type FileUploadChunkUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string chunkIndex?: Prisma.IntFieldUpdateOperationsInput | number storageKey?: Prisma.StringFieldUpdateOperationsInput | string sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number checksumSha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type FileUploadChunkUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string uploadId?: Prisma.StringFieldUpdateOperationsInput | string chunkIndex?: Prisma.IntFieldUpdateOperationsInput | number storageKey?: Prisma.StringFieldUpdateOperationsInput | string sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number checksumSha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type FileUploadChunkListRelationFilter = { every?: Prisma.FileUploadChunkWhereInput some?: Prisma.FileUploadChunkWhereInput none?: Prisma.FileUploadChunkWhereInput } export type FileUploadChunkOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type FileUploadChunkUploadIdChunkIndexCompoundUniqueInput = { uploadId: string chunkIndex: number } export type FileUploadChunkCountOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder uploadId?: Prisma.SortOrder chunkIndex?: Prisma.SortOrder storageKey?: Prisma.SortOrder sizeBytes?: Prisma.SortOrder checksumSha256?: Prisma.SortOrder receivedAt?: Prisma.SortOrder } export type FileUploadChunkAvgOrderByAggregateInput = { chunkIndex?: Prisma.SortOrder sizeBytes?: Prisma.SortOrder } export type FileUploadChunkMaxOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder uploadId?: Prisma.SortOrder chunkIndex?: Prisma.SortOrder storageKey?: Prisma.SortOrder sizeBytes?: Prisma.SortOrder checksumSha256?: Prisma.SortOrder receivedAt?: Prisma.SortOrder } export type FileUploadChunkMinOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder uploadId?: Prisma.SortOrder chunkIndex?: Prisma.SortOrder storageKey?: Prisma.SortOrder sizeBytes?: Prisma.SortOrder checksumSha256?: Prisma.SortOrder receivedAt?: Prisma.SortOrder } export type FileUploadChunkSumOrderByAggregateInput = { chunkIndex?: Prisma.SortOrder sizeBytes?: Prisma.SortOrder } export type FileUploadChunkCreateNestedManyWithoutUploadInput = { create?: Prisma.XOR | Prisma.FileUploadChunkCreateWithoutUploadInput[] | Prisma.FileUploadChunkUncheckedCreateWithoutUploadInput[] connectOrCreate?: Prisma.FileUploadChunkCreateOrConnectWithoutUploadInput | Prisma.FileUploadChunkCreateOrConnectWithoutUploadInput[] createMany?: Prisma.FileUploadChunkCreateManyUploadInputEnvelope connect?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] } export type FileUploadChunkUncheckedCreateNestedManyWithoutUploadInput = { create?: Prisma.XOR | Prisma.FileUploadChunkCreateWithoutUploadInput[] | Prisma.FileUploadChunkUncheckedCreateWithoutUploadInput[] connectOrCreate?: Prisma.FileUploadChunkCreateOrConnectWithoutUploadInput | Prisma.FileUploadChunkCreateOrConnectWithoutUploadInput[] createMany?: Prisma.FileUploadChunkCreateManyUploadInputEnvelope connect?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] } export type FileUploadChunkUpdateManyWithoutUploadNestedInput = { create?: Prisma.XOR | Prisma.FileUploadChunkCreateWithoutUploadInput[] | Prisma.FileUploadChunkUncheckedCreateWithoutUploadInput[] connectOrCreate?: Prisma.FileUploadChunkCreateOrConnectWithoutUploadInput | Prisma.FileUploadChunkCreateOrConnectWithoutUploadInput[] upsert?: Prisma.FileUploadChunkUpsertWithWhereUniqueWithoutUploadInput | Prisma.FileUploadChunkUpsertWithWhereUniqueWithoutUploadInput[] createMany?: Prisma.FileUploadChunkCreateManyUploadInputEnvelope set?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] disconnect?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] delete?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] connect?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] update?: Prisma.FileUploadChunkUpdateWithWhereUniqueWithoutUploadInput | Prisma.FileUploadChunkUpdateWithWhereUniqueWithoutUploadInput[] updateMany?: Prisma.FileUploadChunkUpdateManyWithWhereWithoutUploadInput | Prisma.FileUploadChunkUpdateManyWithWhereWithoutUploadInput[] deleteMany?: Prisma.FileUploadChunkScalarWhereInput | Prisma.FileUploadChunkScalarWhereInput[] } export type FileUploadChunkUncheckedUpdateManyWithoutUploadNestedInput = { create?: Prisma.XOR | Prisma.FileUploadChunkCreateWithoutUploadInput[] | Prisma.FileUploadChunkUncheckedCreateWithoutUploadInput[] connectOrCreate?: Prisma.FileUploadChunkCreateOrConnectWithoutUploadInput | Prisma.FileUploadChunkCreateOrConnectWithoutUploadInput[] upsert?: Prisma.FileUploadChunkUpsertWithWhereUniqueWithoutUploadInput | Prisma.FileUploadChunkUpsertWithWhereUniqueWithoutUploadInput[] createMany?: Prisma.FileUploadChunkCreateManyUploadInputEnvelope set?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] disconnect?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] delete?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] connect?: Prisma.FileUploadChunkWhereUniqueInput | Prisma.FileUploadChunkWhereUniqueInput[] update?: Prisma.FileUploadChunkUpdateWithWhereUniqueWithoutUploadInput | Prisma.FileUploadChunkUpdateWithWhereUniqueWithoutUploadInput[] updateMany?: Prisma.FileUploadChunkUpdateManyWithWhereWithoutUploadInput | Prisma.FileUploadChunkUpdateManyWithWhereWithoutUploadInput[] deleteMany?: Prisma.FileUploadChunkScalarWhereInput | Prisma.FileUploadChunkScalarWhereInput[] } export type FileUploadChunkCreateWithoutUploadInput = { id?: string tenantId: string chunkIndex: number storageKey: string sizeBytes: number checksumSha256?: string | null receivedAt?: Date | string } export type FileUploadChunkUncheckedCreateWithoutUploadInput = { id?: string tenantId: string chunkIndex: number storageKey: string sizeBytes: number checksumSha256?: string | null receivedAt?: Date | string } export type FileUploadChunkCreateOrConnectWithoutUploadInput = { where: Prisma.FileUploadChunkWhereUniqueInput create: Prisma.XOR } export type FileUploadChunkCreateManyUploadInputEnvelope = { data: Prisma.FileUploadChunkCreateManyUploadInput | Prisma.FileUploadChunkCreateManyUploadInput[] skipDuplicates?: boolean } export type FileUploadChunkUpsertWithWhereUniqueWithoutUploadInput = { where: Prisma.FileUploadChunkWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type FileUploadChunkUpdateWithWhereUniqueWithoutUploadInput = { where: Prisma.FileUploadChunkWhereUniqueInput data: Prisma.XOR } export type FileUploadChunkUpdateManyWithWhereWithoutUploadInput = { where: Prisma.FileUploadChunkScalarWhereInput data: Prisma.XOR } export type FileUploadChunkScalarWhereInput = { AND?: Prisma.FileUploadChunkScalarWhereInput | Prisma.FileUploadChunkScalarWhereInput[] OR?: Prisma.FileUploadChunkScalarWhereInput[] NOT?: Prisma.FileUploadChunkScalarWhereInput | Prisma.FileUploadChunkScalarWhereInput[] id?: Prisma.StringFilter<"FileUploadChunk"> | string tenantId?: Prisma.StringFilter<"FileUploadChunk"> | string uploadId?: Prisma.StringFilter<"FileUploadChunk"> | string chunkIndex?: Prisma.IntFilter<"FileUploadChunk"> | number storageKey?: Prisma.StringFilter<"FileUploadChunk"> | string sizeBytes?: Prisma.IntFilter<"FileUploadChunk"> | number checksumSha256?: Prisma.StringNullableFilter<"FileUploadChunk"> | string | null receivedAt?: Prisma.DateTimeFilter<"FileUploadChunk"> | Date | string } export type FileUploadChunkCreateManyUploadInput = { id?: string tenantId: string chunkIndex: number storageKey: string sizeBytes: number checksumSha256?: string | null receivedAt?: Date | string } export type FileUploadChunkUpdateWithoutUploadInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string chunkIndex?: Prisma.IntFieldUpdateOperationsInput | number storageKey?: Prisma.StringFieldUpdateOperationsInput | string sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number checksumSha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type FileUploadChunkUncheckedUpdateWithoutUploadInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string chunkIndex?: Prisma.IntFieldUpdateOperationsInput | number storageKey?: Prisma.StringFieldUpdateOperationsInput | string sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number checksumSha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type FileUploadChunkUncheckedUpdateManyWithoutUploadInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string chunkIndex?: Prisma.IntFieldUpdateOperationsInput | number storageKey?: Prisma.StringFieldUpdateOperationsInput | string sizeBytes?: Prisma.IntFieldUpdateOperationsInput | number checksumSha256?: Prisma.NullableStringFieldUpdateOperationsInput | string | null receivedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type FileUploadChunkSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean uploadId?: boolean chunkIndex?: boolean storageKey?: boolean sizeBytes?: boolean checksumSha256?: boolean receivedAt?: boolean upload?: boolean | Prisma.FileUploadDefaultArgs }, ExtArgs["result"]["fileUploadChunk"]> export type FileUploadChunkSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean uploadId?: boolean chunkIndex?: boolean storageKey?: boolean sizeBytes?: boolean checksumSha256?: boolean receivedAt?: boolean upload?: boolean | Prisma.FileUploadDefaultArgs }, ExtArgs["result"]["fileUploadChunk"]> export type FileUploadChunkSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean uploadId?: boolean chunkIndex?: boolean storageKey?: boolean sizeBytes?: boolean checksumSha256?: boolean receivedAt?: boolean upload?: boolean | Prisma.FileUploadDefaultArgs }, ExtArgs["result"]["fileUploadChunk"]> export type FileUploadChunkSelectScalar = { id?: boolean tenantId?: boolean uploadId?: boolean chunkIndex?: boolean storageKey?: boolean sizeBytes?: boolean checksumSha256?: boolean receivedAt?: boolean } export type FileUploadChunkOmit = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "uploadId" | "chunkIndex" | "storageKey" | "sizeBytes" | "checksumSha256" | "receivedAt", ExtArgs["result"]["fileUploadChunk"]> export type FileUploadChunkInclude = { upload?: boolean | Prisma.FileUploadDefaultArgs } export type FileUploadChunkIncludeCreateManyAndReturn = { upload?: boolean | Prisma.FileUploadDefaultArgs } export type FileUploadChunkIncludeUpdateManyAndReturn = { upload?: boolean | Prisma.FileUploadDefaultArgs } export type $FileUploadChunkPayload = { name: "FileUploadChunk" objects: { upload: Prisma.$FileUploadPayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string tenantId: string uploadId: string chunkIndex: number storageKey: string sizeBytes: number checksumSha256: string | null receivedAt: Date }, ExtArgs["result"]["fileUploadChunk"]> composites: {} } export type FileUploadChunkGetPayload = runtime.Types.Result.GetResult export type FileUploadChunkCountArgs = Omit & { select?: FileUploadChunkCountAggregateInputType | true } export interface FileUploadChunkDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['FileUploadChunk'], meta: { name: 'FileUploadChunk' } } /** * Find zero or one FileUploadChunk that matches the filter. * @param {FileUploadChunkFindUniqueArgs} args - Arguments to find a FileUploadChunk * @example * // Get one FileUploadChunk * const fileUploadChunk = await prisma.fileUploadChunk.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadChunkClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one FileUploadChunk that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {FileUploadChunkFindUniqueOrThrowArgs} args - Arguments to find a FileUploadChunk * @example * // Get one FileUploadChunk * const fileUploadChunk = await prisma.fileUploadChunk.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadChunkClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first FileUploadChunk 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 {FileUploadChunkFindFirstArgs} args - Arguments to find a FileUploadChunk * @example * // Get one FileUploadChunk * const fileUploadChunk = await prisma.fileUploadChunk.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__FileUploadChunkClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first FileUploadChunk 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 {FileUploadChunkFindFirstOrThrowArgs} args - Arguments to find a FileUploadChunk * @example * // Get one FileUploadChunk * const fileUploadChunk = await prisma.fileUploadChunk.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__FileUploadChunkClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more FileUploadChunks 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 {FileUploadChunkFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all FileUploadChunks * const fileUploadChunks = await prisma.fileUploadChunk.findMany() * * // Get first 10 FileUploadChunks * const fileUploadChunks = await prisma.fileUploadChunk.findMany({ take: 10 }) * * // Only select the `id` * const fileUploadChunkWithIdOnly = await prisma.fileUploadChunk.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a FileUploadChunk. * @param {FileUploadChunkCreateArgs} args - Arguments to create a FileUploadChunk. * @example * // Create one FileUploadChunk * const FileUploadChunk = await prisma.fileUploadChunk.create({ * data: { * // ... data to create a FileUploadChunk * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadChunkClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many FileUploadChunks. * @param {FileUploadChunkCreateManyArgs} args - Arguments to create many FileUploadChunks. * @example * // Create many FileUploadChunks * const fileUploadChunk = await prisma.fileUploadChunk.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many FileUploadChunks and returns the data saved in the database. * @param {FileUploadChunkCreateManyAndReturnArgs} args - Arguments to create many FileUploadChunks. * @example * // Create many FileUploadChunks * const fileUploadChunk = await prisma.fileUploadChunk.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many FileUploadChunks and only return the `id` * const fileUploadChunkWithIdOnly = await prisma.fileUploadChunk.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 FileUploadChunk. * @param {FileUploadChunkDeleteArgs} args - Arguments to delete one FileUploadChunk. * @example * // Delete one FileUploadChunk * const FileUploadChunk = await prisma.fileUploadChunk.delete({ * where: { * // ... filter to delete one FileUploadChunk * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadChunkClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one FileUploadChunk. * @param {FileUploadChunkUpdateArgs} args - Arguments to update one FileUploadChunk. * @example * // Update one FileUploadChunk * const fileUploadChunk = await prisma.fileUploadChunk.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadChunkClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more FileUploadChunks. * @param {FileUploadChunkDeleteManyArgs} args - Arguments to filter FileUploadChunks to delete. * @example * // Delete a few FileUploadChunks * const { count } = await prisma.fileUploadChunk.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more FileUploadChunks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadChunkUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many FileUploadChunks * const fileUploadChunk = await prisma.fileUploadChunk.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more FileUploadChunks and returns the data updated in the database. * @param {FileUploadChunkUpdateManyAndReturnArgs} args - Arguments to update many FileUploadChunks. * @example * // Update many FileUploadChunks * const fileUploadChunk = await prisma.fileUploadChunk.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more FileUploadChunks and only return the `id` * const fileUploadChunkWithIdOnly = await prisma.fileUploadChunk.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 FileUploadChunk. * @param {FileUploadChunkUpsertArgs} args - Arguments to update or create a FileUploadChunk. * @example * // Update or create a FileUploadChunk * const fileUploadChunk = await prisma.fileUploadChunk.upsert({ * create: { * // ... data to create a FileUploadChunk * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the FileUploadChunk we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__FileUploadChunkClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of FileUploadChunks. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadChunkCountArgs} args - Arguments to filter FileUploadChunks to count. * @example * // Count the number of FileUploadChunks * const count = await prisma.fileUploadChunk.count({ * where: { * // ... the filter for the FileUploadChunks 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 FileUploadChunk. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadChunkAggregateArgs} 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 FileUploadChunk. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {FileUploadChunkGroupByArgs} 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 FileUploadChunkGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: FileUploadChunkGroupByArgs['orderBy'] } : { orderBy?: FileUploadChunkGroupByArgs['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 ? GetFileUploadChunkGroupByPayload : Prisma.PrismaPromise /** * Fields of the FileUploadChunk model */ readonly fields: FileUploadChunkFieldRefs; } /** * The delegate class that acts as a "Promise-like" for FileUploadChunk. * 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__FileUploadChunkClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" upload = {}>(args?: Prisma.Subset>): Prisma.Prisma__FileUploadClient, 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 FileUploadChunk model */ export interface FileUploadChunkFieldRefs { readonly id: Prisma.FieldRef<"FileUploadChunk", 'String'> readonly tenantId: Prisma.FieldRef<"FileUploadChunk", 'String'> readonly uploadId: Prisma.FieldRef<"FileUploadChunk", 'String'> readonly chunkIndex: Prisma.FieldRef<"FileUploadChunk", 'Int'> readonly storageKey: Prisma.FieldRef<"FileUploadChunk", 'String'> readonly sizeBytes: Prisma.FieldRef<"FileUploadChunk", 'Int'> readonly checksumSha256: Prisma.FieldRef<"FileUploadChunk", 'String'> readonly receivedAt: Prisma.FieldRef<"FileUploadChunk", 'DateTime'> } // Custom InputTypes /** * FileUploadChunk findUnique */ export type FileUploadChunkFindUniqueArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null /** * Filter, which FileUploadChunk to fetch. */ where: Prisma.FileUploadChunkWhereUniqueInput } /** * FileUploadChunk findUniqueOrThrow */ export type FileUploadChunkFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null /** * Filter, which FileUploadChunk to fetch. */ where: Prisma.FileUploadChunkWhereUniqueInput } /** * FileUploadChunk findFirst */ export type FileUploadChunkFindFirstArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null /** * Filter, which FileUploadChunk to fetch. */ where?: Prisma.FileUploadChunkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileUploadChunks to fetch. */ orderBy?: Prisma.FileUploadChunkOrderByWithRelationInput | Prisma.FileUploadChunkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for FileUploadChunks. */ cursor?: Prisma.FileUploadChunkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileUploadChunks 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` FileUploadChunks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FileUploadChunks. */ distinct?: Prisma.FileUploadChunkScalarFieldEnum | Prisma.FileUploadChunkScalarFieldEnum[] } /** * FileUploadChunk findFirstOrThrow */ export type FileUploadChunkFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null /** * Filter, which FileUploadChunk to fetch. */ where?: Prisma.FileUploadChunkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileUploadChunks to fetch. */ orderBy?: Prisma.FileUploadChunkOrderByWithRelationInput | Prisma.FileUploadChunkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for FileUploadChunks. */ cursor?: Prisma.FileUploadChunkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileUploadChunks 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` FileUploadChunks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FileUploadChunks. */ distinct?: Prisma.FileUploadChunkScalarFieldEnum | Prisma.FileUploadChunkScalarFieldEnum[] } /** * FileUploadChunk findMany */ export type FileUploadChunkFindManyArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null /** * Filter, which FileUploadChunks to fetch. */ where?: Prisma.FileUploadChunkWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of FileUploadChunks to fetch. */ orderBy?: Prisma.FileUploadChunkOrderByWithRelationInput | Prisma.FileUploadChunkOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing FileUploadChunks. */ cursor?: Prisma.FileUploadChunkWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` FileUploadChunks 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` FileUploadChunks. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of FileUploadChunks. */ distinct?: Prisma.FileUploadChunkScalarFieldEnum | Prisma.FileUploadChunkScalarFieldEnum[] } /** * FileUploadChunk create */ export type FileUploadChunkCreateArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null /** * The data needed to create a FileUploadChunk. */ data: Prisma.XOR } /** * FileUploadChunk createMany */ export type FileUploadChunkCreateManyArgs = { /** * The data used to create many FileUploadChunks. */ data: Prisma.FileUploadChunkCreateManyInput | Prisma.FileUploadChunkCreateManyInput[] skipDuplicates?: boolean } /** * FileUploadChunk createManyAndReturn */ export type FileUploadChunkCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelectCreateManyAndReturn | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * The data used to create many FileUploadChunks. */ data: Prisma.FileUploadChunkCreateManyInput | Prisma.FileUploadChunkCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkIncludeCreateManyAndReturn | null } /** * FileUploadChunk update */ export type FileUploadChunkUpdateArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null /** * The data needed to update a FileUploadChunk. */ data: Prisma.XOR /** * Choose, which FileUploadChunk to update. */ where: Prisma.FileUploadChunkWhereUniqueInput } /** * FileUploadChunk updateMany */ export type FileUploadChunkUpdateManyArgs = { /** * The data used to update FileUploadChunks. */ data: Prisma.XOR /** * Filter which FileUploadChunks to update */ where?: Prisma.FileUploadChunkWhereInput /** * Limit how many FileUploadChunks to update. */ limit?: number } /** * FileUploadChunk updateManyAndReturn */ export type FileUploadChunkUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelectUpdateManyAndReturn | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * The data used to update FileUploadChunks. */ data: Prisma.XOR /** * Filter which FileUploadChunks to update */ where?: Prisma.FileUploadChunkWhereInput /** * Limit how many FileUploadChunks to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkIncludeUpdateManyAndReturn | null } /** * FileUploadChunk upsert */ export type FileUploadChunkUpsertArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null /** * The filter to search for the FileUploadChunk to update in case it exists. */ where: Prisma.FileUploadChunkWhereUniqueInput /** * In case the FileUploadChunk found by the `where` argument doesn't exist, create a new FileUploadChunk with this data. */ create: Prisma.XOR /** * In case the FileUploadChunk was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * FileUploadChunk delete */ export type FileUploadChunkDeleteArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null /** * Filter which FileUploadChunk to delete. */ where: Prisma.FileUploadChunkWhereUniqueInput } /** * FileUploadChunk deleteMany */ export type FileUploadChunkDeleteManyArgs = { /** * Filter which FileUploadChunks to delete */ where?: Prisma.FileUploadChunkWhereInput /** * Limit how many FileUploadChunks to delete. */ limit?: number } /** * FileUploadChunk without action */ export type FileUploadChunkDefaultArgs = { /** * Select specific fields to fetch from the FileUploadChunk */ select?: Prisma.FileUploadChunkSelect | null /** * Omit specific fields from the FileUploadChunk */ omit?: Prisma.FileUploadChunkOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.FileUploadChunkInclude | null }