Files
HiveGrid-Wireframes/03 Quellen und Referenzen/hivegrid-cloud/packages/db/generated/prisma/client/models/LeadAntiSpamConfig.ts
T
2026-07-08 16:15:37 +02:00

1440 lines
55 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 `LeadAntiSpamConfig` 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 LeadAntiSpamConfig
*
*/
export type LeadAntiSpamConfigModel = runtime.Types.Result.DefaultSelection<Prisma.$LeadAntiSpamConfigPayload>
export type AggregateLeadAntiSpamConfig = {
_count: LeadAntiSpamConfigCountAggregateOutputType | null
_avg: LeadAntiSpamConfigAvgAggregateOutputType | null
_sum: LeadAntiSpamConfigSumAggregateOutputType | null
_min: LeadAntiSpamConfigMinAggregateOutputType | null
_max: LeadAntiSpamConfigMaxAggregateOutputType | null
}
export type LeadAntiSpamConfigAvgAggregateOutputType = {
perSourcePerHourLimit: number | null
perIpPerHourLimit: number | null
anomalySpikeFactor: number | null
lostAutoDeleteDays: number | null
}
export type LeadAntiSpamConfigSumAggregateOutputType = {
perSourcePerHourLimit: number | null
perIpPerHourLimit: number | null
anomalySpikeFactor: number | null
lostAutoDeleteDays: number | null
}
export type LeadAntiSpamConfigMinAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
perSourcePerHourLimit: number | null
perIpPerHourLimit: number | null
anomalySpikeFactor: number | null
mode: $Enums.LeadAntiSpamMode | null
disposableDomainEnabled: boolean | null
honeypotEnabled: boolean | null
fastSubmitEnabled: boolean | null
lostAutoDeleteDays: number | null
isDemoData: boolean | null
}
export type LeadAntiSpamConfigMaxAggregateOutputType = {
id: string | null
createdAt: Date | null
updatedAt: Date | null
tenantId: string | null
perSourcePerHourLimit: number | null
perIpPerHourLimit: number | null
anomalySpikeFactor: number | null
mode: $Enums.LeadAntiSpamMode | null
disposableDomainEnabled: boolean | null
honeypotEnabled: boolean | null
fastSubmitEnabled: boolean | null
lostAutoDeleteDays: number | null
isDemoData: boolean | null
}
export type LeadAntiSpamConfigCountAggregateOutputType = {
id: number
createdAt: number
updatedAt: number
tenantId: number
perSourcePerHourLimit: number
perIpPerHourLimit: number
anomalySpikeFactor: number
mode: number
disposableDomainEnabled: number
honeypotEnabled: number
fastSubmitEnabled: number
lostAutoDeleteDays: number
isDemoData: number
_all: number
}
export type LeadAntiSpamConfigAvgAggregateInputType = {
perSourcePerHourLimit?: true
perIpPerHourLimit?: true
anomalySpikeFactor?: true
lostAutoDeleteDays?: true
}
export type LeadAntiSpamConfigSumAggregateInputType = {
perSourcePerHourLimit?: true
perIpPerHourLimit?: true
anomalySpikeFactor?: true
lostAutoDeleteDays?: true
}
export type LeadAntiSpamConfigMinAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
perSourcePerHourLimit?: true
perIpPerHourLimit?: true
anomalySpikeFactor?: true
mode?: true
disposableDomainEnabled?: true
honeypotEnabled?: true
fastSubmitEnabled?: true
lostAutoDeleteDays?: true
isDemoData?: true
}
export type LeadAntiSpamConfigMaxAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
perSourcePerHourLimit?: true
perIpPerHourLimit?: true
anomalySpikeFactor?: true
mode?: true
disposableDomainEnabled?: true
honeypotEnabled?: true
fastSubmitEnabled?: true
lostAutoDeleteDays?: true
isDemoData?: true
}
export type LeadAntiSpamConfigCountAggregateInputType = {
id?: true
createdAt?: true
updatedAt?: true
tenantId?: true
perSourcePerHourLimit?: true
perIpPerHourLimit?: true
anomalySpikeFactor?: true
mode?: true
disposableDomainEnabled?: true
honeypotEnabled?: true
fastSubmitEnabled?: true
lostAutoDeleteDays?: true
isDemoData?: true
_all?: true
}
export type LeadAntiSpamConfigAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which LeadAntiSpamConfig to aggregate.
*/
where?: Prisma.LeadAntiSpamConfigWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of LeadAntiSpamConfigs to fetch.
*/
orderBy?: Prisma.LeadAntiSpamConfigOrderByWithRelationInput | Prisma.LeadAntiSpamConfigOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the start position
*/
cursor?: Prisma.LeadAntiSpamConfigWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` LeadAntiSpamConfigs 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` LeadAntiSpamConfigs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Count returned LeadAntiSpamConfigs
**/
_count?: true | LeadAntiSpamConfigCountAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to average
**/
_avg?: LeadAntiSpamConfigAvgAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to sum
**/
_sum?: LeadAntiSpamConfigSumAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the minimum value
**/
_min?: LeadAntiSpamConfigMinAggregateInputType
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
*
* Select which fields to find the maximum value
**/
_max?: LeadAntiSpamConfigMaxAggregateInputType
}
export type GetLeadAntiSpamConfigAggregateType<T extends LeadAntiSpamConfigAggregateArgs> = {
[P in keyof T & keyof AggregateLeadAntiSpamConfig]: P extends '_count' | 'count'
? T[P] extends true
? number
: Prisma.GetScalarType<T[P], AggregateLeadAntiSpamConfig[P]>
: Prisma.GetScalarType<T[P], AggregateLeadAntiSpamConfig[P]>
}
export type LeadAntiSpamConfigGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
where?: Prisma.LeadAntiSpamConfigWhereInput
orderBy?: Prisma.LeadAntiSpamConfigOrderByWithAggregationInput | Prisma.LeadAntiSpamConfigOrderByWithAggregationInput[]
by: Prisma.LeadAntiSpamConfigScalarFieldEnum[] | Prisma.LeadAntiSpamConfigScalarFieldEnum
having?: Prisma.LeadAntiSpamConfigScalarWhereWithAggregatesInput
take?: number
skip?: number
_count?: LeadAntiSpamConfigCountAggregateInputType | true
_avg?: LeadAntiSpamConfigAvgAggregateInputType
_sum?: LeadAntiSpamConfigSumAggregateInputType
_min?: LeadAntiSpamConfigMinAggregateInputType
_max?: LeadAntiSpamConfigMaxAggregateInputType
}
export type LeadAntiSpamConfigGroupByOutputType = {
id: string
createdAt: Date
updatedAt: Date
tenantId: string
perSourcePerHourLimit: number
perIpPerHourLimit: number
anomalySpikeFactor: number
mode: $Enums.LeadAntiSpamMode
disposableDomainEnabled: boolean
honeypotEnabled: boolean
fastSubmitEnabled: boolean
lostAutoDeleteDays: number
isDemoData: boolean
_count: LeadAntiSpamConfigCountAggregateOutputType | null
_avg: LeadAntiSpamConfigAvgAggregateOutputType | null
_sum: LeadAntiSpamConfigSumAggregateOutputType | null
_min: LeadAntiSpamConfigMinAggregateOutputType | null
_max: LeadAntiSpamConfigMaxAggregateOutputType | null
}
export type GetLeadAntiSpamConfigGroupByPayload<T extends LeadAntiSpamConfigGroupByArgs> = Prisma.PrismaPromise<
Array<
Prisma.PickEnumerable<LeadAntiSpamConfigGroupByOutputType, T['by']> &
{
[P in ((keyof T) & (keyof LeadAntiSpamConfigGroupByOutputType))]: P extends '_count'
? T[P] extends boolean
? number
: Prisma.GetScalarType<T[P], LeadAntiSpamConfigGroupByOutputType[P]>
: Prisma.GetScalarType<T[P], LeadAntiSpamConfigGroupByOutputType[P]>
}
>
>
export type LeadAntiSpamConfigWhereInput = {
AND?: Prisma.LeadAntiSpamConfigWhereInput | Prisma.LeadAntiSpamConfigWhereInput[]
OR?: Prisma.LeadAntiSpamConfigWhereInput[]
NOT?: Prisma.LeadAntiSpamConfigWhereInput | Prisma.LeadAntiSpamConfigWhereInput[]
id?: Prisma.StringFilter<"LeadAntiSpamConfig"> | string
createdAt?: Prisma.DateTimeFilter<"LeadAntiSpamConfig"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"LeadAntiSpamConfig"> | Date | string
tenantId?: Prisma.StringFilter<"LeadAntiSpamConfig"> | string
perSourcePerHourLimit?: Prisma.IntFilter<"LeadAntiSpamConfig"> | number
perIpPerHourLimit?: Prisma.IntFilter<"LeadAntiSpamConfig"> | number
anomalySpikeFactor?: Prisma.IntFilter<"LeadAntiSpamConfig"> | number
mode?: Prisma.EnumLeadAntiSpamModeFilter<"LeadAntiSpamConfig"> | $Enums.LeadAntiSpamMode
disposableDomainEnabled?: Prisma.BoolFilter<"LeadAntiSpamConfig"> | boolean
honeypotEnabled?: Prisma.BoolFilter<"LeadAntiSpamConfig"> | boolean
fastSubmitEnabled?: Prisma.BoolFilter<"LeadAntiSpamConfig"> | boolean
lostAutoDeleteDays?: Prisma.IntFilter<"LeadAntiSpamConfig"> | number
isDemoData?: Prisma.BoolFilter<"LeadAntiSpamConfig"> | boolean
}
export type LeadAntiSpamConfigOrderByWithRelationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
perSourcePerHourLimit?: Prisma.SortOrder
perIpPerHourLimit?: Prisma.SortOrder
anomalySpikeFactor?: Prisma.SortOrder
mode?: Prisma.SortOrder
disposableDomainEnabled?: Prisma.SortOrder
honeypotEnabled?: Prisma.SortOrder
fastSubmitEnabled?: Prisma.SortOrder
lostAutoDeleteDays?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
}
export type LeadAntiSpamConfigWhereUniqueInput = Prisma.AtLeast<{
id?: string
tenantId?: string
AND?: Prisma.LeadAntiSpamConfigWhereInput | Prisma.LeadAntiSpamConfigWhereInput[]
OR?: Prisma.LeadAntiSpamConfigWhereInput[]
NOT?: Prisma.LeadAntiSpamConfigWhereInput | Prisma.LeadAntiSpamConfigWhereInput[]
createdAt?: Prisma.DateTimeFilter<"LeadAntiSpamConfig"> | Date | string
updatedAt?: Prisma.DateTimeFilter<"LeadAntiSpamConfig"> | Date | string
perSourcePerHourLimit?: Prisma.IntFilter<"LeadAntiSpamConfig"> | number
perIpPerHourLimit?: Prisma.IntFilter<"LeadAntiSpamConfig"> | number
anomalySpikeFactor?: Prisma.IntFilter<"LeadAntiSpamConfig"> | number
mode?: Prisma.EnumLeadAntiSpamModeFilter<"LeadAntiSpamConfig"> | $Enums.LeadAntiSpamMode
disposableDomainEnabled?: Prisma.BoolFilter<"LeadAntiSpamConfig"> | boolean
honeypotEnabled?: Prisma.BoolFilter<"LeadAntiSpamConfig"> | boolean
fastSubmitEnabled?: Prisma.BoolFilter<"LeadAntiSpamConfig"> | boolean
lostAutoDeleteDays?: Prisma.IntFilter<"LeadAntiSpamConfig"> | number
isDemoData?: Prisma.BoolFilter<"LeadAntiSpamConfig"> | boolean
}, "id" | "tenantId">
export type LeadAntiSpamConfigOrderByWithAggregationInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
perSourcePerHourLimit?: Prisma.SortOrder
perIpPerHourLimit?: Prisma.SortOrder
anomalySpikeFactor?: Prisma.SortOrder
mode?: Prisma.SortOrder
disposableDomainEnabled?: Prisma.SortOrder
honeypotEnabled?: Prisma.SortOrder
fastSubmitEnabled?: Prisma.SortOrder
lostAutoDeleteDays?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
_count?: Prisma.LeadAntiSpamConfigCountOrderByAggregateInput
_avg?: Prisma.LeadAntiSpamConfigAvgOrderByAggregateInput
_max?: Prisma.LeadAntiSpamConfigMaxOrderByAggregateInput
_min?: Prisma.LeadAntiSpamConfigMinOrderByAggregateInput
_sum?: Prisma.LeadAntiSpamConfigSumOrderByAggregateInput
}
export type LeadAntiSpamConfigScalarWhereWithAggregatesInput = {
AND?: Prisma.LeadAntiSpamConfigScalarWhereWithAggregatesInput | Prisma.LeadAntiSpamConfigScalarWhereWithAggregatesInput[]
OR?: Prisma.LeadAntiSpamConfigScalarWhereWithAggregatesInput[]
NOT?: Prisma.LeadAntiSpamConfigScalarWhereWithAggregatesInput | Prisma.LeadAntiSpamConfigScalarWhereWithAggregatesInput[]
id?: Prisma.StringWithAggregatesFilter<"LeadAntiSpamConfig"> | string
createdAt?: Prisma.DateTimeWithAggregatesFilter<"LeadAntiSpamConfig"> | Date | string
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"LeadAntiSpamConfig"> | Date | string
tenantId?: Prisma.StringWithAggregatesFilter<"LeadAntiSpamConfig"> | string
perSourcePerHourLimit?: Prisma.IntWithAggregatesFilter<"LeadAntiSpamConfig"> | number
perIpPerHourLimit?: Prisma.IntWithAggregatesFilter<"LeadAntiSpamConfig"> | number
anomalySpikeFactor?: Prisma.IntWithAggregatesFilter<"LeadAntiSpamConfig"> | number
mode?: Prisma.EnumLeadAntiSpamModeWithAggregatesFilter<"LeadAntiSpamConfig"> | $Enums.LeadAntiSpamMode
disposableDomainEnabled?: Prisma.BoolWithAggregatesFilter<"LeadAntiSpamConfig"> | boolean
honeypotEnabled?: Prisma.BoolWithAggregatesFilter<"LeadAntiSpamConfig"> | boolean
fastSubmitEnabled?: Prisma.BoolWithAggregatesFilter<"LeadAntiSpamConfig"> | boolean
lostAutoDeleteDays?: Prisma.IntWithAggregatesFilter<"LeadAntiSpamConfig"> | number
isDemoData?: Prisma.BoolWithAggregatesFilter<"LeadAntiSpamConfig"> | boolean
}
export type LeadAntiSpamConfigCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
perSourcePerHourLimit?: number
perIpPerHourLimit?: number
anomalySpikeFactor?: number
mode?: $Enums.LeadAntiSpamMode
disposableDomainEnabled?: boolean
honeypotEnabled?: boolean
fastSubmitEnabled?: boolean
lostAutoDeleteDays?: number
isDemoData?: boolean
}
export type LeadAntiSpamConfigUncheckedCreateInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
perSourcePerHourLimit?: number
perIpPerHourLimit?: number
anomalySpikeFactor?: number
mode?: $Enums.LeadAntiSpamMode
disposableDomainEnabled?: boolean
honeypotEnabled?: boolean
fastSubmitEnabled?: boolean
lostAutoDeleteDays?: number
isDemoData?: boolean
}
export type LeadAntiSpamConfigUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
perSourcePerHourLimit?: Prisma.IntFieldUpdateOperationsInput | number
perIpPerHourLimit?: Prisma.IntFieldUpdateOperationsInput | number
anomalySpikeFactor?: Prisma.IntFieldUpdateOperationsInput | number
mode?: Prisma.EnumLeadAntiSpamModeFieldUpdateOperationsInput | $Enums.LeadAntiSpamMode
disposableDomainEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
honeypotEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
fastSubmitEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
lostAutoDeleteDays?: Prisma.IntFieldUpdateOperationsInput | number
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type LeadAntiSpamConfigUncheckedUpdateInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
perSourcePerHourLimit?: Prisma.IntFieldUpdateOperationsInput | number
perIpPerHourLimit?: Prisma.IntFieldUpdateOperationsInput | number
anomalySpikeFactor?: Prisma.IntFieldUpdateOperationsInput | number
mode?: Prisma.EnumLeadAntiSpamModeFieldUpdateOperationsInput | $Enums.LeadAntiSpamMode
disposableDomainEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
honeypotEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
fastSubmitEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
lostAutoDeleteDays?: Prisma.IntFieldUpdateOperationsInput | number
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type LeadAntiSpamConfigCreateManyInput = {
id?: string
createdAt?: Date | string
updatedAt?: Date | string
tenantId: string
perSourcePerHourLimit?: number
perIpPerHourLimit?: number
anomalySpikeFactor?: number
mode?: $Enums.LeadAntiSpamMode
disposableDomainEnabled?: boolean
honeypotEnabled?: boolean
fastSubmitEnabled?: boolean
lostAutoDeleteDays?: number
isDemoData?: boolean
}
export type LeadAntiSpamConfigUpdateManyMutationInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
perSourcePerHourLimit?: Prisma.IntFieldUpdateOperationsInput | number
perIpPerHourLimit?: Prisma.IntFieldUpdateOperationsInput | number
anomalySpikeFactor?: Prisma.IntFieldUpdateOperationsInput | number
mode?: Prisma.EnumLeadAntiSpamModeFieldUpdateOperationsInput | $Enums.LeadAntiSpamMode
disposableDomainEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
honeypotEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
fastSubmitEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
lostAutoDeleteDays?: Prisma.IntFieldUpdateOperationsInput | number
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type LeadAntiSpamConfigUncheckedUpdateManyInput = {
id?: Prisma.StringFieldUpdateOperationsInput | string
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
tenantId?: Prisma.StringFieldUpdateOperationsInput | string
perSourcePerHourLimit?: Prisma.IntFieldUpdateOperationsInput | number
perIpPerHourLimit?: Prisma.IntFieldUpdateOperationsInput | number
anomalySpikeFactor?: Prisma.IntFieldUpdateOperationsInput | number
mode?: Prisma.EnumLeadAntiSpamModeFieldUpdateOperationsInput | $Enums.LeadAntiSpamMode
disposableDomainEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
honeypotEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
fastSubmitEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
lostAutoDeleteDays?: Prisma.IntFieldUpdateOperationsInput | number
isDemoData?: Prisma.BoolFieldUpdateOperationsInput | boolean
}
export type LeadAntiSpamConfigCountOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
perSourcePerHourLimit?: Prisma.SortOrder
perIpPerHourLimit?: Prisma.SortOrder
anomalySpikeFactor?: Prisma.SortOrder
mode?: Prisma.SortOrder
disposableDomainEnabled?: Prisma.SortOrder
honeypotEnabled?: Prisma.SortOrder
fastSubmitEnabled?: Prisma.SortOrder
lostAutoDeleteDays?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
}
export type LeadAntiSpamConfigAvgOrderByAggregateInput = {
perSourcePerHourLimit?: Prisma.SortOrder
perIpPerHourLimit?: Prisma.SortOrder
anomalySpikeFactor?: Prisma.SortOrder
lostAutoDeleteDays?: Prisma.SortOrder
}
export type LeadAntiSpamConfigMaxOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
perSourcePerHourLimit?: Prisma.SortOrder
perIpPerHourLimit?: Prisma.SortOrder
anomalySpikeFactor?: Prisma.SortOrder
mode?: Prisma.SortOrder
disposableDomainEnabled?: Prisma.SortOrder
honeypotEnabled?: Prisma.SortOrder
fastSubmitEnabled?: Prisma.SortOrder
lostAutoDeleteDays?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
}
export type LeadAntiSpamConfigMinOrderByAggregateInput = {
id?: Prisma.SortOrder
createdAt?: Prisma.SortOrder
updatedAt?: Prisma.SortOrder
tenantId?: Prisma.SortOrder
perSourcePerHourLimit?: Prisma.SortOrder
perIpPerHourLimit?: Prisma.SortOrder
anomalySpikeFactor?: Prisma.SortOrder
mode?: Prisma.SortOrder
disposableDomainEnabled?: Prisma.SortOrder
honeypotEnabled?: Prisma.SortOrder
fastSubmitEnabled?: Prisma.SortOrder
lostAutoDeleteDays?: Prisma.SortOrder
isDemoData?: Prisma.SortOrder
}
export type LeadAntiSpamConfigSumOrderByAggregateInput = {
perSourcePerHourLimit?: Prisma.SortOrder
perIpPerHourLimit?: Prisma.SortOrder
anomalySpikeFactor?: Prisma.SortOrder
lostAutoDeleteDays?: Prisma.SortOrder
}
export type EnumLeadAntiSpamModeFieldUpdateOperationsInput = {
set?: $Enums.LeadAntiSpamMode
}
export type LeadAntiSpamConfigSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
perSourcePerHourLimit?: boolean
perIpPerHourLimit?: boolean
anomalySpikeFactor?: boolean
mode?: boolean
disposableDomainEnabled?: boolean
honeypotEnabled?: boolean
fastSubmitEnabled?: boolean
lostAutoDeleteDays?: boolean
isDemoData?: boolean
}, ExtArgs["result"]["leadAntiSpamConfig"]>
export type LeadAntiSpamConfigSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
perSourcePerHourLimit?: boolean
perIpPerHourLimit?: boolean
anomalySpikeFactor?: boolean
mode?: boolean
disposableDomainEnabled?: boolean
honeypotEnabled?: boolean
fastSubmitEnabled?: boolean
lostAutoDeleteDays?: boolean
isDemoData?: boolean
}, ExtArgs["result"]["leadAntiSpamConfig"]>
export type LeadAntiSpamConfigSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
perSourcePerHourLimit?: boolean
perIpPerHourLimit?: boolean
anomalySpikeFactor?: boolean
mode?: boolean
disposableDomainEnabled?: boolean
honeypotEnabled?: boolean
fastSubmitEnabled?: boolean
lostAutoDeleteDays?: boolean
isDemoData?: boolean
}, ExtArgs["result"]["leadAntiSpamConfig"]>
export type LeadAntiSpamConfigSelectScalar = {
id?: boolean
createdAt?: boolean
updatedAt?: boolean
tenantId?: boolean
perSourcePerHourLimit?: boolean
perIpPerHourLimit?: boolean
anomalySpikeFactor?: boolean
mode?: boolean
disposableDomainEnabled?: boolean
honeypotEnabled?: boolean
fastSubmitEnabled?: boolean
lostAutoDeleteDays?: boolean
isDemoData?: boolean
}
export type LeadAntiSpamConfigOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "perSourcePerHourLimit" | "perIpPerHourLimit" | "anomalySpikeFactor" | "mode" | "disposableDomainEnabled" | "honeypotEnabled" | "fastSubmitEnabled" | "lostAutoDeleteDays" | "isDemoData", ExtArgs["result"]["leadAntiSpamConfig"]>
export type $LeadAntiSpamConfigPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
name: "LeadAntiSpamConfig"
objects: {}
scalars: runtime.Types.Extensions.GetPayloadResult<{
id: string
createdAt: Date
updatedAt: Date
tenantId: string
perSourcePerHourLimit: number
perIpPerHourLimit: number
anomalySpikeFactor: number
mode: $Enums.LeadAntiSpamMode
disposableDomainEnabled: boolean
honeypotEnabled: boolean
fastSubmitEnabled: boolean
lostAutoDeleteDays: number
isDemoData: boolean
}, ExtArgs["result"]["leadAntiSpamConfig"]>
composites: {}
}
export type LeadAntiSpamConfigGetPayload<S extends boolean | null | undefined | LeadAntiSpamConfigDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload, S>
export type LeadAntiSpamConfigCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
Omit<LeadAntiSpamConfigFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
select?: LeadAntiSpamConfigCountAggregateInputType | true
}
export interface LeadAntiSpamConfigDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['LeadAntiSpamConfig'], meta: { name: 'LeadAntiSpamConfig' } }
/**
* Find zero or one LeadAntiSpamConfig that matches the filter.
* @param {LeadAntiSpamConfigFindUniqueArgs} args - Arguments to find a LeadAntiSpamConfig
* @example
* // Get one LeadAntiSpamConfig
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.findUnique({
* where: {
* // ... provide filter here
* }
* })
*/
findUnique<T extends LeadAntiSpamConfigFindUniqueArgs>(args: Prisma.SelectSubset<T, LeadAntiSpamConfigFindUniqueArgs<ExtArgs>>): Prisma.Prisma__LeadAntiSpamConfigClient<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find one LeadAntiSpamConfig that matches the filter or throw an error with `error.code='P2025'`
* if no matches were found.
* @param {LeadAntiSpamConfigFindUniqueOrThrowArgs} args - Arguments to find a LeadAntiSpamConfig
* @example
* // Get one LeadAntiSpamConfig
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.findUniqueOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findUniqueOrThrow<T extends LeadAntiSpamConfigFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, LeadAntiSpamConfigFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__LeadAntiSpamConfigClient<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find the first LeadAntiSpamConfig 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 {LeadAntiSpamConfigFindFirstArgs} args - Arguments to find a LeadAntiSpamConfig
* @example
* // Get one LeadAntiSpamConfig
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.findFirst({
* where: {
* // ... provide filter here
* }
* })
*/
findFirst<T extends LeadAntiSpamConfigFindFirstArgs>(args?: Prisma.SelectSubset<T, LeadAntiSpamConfigFindFirstArgs<ExtArgs>>): Prisma.Prisma__LeadAntiSpamConfigClient<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
/**
* Find the first LeadAntiSpamConfig 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 {LeadAntiSpamConfigFindFirstOrThrowArgs} args - Arguments to find a LeadAntiSpamConfig
* @example
* // Get one LeadAntiSpamConfig
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.findFirstOrThrow({
* where: {
* // ... provide filter here
* }
* })
*/
findFirstOrThrow<T extends LeadAntiSpamConfigFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, LeadAntiSpamConfigFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__LeadAntiSpamConfigClient<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Find zero or more LeadAntiSpamConfigs 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 {LeadAntiSpamConfigFindManyArgs} args - Arguments to filter and select certain fields only.
* @example
* // Get all LeadAntiSpamConfigs
* const leadAntiSpamConfigs = await prisma.leadAntiSpamConfig.findMany()
*
* // Get first 10 LeadAntiSpamConfigs
* const leadAntiSpamConfigs = await prisma.leadAntiSpamConfig.findMany({ take: 10 })
*
* // Only select the `id`
* const leadAntiSpamConfigWithIdOnly = await prisma.leadAntiSpamConfig.findMany({ select: { id: true } })
*
*/
findMany<T extends LeadAntiSpamConfigFindManyArgs>(args?: Prisma.SelectSubset<T, LeadAntiSpamConfigFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>
/**
* Create a LeadAntiSpamConfig.
* @param {LeadAntiSpamConfigCreateArgs} args - Arguments to create a LeadAntiSpamConfig.
* @example
* // Create one LeadAntiSpamConfig
* const LeadAntiSpamConfig = await prisma.leadAntiSpamConfig.create({
* data: {
* // ... data to create a LeadAntiSpamConfig
* }
* })
*
*/
create<T extends LeadAntiSpamConfigCreateArgs>(args: Prisma.SelectSubset<T, LeadAntiSpamConfigCreateArgs<ExtArgs>>): Prisma.Prisma__LeadAntiSpamConfigClient<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Create many LeadAntiSpamConfigs.
* @param {LeadAntiSpamConfigCreateManyArgs} args - Arguments to create many LeadAntiSpamConfigs.
* @example
* // Create many LeadAntiSpamConfigs
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.createMany({
* data: [
* // ... provide data here
* ]
* })
*
*/
createMany<T extends LeadAntiSpamConfigCreateManyArgs>(args?: Prisma.SelectSubset<T, LeadAntiSpamConfigCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Create many LeadAntiSpamConfigs and returns the data saved in the database.
* @param {LeadAntiSpamConfigCreateManyAndReturnArgs} args - Arguments to create many LeadAntiSpamConfigs.
* @example
* // Create many LeadAntiSpamConfigs
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.createManyAndReturn({
* data: [
* // ... provide data here
* ]
* })
*
* // Create many LeadAntiSpamConfigs and only return the `id`
* const leadAntiSpamConfigWithIdOnly = await prisma.leadAntiSpamConfig.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 LeadAntiSpamConfigCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, LeadAntiSpamConfigCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>
/**
* Delete a LeadAntiSpamConfig.
* @param {LeadAntiSpamConfigDeleteArgs} args - Arguments to delete one LeadAntiSpamConfig.
* @example
* // Delete one LeadAntiSpamConfig
* const LeadAntiSpamConfig = await prisma.leadAntiSpamConfig.delete({
* where: {
* // ... filter to delete one LeadAntiSpamConfig
* }
* })
*
*/
delete<T extends LeadAntiSpamConfigDeleteArgs>(args: Prisma.SelectSubset<T, LeadAntiSpamConfigDeleteArgs<ExtArgs>>): Prisma.Prisma__LeadAntiSpamConfigClient<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Update one LeadAntiSpamConfig.
* @param {LeadAntiSpamConfigUpdateArgs} args - Arguments to update one LeadAntiSpamConfig.
* @example
* // Update one LeadAntiSpamConfig
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.update({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
update<T extends LeadAntiSpamConfigUpdateArgs>(args: Prisma.SelectSubset<T, LeadAntiSpamConfigUpdateArgs<ExtArgs>>): Prisma.Prisma__LeadAntiSpamConfigClient<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Delete zero or more LeadAntiSpamConfigs.
* @param {LeadAntiSpamConfigDeleteManyArgs} args - Arguments to filter LeadAntiSpamConfigs to delete.
* @example
* // Delete a few LeadAntiSpamConfigs
* const { count } = await prisma.leadAntiSpamConfig.deleteMany({
* where: {
* // ... provide filter here
* }
* })
*
*/
deleteMany<T extends LeadAntiSpamConfigDeleteManyArgs>(args?: Prisma.SelectSubset<T, LeadAntiSpamConfigDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more LeadAntiSpamConfigs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LeadAntiSpamConfigUpdateManyArgs} args - Arguments to update one or more rows.
* @example
* // Update many LeadAntiSpamConfigs
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.updateMany({
* where: {
* // ... provide filter here
* },
* data: {
* // ... provide data here
* }
* })
*
*/
updateMany<T extends LeadAntiSpamConfigUpdateManyArgs>(args: Prisma.SelectSubset<T, LeadAntiSpamConfigUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
/**
* Update zero or more LeadAntiSpamConfigs and returns the data updated in the database.
* @param {LeadAntiSpamConfigUpdateManyAndReturnArgs} args - Arguments to update many LeadAntiSpamConfigs.
* @example
* // Update many LeadAntiSpamConfigs
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.updateManyAndReturn({
* where: {
* // ... provide filter here
* },
* data: [
* // ... provide data here
* ]
* })
*
* // Update zero or more LeadAntiSpamConfigs and only return the `id`
* const leadAntiSpamConfigWithIdOnly = await prisma.leadAntiSpamConfig.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 LeadAntiSpamConfigUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, LeadAntiSpamConfigUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>
/**
* Create or update one LeadAntiSpamConfig.
* @param {LeadAntiSpamConfigUpsertArgs} args - Arguments to update or create a LeadAntiSpamConfig.
* @example
* // Update or create a LeadAntiSpamConfig
* const leadAntiSpamConfig = await prisma.leadAntiSpamConfig.upsert({
* create: {
* // ... data to create a LeadAntiSpamConfig
* },
* update: {
* // ... in case it already exists, update
* },
* where: {
* // ... the filter for the LeadAntiSpamConfig we want to update
* }
* })
*/
upsert<T extends LeadAntiSpamConfigUpsertArgs>(args: Prisma.SelectSubset<T, LeadAntiSpamConfigUpsertArgs<ExtArgs>>): Prisma.Prisma__LeadAntiSpamConfigClient<runtime.Types.Result.GetResult<Prisma.$LeadAntiSpamConfigPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>
/**
* Count the number of LeadAntiSpamConfigs.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LeadAntiSpamConfigCountArgs} args - Arguments to filter LeadAntiSpamConfigs to count.
* @example
* // Count the number of LeadAntiSpamConfigs
* const count = await prisma.leadAntiSpamConfig.count({
* where: {
* // ... the filter for the LeadAntiSpamConfigs we want to count
* }
* })
**/
count<T extends LeadAntiSpamConfigCountArgs>(
args?: Prisma.Subset<T, LeadAntiSpamConfigCountArgs>,
): Prisma.PrismaPromise<
T extends runtime.Types.Utils.Record<'select', any>
? T['select'] extends true
? number
: Prisma.GetScalarType<T['select'], LeadAntiSpamConfigCountAggregateOutputType>
: number
>
/**
* Allows you to perform aggregations operations on a LeadAntiSpamConfig.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LeadAntiSpamConfigAggregateArgs} 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 LeadAntiSpamConfigAggregateArgs>(args: Prisma.Subset<T, LeadAntiSpamConfigAggregateArgs>): Prisma.PrismaPromise<GetLeadAntiSpamConfigAggregateType<T>>
/**
* Group by LeadAntiSpamConfig.
* Note, that providing `undefined` is treated as the value not being there.
* Read more here: https://pris.ly/d/null-undefined
* @param {LeadAntiSpamConfigGroupByArgs} 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 LeadAntiSpamConfigGroupByArgs,
HasSelectOrTake extends Prisma.Or<
Prisma.Extends<'skip', Prisma.Keys<T>>,
Prisma.Extends<'take', Prisma.Keys<T>>
>,
OrderByArg extends Prisma.True extends HasSelectOrTake
? { orderBy: LeadAntiSpamConfigGroupByArgs['orderBy'] }
: { orderBy?: LeadAntiSpamConfigGroupByArgs['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, LeadAntiSpamConfigGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetLeadAntiSpamConfigGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
* Fields of the LeadAntiSpamConfig model
*/
readonly fields: LeadAntiSpamConfigFieldRefs;
}
/**
* The delegate class that acts as a "Promise-like" for LeadAntiSpamConfig.
* 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__LeadAntiSpamConfigClient<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 LeadAntiSpamConfig model
*/
export interface LeadAntiSpamConfigFieldRefs {
readonly id: Prisma.FieldRef<"LeadAntiSpamConfig", 'String'>
readonly createdAt: Prisma.FieldRef<"LeadAntiSpamConfig", 'DateTime'>
readonly updatedAt: Prisma.FieldRef<"LeadAntiSpamConfig", 'DateTime'>
readonly tenantId: Prisma.FieldRef<"LeadAntiSpamConfig", 'String'>
readonly perSourcePerHourLimit: Prisma.FieldRef<"LeadAntiSpamConfig", 'Int'>
readonly perIpPerHourLimit: Prisma.FieldRef<"LeadAntiSpamConfig", 'Int'>
readonly anomalySpikeFactor: Prisma.FieldRef<"LeadAntiSpamConfig", 'Int'>
readonly mode: Prisma.FieldRef<"LeadAntiSpamConfig", 'LeadAntiSpamMode'>
readonly disposableDomainEnabled: Prisma.FieldRef<"LeadAntiSpamConfig", 'Boolean'>
readonly honeypotEnabled: Prisma.FieldRef<"LeadAntiSpamConfig", 'Boolean'>
readonly fastSubmitEnabled: Prisma.FieldRef<"LeadAntiSpamConfig", 'Boolean'>
readonly lostAutoDeleteDays: Prisma.FieldRef<"LeadAntiSpamConfig", 'Int'>
readonly isDemoData: Prisma.FieldRef<"LeadAntiSpamConfig", 'Boolean'>
}
// Custom InputTypes
/**
* LeadAntiSpamConfig findUnique
*/
export type LeadAntiSpamConfigFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* Filter, which LeadAntiSpamConfig to fetch.
*/
where: Prisma.LeadAntiSpamConfigWhereUniqueInput
}
/**
* LeadAntiSpamConfig findUniqueOrThrow
*/
export type LeadAntiSpamConfigFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* Filter, which LeadAntiSpamConfig to fetch.
*/
where: Prisma.LeadAntiSpamConfigWhereUniqueInput
}
/**
* LeadAntiSpamConfig findFirst
*/
export type LeadAntiSpamConfigFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* Filter, which LeadAntiSpamConfig to fetch.
*/
where?: Prisma.LeadAntiSpamConfigWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of LeadAntiSpamConfigs to fetch.
*/
orderBy?: Prisma.LeadAntiSpamConfigOrderByWithRelationInput | Prisma.LeadAntiSpamConfigOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for LeadAntiSpamConfigs.
*/
cursor?: Prisma.LeadAntiSpamConfigWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` LeadAntiSpamConfigs 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` LeadAntiSpamConfigs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of LeadAntiSpamConfigs.
*/
distinct?: Prisma.LeadAntiSpamConfigScalarFieldEnum | Prisma.LeadAntiSpamConfigScalarFieldEnum[]
}
/**
* LeadAntiSpamConfig findFirstOrThrow
*/
export type LeadAntiSpamConfigFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* Filter, which LeadAntiSpamConfig to fetch.
*/
where?: Prisma.LeadAntiSpamConfigWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of LeadAntiSpamConfigs to fetch.
*/
orderBy?: Prisma.LeadAntiSpamConfigOrderByWithRelationInput | Prisma.LeadAntiSpamConfigOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for searching for LeadAntiSpamConfigs.
*/
cursor?: Prisma.LeadAntiSpamConfigWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` LeadAntiSpamConfigs 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` LeadAntiSpamConfigs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of LeadAntiSpamConfigs.
*/
distinct?: Prisma.LeadAntiSpamConfigScalarFieldEnum | Prisma.LeadAntiSpamConfigScalarFieldEnum[]
}
/**
* LeadAntiSpamConfig findMany
*/
export type LeadAntiSpamConfigFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* Filter, which LeadAntiSpamConfigs to fetch.
*/
where?: Prisma.LeadAntiSpamConfigWhereInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
*
* Determine the order of LeadAntiSpamConfigs to fetch.
*/
orderBy?: Prisma.LeadAntiSpamConfigOrderByWithRelationInput | Prisma.LeadAntiSpamConfigOrderByWithRelationInput[]
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
*
* Sets the position for listing LeadAntiSpamConfigs.
*/
cursor?: Prisma.LeadAntiSpamConfigWhereUniqueInput
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
*
* Take `±n` LeadAntiSpamConfigs 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` LeadAntiSpamConfigs.
*/
skip?: number
/**
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
*
* Filter by unique combinations of LeadAntiSpamConfigs.
*/
distinct?: Prisma.LeadAntiSpamConfigScalarFieldEnum | Prisma.LeadAntiSpamConfigScalarFieldEnum[]
}
/**
* LeadAntiSpamConfig create
*/
export type LeadAntiSpamConfigCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* The data needed to create a LeadAntiSpamConfig.
*/
data: Prisma.XOR<Prisma.LeadAntiSpamConfigCreateInput, Prisma.LeadAntiSpamConfigUncheckedCreateInput>
}
/**
* LeadAntiSpamConfig createMany
*/
export type LeadAntiSpamConfigCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to create many LeadAntiSpamConfigs.
*/
data: Prisma.LeadAntiSpamConfigCreateManyInput | Prisma.LeadAntiSpamConfigCreateManyInput[]
skipDuplicates?: boolean
}
/**
* LeadAntiSpamConfig createManyAndReturn
*/
export type LeadAntiSpamConfigCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelectCreateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* The data used to create many LeadAntiSpamConfigs.
*/
data: Prisma.LeadAntiSpamConfigCreateManyInput | Prisma.LeadAntiSpamConfigCreateManyInput[]
skipDuplicates?: boolean
}
/**
* LeadAntiSpamConfig update
*/
export type LeadAntiSpamConfigUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* The data needed to update a LeadAntiSpamConfig.
*/
data: Prisma.XOR<Prisma.LeadAntiSpamConfigUpdateInput, Prisma.LeadAntiSpamConfigUncheckedUpdateInput>
/**
* Choose, which LeadAntiSpamConfig to update.
*/
where: Prisma.LeadAntiSpamConfigWhereUniqueInput
}
/**
* LeadAntiSpamConfig updateMany
*/
export type LeadAntiSpamConfigUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* The data used to update LeadAntiSpamConfigs.
*/
data: Prisma.XOR<Prisma.LeadAntiSpamConfigUpdateManyMutationInput, Prisma.LeadAntiSpamConfigUncheckedUpdateManyInput>
/**
* Filter which LeadAntiSpamConfigs to update
*/
where?: Prisma.LeadAntiSpamConfigWhereInput
/**
* Limit how many LeadAntiSpamConfigs to update.
*/
limit?: number
}
/**
* LeadAntiSpamConfig updateManyAndReturn
*/
export type LeadAntiSpamConfigUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelectUpdateManyAndReturn<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* The data used to update LeadAntiSpamConfigs.
*/
data: Prisma.XOR<Prisma.LeadAntiSpamConfigUpdateManyMutationInput, Prisma.LeadAntiSpamConfigUncheckedUpdateManyInput>
/**
* Filter which LeadAntiSpamConfigs to update
*/
where?: Prisma.LeadAntiSpamConfigWhereInput
/**
* Limit how many LeadAntiSpamConfigs to update.
*/
limit?: number
}
/**
* LeadAntiSpamConfig upsert
*/
export type LeadAntiSpamConfigUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* The filter to search for the LeadAntiSpamConfig to update in case it exists.
*/
where: Prisma.LeadAntiSpamConfigWhereUniqueInput
/**
* In case the LeadAntiSpamConfig found by the `where` argument doesn't exist, create a new LeadAntiSpamConfig with this data.
*/
create: Prisma.XOR<Prisma.LeadAntiSpamConfigCreateInput, Prisma.LeadAntiSpamConfigUncheckedCreateInput>
/**
* In case the LeadAntiSpamConfig was found with the provided `where` argument, update it with this data.
*/
update: Prisma.XOR<Prisma.LeadAntiSpamConfigUpdateInput, Prisma.LeadAntiSpamConfigUncheckedUpdateInput>
}
/**
* LeadAntiSpamConfig delete
*/
export type LeadAntiSpamConfigDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
/**
* Filter which LeadAntiSpamConfig to delete.
*/
where: Prisma.LeadAntiSpamConfigWhereUniqueInput
}
/**
* LeadAntiSpamConfig deleteMany
*/
export type LeadAntiSpamConfigDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Filter which LeadAntiSpamConfigs to delete
*/
where?: Prisma.LeadAntiSpamConfigWhereInput
/**
* Limit how many LeadAntiSpamConfigs to delete.
*/
limit?: number
}
/**
* LeadAntiSpamConfig without action
*/
export type LeadAntiSpamConfigDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
/**
* Select specific fields to fetch from the LeadAntiSpamConfig
*/
select?: Prisma.LeadAntiSpamConfigSelect<ExtArgs> | null
/**
* Omit specific fields from the LeadAntiSpamConfig
*/
omit?: Prisma.LeadAntiSpamConfigOmit<ExtArgs> | null
}