/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `AdminLeadSourceCredential` 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 AdminLeadSourceCredential * Rotatable source credential. Only a one-way digest is persisted; the raw * bearer value is returned once by the source administration service. */ export type AdminLeadSourceCredentialModel = runtime.Types.Result.DefaultSelection export type AggregateAdminLeadSourceCredential = { _count: AdminLeadSourceCredentialCountAggregateOutputType | null _min: AdminLeadSourceCredentialMinAggregateOutputType | null _max: AdminLeadSourceCredentialMaxAggregateOutputType | null } export type AdminLeadSourceCredentialMinAggregateOutputType = { id: string | null createdAt: Date | null sourceId: string | null keyHash: string | null keyPrefix: string | null expiresAt: Date | null revokedAt: Date | null lastUsedAt: Date | null } export type AdminLeadSourceCredentialMaxAggregateOutputType = { id: string | null createdAt: Date | null sourceId: string | null keyHash: string | null keyPrefix: string | null expiresAt: Date | null revokedAt: Date | null lastUsedAt: Date | null } export type AdminLeadSourceCredentialCountAggregateOutputType = { id: number createdAt: number sourceId: number keyHash: number keyPrefix: number expiresAt: number revokedAt: number lastUsedAt: number _all: number } export type AdminLeadSourceCredentialMinAggregateInputType = { id?: true createdAt?: true sourceId?: true keyHash?: true keyPrefix?: true expiresAt?: true revokedAt?: true lastUsedAt?: true } export type AdminLeadSourceCredentialMaxAggregateInputType = { id?: true createdAt?: true sourceId?: true keyHash?: true keyPrefix?: true expiresAt?: true revokedAt?: true lastUsedAt?: true } export type AdminLeadSourceCredentialCountAggregateInputType = { id?: true createdAt?: true sourceId?: true keyHash?: true keyPrefix?: true expiresAt?: true revokedAt?: true lastUsedAt?: true _all?: true } export type AdminLeadSourceCredentialAggregateArgs = { /** * Filter which AdminLeadSourceCredential to aggregate. */ where?: Prisma.AdminLeadSourceCredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminLeadSourceCredentials to fetch. */ orderBy?: Prisma.AdminLeadSourceCredentialOrderByWithRelationInput | Prisma.AdminLeadSourceCredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.AdminLeadSourceCredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminLeadSourceCredentials 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` AdminLeadSourceCredentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned AdminLeadSourceCredentials **/ _count?: true | AdminLeadSourceCredentialCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: AdminLeadSourceCredentialMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: AdminLeadSourceCredentialMaxAggregateInputType } export type GetAdminLeadSourceCredentialAggregateType = { [P in keyof T & keyof AggregateAdminLeadSourceCredential]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type AdminLeadSourceCredentialGroupByArgs = { where?: Prisma.AdminLeadSourceCredentialWhereInput orderBy?: Prisma.AdminLeadSourceCredentialOrderByWithAggregationInput | Prisma.AdminLeadSourceCredentialOrderByWithAggregationInput[] by: Prisma.AdminLeadSourceCredentialScalarFieldEnum[] | Prisma.AdminLeadSourceCredentialScalarFieldEnum having?: Prisma.AdminLeadSourceCredentialScalarWhereWithAggregatesInput take?: number skip?: number _count?: AdminLeadSourceCredentialCountAggregateInputType | true _min?: AdminLeadSourceCredentialMinAggregateInputType _max?: AdminLeadSourceCredentialMaxAggregateInputType } export type AdminLeadSourceCredentialGroupByOutputType = { id: string createdAt: Date sourceId: string keyHash: string keyPrefix: string expiresAt: Date | null revokedAt: Date | null lastUsedAt: Date | null _count: AdminLeadSourceCredentialCountAggregateOutputType | null _min: AdminLeadSourceCredentialMinAggregateOutputType | null _max: AdminLeadSourceCredentialMaxAggregateOutputType | null } export type GetAdminLeadSourceCredentialGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof AdminLeadSourceCredentialGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type AdminLeadSourceCredentialWhereInput = { AND?: Prisma.AdminLeadSourceCredentialWhereInput | Prisma.AdminLeadSourceCredentialWhereInput[] OR?: Prisma.AdminLeadSourceCredentialWhereInput[] NOT?: Prisma.AdminLeadSourceCredentialWhereInput | Prisma.AdminLeadSourceCredentialWhereInput[] id?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string createdAt?: Prisma.DateTimeFilter<"AdminLeadSourceCredential"> | Date | string sourceId?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string keyHash?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string keyPrefix?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string expiresAt?: Prisma.DateTimeNullableFilter<"AdminLeadSourceCredential"> | Date | string | null revokedAt?: Prisma.DateTimeNullableFilter<"AdminLeadSourceCredential"> | Date | string | null lastUsedAt?: Prisma.DateTimeNullableFilter<"AdminLeadSourceCredential"> | Date | string | null source?: Prisma.XOR } export type AdminLeadSourceCredentialOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder sourceId?: Prisma.SortOrder keyHash?: Prisma.SortOrder keyPrefix?: Prisma.SortOrder expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder lastUsedAt?: Prisma.SortOrderInput | Prisma.SortOrder source?: Prisma.AdminLeadSourceOrderByWithRelationInput } export type AdminLeadSourceCredentialWhereUniqueInput = Prisma.AtLeast<{ id?: string keyHash?: string AND?: Prisma.AdminLeadSourceCredentialWhereInput | Prisma.AdminLeadSourceCredentialWhereInput[] OR?: Prisma.AdminLeadSourceCredentialWhereInput[] NOT?: Prisma.AdminLeadSourceCredentialWhereInput | Prisma.AdminLeadSourceCredentialWhereInput[] createdAt?: Prisma.DateTimeFilter<"AdminLeadSourceCredential"> | Date | string sourceId?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string keyPrefix?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string expiresAt?: Prisma.DateTimeNullableFilter<"AdminLeadSourceCredential"> | Date | string | null revokedAt?: Prisma.DateTimeNullableFilter<"AdminLeadSourceCredential"> | Date | string | null lastUsedAt?: Prisma.DateTimeNullableFilter<"AdminLeadSourceCredential"> | Date | string | null source?: Prisma.XOR }, "id" | "keyHash"> export type AdminLeadSourceCredentialOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder sourceId?: Prisma.SortOrder keyHash?: Prisma.SortOrder keyPrefix?: Prisma.SortOrder expiresAt?: Prisma.SortOrderInput | Prisma.SortOrder revokedAt?: Prisma.SortOrderInput | Prisma.SortOrder lastUsedAt?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.AdminLeadSourceCredentialCountOrderByAggregateInput _max?: Prisma.AdminLeadSourceCredentialMaxOrderByAggregateInput _min?: Prisma.AdminLeadSourceCredentialMinOrderByAggregateInput } export type AdminLeadSourceCredentialScalarWhereWithAggregatesInput = { AND?: Prisma.AdminLeadSourceCredentialScalarWhereWithAggregatesInput | Prisma.AdminLeadSourceCredentialScalarWhereWithAggregatesInput[] OR?: Prisma.AdminLeadSourceCredentialScalarWhereWithAggregatesInput[] NOT?: Prisma.AdminLeadSourceCredentialScalarWhereWithAggregatesInput | Prisma.AdminLeadSourceCredentialScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"AdminLeadSourceCredential"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"AdminLeadSourceCredential"> | Date | string sourceId?: Prisma.StringWithAggregatesFilter<"AdminLeadSourceCredential"> | string keyHash?: Prisma.StringWithAggregatesFilter<"AdminLeadSourceCredential"> | string keyPrefix?: Prisma.StringWithAggregatesFilter<"AdminLeadSourceCredential"> | string expiresAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminLeadSourceCredential"> | Date | string | null revokedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminLeadSourceCredential"> | Date | string | null lastUsedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"AdminLeadSourceCredential"> | Date | string | null } export type AdminLeadSourceCredentialCreateInput = { id?: string createdAt?: Date | string keyHash: string keyPrefix: string expiresAt?: Date | string | null revokedAt?: Date | string | null lastUsedAt?: Date | string | null source: Prisma.AdminLeadSourceCreateNestedOneWithoutCredentialsInput } export type AdminLeadSourceCredentialUncheckedCreateInput = { id?: string createdAt?: Date | string sourceId: string keyHash: string keyPrefix: string expiresAt?: Date | string | null revokedAt?: Date | string | null lastUsedAt?: Date | string | null } export type AdminLeadSourceCredentialUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string keyHash?: Prisma.StringFieldUpdateOperationsInput | string keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null source?: Prisma.AdminLeadSourceUpdateOneRequiredWithoutCredentialsNestedInput } export type AdminLeadSourceCredentialUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string sourceId?: Prisma.StringFieldUpdateOperationsInput | string keyHash?: Prisma.StringFieldUpdateOperationsInput | string keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AdminLeadSourceCredentialCreateManyInput = { id?: string createdAt?: Date | string sourceId: string keyHash: string keyPrefix: string expiresAt?: Date | string | null revokedAt?: Date | string | null lastUsedAt?: Date | string | null } export type AdminLeadSourceCredentialUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string keyHash?: Prisma.StringFieldUpdateOperationsInput | string keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AdminLeadSourceCredentialUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string sourceId?: Prisma.StringFieldUpdateOperationsInput | string keyHash?: Prisma.StringFieldUpdateOperationsInput | string keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AdminLeadSourceCredentialListRelationFilter = { every?: Prisma.AdminLeadSourceCredentialWhereInput some?: Prisma.AdminLeadSourceCredentialWhereInput none?: Prisma.AdminLeadSourceCredentialWhereInput } export type AdminLeadSourceCredentialOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type AdminLeadSourceCredentialCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder sourceId?: Prisma.SortOrder keyHash?: Prisma.SortOrder keyPrefix?: Prisma.SortOrder expiresAt?: Prisma.SortOrder revokedAt?: Prisma.SortOrder lastUsedAt?: Prisma.SortOrder } export type AdminLeadSourceCredentialMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder sourceId?: Prisma.SortOrder keyHash?: Prisma.SortOrder keyPrefix?: Prisma.SortOrder expiresAt?: Prisma.SortOrder revokedAt?: Prisma.SortOrder lastUsedAt?: Prisma.SortOrder } export type AdminLeadSourceCredentialMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder sourceId?: Prisma.SortOrder keyHash?: Prisma.SortOrder keyPrefix?: Prisma.SortOrder expiresAt?: Prisma.SortOrder revokedAt?: Prisma.SortOrder lastUsedAt?: Prisma.SortOrder } export type AdminLeadSourceCredentialCreateNestedManyWithoutSourceInput = { create?: Prisma.XOR | Prisma.AdminLeadSourceCredentialCreateWithoutSourceInput[] | Prisma.AdminLeadSourceCredentialUncheckedCreateWithoutSourceInput[] connectOrCreate?: Prisma.AdminLeadSourceCredentialCreateOrConnectWithoutSourceInput | Prisma.AdminLeadSourceCredentialCreateOrConnectWithoutSourceInput[] createMany?: Prisma.AdminLeadSourceCredentialCreateManySourceInputEnvelope connect?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] } export type AdminLeadSourceCredentialUncheckedCreateNestedManyWithoutSourceInput = { create?: Prisma.XOR | Prisma.AdminLeadSourceCredentialCreateWithoutSourceInput[] | Prisma.AdminLeadSourceCredentialUncheckedCreateWithoutSourceInput[] connectOrCreate?: Prisma.AdminLeadSourceCredentialCreateOrConnectWithoutSourceInput | Prisma.AdminLeadSourceCredentialCreateOrConnectWithoutSourceInput[] createMany?: Prisma.AdminLeadSourceCredentialCreateManySourceInputEnvelope connect?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] } export type AdminLeadSourceCredentialUpdateManyWithoutSourceNestedInput = { create?: Prisma.XOR | Prisma.AdminLeadSourceCredentialCreateWithoutSourceInput[] | Prisma.AdminLeadSourceCredentialUncheckedCreateWithoutSourceInput[] connectOrCreate?: Prisma.AdminLeadSourceCredentialCreateOrConnectWithoutSourceInput | Prisma.AdminLeadSourceCredentialCreateOrConnectWithoutSourceInput[] upsert?: Prisma.AdminLeadSourceCredentialUpsertWithWhereUniqueWithoutSourceInput | Prisma.AdminLeadSourceCredentialUpsertWithWhereUniqueWithoutSourceInput[] createMany?: Prisma.AdminLeadSourceCredentialCreateManySourceInputEnvelope set?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] disconnect?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] delete?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] connect?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] update?: Prisma.AdminLeadSourceCredentialUpdateWithWhereUniqueWithoutSourceInput | Prisma.AdminLeadSourceCredentialUpdateWithWhereUniqueWithoutSourceInput[] updateMany?: Prisma.AdminLeadSourceCredentialUpdateManyWithWhereWithoutSourceInput | Prisma.AdminLeadSourceCredentialUpdateManyWithWhereWithoutSourceInput[] deleteMany?: Prisma.AdminLeadSourceCredentialScalarWhereInput | Prisma.AdminLeadSourceCredentialScalarWhereInput[] } export type AdminLeadSourceCredentialUncheckedUpdateManyWithoutSourceNestedInput = { create?: Prisma.XOR | Prisma.AdminLeadSourceCredentialCreateWithoutSourceInput[] | Prisma.AdminLeadSourceCredentialUncheckedCreateWithoutSourceInput[] connectOrCreate?: Prisma.AdminLeadSourceCredentialCreateOrConnectWithoutSourceInput | Prisma.AdminLeadSourceCredentialCreateOrConnectWithoutSourceInput[] upsert?: Prisma.AdminLeadSourceCredentialUpsertWithWhereUniqueWithoutSourceInput | Prisma.AdminLeadSourceCredentialUpsertWithWhereUniqueWithoutSourceInput[] createMany?: Prisma.AdminLeadSourceCredentialCreateManySourceInputEnvelope set?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] disconnect?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] delete?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] connect?: Prisma.AdminLeadSourceCredentialWhereUniqueInput | Prisma.AdminLeadSourceCredentialWhereUniqueInput[] update?: Prisma.AdminLeadSourceCredentialUpdateWithWhereUniqueWithoutSourceInput | Prisma.AdminLeadSourceCredentialUpdateWithWhereUniqueWithoutSourceInput[] updateMany?: Prisma.AdminLeadSourceCredentialUpdateManyWithWhereWithoutSourceInput | Prisma.AdminLeadSourceCredentialUpdateManyWithWhereWithoutSourceInput[] deleteMany?: Prisma.AdminLeadSourceCredentialScalarWhereInput | Prisma.AdminLeadSourceCredentialScalarWhereInput[] } export type AdminLeadSourceCredentialCreateWithoutSourceInput = { id?: string createdAt?: Date | string keyHash: string keyPrefix: string expiresAt?: Date | string | null revokedAt?: Date | string | null lastUsedAt?: Date | string | null } export type AdminLeadSourceCredentialUncheckedCreateWithoutSourceInput = { id?: string createdAt?: Date | string keyHash: string keyPrefix: string expiresAt?: Date | string | null revokedAt?: Date | string | null lastUsedAt?: Date | string | null } export type AdminLeadSourceCredentialCreateOrConnectWithoutSourceInput = { where: Prisma.AdminLeadSourceCredentialWhereUniqueInput create: Prisma.XOR } export type AdminLeadSourceCredentialCreateManySourceInputEnvelope = { data: Prisma.AdminLeadSourceCredentialCreateManySourceInput | Prisma.AdminLeadSourceCredentialCreateManySourceInput[] skipDuplicates?: boolean } export type AdminLeadSourceCredentialUpsertWithWhereUniqueWithoutSourceInput = { where: Prisma.AdminLeadSourceCredentialWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type AdminLeadSourceCredentialUpdateWithWhereUniqueWithoutSourceInput = { where: Prisma.AdminLeadSourceCredentialWhereUniqueInput data: Prisma.XOR } export type AdminLeadSourceCredentialUpdateManyWithWhereWithoutSourceInput = { where: Prisma.AdminLeadSourceCredentialScalarWhereInput data: Prisma.XOR } export type AdminLeadSourceCredentialScalarWhereInput = { AND?: Prisma.AdminLeadSourceCredentialScalarWhereInput | Prisma.AdminLeadSourceCredentialScalarWhereInput[] OR?: Prisma.AdminLeadSourceCredentialScalarWhereInput[] NOT?: Prisma.AdminLeadSourceCredentialScalarWhereInput | Prisma.AdminLeadSourceCredentialScalarWhereInput[] id?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string createdAt?: Prisma.DateTimeFilter<"AdminLeadSourceCredential"> | Date | string sourceId?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string keyHash?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string keyPrefix?: Prisma.StringFilter<"AdminLeadSourceCredential"> | string expiresAt?: Prisma.DateTimeNullableFilter<"AdminLeadSourceCredential"> | Date | string | null revokedAt?: Prisma.DateTimeNullableFilter<"AdminLeadSourceCredential"> | Date | string | null lastUsedAt?: Prisma.DateTimeNullableFilter<"AdminLeadSourceCredential"> | Date | string | null } export type AdminLeadSourceCredentialCreateManySourceInput = { id?: string createdAt?: Date | string keyHash: string keyPrefix: string expiresAt?: Date | string | null revokedAt?: Date | string | null lastUsedAt?: Date | string | null } export type AdminLeadSourceCredentialUpdateWithoutSourceInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string keyHash?: Prisma.StringFieldUpdateOperationsInput | string keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AdminLeadSourceCredentialUncheckedUpdateWithoutSourceInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string keyHash?: Prisma.StringFieldUpdateOperationsInput | string keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AdminLeadSourceCredentialUncheckedUpdateManyWithoutSourceInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string keyHash?: Prisma.StringFieldUpdateOperationsInput | string keyPrefix?: Prisma.StringFieldUpdateOperationsInput | string expiresAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null revokedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null lastUsedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null } export type AdminLeadSourceCredentialSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean sourceId?: boolean keyHash?: boolean keyPrefix?: boolean expiresAt?: boolean revokedAt?: boolean lastUsedAt?: boolean source?: boolean | Prisma.AdminLeadSourceDefaultArgs }, ExtArgs["result"]["adminLeadSourceCredential"]> export type AdminLeadSourceCredentialSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean sourceId?: boolean keyHash?: boolean keyPrefix?: boolean expiresAt?: boolean revokedAt?: boolean lastUsedAt?: boolean source?: boolean | Prisma.AdminLeadSourceDefaultArgs }, ExtArgs["result"]["adminLeadSourceCredential"]> export type AdminLeadSourceCredentialSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean sourceId?: boolean keyHash?: boolean keyPrefix?: boolean expiresAt?: boolean revokedAt?: boolean lastUsedAt?: boolean source?: boolean | Prisma.AdminLeadSourceDefaultArgs }, ExtArgs["result"]["adminLeadSourceCredential"]> export type AdminLeadSourceCredentialSelectScalar = { id?: boolean createdAt?: boolean sourceId?: boolean keyHash?: boolean keyPrefix?: boolean expiresAt?: boolean revokedAt?: boolean lastUsedAt?: boolean } export type AdminLeadSourceCredentialOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "sourceId" | "keyHash" | "keyPrefix" | "expiresAt" | "revokedAt" | "lastUsedAt", ExtArgs["result"]["adminLeadSourceCredential"]> export type AdminLeadSourceCredentialInclude = { source?: boolean | Prisma.AdminLeadSourceDefaultArgs } export type AdminLeadSourceCredentialIncludeCreateManyAndReturn = { source?: boolean | Prisma.AdminLeadSourceDefaultArgs } export type AdminLeadSourceCredentialIncludeUpdateManyAndReturn = { source?: boolean | Prisma.AdminLeadSourceDefaultArgs } export type $AdminLeadSourceCredentialPayload = { name: "AdminLeadSourceCredential" objects: { source: Prisma.$AdminLeadSourcePayload } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date sourceId: string keyHash: string keyPrefix: string expiresAt: Date | null revokedAt: Date | null lastUsedAt: Date | null }, ExtArgs["result"]["adminLeadSourceCredential"]> composites: {} } export type AdminLeadSourceCredentialGetPayload = runtime.Types.Result.GetResult export type AdminLeadSourceCredentialCountArgs = Omit & { select?: AdminLeadSourceCredentialCountAggregateInputType | true } export interface AdminLeadSourceCredentialDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['AdminLeadSourceCredential'], meta: { name: 'AdminLeadSourceCredential' } } /** * Find zero or one AdminLeadSourceCredential that matches the filter. * @param {AdminLeadSourceCredentialFindUniqueArgs} args - Arguments to find a AdminLeadSourceCredential * @example * // Get one AdminLeadSourceCredential * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__AdminLeadSourceCredentialClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one AdminLeadSourceCredential that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {AdminLeadSourceCredentialFindUniqueOrThrowArgs} args - Arguments to find a AdminLeadSourceCredential * @example * // Get one AdminLeadSourceCredential * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__AdminLeadSourceCredentialClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first AdminLeadSourceCredential 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 {AdminLeadSourceCredentialFindFirstArgs} args - Arguments to find a AdminLeadSourceCredential * @example * // Get one AdminLeadSourceCredential * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminLeadSourceCredentialClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first AdminLeadSourceCredential 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 {AdminLeadSourceCredentialFindFirstOrThrowArgs} args - Arguments to find a AdminLeadSourceCredential * @example * // Get one AdminLeadSourceCredential * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__AdminLeadSourceCredentialClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more AdminLeadSourceCredentials 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 {AdminLeadSourceCredentialFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all AdminLeadSourceCredentials * const adminLeadSourceCredentials = await prisma.adminLeadSourceCredential.findMany() * * // Get first 10 AdminLeadSourceCredentials * const adminLeadSourceCredentials = await prisma.adminLeadSourceCredential.findMany({ take: 10 }) * * // Only select the `id` * const adminLeadSourceCredentialWithIdOnly = await prisma.adminLeadSourceCredential.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a AdminLeadSourceCredential. * @param {AdminLeadSourceCredentialCreateArgs} args - Arguments to create a AdminLeadSourceCredential. * @example * // Create one AdminLeadSourceCredential * const AdminLeadSourceCredential = await prisma.adminLeadSourceCredential.create({ * data: { * // ... data to create a AdminLeadSourceCredential * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__AdminLeadSourceCredentialClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many AdminLeadSourceCredentials. * @param {AdminLeadSourceCredentialCreateManyArgs} args - Arguments to create many AdminLeadSourceCredentials. * @example * // Create many AdminLeadSourceCredentials * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many AdminLeadSourceCredentials and returns the data saved in the database. * @param {AdminLeadSourceCredentialCreateManyAndReturnArgs} args - Arguments to create many AdminLeadSourceCredentials. * @example * // Create many AdminLeadSourceCredentials * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many AdminLeadSourceCredentials and only return the `id` * const adminLeadSourceCredentialWithIdOnly = await prisma.adminLeadSourceCredential.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 AdminLeadSourceCredential. * @param {AdminLeadSourceCredentialDeleteArgs} args - Arguments to delete one AdminLeadSourceCredential. * @example * // Delete one AdminLeadSourceCredential * const AdminLeadSourceCredential = await prisma.adminLeadSourceCredential.delete({ * where: { * // ... filter to delete one AdminLeadSourceCredential * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__AdminLeadSourceCredentialClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one AdminLeadSourceCredential. * @param {AdminLeadSourceCredentialUpdateArgs} args - Arguments to update one AdminLeadSourceCredential. * @example * // Update one AdminLeadSourceCredential * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__AdminLeadSourceCredentialClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more AdminLeadSourceCredentials. * @param {AdminLeadSourceCredentialDeleteManyArgs} args - Arguments to filter AdminLeadSourceCredentials to delete. * @example * // Delete a few AdminLeadSourceCredentials * const { count } = await prisma.adminLeadSourceCredential.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminLeadSourceCredentials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminLeadSourceCredentialUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many AdminLeadSourceCredentials * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more AdminLeadSourceCredentials and returns the data updated in the database. * @param {AdminLeadSourceCredentialUpdateManyAndReturnArgs} args - Arguments to update many AdminLeadSourceCredentials. * @example * // Update many AdminLeadSourceCredentials * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more AdminLeadSourceCredentials and only return the `id` * const adminLeadSourceCredentialWithIdOnly = await prisma.adminLeadSourceCredential.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 AdminLeadSourceCredential. * @param {AdminLeadSourceCredentialUpsertArgs} args - Arguments to update or create a AdminLeadSourceCredential. * @example * // Update or create a AdminLeadSourceCredential * const adminLeadSourceCredential = await prisma.adminLeadSourceCredential.upsert({ * create: { * // ... data to create a AdminLeadSourceCredential * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the AdminLeadSourceCredential we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__AdminLeadSourceCredentialClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of AdminLeadSourceCredentials. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminLeadSourceCredentialCountArgs} args - Arguments to filter AdminLeadSourceCredentials to count. * @example * // Count the number of AdminLeadSourceCredentials * const count = await prisma.adminLeadSourceCredential.count({ * where: { * // ... the filter for the AdminLeadSourceCredentials 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 AdminLeadSourceCredential. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminLeadSourceCredentialAggregateArgs} 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 AdminLeadSourceCredential. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {AdminLeadSourceCredentialGroupByArgs} 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 AdminLeadSourceCredentialGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: AdminLeadSourceCredentialGroupByArgs['orderBy'] } : { orderBy?: AdminLeadSourceCredentialGroupByArgs['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 ? GetAdminLeadSourceCredentialGroupByPayload : Prisma.PrismaPromise /** * Fields of the AdminLeadSourceCredential model */ readonly fields: AdminLeadSourceCredentialFieldRefs; } /** * The delegate class that acts as a "Promise-like" for AdminLeadSourceCredential. * 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__AdminLeadSourceCredentialClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" source = {}>(args?: Prisma.Subset>): Prisma.Prisma__AdminLeadSourceClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> /** * 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 AdminLeadSourceCredential model */ export interface AdminLeadSourceCredentialFieldRefs { readonly id: Prisma.FieldRef<"AdminLeadSourceCredential", 'String'> readonly createdAt: Prisma.FieldRef<"AdminLeadSourceCredential", 'DateTime'> readonly sourceId: Prisma.FieldRef<"AdminLeadSourceCredential", 'String'> readonly keyHash: Prisma.FieldRef<"AdminLeadSourceCredential", 'String'> readonly keyPrefix: Prisma.FieldRef<"AdminLeadSourceCredential", 'String'> readonly expiresAt: Prisma.FieldRef<"AdminLeadSourceCredential", 'DateTime'> readonly revokedAt: Prisma.FieldRef<"AdminLeadSourceCredential", 'DateTime'> readonly lastUsedAt: Prisma.FieldRef<"AdminLeadSourceCredential", 'DateTime'> } // Custom InputTypes /** * AdminLeadSourceCredential findUnique */ export type AdminLeadSourceCredentialFindUniqueArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null /** * Filter, which AdminLeadSourceCredential to fetch. */ where: Prisma.AdminLeadSourceCredentialWhereUniqueInput } /** * AdminLeadSourceCredential findUniqueOrThrow */ export type AdminLeadSourceCredentialFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null /** * Filter, which AdminLeadSourceCredential to fetch. */ where: Prisma.AdminLeadSourceCredentialWhereUniqueInput } /** * AdminLeadSourceCredential findFirst */ export type AdminLeadSourceCredentialFindFirstArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null /** * Filter, which AdminLeadSourceCredential to fetch. */ where?: Prisma.AdminLeadSourceCredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminLeadSourceCredentials to fetch. */ orderBy?: Prisma.AdminLeadSourceCredentialOrderByWithRelationInput | Prisma.AdminLeadSourceCredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminLeadSourceCredentials. */ cursor?: Prisma.AdminLeadSourceCredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminLeadSourceCredentials 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` AdminLeadSourceCredentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminLeadSourceCredentials. */ distinct?: Prisma.AdminLeadSourceCredentialScalarFieldEnum | Prisma.AdminLeadSourceCredentialScalarFieldEnum[] } /** * AdminLeadSourceCredential findFirstOrThrow */ export type AdminLeadSourceCredentialFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null /** * Filter, which AdminLeadSourceCredential to fetch. */ where?: Prisma.AdminLeadSourceCredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminLeadSourceCredentials to fetch. */ orderBy?: Prisma.AdminLeadSourceCredentialOrderByWithRelationInput | Prisma.AdminLeadSourceCredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for AdminLeadSourceCredentials. */ cursor?: Prisma.AdminLeadSourceCredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminLeadSourceCredentials 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` AdminLeadSourceCredentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminLeadSourceCredentials. */ distinct?: Prisma.AdminLeadSourceCredentialScalarFieldEnum | Prisma.AdminLeadSourceCredentialScalarFieldEnum[] } /** * AdminLeadSourceCredential findMany */ export type AdminLeadSourceCredentialFindManyArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null /** * Filter, which AdminLeadSourceCredentials to fetch. */ where?: Prisma.AdminLeadSourceCredentialWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of AdminLeadSourceCredentials to fetch. */ orderBy?: Prisma.AdminLeadSourceCredentialOrderByWithRelationInput | Prisma.AdminLeadSourceCredentialOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing AdminLeadSourceCredentials. */ cursor?: Prisma.AdminLeadSourceCredentialWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` AdminLeadSourceCredentials 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` AdminLeadSourceCredentials. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of AdminLeadSourceCredentials. */ distinct?: Prisma.AdminLeadSourceCredentialScalarFieldEnum | Prisma.AdminLeadSourceCredentialScalarFieldEnum[] } /** * AdminLeadSourceCredential create */ export type AdminLeadSourceCredentialCreateArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null /** * The data needed to create a AdminLeadSourceCredential. */ data: Prisma.XOR } /** * AdminLeadSourceCredential createMany */ export type AdminLeadSourceCredentialCreateManyArgs = { /** * The data used to create many AdminLeadSourceCredentials. */ data: Prisma.AdminLeadSourceCredentialCreateManyInput | Prisma.AdminLeadSourceCredentialCreateManyInput[] skipDuplicates?: boolean } /** * AdminLeadSourceCredential createManyAndReturn */ export type AdminLeadSourceCredentialCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelectCreateManyAndReturn | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * The data used to create many AdminLeadSourceCredentials. */ data: Prisma.AdminLeadSourceCredentialCreateManyInput | Prisma.AdminLeadSourceCredentialCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialIncludeCreateManyAndReturn | null } /** * AdminLeadSourceCredential update */ export type AdminLeadSourceCredentialUpdateArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null /** * The data needed to update a AdminLeadSourceCredential. */ data: Prisma.XOR /** * Choose, which AdminLeadSourceCredential to update. */ where: Prisma.AdminLeadSourceCredentialWhereUniqueInput } /** * AdminLeadSourceCredential updateMany */ export type AdminLeadSourceCredentialUpdateManyArgs = { /** * The data used to update AdminLeadSourceCredentials. */ data: Prisma.XOR /** * Filter which AdminLeadSourceCredentials to update */ where?: Prisma.AdminLeadSourceCredentialWhereInput /** * Limit how many AdminLeadSourceCredentials to update. */ limit?: number } /** * AdminLeadSourceCredential updateManyAndReturn */ export type AdminLeadSourceCredentialUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelectUpdateManyAndReturn | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * The data used to update AdminLeadSourceCredentials. */ data: Prisma.XOR /** * Filter which AdminLeadSourceCredentials to update */ where?: Prisma.AdminLeadSourceCredentialWhereInput /** * Limit how many AdminLeadSourceCredentials to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialIncludeUpdateManyAndReturn | null } /** * AdminLeadSourceCredential upsert */ export type AdminLeadSourceCredentialUpsertArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null /** * The filter to search for the AdminLeadSourceCredential to update in case it exists. */ where: Prisma.AdminLeadSourceCredentialWhereUniqueInput /** * In case the AdminLeadSourceCredential found by the `where` argument doesn't exist, create a new AdminLeadSourceCredential with this data. */ create: Prisma.XOR /** * In case the AdminLeadSourceCredential was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * AdminLeadSourceCredential delete */ export type AdminLeadSourceCredentialDeleteArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null /** * Filter which AdminLeadSourceCredential to delete. */ where: Prisma.AdminLeadSourceCredentialWhereUniqueInput } /** * AdminLeadSourceCredential deleteMany */ export type AdminLeadSourceCredentialDeleteManyArgs = { /** * Filter which AdminLeadSourceCredentials to delete */ where?: Prisma.AdminLeadSourceCredentialWhereInput /** * Limit how many AdminLeadSourceCredentials to delete. */ limit?: number } /** * AdminLeadSourceCredential without action */ export type AdminLeadSourceCredentialDefaultArgs = { /** * Select specific fields to fetch from the AdminLeadSourceCredential */ select?: Prisma.AdminLeadSourceCredentialSelect | null /** * Omit specific fields from the AdminLeadSourceCredential */ omit?: Prisma.AdminLeadSourceCredentialOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.AdminLeadSourceCredentialInclude | null }