/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `ExportJob` 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 ExportJob * */ export type ExportJobModel = runtime.Types.Result.DefaultSelection export type AggregateExportJob = { _count: ExportJobCountAggregateOutputType | null _avg: ExportJobAvgAggregateOutputType | null _sum: ExportJobSumAggregateOutputType | null _min: ExportJobMinAggregateOutputType | null _max: ExportJobMaxAggregateOutputType | null } export type ExportJobAvgAggregateOutputType = { attemptsMade: number | null rowCount: number | null } export type ExportJobSumAggregateOutputType = { attemptsMade: number | null rowCount: number | null } export type ExportJobMinAggregateOutputType = { id: string | null tenantId: string | null requestedByUserId: string | null exportType: string | null format: string | null status: $Enums.ExportJobStatus | null requestId: string | null attemptsMade: number | null artifactBucket: string | null artifactKey: string | null rowCount: number | null errorName: string | null errorMessage: string | null retentionErrorMessage: string | null expiresAt: Date | null deletedAt: Date | null hardDeletedAt: Date | null startedAt: Date | null finishedAt: Date | null createdAt: Date | null updatedAt: Date | null } export type ExportJobMaxAggregateOutputType = { id: string | null tenantId: string | null requestedByUserId: string | null exportType: string | null format: string | null status: $Enums.ExportJobStatus | null requestId: string | null attemptsMade: number | null artifactBucket: string | null artifactKey: string | null rowCount: number | null errorName: string | null errorMessage: string | null retentionErrorMessage: string | null expiresAt: Date | null deletedAt: Date | null hardDeletedAt: Date | null startedAt: Date | null finishedAt: Date | null createdAt: Date | null updatedAt: Date | null } export type ExportJobCountAggregateOutputType = { id: number tenantId: number requestedByUserId: number exportType: number format: number status: number requestId: number attemptsMade: number artifactBucket: number artifactKey: number rowCount: number errorName: number errorMessage: number retentionErrorMessage: number expiresAt: number deletedAt: number hardDeletedAt: number startedAt: number finishedAt: number createdAt: number updatedAt: number _all: number } export type ExportJobAvgAggregateInputType = { attemptsMade?: true rowCount?: true } export type ExportJobSumAggregateInputType = { attemptsMade?: true rowCount?: true } export type ExportJobMinAggregateInputType = { id?: true tenantId?: true requestedByUserId?: true exportType?: true format?: true status?: true requestId?: true attemptsMade?: true artifactBucket?: true artifactKey?: true rowCount?: true errorName?: true errorMessage?: true retentionErrorMessage?: true expiresAt?: true deletedAt?: true hardDeletedAt?: true startedAt?: true finishedAt?: true createdAt?: true updatedAt?: true } export type ExportJobMaxAggregateInputType = { id?: true tenantId?: true requestedByUserId?: true exportType?: true format?: true status?: true requestId?: true attemptsMade?: true artifactBucket?: true artifactKey?: true rowCount?: true errorName?: true errorMessage?: true retentionErrorMessage?: true expiresAt?: true deletedAt?: true hardDeletedAt?: true startedAt?: true finishedAt?: true createdAt?: true updatedAt?: true } export type ExportJobCountAggregateInputType = { id?: true tenantId?: true requestedByUserId?: true exportType?: true format?: true status?: true requestId?: true attemptsMade?: true artifactBucket?: true artifactKey?: true rowCount?: true errorName?: true errorMessage?: true retentionErrorMessage?: true expiresAt?: true deletedAt?: true hardDeletedAt?: true startedAt?: true finishedAt?: true createdAt?: true updatedAt?: true _all?: true } export type ExportJobAggregateArgs = { /** * Filter which ExportJob to aggregate. */ where?: Prisma.ExportJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExportJobs to fetch. */ orderBy?: Prisma.ExportJobOrderByWithRelationInput | Prisma.ExportJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.ExportJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExportJobs 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` ExportJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned ExportJobs **/ _count?: true | ExportJobCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ExportJobAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ExportJobSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ExportJobMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ExportJobMaxAggregateInputType } export type GetExportJobAggregateType = { [P in keyof T & keyof AggregateExportJob]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type ExportJobGroupByArgs = { where?: Prisma.ExportJobWhereInput orderBy?: Prisma.ExportJobOrderByWithAggregationInput | Prisma.ExportJobOrderByWithAggregationInput[] by: Prisma.ExportJobScalarFieldEnum[] | Prisma.ExportJobScalarFieldEnum having?: Prisma.ExportJobScalarWhereWithAggregatesInput take?: number skip?: number _count?: ExportJobCountAggregateInputType | true _avg?: ExportJobAvgAggregateInputType _sum?: ExportJobSumAggregateInputType _min?: ExportJobMinAggregateInputType _max?: ExportJobMaxAggregateInputType } export type ExportJobGroupByOutputType = { id: string tenantId: string requestedByUserId: string | null exportType: string format: string status: $Enums.ExportJobStatus requestId: string attemptsMade: number artifactBucket: string | null artifactKey: string | null rowCount: number | null errorName: string | null errorMessage: string | null retentionErrorMessage: string | null expiresAt: Date | null deletedAt: Date | null hardDeletedAt: Date | null startedAt: Date | null finishedAt: Date | null createdAt: Date updatedAt: Date _count: ExportJobCountAggregateOutputType | null _avg: ExportJobAvgAggregateOutputType | null _sum: ExportJobSumAggregateOutputType | null _min: ExportJobMinAggregateOutputType | null _max: ExportJobMaxAggregateOutputType | null } export type GetExportJobGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ExportJobGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type ExportJobWhereInput = { AND?: Prisma.ExportJobWhereInput | Prisma.ExportJobWhereInput[] OR?: Prisma.ExportJobWhereInput[] NOT?: Prisma.ExportJobWhereInput | Prisma.ExportJobWhereInput[] id?: Prisma.StringFilter<"ExportJob"> | string tenantId?: Prisma.StringFilter<"ExportJob"> | string requestedByUserId?: Prisma.StringNullableFilter<"ExportJob"> | string | null exportType?: Prisma.StringFilter<"ExportJob"> | string format?: Prisma.StringFilter<"ExportJob"> | string status?: Prisma.EnumExportJobStatusFilter<"ExportJob"> | $Enums.ExportJobStatus requestId?: Prisma.StringFilter<"ExportJob"> | string attemptsMade?: Prisma.IntFilter<"ExportJob"> | number artifactBucket?: Prisma.StringNullableFilter<"ExportJob"> | string | null artifactKey?: Prisma.StringNullableFilter<"ExportJob"> | string | null rowCount?: Prisma.IntNullableFilter<"ExportJob"> | number | null errorName?: Prisma.StringNullableFilter<"ExportJob"> | string | null errorMessage?: Prisma.StringNullableFilter<"ExportJob"> | string | null retentionErrorMessage?: Prisma.StringNullableFilter<"ExportJob"> | string | null expiresAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null deletedAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null hardDeletedAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null startedAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null finishedAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"ExportJob"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ExportJob"> | Date | string } export type ExportJobOrderByWithRelationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder exportType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder artifactBucket?: Prisma.SortOrderInput | Prisma.SortOrder artifactKey?: Prisma.SortOrderInput | Prisma.SortOrder rowCount?: Prisma.SortOrderInput | Prisma.SortOrder errorName?: Prisma.SortOrderInput | Prisma.SortOrder errorMessage?: Prisma.SortOrderInput | Prisma.SortOrder retentionErrorMessage?: Prisma.SortOrderInput | Prisma.SortOrder expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder hardDeletedAt?: Prisma.SortOrderInput | Prisma.SortOrder startedAt?: Prisma.SortOrderInput | Prisma.SortOrder finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ExportJobWhereUniqueInput = Prisma.AtLeast<{ id?: string AND?: Prisma.ExportJobWhereInput | Prisma.ExportJobWhereInput[] OR?: Prisma.ExportJobWhereInput[] NOT?: Prisma.ExportJobWhereInput | Prisma.ExportJobWhereInput[] tenantId?: Prisma.StringFilter<"ExportJob"> | string requestedByUserId?: Prisma.StringNullableFilter<"ExportJob"> | string | null exportType?: Prisma.StringFilter<"ExportJob"> | string format?: Prisma.StringFilter<"ExportJob"> | string status?: Prisma.EnumExportJobStatusFilter<"ExportJob"> | $Enums.ExportJobStatus requestId?: Prisma.StringFilter<"ExportJob"> | string attemptsMade?: Prisma.IntFilter<"ExportJob"> | number artifactBucket?: Prisma.StringNullableFilter<"ExportJob"> | string | null artifactKey?: Prisma.StringNullableFilter<"ExportJob"> | string | null rowCount?: Prisma.IntNullableFilter<"ExportJob"> | number | null errorName?: Prisma.StringNullableFilter<"ExportJob"> | string | null errorMessage?: Prisma.StringNullableFilter<"ExportJob"> | string | null retentionErrorMessage?: Prisma.StringNullableFilter<"ExportJob"> | string | null expiresAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null deletedAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null hardDeletedAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null startedAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null finishedAt?: Prisma.DateTimeNullableFilter<"ExportJob"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"ExportJob"> | Date | string updatedAt?: Prisma.DateTimeFilter<"ExportJob"> | Date | string }, "id"> export type ExportJobOrderByWithAggregationInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrderInput | Prisma.SortOrder exportType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder artifactBucket?: Prisma.SortOrderInput | Prisma.SortOrder artifactKey?: Prisma.SortOrderInput | Prisma.SortOrder rowCount?: Prisma.SortOrderInput | Prisma.SortOrder errorName?: Prisma.SortOrderInput | Prisma.SortOrder errorMessage?: Prisma.SortOrderInput | Prisma.SortOrder retentionErrorMessage?: Prisma.SortOrderInput | Prisma.SortOrder expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder hardDeletedAt?: Prisma.SortOrderInput | Prisma.SortOrder startedAt?: Prisma.SortOrderInput | Prisma.SortOrder finishedAt?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.ExportJobCountOrderByAggregateInput _avg?: Prisma.ExportJobAvgOrderByAggregateInput _max?: Prisma.ExportJobMaxOrderByAggregateInput _min?: Prisma.ExportJobMinOrderByAggregateInput _sum?: Prisma.ExportJobSumOrderByAggregateInput } export type ExportJobScalarWhereWithAggregatesInput = { AND?: Prisma.ExportJobScalarWhereWithAggregatesInput | Prisma.ExportJobScalarWhereWithAggregatesInput[] OR?: Prisma.ExportJobScalarWhereWithAggregatesInput[] NOT?: Prisma.ExportJobScalarWhereWithAggregatesInput | Prisma.ExportJobScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"ExportJob"> | string tenantId?: Prisma.StringWithAggregatesFilter<"ExportJob"> | string requestedByUserId?: Prisma.StringNullableWithAggregatesFilter<"ExportJob"> | string | null exportType?: Prisma.StringWithAggregatesFilter<"ExportJob"> | string format?: Prisma.StringWithAggregatesFilter<"ExportJob"> | string status?: Prisma.EnumExportJobStatusWithAggregatesFilter<"ExportJob"> | $Enums.ExportJobStatus requestId?: Prisma.StringWithAggregatesFilter<"ExportJob"> | string attemptsMade?: Prisma.IntWithAggregatesFilter<"ExportJob"> | number artifactBucket?: Prisma.StringNullableWithAggregatesFilter<"ExportJob"> | string | null artifactKey?: Prisma.StringNullableWithAggregatesFilter<"ExportJob"> | string | null rowCount?: Prisma.IntNullableWithAggregatesFilter<"ExportJob"> | number | null errorName?: Prisma.StringNullableWithAggregatesFilter<"ExportJob"> | string | null errorMessage?: Prisma.StringNullableWithAggregatesFilter<"ExportJob"> | string | null retentionErrorMessage?: Prisma.StringNullableWithAggregatesFilter<"ExportJob"> | string | null expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ExportJob"> | Date | string | null deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ExportJob"> | Date | string | null hardDeletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ExportJob"> | Date | string | null startedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ExportJob"> | Date | string | null finishedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ExportJob"> | Date | string | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"ExportJob"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ExportJob"> | Date | string } export type ExportJobCreateInput = { id?: string tenantId: string requestedByUserId?: string | null exportType: string format: string status?: $Enums.ExportJobStatus requestId: string attemptsMade?: number artifactBucket?: string | null artifactKey?: string | null rowCount?: number | null errorName?: string | null errorMessage?: string | null retentionErrorMessage?: string | null expiresAt?: Date | string | null deletedAt?: Date | string | null hardDeletedAt?: Date | string | null startedAt?: Date | string | null finishedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ExportJobUncheckedCreateInput = { id?: string tenantId: string requestedByUserId?: string | null exportType: string format: string status?: $Enums.ExportJobStatus requestId: string attemptsMade?: number artifactBucket?: string | null artifactKey?: string | null rowCount?: number | null errorName?: string | null errorMessage?: string | null retentionErrorMessage?: string | null expiresAt?: Date | string | null deletedAt?: Date | string | null hardDeletedAt?: Date | string | null startedAt?: Date | string | null finishedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ExportJobUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string requestedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null exportType?: Prisma.StringFieldUpdateOperationsInput | string format?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumExportJobStatusFieldUpdateOperationsInput | $Enums.ExportJobStatus requestId?: Prisma.StringFieldUpdateOperationsInput | string attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number artifactBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null artifactKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null errorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null retentionErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null hardDeletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | 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 ExportJobUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string requestedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null exportType?: Prisma.StringFieldUpdateOperationsInput | string format?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumExportJobStatusFieldUpdateOperationsInput | $Enums.ExportJobStatus requestId?: Prisma.StringFieldUpdateOperationsInput | string attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number artifactBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null artifactKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null errorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null retentionErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null hardDeletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | 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 ExportJobCreateManyInput = { id?: string tenantId: string requestedByUserId?: string | null exportType: string format: string status?: $Enums.ExportJobStatus requestId: string attemptsMade?: number artifactBucket?: string | null artifactKey?: string | null rowCount?: number | null errorName?: string | null errorMessage?: string | null retentionErrorMessage?: string | null expiresAt?: Date | string | null deletedAt?: Date | string | null hardDeletedAt?: Date | string | null startedAt?: Date | string | null finishedAt?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type ExportJobUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string requestedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null exportType?: Prisma.StringFieldUpdateOperationsInput | string format?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumExportJobStatusFieldUpdateOperationsInput | $Enums.ExportJobStatus requestId?: Prisma.StringFieldUpdateOperationsInput | string attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number artifactBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null artifactKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null errorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null retentionErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null hardDeletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | 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 ExportJobUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string tenantId?: Prisma.StringFieldUpdateOperationsInput | string requestedByUserId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null exportType?: Prisma.StringFieldUpdateOperationsInput | string format?: Prisma.StringFieldUpdateOperationsInput | string status?: Prisma.EnumExportJobStatusFieldUpdateOperationsInput | $Enums.ExportJobStatus requestId?: Prisma.StringFieldUpdateOperationsInput | string attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number artifactBucket?: Prisma.NullableStringFieldUpdateOperationsInput | string | null artifactKey?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rowCount?: Prisma.NullableIntFieldUpdateOperationsInput | number | null errorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null errorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null retentionErrorMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null hardDeletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | 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 ExportJobCountOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrder exportType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder artifactBucket?: Prisma.SortOrder artifactKey?: Prisma.SortOrder rowCount?: Prisma.SortOrder errorName?: Prisma.SortOrder errorMessage?: Prisma.SortOrder retentionErrorMessage?: Prisma.SortOrder expiresAt?: Prisma.SortOrder deletedAt?: Prisma.SortOrder hardDeletedAt?: Prisma.SortOrder startedAt?: Prisma.SortOrder finishedAt?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ExportJobAvgOrderByAggregateInput = { attemptsMade?: Prisma.SortOrder rowCount?: Prisma.SortOrder } export type ExportJobMaxOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrder exportType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder artifactBucket?: Prisma.SortOrder artifactKey?: Prisma.SortOrder rowCount?: Prisma.SortOrder errorName?: Prisma.SortOrder errorMessage?: Prisma.SortOrder retentionErrorMessage?: Prisma.SortOrder expiresAt?: Prisma.SortOrder deletedAt?: Prisma.SortOrder hardDeletedAt?: Prisma.SortOrder startedAt?: Prisma.SortOrder finishedAt?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ExportJobMinOrderByAggregateInput = { id?: Prisma.SortOrder tenantId?: Prisma.SortOrder requestedByUserId?: Prisma.SortOrder exportType?: Prisma.SortOrder format?: Prisma.SortOrder status?: Prisma.SortOrder requestId?: Prisma.SortOrder attemptsMade?: Prisma.SortOrder artifactBucket?: Prisma.SortOrder artifactKey?: Prisma.SortOrder rowCount?: Prisma.SortOrder errorName?: Prisma.SortOrder errorMessage?: Prisma.SortOrder retentionErrorMessage?: Prisma.SortOrder expiresAt?: Prisma.SortOrder deletedAt?: Prisma.SortOrder hardDeletedAt?: Prisma.SortOrder startedAt?: Prisma.SortOrder finishedAt?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type ExportJobSumOrderByAggregateInput = { attemptsMade?: Prisma.SortOrder rowCount?: Prisma.SortOrder } export type EnumExportJobStatusFieldUpdateOperationsInput = { set?: $Enums.ExportJobStatus } export type ExportJobSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean requestedByUserId?: boolean exportType?: boolean format?: boolean status?: boolean requestId?: boolean attemptsMade?: boolean artifactBucket?: boolean artifactKey?: boolean rowCount?: boolean errorName?: boolean errorMessage?: boolean retentionErrorMessage?: boolean expiresAt?: boolean deletedAt?: boolean hardDeletedAt?: boolean startedAt?: boolean finishedAt?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["exportJob"]> export type ExportJobSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean requestedByUserId?: boolean exportType?: boolean format?: boolean status?: boolean requestId?: boolean attemptsMade?: boolean artifactBucket?: boolean artifactKey?: boolean rowCount?: boolean errorName?: boolean errorMessage?: boolean retentionErrorMessage?: boolean expiresAt?: boolean deletedAt?: boolean hardDeletedAt?: boolean startedAt?: boolean finishedAt?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["exportJob"]> export type ExportJobSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean tenantId?: boolean requestedByUserId?: boolean exportType?: boolean format?: boolean status?: boolean requestId?: boolean attemptsMade?: boolean artifactBucket?: boolean artifactKey?: boolean rowCount?: boolean errorName?: boolean errorMessage?: boolean retentionErrorMessage?: boolean expiresAt?: boolean deletedAt?: boolean hardDeletedAt?: boolean startedAt?: boolean finishedAt?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["exportJob"]> export type ExportJobSelectScalar = { id?: boolean tenantId?: boolean requestedByUserId?: boolean exportType?: boolean format?: boolean status?: boolean requestId?: boolean attemptsMade?: boolean artifactBucket?: boolean artifactKey?: boolean rowCount?: boolean errorName?: boolean errorMessage?: boolean retentionErrorMessage?: boolean expiresAt?: boolean deletedAt?: boolean hardDeletedAt?: boolean startedAt?: boolean finishedAt?: boolean createdAt?: boolean updatedAt?: boolean } export type ExportJobOmit = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "requestedByUserId" | "exportType" | "format" | "status" | "requestId" | "attemptsMade" | "artifactBucket" | "artifactKey" | "rowCount" | "errorName" | "errorMessage" | "retentionErrorMessage" | "expiresAt" | "deletedAt" | "hardDeletedAt" | "startedAt" | "finishedAt" | "createdAt" | "updatedAt", ExtArgs["result"]["exportJob"]> export type $ExportJobPayload = { name: "ExportJob" objects: {} scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string tenantId: string requestedByUserId: string | null exportType: string format: string status: $Enums.ExportJobStatus requestId: string attemptsMade: number artifactBucket: string | null artifactKey: string | null rowCount: number | null errorName: string | null errorMessage: string | null retentionErrorMessage: string | null expiresAt: Date | null deletedAt: Date | null hardDeletedAt: Date | null startedAt: Date | null finishedAt: Date | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["exportJob"]> composites: {} } export type ExportJobGetPayload = runtime.Types.Result.GetResult export type ExportJobCountArgs = Omit & { select?: ExportJobCountAggregateInputType | true } export interface ExportJobDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['ExportJob'], meta: { name: 'ExportJob' } } /** * Find zero or one ExportJob that matches the filter. * @param {ExportJobFindUniqueArgs} args - Arguments to find a ExportJob * @example * // Get one ExportJob * const exportJob = await prisma.exportJob.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__ExportJobClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one ExportJob that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {ExportJobFindUniqueOrThrowArgs} args - Arguments to find a ExportJob * @example * // Get one ExportJob * const exportJob = await prisma.exportJob.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__ExportJobClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first ExportJob 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 {ExportJobFindFirstArgs} args - Arguments to find a ExportJob * @example * // Get one ExportJob * const exportJob = await prisma.exportJob.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__ExportJobClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first ExportJob 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 {ExportJobFindFirstOrThrowArgs} args - Arguments to find a ExportJob * @example * // Get one ExportJob * const exportJob = await prisma.exportJob.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__ExportJobClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more ExportJobs 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 {ExportJobFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all ExportJobs * const exportJobs = await prisma.exportJob.findMany() * * // Get first 10 ExportJobs * const exportJobs = await prisma.exportJob.findMany({ take: 10 }) * * // Only select the `id` * const exportJobWithIdOnly = await prisma.exportJob.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a ExportJob. * @param {ExportJobCreateArgs} args - Arguments to create a ExportJob. * @example * // Create one ExportJob * const ExportJob = await prisma.exportJob.create({ * data: { * // ... data to create a ExportJob * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__ExportJobClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many ExportJobs. * @param {ExportJobCreateManyArgs} args - Arguments to create many ExportJobs. * @example * // Create many ExportJobs * const exportJob = await prisma.exportJob.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many ExportJobs and returns the data saved in the database. * @param {ExportJobCreateManyAndReturnArgs} args - Arguments to create many ExportJobs. * @example * // Create many ExportJobs * const exportJob = await prisma.exportJob.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many ExportJobs and only return the `id` * const exportJobWithIdOnly = await prisma.exportJob.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 ExportJob. * @param {ExportJobDeleteArgs} args - Arguments to delete one ExportJob. * @example * // Delete one ExportJob * const ExportJob = await prisma.exportJob.delete({ * where: { * // ... filter to delete one ExportJob * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__ExportJobClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one ExportJob. * @param {ExportJobUpdateArgs} args - Arguments to update one ExportJob. * @example * // Update one ExportJob * const exportJob = await prisma.exportJob.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__ExportJobClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more ExportJobs. * @param {ExportJobDeleteManyArgs} args - Arguments to filter ExportJobs to delete. * @example * // Delete a few ExportJobs * const { count } = await prisma.exportJob.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ExportJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExportJobUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many ExportJobs * const exportJob = await prisma.exportJob.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more ExportJobs and returns the data updated in the database. * @param {ExportJobUpdateManyAndReturnArgs} args - Arguments to update many ExportJobs. * @example * // Update many ExportJobs * const exportJob = await prisma.exportJob.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more ExportJobs and only return the `id` * const exportJobWithIdOnly = await prisma.exportJob.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 ExportJob. * @param {ExportJobUpsertArgs} args - Arguments to update or create a ExportJob. * @example * // Update or create a ExportJob * const exportJob = await prisma.exportJob.upsert({ * create: { * // ... data to create a ExportJob * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the ExportJob we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__ExportJobClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of ExportJobs. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExportJobCountArgs} args - Arguments to filter ExportJobs to count. * @example * // Count the number of ExportJobs * const count = await prisma.exportJob.count({ * where: { * // ... the filter for the ExportJobs 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 ExportJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExportJobAggregateArgs} 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 ExportJob. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ExportJobGroupByArgs} 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 ExportJobGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: ExportJobGroupByArgs['orderBy'] } : { orderBy?: ExportJobGroupByArgs['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 ? GetExportJobGroupByPayload : Prisma.PrismaPromise /** * Fields of the ExportJob model */ readonly fields: ExportJobFieldRefs; } /** * The delegate class that acts as a "Promise-like" for ExportJob. * 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__ExportJobClient 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 ExportJob model */ export interface ExportJobFieldRefs { readonly id: Prisma.FieldRef<"ExportJob", 'String'> readonly tenantId: Prisma.FieldRef<"ExportJob", 'String'> readonly requestedByUserId: Prisma.FieldRef<"ExportJob", 'String'> readonly exportType: Prisma.FieldRef<"ExportJob", 'String'> readonly format: Prisma.FieldRef<"ExportJob", 'String'> readonly status: Prisma.FieldRef<"ExportJob", 'ExportJobStatus'> readonly requestId: Prisma.FieldRef<"ExportJob", 'String'> readonly attemptsMade: Prisma.FieldRef<"ExportJob", 'Int'> readonly artifactBucket: Prisma.FieldRef<"ExportJob", 'String'> readonly artifactKey: Prisma.FieldRef<"ExportJob", 'String'> readonly rowCount: Prisma.FieldRef<"ExportJob", 'Int'> readonly errorName: Prisma.FieldRef<"ExportJob", 'String'> readonly errorMessage: Prisma.FieldRef<"ExportJob", 'String'> readonly retentionErrorMessage: Prisma.FieldRef<"ExportJob", 'String'> readonly expiresAt: Prisma.FieldRef<"ExportJob", 'DateTime'> readonly deletedAt: Prisma.FieldRef<"ExportJob", 'DateTime'> readonly hardDeletedAt: Prisma.FieldRef<"ExportJob", 'DateTime'> readonly startedAt: Prisma.FieldRef<"ExportJob", 'DateTime'> readonly finishedAt: Prisma.FieldRef<"ExportJob", 'DateTime'> readonly createdAt: Prisma.FieldRef<"ExportJob", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"ExportJob", 'DateTime'> } // Custom InputTypes /** * ExportJob findUnique */ export type ExportJobFindUniqueArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * Filter, which ExportJob to fetch. */ where: Prisma.ExportJobWhereUniqueInput } /** * ExportJob findUniqueOrThrow */ export type ExportJobFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * Filter, which ExportJob to fetch. */ where: Prisma.ExportJobWhereUniqueInput } /** * ExportJob findFirst */ export type ExportJobFindFirstArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * Filter, which ExportJob to fetch. */ where?: Prisma.ExportJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExportJobs to fetch. */ orderBy?: Prisma.ExportJobOrderByWithRelationInput | Prisma.ExportJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ExportJobs. */ cursor?: Prisma.ExportJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExportJobs 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` ExportJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ExportJobs. */ distinct?: Prisma.ExportJobScalarFieldEnum | Prisma.ExportJobScalarFieldEnum[] } /** * ExportJob findFirstOrThrow */ export type ExportJobFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * Filter, which ExportJob to fetch. */ where?: Prisma.ExportJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExportJobs to fetch. */ orderBy?: Prisma.ExportJobOrderByWithRelationInput | Prisma.ExportJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for ExportJobs. */ cursor?: Prisma.ExportJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExportJobs 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` ExportJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ExportJobs. */ distinct?: Prisma.ExportJobScalarFieldEnum | Prisma.ExportJobScalarFieldEnum[] } /** * ExportJob findMany */ export type ExportJobFindManyArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * Filter, which ExportJobs to fetch. */ where?: Prisma.ExportJobWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of ExportJobs to fetch. */ orderBy?: Prisma.ExportJobOrderByWithRelationInput | Prisma.ExportJobOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing ExportJobs. */ cursor?: Prisma.ExportJobWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` ExportJobs 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` ExportJobs. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of ExportJobs. */ distinct?: Prisma.ExportJobScalarFieldEnum | Prisma.ExportJobScalarFieldEnum[] } /** * ExportJob create */ export type ExportJobCreateArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * The data needed to create a ExportJob. */ data: Prisma.XOR } /** * ExportJob createMany */ export type ExportJobCreateManyArgs = { /** * The data used to create many ExportJobs. */ data: Prisma.ExportJobCreateManyInput | Prisma.ExportJobCreateManyInput[] skipDuplicates?: boolean } /** * ExportJob createManyAndReturn */ export type ExportJobCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelectCreateManyAndReturn | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * The data used to create many ExportJobs. */ data: Prisma.ExportJobCreateManyInput | Prisma.ExportJobCreateManyInput[] skipDuplicates?: boolean } /** * ExportJob update */ export type ExportJobUpdateArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * The data needed to update a ExportJob. */ data: Prisma.XOR /** * Choose, which ExportJob to update. */ where: Prisma.ExportJobWhereUniqueInput } /** * ExportJob updateMany */ export type ExportJobUpdateManyArgs = { /** * The data used to update ExportJobs. */ data: Prisma.XOR /** * Filter which ExportJobs to update */ where?: Prisma.ExportJobWhereInput /** * Limit how many ExportJobs to update. */ limit?: number } /** * ExportJob updateManyAndReturn */ export type ExportJobUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelectUpdateManyAndReturn | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * The data used to update ExportJobs. */ data: Prisma.XOR /** * Filter which ExportJobs to update */ where?: Prisma.ExportJobWhereInput /** * Limit how many ExportJobs to update. */ limit?: number } /** * ExportJob upsert */ export type ExportJobUpsertArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * The filter to search for the ExportJob to update in case it exists. */ where: Prisma.ExportJobWhereUniqueInput /** * In case the ExportJob found by the `where` argument doesn't exist, create a new ExportJob with this data. */ create: Prisma.XOR /** * In case the ExportJob was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * ExportJob delete */ export type ExportJobDeleteArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null /** * Filter which ExportJob to delete. */ where: Prisma.ExportJobWhereUniqueInput } /** * ExportJob deleteMany */ export type ExportJobDeleteManyArgs = { /** * Filter which ExportJobs to delete */ where?: Prisma.ExportJobWhereInput /** * Limit how many ExportJobs to delete. */ limit?: number } /** * ExportJob without action */ export type ExportJobDefaultArgs = { /** * Select specific fields to fetch from the ExportJob */ select?: Prisma.ExportJobSelect | null /** * Omit specific fields from the ExportJob */ omit?: Prisma.ExportJobOmit | null }