/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ImportJob` 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 ImportJob * */ export type ImportJobModel = runtime.Types.Result.DefaultSelection export type AggregateImportJob = { _count: ImportJobCountAggregateOutputType | null _avg: ImportJobAvgAggregateOutputType | null _sum: ImportJobSumAggregateOutputType | null _min: ImportJobMinAggregateOutputType | null _max: ImportJobMaxAggregateOutputType | null } export type ImportJobAvgAggregateOutputType = { attemptsMade: number | null rowCount: number | null acceptedRows: number | null rejectedRows: number | null } export type ImportJobSumAggregateOutputType = { attemptsMade: number | null rowCount: number | null acceptedRows: number | null rejectedRows: number | null } export type ImportJobMinAggregateOutputType = { id: string | null tenantId: string | null requestedByUserId: string | null importType: string | null format: string | null status: $Enums.ImportJobStatus | null requestId: string | null attemptsMade: number | null sourceBucket: string | null sourceKey: string | null fileName: string | null contentType: string | null rowCount: number | null acceptedRows: number | null rejectedRows: number | null errorName: string | null errorMessage: string | null errorReportBucket: string | null errorReportKey: string | null startedAt: Date | null finishedAt: Date | null createdAt: Date | null updatedAt: Date | null } export type ImportJobMaxAggregateOutputType = { id: string | null tenantId: string | null requestedByUserId: string | null importType: string | null format: string | null status: $Enums.ImportJobStatus | null requestId: string | null attemptsMade: number | null sourceBucket: string | null sourceKey: string | null fileName: string | null contentType: string | null rowCount: number | null acceptedRows: number | null rejectedRows: number | null errorName: string | null errorMessage: string | null errorReportBucket: string | null errorReportKey: string | null startedAt: Date | null finishedAt: Date | null createdAt: Date | null updatedAt: Date | null } export type ImportJobCountAggregateOutputType = { id: number tenantId: number requestedByUserId: number importType: number format: number status: number requestId: number attemptsMade: number sourceBucket: number sourceKey: number fileName: number contentType: number rowCount: number acceptedRows: number rejectedRows: number errorName: number errorMessage: number errorReportBucket: number errorReportKey: number startedAt: number finishedAt: number createdAt: number updatedAt: number _all: number } export type ImportJobAvgAggregateInputType = { attemptsMade?: true rowCount?: true acceptedRows?: true rejectedRows?: true } export type ImportJobSumAggregateInputType = { attemptsMade?: true rowCount?: true acceptedRows?: true rejectedRows?: true } export type ImportJobMinAggregateInputType = { id?: true tenantId?: true requestedByUserId?: true importType?: true format?: true status?: true requestId?: true attemptsMade?: true sourceBucket?: true sourceKey?: true fileName?: true contentType?: true rowCount?: true acceptedRows?: true rejectedRows?: true errorName?: true errorMessage?: true errorReportBucket?: true errorReportKey?: true startedAt?: true finishedAt?: true createdAt?: true updatedAt?: true } export type ImportJobMaxAggregateInputType = { id?: true tenantId?: true requestedByUserId?: true importType?: true format?: true status?: true requestId?: true attemptsMade?: true sourceBucket?: true sourceKey?: true fileName?: true contentType?: true rowCount?: true acceptedRows?: true rejectedRows?: true errorName?: true errorMessage?: true errorReportBucket?: true errorReportKey?: true startedAt?: true finishedAt?: true createdAt?: true updatedAt?: true } export type ImportJobCountAggregateInputType = { id?: true tenantId?: true requestedByUserId?: true importType?: true format?: true status?: true requestId?: true attemptsMade?: true sourceBucket?: true sourceKey?: true fileName?: true contentType?: true rowCount?: true acceptedRows?: true rejectedRows?: true errorName?: true errorMessage?: true errorReportBucket?: true errorReportKey?: true startedAt?: true finishedAt?: true createdAt?: true updatedAt?: true _all?: true } export type ImportJobAggregateArgs = { /** * Filter which ImportJob to aggregate. */ where?: Prisma.ImportJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ImportJobs to fetch. */ orderBy?: Prisma.ImportJobOrderByWithRelationInput | Prisma.ImportJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ImportJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ImportJobs 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` ImportJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ImportJobs **/ _count?: true | ImportJobCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ImportJobAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ImportJobSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ImportJobMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ImportJobMaxAggregateInputType } export type GetImportJobAggregateType = { [P in keyof T & keyof AggregateImportJob]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ImportJobGroupByArgs = { where?: Prisma.ImportJobWhereInput orderBy?: Prisma.ImportJobOrderByWithAggregationInput | Prisma.ImportJobOrderByWithAggregationInput[] by: Prisma.ImportJobScalarFieldEnum[] | Prisma.ImportJobScalarFieldEnum having?: Prisma.ImportJobScalarWhereWithAggregatesInput take?: number skip?: number _count?: ImportJobCountAggregateInputType | true _avg?: ImportJobAvgAggregateInputType _sum?: ImportJobSumAggregateInputType _min?: ImportJobMinAggregateInputType _max?: ImportJobMaxAggregateInputType } export type ImportJobGroupByOutputType = { id: string tenantId: string requestedByUserId: string | null importType: string format: string status: $Enums.ImportJobStatus requestId: string attemptsMade: number sourceBucket: string sourceKey: string fileName: string | null contentType: string | null rowCount: number | null acceptedRows: number rejectedRows: number errorName: string | null errorMessage: string | null errorReportBucket: string | null errorReportKey: string | null startedAt: Date | null finishedAt: Date | null createdAt: Date updatedAt: Date _count: ImportJobCountAggregateOutputType | null _avg: ImportJobAvgAggregateOutputType | null _sum: ImportJobSumAggregateOutputType | null _min: ImportJobMinAggregateOutputType | null _max: ImportJobMaxAggregateOutputType | null } export type GetImportJobGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ImportJobGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ImportJobWhereInput = { AND?: Prisma.ImportJobWhereInput | Prisma.ImportJobWhereInput[] OR?: Prisma.ImportJobWhereInput[] NOT?: Prisma.ImportJobWhereInput | Prisma.ImportJobWhereInput[] id?: Prisma.StringFilter<"ImportJob"> | string tenantId?: Prisma.StringFilter<"ImportJob"> | string requestedByUserId?: Prisma.StringNullableFilter<"ImportJob"> | string | null importType?: Prisma.StringFilter<"ImportJob"> | string format?: Prisma.StringFilter<"ImportJob"> | string status?: Prisma.EnumImportJobStatusFilter<"ImportJob"> | $Enums.ImportJobStatus requestId?: Prisma.StringFilter<"ImportJob"> | string attemptsMade?: Prisma.IntFilter<"ImportJob"> | number sourceBucket?: Prisma.StringFilter<"ImportJob"> | string sourceKey?: Prisma.StringFilter<"ImportJob"> | string fileName?: Prisma.StringNullableFilter<"ImportJob"> | string | null contentType?: Prisma.StringNullableFilter<"ImportJob"> | string | null rowCount?: Prisma.IntNullableFilter<"ImportJob"> | number | null acceptedRows?: Prisma.IntFilter<"ImportJob"> | number rejectedRows?: Prisma.IntFilter<"ImportJob"> | number errorName?: Prisma.StringNullableFilter<"ImportJob"> | string | null errorMessage?: Prisma.StringNullableFilter<"ImportJob"> | string | null errorReportBucket?: Prisma.StringNullableFilter<"ImportJob"> | string | null errorReportKey?: Prisma.StringNullableFilter<"ImportJob"> | string | null startedAt?: Prisma.DateTimeNullableFilter<"ImportJob"> | Date | string | null finishedAt?: Prisma.DateTimeNullableFilter<"ImportJob"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"ImportJob"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ImportJob"> | Date | string } export type ImportJobOrderByWithRelationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder importType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder sourceBucket?: Prisma.SortOrder sourceKey?: Prisma.SortOrder fileName?: Prisma.SortOrderInput | Prisma.SortOrder contentType?: Prisma.SortOrderInput | Prisma.SortOrder rowCount?: Prisma.SortOrderInput | Prisma.SortOrder acceptedRows?: Prisma.SortOrder rejectedRows?: Prisma.SortOrder errorName?: Prisma.SortOrderInput | Prisma.SortOrder errorMessage?: Prisma.SortOrderInput | Prisma.SortOrder errorReportBucket?: Prisma.SortOrderInput | Prisma.SortOrder errorReportKey?: Prisma.SortOrderInput | Prisma.SortOrder startedAt?: Prisma.SortOrderInput | Prisma.SortOrder finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ImportJobWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.ImportJobWhereInput | Prisma.ImportJobWhereInput[] OR?: Prisma.ImportJobWhereInput[] NOT?: Prisma.ImportJobWhereInput | Prisma.ImportJobWhereInput[] tenantId?: Prisma.StringFilter<"ImportJob"> | string requestedByUserId?: Prisma.StringNullableFilter<"ImportJob"> | string | null importType?: Prisma.StringFilter<"ImportJob"> | string format?: Prisma.StringFilter<"ImportJob"> | string status?: Prisma.EnumImportJobStatusFilter<"ImportJob"> | $Enums.ImportJobStatus requestId?: Prisma.StringFilter<"ImportJob"> | string attemptsMade?: Prisma.IntFilter<"ImportJob"> | number sourceBucket?: Prisma.StringFilter<"ImportJob"> | string sourceKey?: Prisma.StringFilter<"ImportJob"> | string fileName?: Prisma.StringNullableFilter<"ImportJob"> | string | null contentType?: Prisma.StringNullableFilter<"ImportJob"> | string | null rowCount?: Prisma.IntNullableFilter<"ImportJob"> | number | null acceptedRows?: Prisma.IntFilter<"ImportJob"> | number rejectedRows?: Prisma.IntFilter<"ImportJob"> | number errorName?: Prisma.StringNullableFilter<"ImportJob"> | string | null errorMessage?: Prisma.StringNullableFilter<"ImportJob"> | string | null errorReportBucket?: Prisma.StringNullableFilter<"ImportJob"> | string | null errorReportKey?: Prisma.StringNullableFilter<"ImportJob"> | string | null startedAt?: Prisma.DateTimeNullableFilter<"ImportJob"> | Date | string | null finishedAt?: Prisma.DateTimeNullableFilter<"ImportJob"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"ImportJob"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ImportJob"> | Date | string }, "id"> export type ImportJobOrderByWithAggregationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder importType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder sourceBucket?: Prisma.SortOrder sourceKey?: Prisma.SortOrder fileName?: Prisma.SortOrderInput | Prisma.SortOrder contentType?: Prisma.SortOrderInput | Prisma.SortOrder rowCount?: Prisma.SortOrderInput | Prisma.SortOrder acceptedRows?: Prisma.SortOrder rejectedRows?: Prisma.SortOrder errorName?: Prisma.SortOrderInput | Prisma.SortOrder errorMessage?: Prisma.SortOrderInput | Prisma.SortOrder errorReportBucket?: Prisma.SortOrderInput | Prisma.SortOrder errorReportKey?: Prisma.SortOrderInput | Prisma.SortOrder startedAt?: Prisma.SortOrderInput | Prisma.SortOrder finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.ImportJobCountOrderByAggregateInput _avg?: Prisma.ImportJobAvgOrderByAggregateInput _max?: Prisma.ImportJobMaxOrderByAggregateInput _min?: Prisma.ImportJobMinOrderByAggregateInput _sum?: Prisma.ImportJobSumOrderByAggregateInput } export type ImportJobScalarWhereWithAggregatesInput = { AND?: Prisma.ImportJobScalarWhereWithAggregatesInput | Prisma.ImportJobScalarWhereWithAggregatesInput[] OR?: Prisma.ImportJobScalarWhereWithAggregatesInput[] NOT?: Prisma.ImportJobScalarWhereWithAggregatesInput | Prisma.ImportJobScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"ImportJob"> | string tenantId?: Prisma.StringWithAggregatesFilter<"ImportJob"> | string requestedByUserId?: Prisma.StringNullableWithAggregatesFilter<"ImportJob"> | string | null importType?: Prisma.StringWithAggregatesFilter<"ImportJob"> | string format?: Prisma.StringWithAggregatesFilter<"ImportJob"> | string status?: Prisma.EnumImportJobStatusWithAggregatesFilter<"ImportJob"> | $Enums.ImportJobStatus requestId?: Prisma.StringWithAggregatesFilter<"ImportJob"> | string attemptsMade?: Prisma.IntWithAggregatesFilter<"ImportJob"> | number sourceBucket?: Prisma.StringWithAggregatesFilter<"ImportJob"> | string sourceKey?: Prisma.StringWithAggregatesFilter<"ImportJob"> | string fileName?: Prisma.StringNullableWithAggregatesFilter<"ImportJob"> | string | null contentType?: Prisma.StringNullableWithAggregatesFilter<"ImportJob"> | string | null rowCount?: Prisma.IntNullableWithAggregatesFilter<"ImportJob"> | number | null acceptedRows?: Prisma.IntWithAggregatesFilter<"ImportJob"> | number rejectedRows?: Prisma.IntWithAggregatesFilter<"ImportJob"> | number errorName?: Prisma.StringNullableWithAggregatesFilter<"ImportJob"> | string | null errorMessage?: Prisma.StringNullableWithAggregatesFilter<"ImportJob"> | string | null errorReportBucket?: Prisma.StringNullableWithAggregatesFilter<"ImportJob"> | string | null errorReportKey?: Prisma.StringNullableWithAggregatesFilter<"ImportJob"> | string | null startedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ImportJob"> | Date | string | null finishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ImportJob"> | Date | string | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"ImportJob"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ImportJob"> | Date | string } export type ImportJobCreateInput = { id?: string tenantId: string requestedByUserId?: string | null importType: string format: string status?: $Enums.ImportJobStatus requestId: string attemptsMade?: number sourceBucket: string sourceKey: string fileName?: string | null contentType?: string | null rowCount?: number | null acceptedRows?: number rejectedRows?: number errorName?: string | null errorMessage?: string | null errorReportBucket?: string | null errorReportKey?: string | null startedAt?: Date | string | null finishedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ImportJobUncheckedCreateInput = { id?: string tenantId: string requestedByUserId?: string | null importType: string format: string status?: $Enums.ImportJobStatus requestId: string attemptsMade?: number sourceBucket: string sourceKey: string fileName?: string | null contentType?: string | null rowCount?: number | null acceptedRows?: number rejectedRows?: number errorName?: string | null errorMessage?: string | null errorReportBucket?: string | null errorReportKey?: string | null startedAt?: Date | string | null finishedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ImportJobUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string requestedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null importType?: Prisma.StringFieldUpdateOperationsInput | string format?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumImportJobStatusFieldUpdateOperationsInput | $Enums.ImportJobStatus requestId?: Prisma.StringFieldUpdateOperationsInput | string attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number sourceBucket?: Prisma.StringFieldUpdateOperationsInput | string sourceKey?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null contentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null acceptedRows?: Prisma.IntFieldUpdateOperationsInput | number rejectedRows?: Prisma.IntFieldUpdateOperationsInput | number errorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorReportBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorReportKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ImportJobUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string requestedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null importType?: Prisma.StringFieldUpdateOperationsInput | string format?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumImportJobStatusFieldUpdateOperationsInput | $Enums.ImportJobStatus requestId?: Prisma.StringFieldUpdateOperationsInput | string attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number sourceBucket?: Prisma.StringFieldUpdateOperationsInput | string sourceKey?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null contentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null acceptedRows?: Prisma.IntFieldUpdateOperationsInput | number rejectedRows?: Prisma.IntFieldUpdateOperationsInput | number errorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorReportBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorReportKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ImportJobCreateManyInput = { id?: string tenantId: string requestedByUserId?: string | null importType: string format: string status?: $Enums.ImportJobStatus requestId: string attemptsMade?: number sourceBucket: string sourceKey: string fileName?: string | null contentType?: string | null rowCount?: number | null acceptedRows?: number rejectedRows?: number errorName?: string | null errorMessage?: string | null errorReportBucket?: string | null errorReportKey?: string | null startedAt?: Date | string | null finishedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ImportJobUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string requestedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null importType?: Prisma.StringFieldUpdateOperationsInput | string format?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumImportJobStatusFieldUpdateOperationsInput | $Enums.ImportJobStatus requestId?: Prisma.StringFieldUpdateOperationsInput | string attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number sourceBucket?: Prisma.StringFieldUpdateOperationsInput | string sourceKey?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null contentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null acceptedRows?: Prisma.IntFieldUpdateOperationsInput | number rejectedRows?: Prisma.IntFieldUpdateOperationsInput | number errorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorReportBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorReportKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ImportJobUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string requestedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null importType?: Prisma.StringFieldUpdateOperationsInput | string format?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumImportJobStatusFieldUpdateOperationsInput | $Enums.ImportJobStatus requestId?: Prisma.StringFieldUpdateOperationsInput | string attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number sourceBucket?: Prisma.StringFieldUpdateOperationsInput | string sourceKey?: Prisma.StringFieldUpdateOperationsInput | string fileName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null contentType?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null acceptedRows?: Prisma.IntFieldUpdateOperationsInput | number rejectedRows?: Prisma.IntFieldUpdateOperationsInput | number errorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorReportBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorReportKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null startedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null finishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ImportJobCountOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrder importType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder sourceBucket?: Prisma.SortOrder sourceKey?: Prisma.SortOrder fileName?: Prisma.SortOrder contentType?: Prisma.SortOrder rowCount?: Prisma.SortOrder acceptedRows?: Prisma.SortOrder rejectedRows?: Prisma.SortOrder errorName?: Prisma.SortOrder errorMessage?: Prisma.SortOrder errorReportBucket?: Prisma.SortOrder errorReportKey?: Prisma.SortOrder startedAt?: Prisma.SortOrder finishedAt?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ImportJobAvgOrderByAggregateInput = { attemptsMade?: Prisma.SortOrder rowCount?: Prisma.SortOrder acceptedRows?: Prisma.SortOrder rejectedRows?: Prisma.SortOrder } export type ImportJobMaxOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrder importType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder sourceBucket?: Prisma.SortOrder sourceKey?: Prisma.SortOrder fileName?: Prisma.SortOrder contentType?: Prisma.SortOrder rowCount?: Prisma.SortOrder acceptedRows?: Prisma.SortOrder rejectedRows?: Prisma.SortOrder errorName?: Prisma.SortOrder errorMessage?: Prisma.SortOrder errorReportBucket?: Prisma.SortOrder errorReportKey?: Prisma.SortOrder startedAt?: Prisma.SortOrder finishedAt?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ImportJobMinOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrder importType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder sourceBucket?: Prisma.SortOrder sourceKey?: Prisma.SortOrder fileName?: Prisma.SortOrder contentType?: Prisma.SortOrder rowCount?: Prisma.SortOrder acceptedRows?: Prisma.SortOrder rejectedRows?: Prisma.SortOrder errorName?: Prisma.SortOrder errorMessage?: Prisma.SortOrder errorReportBucket?: Prisma.SortOrder errorReportKey?: Prisma.SortOrder startedAt?: Prisma.SortOrder finishedAt?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ImportJobSumOrderByAggregateInput = { attemptsMade?: Prisma.SortOrder rowCount?: Prisma.SortOrder acceptedRows?: Prisma.SortOrder rejectedRows?: Prisma.SortOrder } export type EnumImportJobStatusFieldUpdateOperationsInput = { set?: $Enums.ImportJobStatus } export type ImportJobSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean requestedByUserId?: boolean importType?: boolean format?: boolean status?: boolean requestId?: boolean attemptsMade?: boolean sourceBucket?: boolean sourceKey?: boolean fileName?: boolean contentType?: boolean rowCount?: boolean acceptedRows?: boolean rejectedRows?: boolean errorName?: boolean errorMessage?: boolean errorReportBucket?: boolean errorReportKey?: boolean startedAt?: boolean finishedAt?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["importJob"]> export type ImportJobSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean requestedByUserId?: boolean importType?: boolean format?: boolean status?: boolean requestId?: boolean attemptsMade?: boolean sourceBucket?: boolean sourceKey?: boolean fileName?: boolean contentType?: boolean rowCount?: boolean acceptedRows?: boolean rejectedRows?: boolean errorName?: boolean errorMessage?: boolean errorReportBucket?: boolean errorReportKey?: boolean startedAt?: boolean finishedAt?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["importJob"]> export type ImportJobSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean requestedByUserId?: boolean importType?: boolean format?: boolean status?: boolean requestId?: boolean attemptsMade?: boolean sourceBucket?: boolean sourceKey?: boolean fileName?: boolean contentType?: boolean rowCount?: boolean acceptedRows?: boolean rejectedRows?: boolean errorName?: boolean errorMessage?: boolean errorReportBucket?: boolean errorReportKey?: boolean startedAt?: boolean finishedAt?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["importJob"]> export type ImportJobSelectScalar = { id?: boolean tenantId?: boolean requestedByUserId?: boolean importType?: boolean format?: boolean status?: boolean requestId?: boolean attemptsMade?: boolean sourceBucket?: boolean sourceKey?: boolean fileName?: boolean contentType?: boolean rowCount?: boolean acceptedRows?: boolean rejectedRows?: boolean errorName?: boolean errorMessage?: boolean errorReportBucket?: boolean errorReportKey?: boolean startedAt?: boolean finishedAt?: boolean createdAt?: boolean updatedAt?: boolean } export type ImportJobOmit = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "requestedByUserId" | "importType" | "format" | "status" | "requestId" | "attemptsMade" | "sourceBucket" | "sourceKey" | "fileName" | "contentType" | "rowCount" | "acceptedRows" | "rejectedRows" | "errorName" | "errorMessage" | "errorReportBucket" | "errorReportKey" | "startedAt" | "finishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["importJob"]> export type $ImportJobPayload = { name: "ImportJob" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string tenantId: string requestedByUserId: string | null importType: string format: string status: $Enums.ImportJobStatus requestId: string attemptsMade: number sourceBucket: string sourceKey: string fileName: string | null contentType: string | null rowCount: number | null acceptedRows: number rejectedRows: number errorName: string | null errorMessage: string | null errorReportBucket: string | null errorReportKey: string | null startedAt: Date | null finishedAt: Date | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["importJob"]> composites: {} } export type ImportJobGetPayload = runtime.Types.Result.GetResult export type ImportJobCountArgs = Omit & { select?: ImportJobCountAggregateInputType | true } export interface ImportJobDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ImportJob'], meta: { name: 'ImportJob' } } /** * Find zero or one ImportJob that matches the filter. * @param {ImportJobFindUniqueArgs} args - Arguments to find a ImportJob * @example * // Get one ImportJob * const importJob = await prisma.importJob.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ImportJobClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ImportJob that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ImportJobFindUniqueOrThrowArgs} args - Arguments to find a ImportJob * @example * // Get one ImportJob * const importJob = await prisma.importJob.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ImportJobClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ImportJob 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 {ImportJobFindFirstArgs} args - Arguments to find a ImportJob * @example * // Get one ImportJob * const importJob = await prisma.importJob.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ImportJobClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ImportJob 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 {ImportJobFindFirstOrThrowArgs} args - Arguments to find a ImportJob * @example * // Get one ImportJob * const importJob = await prisma.importJob.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ImportJobClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ImportJobs 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 {ImportJobFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ImportJobs * const importJobs = await prisma.importJob.findMany() * * // Get first 10 ImportJobs * const importJobs = await prisma.importJob.findMany({ take: 10 }) * * // Only select the `id` * const importJobWithIdOnly = await prisma.importJob.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ImportJob. * @param {ImportJobCreateArgs} args - Arguments to create a ImportJob. * @example * // Create one ImportJob * const ImportJob = await prisma.importJob.create({ * data: { * // ... data to create a ImportJob * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ImportJobClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ImportJobs. * @param {ImportJobCreateManyArgs} args - Arguments to create many ImportJobs. * @example * // Create many ImportJobs * const importJob = await prisma.importJob.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many ImportJobs and returns the data saved in the database. * @param {ImportJobCreateManyAndReturnArgs} args - Arguments to create many ImportJobs. * @example * // Create many ImportJobs * const importJob = await prisma.importJob.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ImportJobs and only return the `id` * const importJobWithIdOnly = await prisma.importJob.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 ImportJob. * @param {ImportJobDeleteArgs} args - Arguments to delete one ImportJob. * @example * // Delete one ImportJob * const ImportJob = await prisma.importJob.delete({ * where: { * // ... filter to delete one ImportJob * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ImportJobClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ImportJob. * @param {ImportJobUpdateArgs} args - Arguments to update one ImportJob. * @example * // Update one ImportJob * const importJob = await prisma.importJob.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ImportJobClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ImportJobs. * @param {ImportJobDeleteManyArgs} args - Arguments to filter ImportJobs to delete. * @example * // Delete a few ImportJobs * const { count } = await prisma.importJob.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ImportJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ImportJobUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ImportJobs * const importJob = await prisma.importJob.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ImportJobs and returns the data updated in the database. * @param {ImportJobUpdateManyAndReturnArgs} args - Arguments to update many ImportJobs. * @example * // Update many ImportJobs * const importJob = await prisma.importJob.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ImportJobs and only return the `id` * const importJobWithIdOnly = await prisma.importJob.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 ImportJob. * @param {ImportJobUpsertArgs} args - Arguments to update or create a ImportJob. * @example * // Update or create a ImportJob * const importJob = await prisma.importJob.upsert({ * create: { * // ... data to create a ImportJob * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ImportJob we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ImportJobClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ImportJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ImportJobCountArgs} args - Arguments to filter ImportJobs to count. * @example * // Count the number of ImportJobs * const count = await prisma.importJob.count({ * where: { * // ... the filter for the ImportJobs 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 ImportJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ImportJobAggregateArgs} 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 ImportJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ImportJobGroupByArgs} 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 ImportJobGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ImportJobGroupByArgs['orderBy'] } : { orderBy?: ImportJobGroupByArgs['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 ? GetImportJobGroupByPayload : Prisma.PrismaPromise /** * Fields of the ImportJob model */ readonly fields: ImportJobFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ImportJob. * 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__ImportJobClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the ImportJob model */ export interface ImportJobFieldRefs { readonly id: Prisma.FieldRef<"ImportJob", 'String'> readonly tenantId: Prisma.FieldRef<"ImportJob", 'String'> readonly requestedByUserId: Prisma.FieldRef<"ImportJob", 'String'> readonly importType: Prisma.FieldRef<"ImportJob", 'String'> readonly format: Prisma.FieldRef<"ImportJob", 'String'> readonly status: Prisma.FieldRef<"ImportJob", 'ImportJobStatus'> readonly requestId: Prisma.FieldRef<"ImportJob", 'String'> readonly attemptsMade: Prisma.FieldRef<"ImportJob", 'Int'> readonly sourceBucket: Prisma.FieldRef<"ImportJob", 'String'> readonly sourceKey: Prisma.FieldRef<"ImportJob", 'String'> readonly fileName: Prisma.FieldRef<"ImportJob", 'String'> readonly contentType: Prisma.FieldRef<"ImportJob", 'String'> readonly rowCount: Prisma.FieldRef<"ImportJob", 'Int'> readonly acceptedRows: Prisma.FieldRef<"ImportJob", 'Int'> readonly rejectedRows: Prisma.FieldRef<"ImportJob", 'Int'> readonly errorName: Prisma.FieldRef<"ImportJob", 'String'> readonly errorMessage: Prisma.FieldRef<"ImportJob", 'String'> readonly errorReportBucket: Prisma.FieldRef<"ImportJob", 'String'> readonly errorReportKey: Prisma.FieldRef<"ImportJob", 'String'> readonly startedAt: Prisma.FieldRef<"ImportJob", 'DateTime'> readonly finishedAt: Prisma.FieldRef<"ImportJob", 'DateTime'> readonly createdAt: Prisma.FieldRef<"ImportJob", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"ImportJob", 'DateTime'> } // Custom InputTypes /** * ImportJob findUnique */ export type ImportJobFindUniqueArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * Filter, which ImportJob to fetch. */ where: Prisma.ImportJobWhereUniqueInput } /** * ImportJob findUniqueOrThrow */ export type ImportJobFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * Filter, which ImportJob to fetch. */ where: Prisma.ImportJobWhereUniqueInput } /** * ImportJob findFirst */ export type ImportJobFindFirstArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * Filter, which ImportJob to fetch. */ where?: Prisma.ImportJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ImportJobs to fetch. */ orderBy?: Prisma.ImportJobOrderByWithRelationInput | Prisma.ImportJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ImportJobs. */ cursor?: Prisma.ImportJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ImportJobs 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` ImportJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ImportJobs. */ distinct?: Prisma.ImportJobScalarFieldEnum | Prisma.ImportJobScalarFieldEnum[] } /** * ImportJob findFirstOrThrow */ export type ImportJobFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * Filter, which ImportJob to fetch. */ where?: Prisma.ImportJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ImportJobs to fetch. */ orderBy?: Prisma.ImportJobOrderByWithRelationInput | Prisma.ImportJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ImportJobs. */ cursor?: Prisma.ImportJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ImportJobs 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` ImportJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ImportJobs. */ distinct?: Prisma.ImportJobScalarFieldEnum | Prisma.ImportJobScalarFieldEnum[] } /** * ImportJob findMany */ export type ImportJobFindManyArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * Filter, which ImportJobs to fetch. */ where?: Prisma.ImportJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ImportJobs to fetch. */ orderBy?: Prisma.ImportJobOrderByWithRelationInput | Prisma.ImportJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ImportJobs. */ cursor?: Prisma.ImportJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ImportJobs 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` ImportJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ImportJobs. */ distinct?: Prisma.ImportJobScalarFieldEnum | Prisma.ImportJobScalarFieldEnum[] } /** * ImportJob create */ export type ImportJobCreateArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * The data needed to create a ImportJob. */ data: Prisma.XOR } /** * ImportJob createMany */ export type ImportJobCreateManyArgs = { /** * The data used to create many ImportJobs. */ data: Prisma.ImportJobCreateManyInput | Prisma.ImportJobCreateManyInput[] skipDuplicates?: boolean } /** * ImportJob createManyAndReturn */ export type ImportJobCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelectCreateManyAndReturn | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * The data used to create many ImportJobs. */ data: Prisma.ImportJobCreateManyInput | Prisma.ImportJobCreateManyInput[] skipDuplicates?: boolean } /** * ImportJob update */ export type ImportJobUpdateArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * The data needed to update a ImportJob. */ data: Prisma.XOR /** * Choose, which ImportJob to update. */ where: Prisma.ImportJobWhereUniqueInput } /** * ImportJob updateMany */ export type ImportJobUpdateManyArgs = { /** * The data used to update ImportJobs. */ data: Prisma.XOR /** * Filter which ImportJobs to update */ where?: Prisma.ImportJobWhereInput /** * Limit how many ImportJobs to update. */ limit?: number } /** * ImportJob updateManyAndReturn */ export type ImportJobUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelectUpdateManyAndReturn | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * The data used to update ImportJobs. */ data: Prisma.XOR /** * Filter which ImportJobs to update */ where?: Prisma.ImportJobWhereInput /** * Limit how many ImportJobs to update. */ limit?: number } /** * ImportJob upsert */ export type ImportJobUpsertArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * The filter to search for the ImportJob to update in case it exists. */ where: Prisma.ImportJobWhereUniqueInput /** * In case the ImportJob found by the `where` argument doesn't exist, create a new ImportJob with this data. */ create: Prisma.XOR /** * In case the ImportJob was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ImportJob delete */ export type ImportJobDeleteArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null /** * Filter which ImportJob to delete. */ where: Prisma.ImportJobWhereUniqueInput } /** * ImportJob deleteMany */ export type ImportJobDeleteManyArgs = { /** * Filter which ImportJobs to delete */ where?: Prisma.ImportJobWhereInput /** * Limit how many ImportJobs to delete. */ limit?: number } /** * ImportJob without action */ export type ImportJobDefaultArgs = { /** * Select specific fields to fetch from the ImportJob */ select?: Prisma.ImportJobSelect | null /** * Omit specific fields from the ImportJob */ omit?: Prisma.ImportJobOmit | null }