/* !!! 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 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 = { /** * 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 = { [P in keyof T & keyof AggregateLeadAntiSpamConfig]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type LeadAntiSpamConfigGroupByArgs = { 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 = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof LeadAntiSpamConfigGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > 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 = 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 = 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 = 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 = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "tenantId" | "perSourcePerHourLimit" | "perIpPerHourLimit" | "anomalySpikeFactor" | "mode" | "disposableDomainEnabled" | "honeypotEnabled" | "fastSubmitEnabled" | "lostAutoDeleteDays" | "isDemoData", ExtArgs["result"]["leadAntiSpamConfig"]> export type $LeadAntiSpamConfigPayload = { 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 = runtime.Types.Result.GetResult export type LeadAntiSpamConfigCountArgs = Omit & { select?: LeadAntiSpamConfigCountAggregateInputType | true } export interface LeadAntiSpamConfigDelegate { [K: symbol]: { types: Prisma.TypeMap['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(args: Prisma.SelectSubset>): Prisma.Prisma__LeadAntiSpamConfigClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LeadAntiSpamConfigClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__LeadAntiSpamConfigClient, 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(args?: Prisma.SelectSubset>): Prisma.Prisma__LeadAntiSpamConfigClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LeadAntiSpamConfigClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LeadAntiSpamConfigClient, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LeadAntiSpamConfigClient, 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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * 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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, 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(args: Prisma.SelectSubset>): Prisma.Prisma__LeadAntiSpamConfigClient, 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( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * 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>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: LeadAntiSpamConfigGroupByArgs['orderBy'] } : { orderBy?: LeadAntiSpamConfigGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False, InputErrors extends ByEmpty extends Prisma.True ? `Error: "by" must not be empty.` : HavingValid extends Prisma.False ? { [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [ Error, 'Field ', P, ` in "having" needs to be provided in "by"`, ] }[HavingFields] : 'take' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "take", you also need to provide "orderBy"' : 'skip' extends Prisma.Keys ? 'orderBy' extends Prisma.Keys ? ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : { [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"` }[OrderFields] >(args: Prisma.SubsetIntersection & InputErrors): {} extends InputErrors ? GetLeadAntiSpamConfigGroupByPayload : Prisma.PrismaPromise /** * 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 extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" /** * Attaches callbacks for the resolution and/or rejection of the Promise. * @param onfulfilled The callback to execute when the Promise is resolved. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of which ever callback is executed. */ then(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback for only the rejection of the Promise. * @param onrejected The callback to execute when the Promise is rejected. * @returns A Promise for the completion of the callback. */ catch(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The * resolved value cannot be modified from the callback. * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected). * @returns A Promise for the completion of the callback. */ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise } /** * Fields of the 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 = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | null /** * Filter, which LeadAntiSpamConfig to fetch. */ where: Prisma.LeadAntiSpamConfigWhereUniqueInput } /** * LeadAntiSpamConfig findUniqueOrThrow */ export type LeadAntiSpamConfigFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | null /** * Filter, which LeadAntiSpamConfig to fetch. */ where: Prisma.LeadAntiSpamConfigWhereUniqueInput } /** * LeadAntiSpamConfig findFirst */ export type LeadAntiSpamConfigFindFirstArgs = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | 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 = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | 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 = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | 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 = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | null /** * The data needed to create a LeadAntiSpamConfig. */ data: Prisma.XOR } /** * LeadAntiSpamConfig createMany */ export type LeadAntiSpamConfigCreateManyArgs = { /** * The data used to create many LeadAntiSpamConfigs. */ data: Prisma.LeadAntiSpamConfigCreateManyInput | Prisma.LeadAntiSpamConfigCreateManyInput[] skipDuplicates?: boolean } /** * LeadAntiSpamConfig createManyAndReturn */ export type LeadAntiSpamConfigCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelectCreateManyAndReturn | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | null /** * The data used to create many LeadAntiSpamConfigs. */ data: Prisma.LeadAntiSpamConfigCreateManyInput | Prisma.LeadAntiSpamConfigCreateManyInput[] skipDuplicates?: boolean } /** * LeadAntiSpamConfig update */ export type LeadAntiSpamConfigUpdateArgs = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | null /** * The data needed to update a LeadAntiSpamConfig. */ data: Prisma.XOR /** * Choose, which LeadAntiSpamConfig to update. */ where: Prisma.LeadAntiSpamConfigWhereUniqueInput } /** * LeadAntiSpamConfig updateMany */ export type LeadAntiSpamConfigUpdateManyArgs = { /** * The data used to update LeadAntiSpamConfigs. */ data: Prisma.XOR /** * Filter which LeadAntiSpamConfigs to update */ where?: Prisma.LeadAntiSpamConfigWhereInput /** * Limit how many LeadAntiSpamConfigs to update. */ limit?: number } /** * LeadAntiSpamConfig updateManyAndReturn */ export type LeadAntiSpamConfigUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelectUpdateManyAndReturn | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | null /** * The data used to update LeadAntiSpamConfigs. */ data: Prisma.XOR /** * Filter which LeadAntiSpamConfigs to update */ where?: Prisma.LeadAntiSpamConfigWhereInput /** * Limit how many LeadAntiSpamConfigs to update. */ limit?: number } /** * LeadAntiSpamConfig upsert */ export type LeadAntiSpamConfigUpsertArgs = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | 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 /** * In case the LeadAntiSpamConfig was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * LeadAntiSpamConfig delete */ export type LeadAntiSpamConfigDeleteArgs = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | null /** * Filter which LeadAntiSpamConfig to delete. */ where: Prisma.LeadAntiSpamConfigWhereUniqueInput } /** * LeadAntiSpamConfig deleteMany */ export type LeadAntiSpamConfigDeleteManyArgs = { /** * Filter which LeadAntiSpamConfigs to delete */ where?: Prisma.LeadAntiSpamConfigWhereInput /** * Limit how many LeadAntiSpamConfigs to delete. */ limit?: number } /** * LeadAntiSpamConfig without action */ export type LeadAntiSpamConfigDefaultArgs = { /** * Select specific fields to fetch from the LeadAntiSpamConfig */ select?: Prisma.LeadAntiSpamConfigSelect | null /** * Omit specific fields from the LeadAntiSpamConfig */ omit?: Prisma.LeadAntiSpamConfigOmit | null }