@nestjs-mod/webhook
Version:
Webhook module with an error filter, guard, controller, database migrations and rest-sdk for work with module from other nodejs appliaction
1,097 lines • 53.6 kB
TypeScript
/**
* This file exports the `migrations_webhook` model and its related types.
*
* 🟢 You can import this file directly.
*/
import * as runtime from "@prisma/client/runtime/client";
import type * as Prisma from "../internal/prismaNamespace";
/**
* Model migrations_webhook
*
*/
export type migrations_webhookModel = runtime.Types.Result.DefaultSelection<Prisma.$migrations_webhookPayload>;
export type AggregateMigrations_webhook = {
_count: Migrations_webhookCountAggregateOutputType | null;
_avg: Migrations_webhookAvgAggregateOutputType | null;
_sum: Migrations_webhookSumAggregateOutputType | null;
_min: Migrations_webhookMinAggregateOutputType | null;
_max: Migrations_webhookMaxAggregateOutputType | null;
};
export type Migrations_webhookAvgAggregateOutputType = {
installed_rank: number | null;
checksum: number | null;
execution_time: number | null;
};
export type Migrations_webhookSumAggregateOutputType = {
installed_rank: number | null;
checksum: number | null;
execution_time: number | null;
};
export type Migrations_webhookMinAggregateOutputType = {
installed_rank: number | null;
version: string | null;
description: string | null;
type: string | null;
script: string | null;
checksum: number | null;
installed_by: string | null;
installed_on: Date | null;
execution_time: number | null;
success: boolean | null;
};
export type Migrations_webhookMaxAggregateOutputType = {
installed_rank: number | null;
version: string | null;
description: string | null;
type: string | null;
script: string | null;
checksum: number | null;
installed_by: string | null;
installed_on: Date | null;
execution_time: number | null;
success: boolean | null;
};
export type Migrations_webhookCountAggregateOutputType = {
installed_rank: number;
version: number;
description: number;
type: number;
script: number;
checksum: number;
installed_by: number;
installed_on: number;
execution_time: number;
success: number;
_all: number;
};
export type Migrations_webhookAvgAggregateInputType = {
installed_rank?: true;
checksum?: true;
execution_time?: true;
};
export type Migrations_webhookSumAggregateInputType = {
installed_rank?: true;
checksum?: true;
execution_time?: true;
};
export type Migrations_webhookMinAggregateInputType = {
installed_rank?: true;
version?: true;
description?: true;
type?: true;
script?: true;
checksum?: true;
installed_by?: true;
installed_on?: true;
execution_time?: true;
success?: true;
};
export type Migrations_webhookMaxAggregateInputType = {
installed_rank?: true;
version?: true;
description?: true;
type?: true;
script?: true;
checksum?: true;
installed_by?: true;
installed_on?: true;
execution_time?: true;
success?: true;
};
export type Migrations_webhookCountAggregateInputType = {
installed_rank?: true;
version?: true;
description?: true;
type?: true;
script?: true;
checksum?: true;
installed_by?: true;
installed_on?: true;
execution_time?: true;
success?: true;
_all?: true;
};
export type Migrations_webhookAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which migrations_webhook to aggregate.
*/
where?: Prisma.migrations_webhookWhereInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of migrations_webhooks to fetch.
*/
orderBy?: Prisma.migrations_webhookOrderByWithRelationInput | Prisma.migrations_webhookOrderByWithRelationInput[];
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.migrations_webhookWhereUniqueInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` migrations_webhooks 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` migrations_webhooks.
*/
skip?: number;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned migrations_webhooks
**/
_count?: true | Migrations_webhookCountAggregateInputType;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: Migrations_webhookAvgAggregateInputType;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: Migrations_webhookSumAggregateInputType;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: Migrations_webhookMinAggregateInputType;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: Migrations_webhookMaxAggregateInputType;
};
export type GetMigrations_webhookAggregateType<T extends Migrations_webhookAggregateArgs> = {
[P in keyof T & keyof AggregateMigrations_webhook]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateMigrations_webhook[P]> : Prisma.GetScalarType<T[P], AggregateMigrations_webhook[P]>;
};
export type migrations_webhookGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.migrations_webhookWhereInput;
orderBy?: Prisma.migrations_webhookOrderByWithAggregationInput | Prisma.migrations_webhookOrderByWithAggregationInput[];
by: Prisma.Migrations_webhookScalarFieldEnum[] | Prisma.Migrations_webhookScalarFieldEnum;
having?: Prisma.migrations_webhookScalarWhereWithAggregatesInput;
take?: number;
skip?: number;
_count?: Migrations_webhookCountAggregateInputType | true;
_avg?: Migrations_webhookAvgAggregateInputType;
_sum?: Migrations_webhookSumAggregateInputType;
_min?: Migrations_webhookMinAggregateInputType;
_max?: Migrations_webhookMaxAggregateInputType;
};
export type Migrations_webhookGroupByOutputType = {
installed_rank: number;
version: string | null;
description: string;
type: string;
script: string;
checksum: number | null;
installed_by: string;
installed_on: Date;
execution_time: number;
success: boolean;
_count: Migrations_webhookCountAggregateOutputType | null;
_avg: Migrations_webhookAvgAggregateOutputType | null;
_sum: Migrations_webhookSumAggregateOutputType | null;
_min: Migrations_webhookMinAggregateOutputType | null;
_max: Migrations_webhookMaxAggregateOutputType | null;
};
type GetMigrations_webhookGroupByPayload<T extends migrations_webhookGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<Migrations_webhookGroupByOutputType, T['by']> & {
[P in ((keyof T) & (keyof Migrations_webhookGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], Migrations_webhookGroupByOutputType[P]> : Prisma.GetScalarType<T[P], Migrations_webhookGroupByOutputType[P]>;
}>>;
export type migrations_webhookWhereInput = {
AND?: Prisma.migrations_webhookWhereInput | Prisma.migrations_webhookWhereInput[];
OR?: Prisma.migrations_webhookWhereInput[];
NOT?: Prisma.migrations_webhookWhereInput | Prisma.migrations_webhookWhereInput[];
installed_rank?: Prisma.IntFilter<"migrations_webhook"> | number;
version?: Prisma.StringNullableFilter<"migrations_webhook"> | string | null;
description?: Prisma.StringFilter<"migrations_webhook"> | string;
type?: Prisma.StringFilter<"migrations_webhook"> | string;
script?: Prisma.StringFilter<"migrations_webhook"> | string;
checksum?: Prisma.IntNullableFilter<"migrations_webhook"> | number | null;
installed_by?: Prisma.StringFilter<"migrations_webhook"> | string;
installed_on?: Prisma.DateTimeFilter<"migrations_webhook"> | Date | string;
execution_time?: Prisma.IntFilter<"migrations_webhook"> | number;
success?: Prisma.BoolFilter<"migrations_webhook"> | boolean;
};
export type migrations_webhookOrderByWithRelationInput = {
installed_rank?: Prisma.SortOrder;
version?: Prisma.SortOrderInput | Prisma.SortOrder;
description?: Prisma.SortOrder;
type?: Prisma.SortOrder;
script?: Prisma.SortOrder;
checksum?: Prisma.SortOrderInput | Prisma.SortOrder;
installed_by?: Prisma.SortOrder;
installed_on?: Prisma.SortOrder;
execution_time?: Prisma.SortOrder;
success?: Prisma.SortOrder;
};
export type migrations_webhookWhereUniqueInput = Prisma.AtLeast<{
installed_rank?: number;
AND?: Prisma.migrations_webhookWhereInput | Prisma.migrations_webhookWhereInput[];
OR?: Prisma.migrations_webhookWhereInput[];
NOT?: Prisma.migrations_webhookWhereInput | Prisma.migrations_webhookWhereInput[];
version?: Prisma.StringNullableFilter<"migrations_webhook"> | string | null;
description?: Prisma.StringFilter<"migrations_webhook"> | string;
type?: Prisma.StringFilter<"migrations_webhook"> | string;
script?: Prisma.StringFilter<"migrations_webhook"> | string;
checksum?: Prisma.IntNullableFilter<"migrations_webhook"> | number | null;
installed_by?: Prisma.StringFilter<"migrations_webhook"> | string;
installed_on?: Prisma.DateTimeFilter<"migrations_webhook"> | Date | string;
execution_time?: Prisma.IntFilter<"migrations_webhook"> | number;
success?: Prisma.BoolFilter<"migrations_webhook"> | boolean;
}, "installed_rank">;
export type migrations_webhookOrderByWithAggregationInput = {
installed_rank?: Prisma.SortOrder;
version?: Prisma.SortOrderInput | Prisma.SortOrder;
description?: Prisma.SortOrder;
type?: Prisma.SortOrder;
script?: Prisma.SortOrder;
checksum?: Prisma.SortOrderInput | Prisma.SortOrder;
installed_by?: Prisma.SortOrder;
installed_on?: Prisma.SortOrder;
execution_time?: Prisma.SortOrder;
success?: Prisma.SortOrder;
_count?: Prisma.migrations_webhookCountOrderByAggregateInput;
_avg?: Prisma.migrations_webhookAvgOrderByAggregateInput;
_max?: Prisma.migrations_webhookMaxOrderByAggregateInput;
_min?: Prisma.migrations_webhookMinOrderByAggregateInput;
_sum?: Prisma.migrations_webhookSumOrderByAggregateInput;
};
export type migrations_webhookScalarWhereWithAggregatesInput = {
AND?: Prisma.migrations_webhookScalarWhereWithAggregatesInput | Prisma.migrations_webhookScalarWhereWithAggregatesInput[];
OR?: Prisma.migrations_webhookScalarWhereWithAggregatesInput[];
NOT?: Prisma.migrations_webhookScalarWhereWithAggregatesInput | Prisma.migrations_webhookScalarWhereWithAggregatesInput[];
installed_rank?: Prisma.IntWithAggregatesFilter<"migrations_webhook"> | number;
version?: Prisma.StringNullableWithAggregatesFilter<"migrations_webhook"> | string | null;
description?: Prisma.StringWithAggregatesFilter<"migrations_webhook"> | string;
type?: Prisma.StringWithAggregatesFilter<"migrations_webhook"> | string;
script?: Prisma.StringWithAggregatesFilter<"migrations_webhook"> | string;
checksum?: Prisma.IntNullableWithAggregatesFilter<"migrations_webhook"> | number | null;
installed_by?: Prisma.StringWithAggregatesFilter<"migrations_webhook"> | string;
installed_on?: Prisma.DateTimeWithAggregatesFilter<"migrations_webhook"> | Date | string;
execution_time?: Prisma.IntWithAggregatesFilter<"migrations_webhook"> | number;
success?: Prisma.BoolWithAggregatesFilter<"migrations_webhook"> | boolean;
};
export type migrations_webhookCreateInput = {
installed_rank: number;
version?: string | null;
description: string;
type: string;
script: string;
checksum?: number | null;
installed_by: string;
installed_on?: Date | string;
execution_time: number;
success: boolean;
};
export type migrations_webhookUncheckedCreateInput = {
installed_rank: number;
version?: string | null;
description: string;
type: string;
script: string;
checksum?: number | null;
installed_by: string;
installed_on?: Date | string;
execution_time: number;
success: boolean;
};
export type migrations_webhookUpdateInput = {
installed_rank?: Prisma.IntFieldUpdateOperationsInput | number;
version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
description?: Prisma.StringFieldUpdateOperationsInput | string;
type?: Prisma.StringFieldUpdateOperationsInput | string;
script?: Prisma.StringFieldUpdateOperationsInput | string;
checksum?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
installed_by?: Prisma.StringFieldUpdateOperationsInput | string;
installed_on?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
execution_time?: Prisma.IntFieldUpdateOperationsInput | number;
success?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type migrations_webhookUncheckedUpdateInput = {
installed_rank?: Prisma.IntFieldUpdateOperationsInput | number;
version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
description?: Prisma.StringFieldUpdateOperationsInput | string;
type?: Prisma.StringFieldUpdateOperationsInput | string;
script?: Prisma.StringFieldUpdateOperationsInput | string;
checksum?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
installed_by?: Prisma.StringFieldUpdateOperationsInput | string;
installed_on?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
execution_time?: Prisma.IntFieldUpdateOperationsInput | number;
success?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type migrations_webhookCreateManyInput = {
installed_rank: number;
version?: string | null;
description: string;
type: string;
script: string;
checksum?: number | null;
installed_by: string;
installed_on?: Date | string;
execution_time: number;
success: boolean;
};
export type migrations_webhookUpdateManyMutationInput = {
installed_rank?: Prisma.IntFieldUpdateOperationsInput | number;
version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
description?: Prisma.StringFieldUpdateOperationsInput | string;
type?: Prisma.StringFieldUpdateOperationsInput | string;
script?: Prisma.StringFieldUpdateOperationsInput | string;
checksum?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
installed_by?: Prisma.StringFieldUpdateOperationsInput | string;
installed_on?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
execution_time?: Prisma.IntFieldUpdateOperationsInput | number;
success?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type migrations_webhookUncheckedUpdateManyInput = {
installed_rank?: Prisma.IntFieldUpdateOperationsInput | number;
version?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
description?: Prisma.StringFieldUpdateOperationsInput | string;
type?: Prisma.StringFieldUpdateOperationsInput | string;
script?: Prisma.StringFieldUpdateOperationsInput | string;
checksum?: Prisma.NullableIntFieldUpdateOperationsInput | number | null;
installed_by?: Prisma.StringFieldUpdateOperationsInput | string;
installed_on?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
execution_time?: Prisma.IntFieldUpdateOperationsInput | number;
success?: Prisma.BoolFieldUpdateOperationsInput | boolean;
};
export type migrations_webhookCountOrderByAggregateInput = {
installed_rank?: Prisma.SortOrder;
version?: Prisma.SortOrder;
description?: Prisma.SortOrder;
type?: Prisma.SortOrder;
script?: Prisma.SortOrder;
checksum?: Prisma.SortOrder;
installed_by?: Prisma.SortOrder;
installed_on?: Prisma.SortOrder;
execution_time?: Prisma.SortOrder;
success?: Prisma.SortOrder;
};
export type migrations_webhookAvgOrderByAggregateInput = {
installed_rank?: Prisma.SortOrder;
checksum?: Prisma.SortOrder;
execution_time?: Prisma.SortOrder;
};
export type migrations_webhookMaxOrderByAggregateInput = {
installed_rank?: Prisma.SortOrder;
version?: Prisma.SortOrder;
description?: Prisma.SortOrder;
type?: Prisma.SortOrder;
script?: Prisma.SortOrder;
checksum?: Prisma.SortOrder;
installed_by?: Prisma.SortOrder;
installed_on?: Prisma.SortOrder;
execution_time?: Prisma.SortOrder;
success?: Prisma.SortOrder;
};
export type migrations_webhookMinOrderByAggregateInput = {
installed_rank?: Prisma.SortOrder;
version?: Prisma.SortOrder;
description?: Prisma.SortOrder;
type?: Prisma.SortOrder;
script?: Prisma.SortOrder;
checksum?: Prisma.SortOrder;
installed_by?: Prisma.SortOrder;
installed_on?: Prisma.SortOrder;
execution_time?: Prisma.SortOrder;
success?: Prisma.SortOrder;
};
export type migrations_webhookSumOrderByAggregateInput = {
installed_rank?: Prisma.SortOrder;
checksum?: Prisma.SortOrder;
execution_time?: Prisma.SortOrder;
};
export type IntFieldUpdateOperationsInput = {
set?: number;
increment?: number;
decrement?: number;
multiply?: number;
divide?: number;
};
export type NullableStringFieldUpdateOperationsInput = {
set?: string | null;
};
export type migrations_webhookSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
installed_rank?: boolean;
version?: boolean;
description?: boolean;
type?: boolean;
script?: boolean;
checksum?: boolean;
installed_by?: boolean;
installed_on?: boolean;
execution_time?: boolean;
success?: boolean;
}, ExtArgs["result"]["migrations_webhook"]>;
export type migrations_webhookSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
installed_rank?: boolean;
version?: boolean;
description?: boolean;
type?: boolean;
script?: boolean;
checksum?: boolean;
installed_by?: boolean;
installed_on?: boolean;
execution_time?: boolean;
success?: boolean;
}, ExtArgs["result"]["migrations_webhook"]>;
export type migrations_webhookSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
installed_rank?: boolean;
version?: boolean;
description?: boolean;
type?: boolean;
script?: boolean;
checksum?: boolean;
installed_by?: boolean;
installed_on?: boolean;
execution_time?: boolean;
success?: boolean;
}, ExtArgs["result"]["migrations_webhook"]>;
export type migrations_webhookSelectScalar = {
installed_rank?: boolean;
version?: boolean;
description?: boolean;
type?: boolean;
script?: boolean;
checksum?: boolean;
installed_by?: boolean;
installed_on?: boolean;
execution_time?: boolean;
success?: boolean;
};
export type migrations_webhookOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"installed_rank" | "version" | "description" | "type" | "script" | "checksum" | "installed_by" | "installed_on" | "execution_time" | "success", ExtArgs["result"]["migrations_webhook"]>;
export type $migrations_webhookPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "migrations_webhook";
objects: {};
scalars: runtime.Types.Extensions.GetPayloadResult<{
installed_rank: number;
version: string | null;
description: string;
type: string;
script: string;
checksum: number | null;
installed_by: string;
installed_on: Date;
execution_time: number;
success: boolean;
}, ExtArgs["result"]["migrations_webhook"]>;
composites: {};
};
export type migrations_webhookGetPayload<S extends boolean | null | undefined | migrations_webhookDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload, S>;
export type migrations_webhookCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<migrations_webhookFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: Migrations_webhookCountAggregateInputType | true;
};
export interface migrations_webhookDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: {
types: Prisma.TypeMap<ExtArgs>['model']['migrations_webhook'];
meta: {
name: 'migrations_webhook';
};
};
/**
* Find zero or one Migrations_webhook that matches the filter.
* @param {migrations_webhookFindUniqueArgs} args - Arguments to find a Migrations_webhook
* @example
* // Get one Migrations_webhook
* const migrations_webhook = await prisma.migrations_webhook.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends migrations_webhookFindUniqueArgs>(args: Prisma.SelectSubset<T, migrations_webhookFindUniqueArgs<ExtArgs>>): Prisma.Prisma__migrations_webhookClient<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
/**
* Find one Migrations_webhook that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {migrations_webhookFindUniqueOrThrowArgs} args - Arguments to find a Migrations_webhook
* @example
* // Get one Migrations_webhook
* const migrations_webhook = await prisma.migrations_webhook.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends migrations_webhookFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, migrations_webhookFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__migrations_webhookClient<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
/**
* Find the first Migrations_webhook 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 {migrations_webhookFindFirstArgs} args - Arguments to find a Migrations_webhook
* @example
* // Get one Migrations_webhook
* const migrations_webhook = await prisma.migrations_webhook.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends migrations_webhookFindFirstArgs>(args?: Prisma.SelectSubset<T, migrations_webhookFindFirstArgs<ExtArgs>>): Prisma.Prisma__migrations_webhookClient<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
/**
* Find the first Migrations_webhook 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 {migrations_webhookFindFirstOrThrowArgs} args - Arguments to find a Migrations_webhook
* @example
* // Get one Migrations_webhook
* const migrations_webhook = await prisma.migrations_webhook.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends migrations_webhookFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, migrations_webhookFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__migrations_webhookClient<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
/**
* Find zero or more Migrations_webhooks 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 {migrations_webhookFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all Migrations_webhooks
* const migrations_webhooks = await prisma.migrations_webhook.findMany()
*
* // Get first 10 Migrations_webhooks
* const migrations_webhooks = await prisma.migrations_webhook.findMany({ take: 10 })
*
* // Only select the `installed_rank`
* const migrations_webhookWithInstalled_rankOnly = await prisma.migrations_webhook.findMany({ select: { installed_rank: true } })
*
*/
findMany<T extends migrations_webhookFindManyArgs>(args?: Prisma.SelectSubset<T, migrations_webhookFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
/**
* Create a Migrations_webhook.
* @param {migrations_webhookCreateArgs} args - Arguments to create a Migrations_webhook.
* @example
* // Create one Migrations_webhook
* const Migrations_webhook = await prisma.migrations_webhook.create({
* data: {
* // ... data to create a Migrations_webhook
* }
* })
*
*/
create<T extends migrations_webhookCreateArgs>(args: Prisma.SelectSubset<T, migrations_webhookCreateArgs<ExtArgs>>): Prisma.Prisma__migrations_webhookClient<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
/**
* Create many Migrations_webhooks.
* @param {migrations_webhookCreateManyArgs} args - Arguments to create many Migrations_webhooks.
* @example
* // Create many Migrations_webhooks
* const migrations_webhook = await prisma.migrations_webhook.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends migrations_webhookCreateManyArgs>(args?: Prisma.SelectSubset<T, migrations_webhookCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
/**
* Create many Migrations_webhooks and returns the data saved in the database.
* @param {migrations_webhookCreateManyAndReturnArgs} args - Arguments to create many Migrations_webhooks.
* @example
* // Create many Migrations_webhooks
* const migrations_webhook = await prisma.migrations_webhook.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many Migrations_webhooks and only return the `installed_rank`
* const migrations_webhookWithInstalled_rankOnly = await prisma.migrations_webhook.createManyAndReturn({
* select: { installed_rank: 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 migrations_webhookCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, migrations_webhookCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
/**
* Delete a Migrations_webhook.
* @param {migrations_webhookDeleteArgs} args - Arguments to delete one Migrations_webhook.
* @example
* // Delete one Migrations_webhook
* const Migrations_webhook = await prisma.migrations_webhook.delete({
* where: {
* // ... filter to delete one Migrations_webhook
* }
* })
*
*/
delete<T extends migrations_webhookDeleteArgs>(args: Prisma.SelectSubset<T, migrations_webhookDeleteArgs<ExtArgs>>): Prisma.Prisma__migrations_webhookClient<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
/**
* Update one Migrations_webhook.
* @param {migrations_webhookUpdateArgs} args - Arguments to update one Migrations_webhook.
* @example
* // Update one Migrations_webhook
* const migrations_webhook = await prisma.migrations_webhook.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends migrations_webhookUpdateArgs>(args: Prisma.SelectSubset<T, migrations_webhookUpdateArgs<ExtArgs>>): Prisma.Prisma__migrations_webhookClient<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
/**
* Delete zero or more Migrations_webhooks.
* @param {migrations_webhookDeleteManyArgs} args - Arguments to filter Migrations_webhooks to delete.
* @example
* // Delete a few Migrations_webhooks
* const { count } = await prisma.migrations_webhook.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends migrations_webhookDeleteManyArgs>(args?: Prisma.SelectSubset<T, migrations_webhookDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
/**
* Update zero or more Migrations_webhooks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {migrations_webhookUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many Migrations_webhooks
* const migrations_webhook = await prisma.migrations_webhook.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends migrations_webhookUpdateManyArgs>(args: Prisma.SelectSubset<T, migrations_webhookUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
/**
* Update zero or more Migrations_webhooks and returns the data updated in the database.
* @param {migrations_webhookUpdateManyAndReturnArgs} args - Arguments to update many Migrations_webhooks.
* @example
* // Update many Migrations_webhooks
* const migrations_webhook = await prisma.migrations_webhook.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more Migrations_webhooks and only return the `installed_rank`
* const migrations_webhookWithInstalled_rankOnly = await prisma.migrations_webhook.updateManyAndReturn({
* select: { installed_rank: 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 migrations_webhookUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, migrations_webhookUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
/**
* Create or update one Migrations_webhook.
* @param {migrations_webhookUpsertArgs} args - Arguments to update or create a Migrations_webhook.
* @example
* // Update or create a Migrations_webhook
* const migrations_webhook = await prisma.migrations_webhook.upsert({
* create: {
* // ... data to create a Migrations_webhook
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the Migrations_webhook we want to update
* }
* })
*/
upsert<T extends migrations_webhookUpsertArgs>(args: Prisma.SelectSubset<T, migrations_webhookUpsertArgs<ExtArgs>>): Prisma.Prisma__migrations_webhookClient<runtime.Types.Result.GetResult<Prisma.$migrations_webhookPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
/**
* Count the number of Migrations_webhooks.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {migrations_webhookCountArgs} args - Arguments to filter Migrations_webhooks to count.
* @example
* // Count the number of Migrations_webhooks
* const count = await prisma.migrations_webhook.count({
* where: {
* // ... the filter for the Migrations_webhooks we want to count
* }
* })
**/
count<T extends migrations_webhookCountArgs>(args?: Prisma.Subset<T, migrations_webhookCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], Migrations_webhookCountAggregateOutputType> : number>;
/**
* Allows you to perform aggregations operations on a Migrations_webhook.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {Migrations_webhookAggregateArgs} 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 Migrations_webhookAggregateArgs>(args: Prisma.Subset<T, Migrations_webhookAggregateArgs>): Prisma.PrismaPromise<GetMigrations_webhookAggregateType<T>>;
/**
* Group by Migrations_webhook.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {migrations_webhookGroupByArgs} 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 migrations_webhookGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
orderBy: migrations_webhookGroupByArgs['orderBy'];
} : {
orderBy?: migrations_webhookGroupByArgs['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, migrations_webhookGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetMigrations_webhookGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
/**
* Fields of the migrations_webhook model
*/
readonly fields: migrations_webhookFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for migrations_webhook.
* 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__migrations_webhookClient<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 migrations_webhook model
*/
export interface migrations_webhookFieldRefs {
readonly installed_rank: Prisma.FieldRef<"migrations_webhook", 'Int'>;
readonly version: Prisma.FieldRef<"migrations_webhook", 'String'>;
readonly description: Prisma.FieldRef<"migrations_webhook", 'String'>;
readonly type: Prisma.FieldRef<"migrations_webhook", 'String'>;
readonly script: Prisma.FieldRef<"migrations_webhook", 'String'>;
readonly checksum: Prisma.FieldRef<"migrations_webhook", 'Int'>;
readonly installed_by: Prisma.FieldRef<"migrations_webhook", 'String'>;
readonly installed_on: Prisma.FieldRef<"migrations_webhook", 'DateTime'>;
readonly execution_time: Prisma.FieldRef<"migrations_webhook", 'Int'>;
readonly success: Prisma.FieldRef<"migrations_webhook", 'Boolean'>;
}
/**
* migrations_webhook findUnique
*/
export type migrations_webhookFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the migrations_webhook
*/
select?: Prisma.migrations_webhookSelect<ExtArgs> | null;
/**
* Omit specific fields from the migrations_webhook
*/
omit?: Prisma.migrations_webhookOmit<ExtArgs> | null;
/**
* Filter, which migrations_webhook to fetch.
*/
where: Prisma.migrations_webhookWhereUniqueInput;
};
/**
* migrations_webhook findUniqueOrThrow
*/
export type migrations_webhookFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the migrations_webhook
*/
select?: Prisma.migrations_webhookSelect<ExtArgs> | null;
/**
* Omit specific fields from the migrations_webhook
*/
omit?: Prisma.migrations_webhookOmit<ExtArgs> | null;
/**
* Filter, which migrations_webhook to fetch.
*/
where: Prisma.migrations_webhookWhereUniqueInput;
};
/**
* migrations_webhook findFirst
*/
export type migrations_webhookFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the migrations_webhook
*/
select?: Prisma.migrations_webhookSelect<ExtArgs> | null;
/**
* Omit specific fields from the migrations_webhook
*/
omit?: Prisma.migrations_webhookOmit<ExtArgs> | null;
/**
* Filter, which migrations_webhook to fetch.
*/
where?: Prisma.migrations_webhookWhereInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of migrations_webhooks to fetch.
*/
orderBy?: Prisma.migrations_webhookOrderByWithRelationInput | Prisma.migrations_webhookOrderByWithRelationInput[];
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for migrations_webhooks.
*/
cursor?: Prisma.migrations_webhookWhereUniqueInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` migrations_webhooks 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` migrations_webhooks.
*/
skip?: number;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of migrations_webhooks.
*/
distinct?: Prisma.Migrations_webhookScalarFieldEnum | Prisma.Migrations_webhookScalarFieldEnum[];
};
/**
* migrations_webhook findFirstOrThrow
*/
export type migrations_webhookFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the migrations_webhook
*/
select?: Prisma.migrations_webhookSelect<ExtArgs> | null;
/**
* Omit specific fields from the migrations_webhook
*/
omit?: Prisma.migrations_webhookOmit<ExtArgs> | null;
/**
* Filter, which migrations_webhook to fetch.
*/
where?: Prisma.migrations_webhookWhereInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of migrations_webhooks to fetch.
*/
orderBy?: Prisma.migrations_webhookOrderByWithRelationInput | Prisma.migrations_webhookOrderByWithRelationInput[];
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for migrations_webhooks.
*/
cursor?: Prisma.migrations_webhookWhereUniqueInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` migrations_webhooks 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` migrations_webhooks.
*/
skip?: number;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of migrations_webhooks.
*/
distinct?: Prisma.Migrations_webhookScalarFieldEnum | Prisma.Migrations_webhookScalarFieldEnum[];
};
/**
* migrations_webhook findMany
*/
export type migrations_webhookFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the migrations_webhook
*/
select?: Prisma.migrations_webhookSelect<ExtArgs> | null;
/**
* Omit specific fields from the migrations_webhook
*/
omit?: Prisma.migrations_webhookOmit<ExtArgs> | null;
/**
* Filter, which migrations_webhooks to fetch.
*/
where?: Prisma.migrations_webhookWhereInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of migrations_webhooks to fetch.
*/
orderBy?: Prisma.migrations_webhookOrderByWithRelationInput | Prisma.migrations_webhookOrderByWithRelationInput[];
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing migrations_webhooks.
*/
cursor?: Prisma.migrations_webhookWhereUniqueInput;
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` migrations_webhooks 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` migrations_webhooks.
*/
skip?: number;
distinct?: Prisma.Migrations_webhookScalarFieldEnum | Prisma.Migrations_webhookScalarFieldEnum[];
};
/**
* migrations_webhook create
*/
export type migrations_webhookCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the migrations_webhook
*/
select?: Prisma.migrations_webhookSelect<ExtArgs> | null;
/**
* Omit specific fields from the migrations_webhook
*/
omit?: Prisma.migrations_webhookOmit<ExtArgs> | null;
/**
* The data needed to create a migrations_webhook.
*/
data: Prisma.XOR<Prisma.migrations_webhookCreateInput, Prisma.migrations_webhookUncheckedCreateInput>;
};
/**
* migrations_webhook createMany
*/
export type migrations_webhookCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many migrations_webhooks.
*/
data: Prisma.migrations_webhookCreateManyInput | Prisma.migrations_webhookCreateManyInput[];
skipDuplicates?: boolean;
};
/**
* migrations_webhook createManyAndReturn
*/
export type migrations_webhookCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the migrations_webhook
*/
select?: Prisma.migrations_webhookSelectCreateManyAndReturn<ExtArgs> | null;
/**
* Omit specific fields from the migrations_webhook
*/
omit?: Prisma.migrations_webhookOmit<ExtArgs> | null;
/**
* The data used to create many migrations_webhooks.
*/
data: Prisma.migrations_webhookCreateManyInput | Prisma.migrations_webhookCreateManyInput[];
skipDuplicates?: boolean;
};
/**
* migrations_webhook update
*/
export type migrations_webhookUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the migrations_webhook
*/
select?: Prisma.migrations_webhookSelect<ExtArgs> | null;
/**
* Omit specific fields from the migrations_webhook
*/
omit?: Prisma.migrations_webhookOmit<ExtArgs> | null;
/**
* The data needed to update a migrations_webhook.
*/
data: Prisma.XOR<Prisma.migrations_webhookUpdateInput, Prisma.migrations_webhookUncheckedUpdateInput>;
/**
* Choose, which migrations_webhook to update.
*/
where: Prisma.migrations_webhookWhereUniqueInput;
};
/**
* migrations_webhook updateMany
*/
export type migrations_webhookUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update migrations_webhooks.
*/
data: Prisma.XOR<Prisma.migrations_webhookUpdateManyMutationInput, Prisma.migrations_webhookUncheckedUpdateManyInput>;
/**
*