Files
HiveGrid-Wireframes/hivegrid-cloud/packages/db/generated/prisma/client/models/QueueFailedJob.ts
T

1375 lines
50 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 `QueueFailedJob` 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 QueueFailedJob
*
*/
export type QueueFailedJobModel = runtime.Types.Result.DefaultSelection<Prisma.$QueueFailedJobPayload>
export type AggregateQueueFailedJob = {
_count: QueueFailedJobCountAggregateOutputType | null
_avg: QueueFailedJobAvgAggregateOutputType | null
_sum: QueueFailedJobSumAggregateOutputType | null
_min: QueueFailedJobMinAggregateOutputType | null
_max: QueueFailedJobMaxAggregateOutputType | null
}
export type QueueFailedJobAvgAggregateOutputType = {
attemptsMade: number | null
attemptsLimit: number | null
}
export type QueueFailedJobSumAggregateOutputType = {
attemptsMade: number | null
attemptsLimit: number | null
}
export type QueueFailedJobMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
queueName: string | null
jobName: string | null
jobId: string | null
attemptsMade: number | null
attemptsLimit: number | null
errorName: string | null
errorMessage: string | null
failedAt: Date | null
}
export type QueueFailedJobMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
queueName: string | null
jobName: string | null
jobId: string | null
attemptsMade: number | null
attemptsLimit: number | null
errorName: string | null
errorMessage: string | null
failedAt: Date | null
}
export type QueueFailedJobCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
queueName: number
jobName: number
jobId: number
attemptsMade: number
attemptsLimit: number
errorName: number
errorMessage: number
failedAt: number
_all: number
}
export type QueueFailedJobAvgAggregateInputType = {
attemptsMade?: true
attemptsLimit?: true
}
export type QueueFailedJobSumAggregateInputType = {
attemptsMade?: true
attemptsLimit?: true
}
export type QueueFailedJobMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
queueName?: true
jobName?: true
jobId?: true
attemptsMade?: true
attemptsLimit?: true
errorName?: true
errorMessage?: true
failedAt?: true
}
export type QueueFailedJobMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
queueName?: true
jobName?: true
jobId?: true
attemptsMade?: true
attemptsLimit?: true
errorName?: true
errorMessage?: true
failedAt?: true
}
export type QueueFailedJobCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
queueName?: true
jobName?: true
jobId?: true
attemptsMade?: true
attemptsLimit?: true
errorName?: true
errorMessage?: true
failedAt?: true
_all?: true
}
export type QueueFailedJobAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which QueueFailedJob to aggregate.
*/
where?: Prisma.QueueFailedJobWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of QueueFailedJobs to fetch.
*/
orderBy?: Prisma.QueueFailedJobOrderByWithRelationInput | Prisma.QueueFailedJobOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.QueueFailedJobWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` QueueFailedJobs 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` QueueFailedJobs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned QueueFailedJobs
**/
_count?: true | QueueFailedJobCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: QueueFailedJobAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: QueueFailedJobSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: QueueFailedJobMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: QueueFailedJobMaxAggregateInputType
}
export type GetQueueFailedJobAggregateType<T extends QueueFailedJobAggregateArgs> = {
[P in keyof T & keyof AggregateQueueFailedJob]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateQueueFailedJob[P]>
: Prisma.GetScalarType<T[P], AggregateQueueFailedJob[P]>
}
export type QueueFailedJobGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.QueueFailedJobWhereInput
orderBy?: Prisma.QueueFailedJobOrderByWithAggregationInput | Prisma.QueueFailedJobOrderByWithAggregationInput[]
by: Prisma.QueueFailedJobScalarFieldEnum[] | Prisma.QueueFailedJobScalarFieldEnum
having?: Prisma.QueueFailedJobScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: QueueFailedJobCountAggregateInputType | true
_avg?: QueueFailedJobAvgAggregateInputType
_sum?: QueueFailedJobSumAggregateInputType
_min?: QueueFailedJobMinAggregateInputType
_max?: QueueFailedJobMaxAggregateInputType
}
export type QueueFailedJobGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
queueName: string
jobName: string
jobId: string | null
attemptsMade: number
attemptsLimit: number | null
errorName: string
errorMessage: string
failedAt: Date | null
_count: QueueFailedJobCountAggregateOutputType | null
_avg: QueueFailedJobAvgAggregateOutputType | null
_sum: QueueFailedJobSumAggregateOutputType | null
_min: QueueFailedJobMinAggregateOutputType | null
_max: QueueFailedJobMaxAggregateOutputType | null
}
export type GetQueueFailedJobGroupByPayload<T extends QueueFailedJobGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<QueueFailedJobGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof QueueFailedJobGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], QueueFailedJobGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], QueueFailedJobGroupByOutputType[P]>
}
>
>
export type QueueFailedJobWhereInput = {
AND?: Prisma.QueueFailedJobWhereInput | Prisma.QueueFailedJobWhereInput[]
OR?: Prisma.QueueFailedJobWhereInput[]
NOT?: Prisma.QueueFailedJobWhereInput | Prisma.QueueFailedJobWhereInput[]
id?: Prisma.StringFilter<"QueueFailedJob"> | string
createdAt?: Prisma.DateTimeFilter<"QueueFailedJob"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"QueueFailedJob"> | Date | string
queueName?: Prisma.StringFilter<"QueueFailedJob"> | string
jobName?: Prisma.StringFilter<"QueueFailedJob"> | string
jobId?: Prisma.StringNullableFilter<"QueueFailedJob"> | string | null
attemptsMade?: Prisma.IntFilter<"QueueFailedJob"> | number
attemptsLimit?: Prisma.IntNullableFilter<"QueueFailedJob"> | number | null
errorName?: Prisma.StringFilter<"QueueFailedJob"> | string
errorMessage?: Prisma.StringFilter<"QueueFailedJob"> | string
failedAt?: Prisma.DateTimeNullableFilter<"QueueFailedJob"> | Date | string | null
}
export type QueueFailedJobOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
queueName?: Prisma.SortOrder
jobName?: Prisma.SortOrder
jobId?: Prisma.SortOrderInput | Prisma.SortOrder
attemptsMade?: Prisma.SortOrder
attemptsLimit?: Prisma.SortOrderInput | Prisma.SortOrder
errorName?: Prisma.SortOrder
errorMessage?: Prisma.SortOrder
failedAt?: Prisma.SortOrderInput | Prisma.SortOrder
}
export type QueueFailedJobWhereUniqueInput = Prisma.AtLeast<{
id?: string
queueName_jobName_jobId?: Prisma.QueueFailedJobQueueNameJobNameJobIdCompoundUniqueInput
AND?: Prisma.QueueFailedJobWhereInput | Prisma.QueueFailedJobWhereInput[]
OR?: Prisma.QueueFailedJobWhereInput[]
NOT?: Prisma.QueueFailedJobWhereInput | Prisma.QueueFailedJobWhereInput[]
createdAt?: Prisma.DateTimeFilter<"QueueFailedJob"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"QueueFailedJob"> | Date | string
queueName?: Prisma.StringFilter<"QueueFailedJob"> | string
jobName?: Prisma.StringFilter<"QueueFailedJob"> | string
jobId?: Prisma.StringNullableFilter<"QueueFailedJob"> | string | null
attemptsMade?: Prisma.IntFilter<"QueueFailedJob"> | number
attemptsLimit?: Prisma.IntNullableFilter<"QueueFailedJob"> | number | null
errorName?: Prisma.StringFilter<"QueueFailedJob"> | string
errorMessage?: Prisma.StringFilter<"QueueFailedJob"> | string
failedAt?: Prisma.DateTimeNullableFilter<"QueueFailedJob"> | Date | string | null
}, "id" | "queueName_jobName_jobId">
export type QueueFailedJobOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
queueName?: Prisma.SortOrder
jobName?: Prisma.SortOrder
jobId?: Prisma.SortOrderInput | Prisma.SortOrder
attemptsMade?: Prisma.SortOrder
attemptsLimit?: Prisma.SortOrderInput | Prisma.SortOrder
errorName?: Prisma.SortOrder
errorMessage?: Prisma.SortOrder
failedAt?: Prisma.SortOrderInput | Prisma.SortOrder
_count?: Prisma.QueueFailedJobCountOrderByAggregateInput
_avg?: Prisma.QueueFailedJobAvgOrderByAggregateInput
_max?: Prisma.QueueFailedJobMaxOrderByAggregateInput
_min?: Prisma.QueueFailedJobMinOrderByAggregateInput
_sum?: Prisma.QueueFailedJobSumOrderByAggregateInput
}
export type QueueFailedJobScalarWhereWithAggregatesInput = {
AND?: Prisma.QueueFailedJobScalarWhereWithAggregatesInput | Prisma.QueueFailedJobScalarWhereWithAggregatesInput[]
OR?: Prisma.QueueFailedJobScalarWhereWithAggregatesInput[]
NOT?: Prisma.QueueFailedJobScalarWhereWithAggregatesInput | Prisma.QueueFailedJobScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"QueueFailedJob"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"QueueFailedJob"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"QueueFailedJob"> | Date | string
queueName?: Prisma.StringWithAggregatesFilter<"QueueFailedJob"> | string
jobName?: Prisma.StringWithAggregatesFilter<"QueueFailedJob"> | string
jobId?: Prisma.StringNullableWithAggregatesFilter<"QueueFailedJob"> | string | null
attemptsMade?: Prisma.IntWithAggregatesFilter<"QueueFailedJob"> | number
attemptsLimit?: Prisma.IntNullableWithAggregatesFilter<"QueueFailedJob"> | number | null
errorName?: Prisma.StringWithAggregatesFilter<"QueueFailedJob"> | string
errorMessage?: Prisma.StringWithAggregatesFilter<"QueueFailedJob"> | string
failedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"QueueFailedJob"> | Date | string | null
}
export type QueueFailedJobCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
queueName: string
jobName: string
jobId?: string | null
attemptsMade: number
attemptsLimit?: number | null
errorName: string
errorMessage: string
failedAt?: Date | string | null
}
export type QueueFailedJobUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
queueName: string
jobName: string
jobId?: string | null
attemptsMade: number
attemptsLimit?: number | null
errorName: string
errorMessage: string
failedAt?: Date | string | null
}
export type QueueFailedJobUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
queueName?: Prisma.StringFieldUpdateOperationsInput | string
jobName?: Prisma.StringFieldUpdateOperationsInput | string
jobId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number
attemptsLimit?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
errorName?: Prisma.StringFieldUpdateOperationsInput | string
errorMessage?: Prisma.StringFieldUpdateOperationsInput | string
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type QueueFailedJobUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
queueName?: Prisma.StringFieldUpdateOperationsInput | string
jobName?: Prisma.StringFieldUpdateOperationsInput | string
jobId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number
attemptsLimit?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
errorName?: Prisma.StringFieldUpdateOperationsInput | string
errorMessage?: Prisma.StringFieldUpdateOperationsInput | string
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type QueueFailedJobCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
queueName: string
jobName: string
jobId?: string | null
attemptsMade: number
attemptsLimit?: number | null
errorName: string
errorMessage: string
failedAt?: Date | string | null
}
export type QueueFailedJobUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
queueName?: Prisma.StringFieldUpdateOperationsInput | string
jobName?: Prisma.StringFieldUpdateOperationsInput | string
jobId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number
attemptsLimit?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
errorName?: Prisma.StringFieldUpdateOperationsInput | string
errorMessage?: Prisma.StringFieldUpdateOperationsInput | string
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type QueueFailedJobUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
queueName?: Prisma.StringFieldUpdateOperationsInput | string
jobName?: Prisma.StringFieldUpdateOperationsInput | string
jobId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
attemptsMade?: Prisma.IntFieldUpdateOperationsInput | number
attemptsLimit?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
errorName?: Prisma.StringFieldUpdateOperationsInput | string
errorMessage?: Prisma.StringFieldUpdateOperationsInput | string
failedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}
export type QueueFailedJobQueueNameJobNameJobIdCompoundUniqueInput = {
queueName: string
jobName: string
jobId: string
}
export type QueueFailedJobCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
queueName?: Prisma.SortOrder
jobName?: Prisma.SortOrder
jobId?: Prisma.SortOrder
attemptsMade?: Prisma.SortOrder
attemptsLimit?: Prisma.SortOrder
errorName?: Prisma.SortOrder
errorMessage?: Prisma.SortOrder
failedAt?: Prisma.SortOrder
}
export type QueueFailedJobAvgOrderByAggregateInput = {
attemptsMade?: Prisma.SortOrder
attemptsLimit?: Prisma.SortOrder
}
export type QueueFailedJobMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
queueName?: Prisma.SortOrder
jobName?: Prisma.SortOrder
jobId?: Prisma.SortOrder
attemptsMade?: Prisma.SortOrder
attemptsLimit?: Prisma.SortOrder
errorName?: Prisma.SortOrder
errorMessage?: Prisma.SortOrder
failedAt?: Prisma.SortOrder
}
export type QueueFailedJobMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
queueName?: Prisma.SortOrder
jobName?: Prisma.SortOrder
jobId?: Prisma.SortOrder
attemptsMade?: Prisma.SortOrder
attemptsLimit?: Prisma.SortOrder
errorName?: Prisma.SortOrder
errorMessage?: Prisma.SortOrder
failedAt?: Prisma.SortOrder
}
export type QueueFailedJobSumOrderByAggregateInput = {
attemptsMade?: Prisma.SortOrder
attemptsLimit?: Prisma.SortOrder
}
export type QueueFailedJobSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
queueName?: boolean
jobName?: boolean
jobId?: boolean
attemptsMade?: boolean
attemptsLimit?: boolean
errorName?: boolean
errorMessage?: boolean
failedAt?: boolean
}, ExtArgs["result"]["queueFailedJob"]>
export type QueueFailedJobSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
queueName?: boolean
jobName?: boolean
jobId?: boolean
attemptsMade?: boolean
attemptsLimit?: boolean
errorName?: boolean
errorMessage?: boolean
failedAt?: boolean
}, ExtArgs["result"]["queueFailedJob"]>
export type QueueFailedJobSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
queueName?: boolean
jobName?: boolean
jobId?: boolean
attemptsMade?: boolean
attemptsLimit?: boolean
errorName?: boolean
errorMessage?: boolean
failedAt?: boolean
}, ExtArgs["result"]["queueFailedJob"]>
export type QueueFailedJobSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
queueName?: boolean
jobName?: boolean
jobId?: boolean
attemptsMade?: boolean
attemptsLimit?: boolean
errorName?: boolean
errorMessage?: boolean
failedAt?: boolean
}
export type QueueFailedJobOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "queueName" | "jobName" | "jobId" | "attemptsMade" | "attemptsLimit" | "errorName" | "errorMessage" | "failedAt", ExtArgs["result"]["queueFailedJob"]>
export type $QueueFailedJobPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "QueueFailedJob"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
queueName: string
jobName: string
jobId: string | null
attemptsMade: number
attemptsLimit: number | null
errorName: string
errorMessage: string
failedAt: Date | null
}, ExtArgs["result"]["queueFailedJob"]>
composites: {}
}
export type QueueFailedJobGetPayload<S extends boolean | null | undefined | QueueFailedJobDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload, S>
export type QueueFailedJobCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<QueueFailedJobFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: QueueFailedJobCountAggregateInputType | true
}
export interface QueueFailedJobDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['QueueFailedJob'], meta: { name: 'QueueFailedJob' } }
/**
* Find zero or one QueueFailedJob that matches the filter.
* @param {QueueFailedJobFindUniqueArgs} args - Arguments to find a QueueFailedJob
* @example
* // Get one QueueFailedJob
* const queueFailedJob = await prisma.queueFailedJob.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends QueueFailedJobFindUniqueArgs>(args: Prisma.SelectSubset<T, QueueFailedJobFindUniqueArgs<ExtArgs>>): Prisma.Prisma__QueueFailedJobClient<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one QueueFailedJob that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {QueueFailedJobFindUniqueOrThrowArgs} args - Arguments to find a QueueFailedJob
* @example
* // Get one QueueFailedJob
* const queueFailedJob = await prisma.queueFailedJob.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends QueueFailedJobFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, QueueFailedJobFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__QueueFailedJobClient<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first QueueFailedJob 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 {QueueFailedJobFindFirstArgs} args - Arguments to find a QueueFailedJob
* @example
* // Get one QueueFailedJob
* const queueFailedJob = await prisma.queueFailedJob.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends QueueFailedJobFindFirstArgs>(args?: Prisma.SelectSubset<T, QueueFailedJobFindFirstArgs<ExtArgs>>): Prisma.Prisma__QueueFailedJobClient<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first QueueFailedJob 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 {QueueFailedJobFindFirstOrThrowArgs} args - Arguments to find a QueueFailedJob
* @example
* // Get one QueueFailedJob
* const queueFailedJob = await prisma.queueFailedJob.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends QueueFailedJobFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, QueueFailedJobFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__QueueFailedJobClient<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more QueueFailedJobs 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 {QueueFailedJobFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all QueueFailedJobs
* const queueFailedJobs = await prisma.queueFailedJob.findMany()
*
* // Get first 10 QueueFailedJobs
* const queueFailedJobs = await prisma.queueFailedJob.findMany({ take: 10 })
*
* // Only select the `id`
* const queueFailedJobWithIdOnly = await prisma.queueFailedJob.findMany({ select: { id: true } })
*
*/
findMany<T extends QueueFailedJobFindManyArgs>(args?: Prisma.SelectSubset<T, QueueFailedJobFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a QueueFailedJob.
* @param {QueueFailedJobCreateArgs} args - Arguments to create a QueueFailedJob.
* @example
* // Create one QueueFailedJob
* const QueueFailedJob = await prisma.queueFailedJob.create({
* data: {
* // ... data to create a QueueFailedJob
* }
* })
*
*/
create<T extends QueueFailedJobCreateArgs>(args: Prisma.SelectSubset<T, QueueFailedJobCreateArgs<ExtArgs>>): Prisma.Prisma__QueueFailedJobClient<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many QueueFailedJobs.
* @param {QueueFailedJobCreateManyArgs} args - Arguments to create many QueueFailedJobs.
* @example
* // Create many QueueFailedJobs
* const queueFailedJob = await prisma.queueFailedJob.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends QueueFailedJobCreateManyArgs>(args?: Prisma.SelectSubset<T, QueueFailedJobCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many QueueFailedJobs and returns the data saved in the database.
* @param {QueueFailedJobCreateManyAndReturnArgs} args - Arguments to create many QueueFailedJobs.
* @example
* // Create many QueueFailedJobs
* const queueFailedJob = await prisma.queueFailedJob.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many QueueFailedJobs and only return the `id`
* const queueFailedJobWithIdOnly = await prisma.queueFailedJob.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 QueueFailedJobCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, QueueFailedJobCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a QueueFailedJob.
* @param {QueueFailedJobDeleteArgs} args - Arguments to delete one QueueFailedJob.
* @example
* // Delete one QueueFailedJob
* const QueueFailedJob = await prisma.queueFailedJob.delete({
* where: {
* // ... filter to delete one QueueFailedJob
* }
* })
*
*/
delete<T extends QueueFailedJobDeleteArgs>(args: Prisma.SelectSubset<T, QueueFailedJobDeleteArgs<ExtArgs>>): Prisma.Prisma__QueueFailedJobClient<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one QueueFailedJob.
* @param {QueueFailedJobUpdateArgs} args - Arguments to update one QueueFailedJob.
* @example
* // Update one QueueFailedJob
* const queueFailedJob = await prisma.queueFailedJob.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends QueueFailedJobUpdateArgs>(args: Prisma.SelectSubset<T, QueueFailedJobUpdateArgs<ExtArgs>>): Prisma.Prisma__QueueFailedJobClient<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more QueueFailedJobs.
* @param {QueueFailedJobDeleteManyArgs} args - Arguments to filter QueueFailedJobs to delete.
* @example
* // Delete a few QueueFailedJobs
* const { count } = await prisma.queueFailedJob.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends QueueFailedJobDeleteManyArgs>(args?: Prisma.SelectSubset<T, QueueFailedJobDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more QueueFailedJobs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {QueueFailedJobUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many QueueFailedJobs
* const queueFailedJob = await prisma.queueFailedJob.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends QueueFailedJobUpdateManyArgs>(args: Prisma.SelectSubset<T, QueueFailedJobUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more QueueFailedJobs and returns the data updated in the database.
* @param {QueueFailedJobUpdateManyAndReturnArgs} args - Arguments to update many QueueFailedJobs.
* @example
* // Update many QueueFailedJobs
* const queueFailedJob = await prisma.queueFailedJob.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more QueueFailedJobs and only return the `id`
* const queueFailedJobWithIdOnly = await prisma.queueFailedJob.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 QueueFailedJobUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, QueueFailedJobUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one QueueFailedJob.
* @param {QueueFailedJobUpsertArgs} args - Arguments to update or create a QueueFailedJob.
* @example
* // Update or create a QueueFailedJob
* const queueFailedJob = await prisma.queueFailedJob.upsert({
* create: {
* // ... data to create a QueueFailedJob
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the QueueFailedJob we want to update
* }
* })
*/
upsert<T extends QueueFailedJobUpsertArgs>(args: Prisma.SelectSubset<T, QueueFailedJobUpsertArgs<ExtArgs>>): Prisma.Prisma__QueueFailedJobClient<runtime.Types.Result.GetResult<Prisma.$QueueFailedJobPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of QueueFailedJobs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {QueueFailedJobCountArgs} args - Arguments to filter QueueFailedJobs to count.
* @example
* // Count the number of QueueFailedJobs
* const count = await prisma.queueFailedJob.count({
* where: {
* // ... the filter for the QueueFailedJobs we want to count
* }
* })
**/
count<T extends QueueFailedJobCountArgs>(
args?: Prisma.Subset<T, QueueFailedJobCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], QueueFailedJobCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a QueueFailedJob.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {QueueFailedJobAggregateArgs} 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 QueueFailedJobAggregateArgs>(args: Prisma.Subset<T, QueueFailedJobAggregateArgs>): Prisma.PrismaPromise<GetQueueFailedJobAggregateType<T>>
/**
* Group by QueueFailedJob.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {QueueFailedJobGroupByArgs} 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 QueueFailedJobGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: QueueFailedJobGroupByArgs['orderBy'] }
: { orderBy?: QueueFailedJobGroupByArgs['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, QueueFailedJobGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetQueueFailedJobGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the QueueFailedJob model
*/
readonly fields: QueueFailedJobFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for QueueFailedJob.
* 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__QueueFailedJobClient<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 QueueFailedJob model
*/
export interface QueueFailedJobFieldRefs {
readonly id: Prisma.FieldRef<"QueueFailedJob", 'String'>
readonly createdAt: Prisma.FieldRef<"QueueFailedJob", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"QueueFailedJob", 'DateTime'>
readonly queueName: Prisma.FieldRef<"QueueFailedJob", 'String'>
readonly jobName: Prisma.FieldRef<"QueueFailedJob", 'String'>
readonly jobId: Prisma.FieldRef<"QueueFailedJob", 'String'>
readonly attemptsMade: Prisma.FieldRef<"QueueFailedJob", 'Int'>
readonly attemptsLimit: Prisma.FieldRef<"QueueFailedJob", 'Int'>
readonly errorName: Prisma.FieldRef<"QueueFailedJob", 'String'>
readonly errorMessage: Prisma.FieldRef<"QueueFailedJob", 'String'>
readonly failedAt: Prisma.FieldRef<"QueueFailedJob", 'DateTime'>
}
// Custom InputTypes
/**
* QueueFailedJob findUnique
*/
export type QueueFailedJobFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* Filter, which QueueFailedJob to fetch.
*/
where: Prisma.QueueFailedJobWhereUniqueInput
}
/**
* QueueFailedJob findUniqueOrThrow
*/
export type QueueFailedJobFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* Filter, which QueueFailedJob to fetch.
*/
where: Prisma.QueueFailedJobWhereUniqueInput
}
/**
* QueueFailedJob findFirst
*/
export type QueueFailedJobFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* Filter, which QueueFailedJob to fetch.
*/
where?: Prisma.QueueFailedJobWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of QueueFailedJobs to fetch.
*/
orderBy?: Prisma.QueueFailedJobOrderByWithRelationInput | Prisma.QueueFailedJobOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for QueueFailedJobs.
*/
cursor?: Prisma.QueueFailedJobWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` QueueFailedJobs 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` QueueFailedJobs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of QueueFailedJobs.
*/
distinct?: Prisma.QueueFailedJobScalarFieldEnum | Prisma.QueueFailedJobScalarFieldEnum[]
}
/**
* QueueFailedJob findFirstOrThrow
*/
export type QueueFailedJobFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* Filter, which QueueFailedJob to fetch.
*/
where?: Prisma.QueueFailedJobWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of QueueFailedJobs to fetch.
*/
orderBy?: Prisma.QueueFailedJobOrderByWithRelationInput | Prisma.QueueFailedJobOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for QueueFailedJobs.
*/
cursor?: Prisma.QueueFailedJobWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` QueueFailedJobs 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` QueueFailedJobs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of QueueFailedJobs.
*/
distinct?: Prisma.QueueFailedJobScalarFieldEnum | Prisma.QueueFailedJobScalarFieldEnum[]
}
/**
* QueueFailedJob findMany
*/
export type QueueFailedJobFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* Filter, which QueueFailedJobs to fetch.
*/
where?: Prisma.QueueFailedJobWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of QueueFailedJobs to fetch.
*/
orderBy?: Prisma.QueueFailedJobOrderByWithRelationInput | Prisma.QueueFailedJobOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing QueueFailedJobs.
*/
cursor?: Prisma.QueueFailedJobWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` QueueFailedJobs 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` QueueFailedJobs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of QueueFailedJobs.
*/
distinct?: Prisma.QueueFailedJobScalarFieldEnum | Prisma.QueueFailedJobScalarFieldEnum[]
}
/**
* QueueFailedJob create
*/
export type QueueFailedJobCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* The data needed to create a QueueFailedJob.
*/
data: Prisma.XOR<Prisma.QueueFailedJobCreateInput, Prisma.QueueFailedJobUncheckedCreateInput>
}
/**
* QueueFailedJob createMany
*/
export type QueueFailedJobCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many QueueFailedJobs.
*/
data: Prisma.QueueFailedJobCreateManyInput | Prisma.QueueFailedJobCreateManyInput[]
skipDuplicates?: boolean
}
/**
* QueueFailedJob createManyAndReturn
*/
export type QueueFailedJobCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* The data used to create many QueueFailedJobs.
*/
data: Prisma.QueueFailedJobCreateManyInput | Prisma.QueueFailedJobCreateManyInput[]
skipDuplicates?: boolean
}
/**
* QueueFailedJob update
*/
export type QueueFailedJobUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* The data needed to update a QueueFailedJob.
*/
data: Prisma.XOR<Prisma.QueueFailedJobUpdateInput, Prisma.QueueFailedJobUncheckedUpdateInput>
/**
* Choose, which QueueFailedJob to update.
*/
where: Prisma.QueueFailedJobWhereUniqueInput
}
/**
* QueueFailedJob updateMany
*/
export type QueueFailedJobUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update QueueFailedJobs.
*/
data: Prisma.XOR<Prisma.QueueFailedJobUpdateManyMutationInput, Prisma.QueueFailedJobUncheckedUpdateManyInput>
/**
* Filter which QueueFailedJobs to update
*/
where?: Prisma.QueueFailedJobWhereInput
/**
* Limit how many QueueFailedJobs to update.
*/
limit?: number
}
/**
* QueueFailedJob updateManyAndReturn
*/
export type QueueFailedJobUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* The data used to update QueueFailedJobs.
*/
data: Prisma.XOR<Prisma.QueueFailedJobUpdateManyMutationInput, Prisma.QueueFailedJobUncheckedUpdateManyInput>
/**
* Filter which QueueFailedJobs to update
*/
where?: Prisma.QueueFailedJobWhereInput
/**
* Limit how many QueueFailedJobs to update.
*/
limit?: number
}
/**
* QueueFailedJob upsert
*/
export type QueueFailedJobUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* The filter to search for the QueueFailedJob to update in case it exists.
*/
where: Prisma.QueueFailedJobWhereUniqueInput
/**
* In case the QueueFailedJob found by the `where` argument doesn't exist, create a new QueueFailedJob with this data.
*/
create: Prisma.XOR<Prisma.QueueFailedJobCreateInput, Prisma.QueueFailedJobUncheckedCreateInput>
/**
* In case the QueueFailedJob was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.QueueFailedJobUpdateInput, Prisma.QueueFailedJobUncheckedUpdateInput>
}
/**
* QueueFailedJob delete
*/
export type QueueFailedJobDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
/**
* Filter which QueueFailedJob to delete.
*/
where: Prisma.QueueFailedJobWhereUniqueInput
}
/**
* QueueFailedJob deleteMany
*/
export type QueueFailedJobDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which QueueFailedJobs to delete
*/
where?: Prisma.QueueFailedJobWhereInput
/**
* Limit how many QueueFailedJobs to delete.
*/
limit?: number
}
/**
* QueueFailedJob without action
*/
export type QueueFailedJobDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the QueueFailedJob
*/
select?: Prisma.QueueFailedJobSelect<ExtArgs> | null
/**
* Omit specific fields from the QueueFailedJob
*/
omit?: Prisma.QueueFailedJobOmit<ExtArgs> | null
}