1652 lines
60 KiB
TypeScript
1652 lines
60 KiB
TypeScript
|
|
/* !!! 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<Prisma.$ExportJobPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends ExportJobAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateExportJob]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateExportJob[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateExportJob[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type ExportJobGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends ExportJobGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ExportJobGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ExportJobGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ExportJobGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ExportJobGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<S extends boolean | null | undefined | ExportJobDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ExportJobPayload, S>
|
|
|
|
export type ExportJobCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<ExportJobFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ExportJobCountAggregateInputType | true
|
|
}
|
|
|
|
export interface ExportJobDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends ExportJobFindUniqueArgs>(args: Prisma.SelectSubset<T, ExportJobFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ExportJobClient<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ExportJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ExportJobClient<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobFindFirstArgs>(args?: Prisma.SelectSubset<T, ExportJobFindFirstArgs<ExtArgs>>): Prisma.Prisma__ExportJobClient<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ExportJobFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ExportJobClient<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobFindManyArgs>(args?: Prisma.SelectSubset<T, ExportJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobCreateArgs>(args: Prisma.SelectSubset<T, ExportJobCreateArgs<ExtArgs>>): Prisma.Prisma__ExportJobClient<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobCreateManyArgs>(args?: Prisma.SelectSubset<T, ExportJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends ExportJobCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ExportJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobDeleteArgs>(args: Prisma.SelectSubset<T, ExportJobDeleteArgs<ExtArgs>>): Prisma.Prisma__ExportJobClient<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobUpdateArgs>(args: Prisma.SelectSubset<T, ExportJobUpdateArgs<ExtArgs>>): Prisma.Prisma__ExportJobClient<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobDeleteManyArgs>(args?: Prisma.SelectSubset<T, ExportJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends ExportJobUpdateManyArgs>(args: Prisma.SelectSubset<T, ExportJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends ExportJobUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ExportJobUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobUpsertArgs>(args: Prisma.SelectSubset<T, ExportJobUpsertArgs<ExtArgs>>): Prisma.Prisma__ExportJobClient<runtime.Types.Result.GetResult<Prisma.$ExportJobPayload<ExtArgs>, 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<T extends ExportJobCountArgs>(
|
|
args?: Prisma.Subset<T, ExportJobCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ExportJobCountAggregateOutputType>
|
|
: 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<T extends ExportJobAggregateArgs>(args: Prisma.Subset<T, ExportJobAggregateArgs>): Prisma.PrismaPromise<GetExportJobAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: ExportJobGroupByArgs['orderBy'] }
|
|
: { orderBy?: ExportJobGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? 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<T, ExportJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetExportJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* 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<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* 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<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ExportJob to fetch.
|
|
*/
|
|
where: Prisma.ExportJobWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ExportJob findUniqueOrThrow
|
|
*/
|
|
export type ExportJobFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | null
|
|
/**
|
|
* Filter, which ExportJob to fetch.
|
|
*/
|
|
where: Prisma.ExportJobWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ExportJob findFirst
|
|
*/
|
|
export type ExportJobFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a ExportJob.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ExportJobCreateInput, Prisma.ExportJobUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* ExportJob createMany
|
|
*/
|
|
export type ExportJobCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many ExportJobs.
|
|
*/
|
|
data: Prisma.ExportJobCreateManyInput | Prisma.ExportJobCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ExportJob createManyAndReturn
|
|
*/
|
|
export type ExportJobCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to create many ExportJobs.
|
|
*/
|
|
data: Prisma.ExportJobCreateManyInput | Prisma.ExportJobCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* ExportJob update
|
|
*/
|
|
export type ExportJobUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a ExportJob.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ExportJobUpdateInput, Prisma.ExportJobUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which ExportJob to update.
|
|
*/
|
|
where: Prisma.ExportJobWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ExportJob updateMany
|
|
*/
|
|
export type ExportJobUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update ExportJobs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ExportJobUpdateManyMutationInput, Prisma.ExportJobUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ExportJobs to update
|
|
*/
|
|
where?: Prisma.ExportJobWhereInput
|
|
/**
|
|
* Limit how many ExportJobs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ExportJob updateManyAndReturn
|
|
*/
|
|
export type ExportJobUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update ExportJobs.
|
|
*/
|
|
data: Prisma.XOR<Prisma.ExportJobUpdateManyMutationInput, Prisma.ExportJobUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which ExportJobs to update
|
|
*/
|
|
where?: Prisma.ExportJobWhereInput
|
|
/**
|
|
* Limit how many ExportJobs to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ExportJob upsert
|
|
*/
|
|
export type ExportJobUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | 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<Prisma.ExportJobCreateInput, Prisma.ExportJobUncheckedCreateInput>
|
|
/**
|
|
* In case the ExportJob was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.ExportJobUpdateInput, Prisma.ExportJobUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* ExportJob delete
|
|
*/
|
|
export type ExportJobDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | null
|
|
/**
|
|
* Filter which ExportJob to delete.
|
|
*/
|
|
where: Prisma.ExportJobWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* ExportJob deleteMany
|
|
*/
|
|
export type ExportJobDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which ExportJobs to delete
|
|
*/
|
|
where?: Prisma.ExportJobWhereInput
|
|
/**
|
|
* Limit how many ExportJobs to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* ExportJob without action
|
|
*/
|
|
export type ExportJobDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ExportJob
|
|
*/
|
|
select?: Prisma.ExportJobSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the ExportJob
|
|
*/
|
|
omit?: Prisma.ExportJobOmit<ExtArgs> | null
|
|
}
|