/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateQueueFailedJob]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type QueueFailedJobGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof QueueFailedJobGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 = 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 = 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 = 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 = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "queueName" | "jobName" | "jobId" | "attemptsMade" | "attemptsLimit" | "errorName" | "errorMessage" | "failedAt", ExtArgs["result"]["queueFailedJob"]> export type $QueueFailedJobPayload = { 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 = runtime.Types.Result.GetResult export type QueueFailedJobCountArgs = Omit & { select?: QueueFailedJobCountAggregateInputType | true } export interface QueueFailedJobDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__QueueFailedJobClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__QueueFailedJobClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__QueueFailedJobClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__QueueFailedJobClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__QueueFailedJobClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__QueueFailedJobClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__QueueFailedJobClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__QueueFailedJobClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: QueueFailedJobGroupByArgs['orderBy'] } : { orderBy?: QueueFailedJobGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetQueueFailedJobGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the 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 = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | null /** * Filter, which QueueFailedJob to fetch. */ where: Prisma.QueueFailedJobWhereUniqueInput } /** * QueueFailedJob findUniqueOrThrow */ export type QueueFailedJobFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | null /** * Filter, which QueueFailedJob to fetch. */ where: Prisma.QueueFailedJobWhereUniqueInput } /** * QueueFailedJob findFirst */ export type QueueFailedJobFindFirstArgs = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | 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 = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | 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 = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | 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 = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | null /** * The data needed to create a QueueFailedJob. */ data: Prisma.XOR } /** * QueueFailedJob createMany */ export type QueueFailedJobCreateManyArgs = { /** * The data used to create many QueueFailedJobs. */ data: Prisma.QueueFailedJobCreateManyInput | Prisma.QueueFailedJobCreateManyInput[] skipDuplicates?: boolean } /** * QueueFailedJob createManyAndReturn */ export type QueueFailedJobCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelectCreateManyAndReturn | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | null /** * The data used to create many QueueFailedJobs. */ data: Prisma.QueueFailedJobCreateManyInput | Prisma.QueueFailedJobCreateManyInput[] skipDuplicates?: boolean } /** * QueueFailedJob update */ export type QueueFailedJobUpdateArgs = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | null /** * The data needed to update a QueueFailedJob. */ data: Prisma.XOR /** * Choose, which QueueFailedJob to update. */ where: Prisma.QueueFailedJobWhereUniqueInput } /** * QueueFailedJob updateMany */ export type QueueFailedJobUpdateManyArgs = { /** * The data used to update QueueFailedJobs. */ data: Prisma.XOR /** * Filter which QueueFailedJobs to update */ where?: Prisma.QueueFailedJobWhereInput /** * Limit how many QueueFailedJobs to update. */ limit?: number } /** * QueueFailedJob updateManyAndReturn */ export type QueueFailedJobUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelectUpdateManyAndReturn | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | null /** * The data used to update QueueFailedJobs. */ data: Prisma.XOR /** * Filter which QueueFailedJobs to update */ where?: Prisma.QueueFailedJobWhereInput /** * Limit how many QueueFailedJobs to update. */ limit?: number } /** * QueueFailedJob upsert */ export type QueueFailedJobUpsertArgs = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | 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 /** * In case the QueueFailedJob was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * QueueFailedJob delete */ export type QueueFailedJobDeleteArgs = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | null /** * Filter which QueueFailedJob to delete. */ where: Prisma.QueueFailedJobWhereUniqueInput } /** * QueueFailedJob deleteMany */ export type QueueFailedJobDeleteManyArgs = { /** * Filter which QueueFailedJobs to delete */ where?: Prisma.QueueFailedJobWhereInput /** * Limit how many QueueFailedJobs to delete. */ limit?: number } /** * QueueFailedJob without action */ export type QueueFailedJobDefaultArgs = { /** * Select specific fields to fetch from the QueueFailedJob */ select?: Prisma.QueueFailedJobSelect | null /** * Omit specific fields from the QueueFailedJob */ omit?: Prisma.QueueFailedJobOmit | null }