/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `Registration` 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 Registration * */ export type RegistrationModel = runtime.Types.Result.DefaultSelection export type AggregateRegistration = { _count: RegistrationCountAggregateOutputType | null _avg: RegistrationAvgAggregateOutputType | null _sum: RegistrationSumAggregateOutputType | null _min: RegistrationMinAggregateOutputType | null _max: RegistrationMaxAggregateOutputType | null } export type RegistrationAvgAggregateOutputType = { selectedOfficeSeatQuantity: number | null selectedFieldSeatQuantity: number | null } export type RegistrationSumAggregateOutputType = { selectedOfficeSeatQuantity: number | null selectedFieldSeatQuantity: number | null } export type RegistrationMinAggregateOutputType = { id: string | null createdAt: Date | null email: string | null firstName: string | null lastName: string | null slug: string | null token: string | null ipAddress: string | null company: string | null selectedSubscriptionPriceId: string | null selectedOfficeSeatQuantity: number | null selectedFieldSeatQuantity: number | null leadConversionLeadId: string | null leadConversionToken: string | null leadConversionPlanId: string | null createdTenantId: string | null } export type RegistrationMaxAggregateOutputType = { id: string | null createdAt: Date | null email: string | null firstName: string | null lastName: string | null slug: string | null token: string | null ipAddress: string | null company: string | null selectedSubscriptionPriceId: string | null selectedOfficeSeatQuantity: number | null selectedFieldSeatQuantity: number | null leadConversionLeadId: string | null leadConversionToken: string | null leadConversionPlanId: string | null createdTenantId: string | null } export type RegistrationCountAggregateOutputType = { id: number createdAt: number email: number firstName: number lastName: number slug: number token: number ipAddress: number company: number selectedSubscriptionPriceId: number selectedOfficeSeatQuantity: number selectedFieldSeatQuantity: number leadConversionLeadId: number leadConversionToken: number leadConversionPlanId: number createdTenantId: number _all: number } export type RegistrationAvgAggregateInputType = { selectedOfficeSeatQuantity?: true selectedFieldSeatQuantity?: true } export type RegistrationSumAggregateInputType = { selectedOfficeSeatQuantity?: true selectedFieldSeatQuantity?: true } export type RegistrationMinAggregateInputType = { id?: true createdAt?: true email?: true firstName?: true lastName?: true slug?: true token?: true ipAddress?: true company?: true selectedSubscriptionPriceId?: true selectedOfficeSeatQuantity?: true selectedFieldSeatQuantity?: true leadConversionLeadId?: true leadConversionToken?: true leadConversionPlanId?: true createdTenantId?: true } export type RegistrationMaxAggregateInputType = { id?: true createdAt?: true email?: true firstName?: true lastName?: true slug?: true token?: true ipAddress?: true company?: true selectedSubscriptionPriceId?: true selectedOfficeSeatQuantity?: true selectedFieldSeatQuantity?: true leadConversionLeadId?: true leadConversionToken?: true leadConversionPlanId?: true createdTenantId?: true } export type RegistrationCountAggregateInputType = { id?: true createdAt?: true email?: true firstName?: true lastName?: true slug?: true token?: true ipAddress?: true company?: true selectedSubscriptionPriceId?: true selectedOfficeSeatQuantity?: true selectedFieldSeatQuantity?: true leadConversionLeadId?: true leadConversionToken?: true leadConversionPlanId?: true createdTenantId?: true _all?: true } export type RegistrationAggregateArgs = { /** * Filter which Registration to aggregate. */ where?: Prisma.RegistrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Registrations to fetch. */ orderBy?: Prisma.RegistrationOrderByWithRelationInput | Prisma.RegistrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.RegistrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Registrations 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` Registrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned Registrations **/ _count?: true | RegistrationCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: RegistrationAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: RegistrationSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: RegistrationMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: RegistrationMaxAggregateInputType } export type GetRegistrationAggregateType = { [P in keyof T & keyof AggregateRegistration]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type RegistrationGroupByArgs = { where?: Prisma.RegistrationWhereInput orderBy?: Prisma.RegistrationOrderByWithAggregationInput | Prisma.RegistrationOrderByWithAggregationInput[] by: Prisma.RegistrationScalarFieldEnum[] | Prisma.RegistrationScalarFieldEnum having?: Prisma.RegistrationScalarWhereWithAggregatesInput take?: number skip?: number _count?: RegistrationCountAggregateInputType | true _avg?: RegistrationAvgAggregateInputType _sum?: RegistrationSumAggregateInputType _min?: RegistrationMinAggregateInputType _max?: RegistrationMaxAggregateInputType } export type RegistrationGroupByOutputType = { id: string createdAt: Date email: string firstName: string lastName: string slug: string | null token: string ipAddress: string | null company: string | null selectedSubscriptionPriceId: string | null selectedOfficeSeatQuantity: number | null selectedFieldSeatQuantity: number | null leadConversionLeadId: string | null leadConversionToken: string | null leadConversionPlanId: string | null createdTenantId: string | null _count: RegistrationCountAggregateOutputType | null _avg: RegistrationAvgAggregateOutputType | null _sum: RegistrationSumAggregateOutputType | null _min: RegistrationMinAggregateOutputType | null _max: RegistrationMaxAggregateOutputType | null } export type GetRegistrationGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof RegistrationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type RegistrationWhereInput = { AND?: Prisma.RegistrationWhereInput | Prisma.RegistrationWhereInput[] OR?: Prisma.RegistrationWhereInput[] NOT?: Prisma.RegistrationWhereInput | Prisma.RegistrationWhereInput[] id?: Prisma.StringFilter<"Registration"> | string createdAt?: Prisma.DateTimeFilter<"Registration"> | Date | string email?: Prisma.StringFilter<"Registration"> | string firstName?: Prisma.StringFilter<"Registration"> | string lastName?: Prisma.StringFilter<"Registration"> | string slug?: Prisma.StringNullableFilter<"Registration"> | string | null token?: Prisma.StringFilter<"Registration"> | string ipAddress?: Prisma.StringNullableFilter<"Registration"> | string | null company?: Prisma.StringNullableFilter<"Registration"> | string | null selectedSubscriptionPriceId?: Prisma.StringNullableFilter<"Registration"> | string | null selectedOfficeSeatQuantity?: Prisma.IntNullableFilter<"Registration"> | number | null selectedFieldSeatQuantity?: Prisma.IntNullableFilter<"Registration"> | number | null leadConversionLeadId?: Prisma.StringNullableFilter<"Registration"> | string | null leadConversionToken?: Prisma.StringNullableFilter<"Registration"> | string | null leadConversionPlanId?: Prisma.StringNullableFilter<"Registration"> | string | null createdTenantId?: Prisma.StringNullableFilter<"Registration"> | string | null createdTenant?: Prisma.XOR | null } export type RegistrationOrderByWithRelationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder email?: Prisma.SortOrder firstName?: Prisma.SortOrder lastName?: Prisma.SortOrder slug?: Prisma.SortOrderInput | Prisma.SortOrder token?: Prisma.SortOrder ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder company?: Prisma.SortOrderInput | Prisma.SortOrder selectedSubscriptionPriceId?: Prisma.SortOrderInput | Prisma.SortOrder selectedOfficeSeatQuantity?: Prisma.SortOrderInput | Prisma.SortOrder selectedFieldSeatQuantity?: Prisma.SortOrderInput | Prisma.SortOrder leadConversionLeadId?: Prisma.SortOrderInput | Prisma.SortOrder leadConversionToken?: Prisma.SortOrderInput | Prisma.SortOrder leadConversionPlanId?: Prisma.SortOrderInput | Prisma.SortOrder createdTenantId?: Prisma.SortOrderInput | Prisma.SortOrder createdTenant?: Prisma.TenantOrderByWithRelationInput } export type RegistrationWhereUniqueInput = Prisma.AtLeast<{ id?: string email?: string token?: string createdTenantId?: string AND?: Prisma.RegistrationWhereInput | Prisma.RegistrationWhereInput[] OR?: Prisma.RegistrationWhereInput[] NOT?: Prisma.RegistrationWhereInput | Prisma.RegistrationWhereInput[] createdAt?: Prisma.DateTimeFilter<"Registration"> | Date | string firstName?: Prisma.StringFilter<"Registration"> | string lastName?: Prisma.StringFilter<"Registration"> | string slug?: Prisma.StringNullableFilter<"Registration"> | string | null ipAddress?: Prisma.StringNullableFilter<"Registration"> | string | null company?: Prisma.StringNullableFilter<"Registration"> | string | null selectedSubscriptionPriceId?: Prisma.StringNullableFilter<"Registration"> | string | null selectedOfficeSeatQuantity?: Prisma.IntNullableFilter<"Registration"> | number | null selectedFieldSeatQuantity?: Prisma.IntNullableFilter<"Registration"> | number | null leadConversionLeadId?: Prisma.StringNullableFilter<"Registration"> | string | null leadConversionToken?: Prisma.StringNullableFilter<"Registration"> | string | null leadConversionPlanId?: Prisma.StringNullableFilter<"Registration"> | string | null createdTenant?: Prisma.XOR | null }, "id" | "email" | "token" | "createdTenantId"> export type RegistrationOrderByWithAggregationInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder email?: Prisma.SortOrder firstName?: Prisma.SortOrder lastName?: Prisma.SortOrder slug?: Prisma.SortOrderInput | Prisma.SortOrder token?: Prisma.SortOrder ipAddress?: Prisma.SortOrderInput | Prisma.SortOrder company?: Prisma.SortOrderInput | Prisma.SortOrder selectedSubscriptionPriceId?: Prisma.SortOrderInput | Prisma.SortOrder selectedOfficeSeatQuantity?: Prisma.SortOrderInput | Prisma.SortOrder selectedFieldSeatQuantity?: Prisma.SortOrderInput | Prisma.SortOrder leadConversionLeadId?: Prisma.SortOrderInput | Prisma.SortOrder leadConversionToken?: Prisma.SortOrderInput | Prisma.SortOrder leadConversionPlanId?: Prisma.SortOrderInput | Prisma.SortOrder createdTenantId?: Prisma.SortOrderInput | Prisma.SortOrder _count?: Prisma.RegistrationCountOrderByAggregateInput _avg?: Prisma.RegistrationAvgOrderByAggregateInput _max?: Prisma.RegistrationMaxOrderByAggregateInput _min?: Prisma.RegistrationMinOrderByAggregateInput _sum?: Prisma.RegistrationSumOrderByAggregateInput } export type RegistrationScalarWhereWithAggregatesInput = { AND?: Prisma.RegistrationScalarWhereWithAggregatesInput | Prisma.RegistrationScalarWhereWithAggregatesInput[] OR?: Prisma.RegistrationScalarWhereWithAggregatesInput[] NOT?: Prisma.RegistrationScalarWhereWithAggregatesInput | Prisma.RegistrationScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"Registration"> | string createdAt?: Prisma.DateTimeWithAggregatesFilter<"Registration"> | Date | string email?: Prisma.StringWithAggregatesFilter<"Registration"> | string firstName?: Prisma.StringWithAggregatesFilter<"Registration"> | string lastName?: Prisma.StringWithAggregatesFilter<"Registration"> | string slug?: Prisma.StringNullableWithAggregatesFilter<"Registration"> | string | null token?: Prisma.StringWithAggregatesFilter<"Registration"> | string ipAddress?: Prisma.StringNullableWithAggregatesFilter<"Registration"> | string | null company?: Prisma.StringNullableWithAggregatesFilter<"Registration"> | string | null selectedSubscriptionPriceId?: Prisma.StringNullableWithAggregatesFilter<"Registration"> | string | null selectedOfficeSeatQuantity?: Prisma.IntNullableWithAggregatesFilter<"Registration"> | number | null selectedFieldSeatQuantity?: Prisma.IntNullableWithAggregatesFilter<"Registration"> | number | null leadConversionLeadId?: Prisma.StringNullableWithAggregatesFilter<"Registration"> | string | null leadConversionToken?: Prisma.StringNullableWithAggregatesFilter<"Registration"> | string | null leadConversionPlanId?: Prisma.StringNullableWithAggregatesFilter<"Registration"> | string | null createdTenantId?: Prisma.StringNullableWithAggregatesFilter<"Registration"> | string | null } export type RegistrationCreateInput = { id?: string createdAt?: Date | string email: string firstName: string lastName: string slug?: string | null token: string ipAddress?: string | null company?: string | null selectedSubscriptionPriceId?: string | null selectedOfficeSeatQuantity?: number | null selectedFieldSeatQuantity?: number | null leadConversionLeadId?: string | null leadConversionToken?: string | null leadConversionPlanId?: string | null createdTenant?: Prisma.TenantCreateNestedOneWithoutFromRegistrationInput } export type RegistrationUncheckedCreateInput = { id?: string createdAt?: Date | string email: string firstName: string lastName: string slug?: string | null token: string ipAddress?: string | null company?: string | null selectedSubscriptionPriceId?: string | null selectedOfficeSeatQuantity?: number | null selectedFieldSeatQuantity?: number | null leadConversionLeadId?: string | null leadConversionToken?: string | null leadConversionPlanId?: string | null createdTenantId?: string | null } export type RegistrationUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string email?: Prisma.StringFieldUpdateOperationsInput | string firstName?: Prisma.StringFieldUpdateOperationsInput | string lastName?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null token?: Prisma.StringFieldUpdateOperationsInput | string ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null company?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedSubscriptionPriceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedOfficeSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null selectedFieldSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null leadConversionLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdTenant?: Prisma.TenantUpdateOneWithoutFromRegistrationNestedInput } export type RegistrationUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string email?: Prisma.StringFieldUpdateOperationsInput | string firstName?: Prisma.StringFieldUpdateOperationsInput | string lastName?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null token?: Prisma.StringFieldUpdateOperationsInput | string ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null company?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedSubscriptionPriceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedOfficeSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null selectedFieldSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null leadConversionLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdTenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RegistrationCreateManyInput = { id?: string createdAt?: Date | string email: string firstName: string lastName: string slug?: string | null token: string ipAddress?: string | null company?: string | null selectedSubscriptionPriceId?: string | null selectedOfficeSeatQuantity?: number | null selectedFieldSeatQuantity?: number | null leadConversionLeadId?: string | null leadConversionToken?: string | null leadConversionPlanId?: string | null createdTenantId?: string | null } export type RegistrationUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string email?: Prisma.StringFieldUpdateOperationsInput | string firstName?: Prisma.StringFieldUpdateOperationsInput | string lastName?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null token?: Prisma.StringFieldUpdateOperationsInput | string ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null company?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedSubscriptionPriceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedOfficeSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null selectedFieldSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null leadConversionLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RegistrationUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string email?: Prisma.StringFieldUpdateOperationsInput | string firstName?: Prisma.StringFieldUpdateOperationsInput | string lastName?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null token?: Prisma.StringFieldUpdateOperationsInput | string ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null company?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedSubscriptionPriceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedOfficeSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null selectedFieldSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null leadConversionLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null createdTenantId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RegistrationNullableScalarRelationFilter = { is?: Prisma.RegistrationWhereInput | null isNot?: Prisma.RegistrationWhereInput | null } export type RegistrationCountOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder email?: Prisma.SortOrder firstName?: Prisma.SortOrder lastName?: Prisma.SortOrder slug?: Prisma.SortOrder token?: Prisma.SortOrder ipAddress?: Prisma.SortOrder company?: Prisma.SortOrder selectedSubscriptionPriceId?: Prisma.SortOrder selectedOfficeSeatQuantity?: Prisma.SortOrder selectedFieldSeatQuantity?: Prisma.SortOrder leadConversionLeadId?: Prisma.SortOrder leadConversionToken?: Prisma.SortOrder leadConversionPlanId?: Prisma.SortOrder createdTenantId?: Prisma.SortOrder } export type RegistrationAvgOrderByAggregateInput = { selectedOfficeSeatQuantity?: Prisma.SortOrder selectedFieldSeatQuantity?: Prisma.SortOrder } export type RegistrationMaxOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder email?: Prisma.SortOrder firstName?: Prisma.SortOrder lastName?: Prisma.SortOrder slug?: Prisma.SortOrder token?: Prisma.SortOrder ipAddress?: Prisma.SortOrder company?: Prisma.SortOrder selectedSubscriptionPriceId?: Prisma.SortOrder selectedOfficeSeatQuantity?: Prisma.SortOrder selectedFieldSeatQuantity?: Prisma.SortOrder leadConversionLeadId?: Prisma.SortOrder leadConversionToken?: Prisma.SortOrder leadConversionPlanId?: Prisma.SortOrder createdTenantId?: Prisma.SortOrder } export type RegistrationMinOrderByAggregateInput = { id?: Prisma.SortOrder createdAt?: Prisma.SortOrder email?: Prisma.SortOrder firstName?: Prisma.SortOrder lastName?: Prisma.SortOrder slug?: Prisma.SortOrder token?: Prisma.SortOrder ipAddress?: Prisma.SortOrder company?: Prisma.SortOrder selectedSubscriptionPriceId?: Prisma.SortOrder selectedOfficeSeatQuantity?: Prisma.SortOrder selectedFieldSeatQuantity?: Prisma.SortOrder leadConversionLeadId?: Prisma.SortOrder leadConversionToken?: Prisma.SortOrder leadConversionPlanId?: Prisma.SortOrder createdTenantId?: Prisma.SortOrder } export type RegistrationSumOrderByAggregateInput = { selectedOfficeSeatQuantity?: Prisma.SortOrder selectedFieldSeatQuantity?: Prisma.SortOrder } export type RegistrationCreateNestedOneWithoutCreatedTenantInput = { create?: Prisma.XOR connectOrCreate?: Prisma.RegistrationCreateOrConnectWithoutCreatedTenantInput connect?: Prisma.RegistrationWhereUniqueInput } export type RegistrationUncheckedCreateNestedOneWithoutCreatedTenantInput = { create?: Prisma.XOR connectOrCreate?: Prisma.RegistrationCreateOrConnectWithoutCreatedTenantInput connect?: Prisma.RegistrationWhereUniqueInput } export type RegistrationUpdateOneWithoutCreatedTenantNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.RegistrationCreateOrConnectWithoutCreatedTenantInput upsert?: Prisma.RegistrationUpsertWithoutCreatedTenantInput disconnect?: Prisma.RegistrationWhereInput | boolean delete?: Prisma.RegistrationWhereInput | boolean connect?: Prisma.RegistrationWhereUniqueInput update?: Prisma.XOR, Prisma.RegistrationUncheckedUpdateWithoutCreatedTenantInput> } export type RegistrationUncheckedUpdateOneWithoutCreatedTenantNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.RegistrationCreateOrConnectWithoutCreatedTenantInput upsert?: Prisma.RegistrationUpsertWithoutCreatedTenantInput disconnect?: Prisma.RegistrationWhereInput | boolean delete?: Prisma.RegistrationWhereInput | boolean connect?: Prisma.RegistrationWhereUniqueInput update?: Prisma.XOR, Prisma.RegistrationUncheckedUpdateWithoutCreatedTenantInput> } export type NullableIntFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type RegistrationCreateWithoutCreatedTenantInput = { id?: string createdAt?: Date | string email: string firstName: string lastName: string slug?: string | null token: string ipAddress?: string | null company?: string | null selectedSubscriptionPriceId?: string | null selectedOfficeSeatQuantity?: number | null selectedFieldSeatQuantity?: number | null leadConversionLeadId?: string | null leadConversionToken?: string | null leadConversionPlanId?: string | null } export type RegistrationUncheckedCreateWithoutCreatedTenantInput = { id?: string createdAt?: Date | string email: string firstName: string lastName: string slug?: string | null token: string ipAddress?: string | null company?: string | null selectedSubscriptionPriceId?: string | null selectedOfficeSeatQuantity?: number | null selectedFieldSeatQuantity?: number | null leadConversionLeadId?: string | null leadConversionToken?: string | null leadConversionPlanId?: string | null } export type RegistrationCreateOrConnectWithoutCreatedTenantInput = { where: Prisma.RegistrationWhereUniqueInput create: Prisma.XOR } export type RegistrationUpsertWithoutCreatedTenantInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.RegistrationWhereInput } export type RegistrationUpdateToOneWithWhereWithoutCreatedTenantInput = { where?: Prisma.RegistrationWhereInput data: Prisma.XOR } export type RegistrationUpdateWithoutCreatedTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string email?: Prisma.StringFieldUpdateOperationsInput | string firstName?: Prisma.StringFieldUpdateOperationsInput | string lastName?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null token?: Prisma.StringFieldUpdateOperationsInput | string ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null company?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedSubscriptionPriceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedOfficeSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null selectedFieldSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null leadConversionLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RegistrationUncheckedUpdateWithoutCreatedTenantInput = { id?: Prisma.StringFieldUpdateOperationsInput | string createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string email?: Prisma.StringFieldUpdateOperationsInput | string firstName?: Prisma.StringFieldUpdateOperationsInput | string lastName?: Prisma.StringFieldUpdateOperationsInput | string slug?: Prisma.NullableStringFieldUpdateOperationsInput | string | null token?: Prisma.StringFieldUpdateOperationsInput | string ipAddress?: Prisma.NullableStringFieldUpdateOperationsInput | string | null company?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedSubscriptionPriceId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null selectedOfficeSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null selectedFieldSeatQuantity?: Prisma.NullableIntFieldUpdateOperationsInput | number | null leadConversionLeadId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionToken?: Prisma.NullableStringFieldUpdateOperationsInput | string | null leadConversionPlanId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null } export type RegistrationSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean email?: boolean firstName?: boolean lastName?: boolean slug?: boolean token?: boolean ipAddress?: boolean company?: boolean selectedSubscriptionPriceId?: boolean selectedOfficeSeatQuantity?: boolean selectedFieldSeatQuantity?: boolean leadConversionLeadId?: boolean leadConversionToken?: boolean leadConversionPlanId?: boolean createdTenantId?: boolean createdTenant?: boolean | Prisma.Registration$createdTenantArgs }, ExtArgs["result"]["registration"]> export type RegistrationSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean email?: boolean firstName?: boolean lastName?: boolean slug?: boolean token?: boolean ipAddress?: boolean company?: boolean selectedSubscriptionPriceId?: boolean selectedOfficeSeatQuantity?: boolean selectedFieldSeatQuantity?: boolean leadConversionLeadId?: boolean leadConversionToken?: boolean leadConversionPlanId?: boolean createdTenantId?: boolean createdTenant?: boolean | Prisma.Registration$createdTenantArgs }, ExtArgs["result"]["registration"]> export type RegistrationSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean createdAt?: boolean email?: boolean firstName?: boolean lastName?: boolean slug?: boolean token?: boolean ipAddress?: boolean company?: boolean selectedSubscriptionPriceId?: boolean selectedOfficeSeatQuantity?: boolean selectedFieldSeatQuantity?: boolean leadConversionLeadId?: boolean leadConversionToken?: boolean leadConversionPlanId?: boolean createdTenantId?: boolean createdTenant?: boolean | Prisma.Registration$createdTenantArgs }, ExtArgs["result"]["registration"]> export type RegistrationSelectScalar = { id?: boolean createdAt?: boolean email?: boolean firstName?: boolean lastName?: boolean slug?: boolean token?: boolean ipAddress?: boolean company?: boolean selectedSubscriptionPriceId?: boolean selectedOfficeSeatQuantity?: boolean selectedFieldSeatQuantity?: boolean leadConversionLeadId?: boolean leadConversionToken?: boolean leadConversionPlanId?: boolean createdTenantId?: boolean } export type RegistrationOmit = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "email" | "firstName" | "lastName" | "slug" | "token" | "ipAddress" | "company" | "selectedSubscriptionPriceId" | "selectedOfficeSeatQuantity" | "selectedFieldSeatQuantity" | "leadConversionLeadId" | "leadConversionToken" | "leadConversionPlanId" | "createdTenantId", ExtArgs["result"]["registration"]> export type RegistrationInclude = { createdTenant?: boolean | Prisma.Registration$createdTenantArgs } export type RegistrationIncludeCreateManyAndReturn = { createdTenant?: boolean | Prisma.Registration$createdTenantArgs } export type RegistrationIncludeUpdateManyAndReturn = { createdTenant?: boolean | Prisma.Registration$createdTenantArgs } export type $RegistrationPayload = { name: "Registration" objects: { createdTenant: Prisma.$TenantPayload | null } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string createdAt: Date email: string firstName: string lastName: string slug: string | null token: string ipAddress: string | null company: string | null selectedSubscriptionPriceId: string | null selectedOfficeSeatQuantity: number | null selectedFieldSeatQuantity: number | null leadConversionLeadId: string | null leadConversionToken: string | null leadConversionPlanId: string | null createdTenantId: string | null }, ExtArgs["result"]["registration"]> composites: {} } export type RegistrationGetPayload = runtime.Types.Result.GetResult export type RegistrationCountArgs = Omit & { select?: RegistrationCountAggregateInputType | true } export interface RegistrationDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['Registration'], meta: { name: 'Registration' } } /** * Find zero or one Registration that matches the filter. * @param {RegistrationFindUniqueArgs} args - Arguments to find a Registration * @example * // Get one Registration * const registration = await prisma.registration.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__RegistrationClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Registration that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {RegistrationFindUniqueOrThrowArgs} args - Arguments to find a Registration * @example * // Get one Registration * const registration = await prisma.registration.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__RegistrationClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Registration 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 {RegistrationFindFirstArgs} args - Arguments to find a Registration * @example * // Get one Registration * const registration = await prisma.registration.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__RegistrationClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Registration 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 {RegistrationFindFirstOrThrowArgs} args - Arguments to find a Registration * @example * // Get one Registration * const registration = await prisma.registration.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__RegistrationClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Registrations 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 {RegistrationFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Registrations * const registrations = await prisma.registration.findMany() * * // Get first 10 Registrations * const registrations = await prisma.registration.findMany({ take: 10 }) * * // Only select the `id` * const registrationWithIdOnly = await prisma.registration.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Registration. * @param {RegistrationCreateArgs} args - Arguments to create a Registration. * @example * // Create one Registration * const Registration = await prisma.registration.create({ * data: { * // ... data to create a Registration * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__RegistrationClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Registrations. * @param {RegistrationCreateManyArgs} args - Arguments to create many Registrations. * @example * // Create many Registrations * const registration = await prisma.registration.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Registrations and returns the data saved in the database. * @param {RegistrationCreateManyAndReturnArgs} args - Arguments to create many Registrations. * @example * // Create many Registrations * const registration = await prisma.registration.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Registrations and only return the `id` * const registrationWithIdOnly = await prisma.registration.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 Registration. * @param {RegistrationDeleteArgs} args - Arguments to delete one Registration. * @example * // Delete one Registration * const Registration = await prisma.registration.delete({ * where: { * // ... filter to delete one Registration * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__RegistrationClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Registration. * @param {RegistrationUpdateArgs} args - Arguments to update one Registration. * @example * // Update one Registration * const registration = await prisma.registration.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__RegistrationClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Registrations. * @param {RegistrationDeleteManyArgs} args - Arguments to filter Registrations to delete. * @example * // Delete a few Registrations * const { count } = await prisma.registration.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Registrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RegistrationUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Registrations * const registration = await prisma.registration.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Registrations and returns the data updated in the database. * @param {RegistrationUpdateManyAndReturnArgs} args - Arguments to update many Registrations. * @example * // Update many Registrations * const registration = await prisma.registration.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Registrations and only return the `id` * const registrationWithIdOnly = await prisma.registration.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 Registration. * @param {RegistrationUpsertArgs} args - Arguments to update or create a Registration. * @example * // Update or create a Registration * const registration = await prisma.registration.upsert({ * create: { * // ... data to create a Registration * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Registration we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__RegistrationClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Registrations. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RegistrationCountArgs} args - Arguments to filter Registrations to count. * @example * // Count the number of Registrations * const count = await prisma.registration.count({ * where: { * // ... the filter for the Registrations 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 Registration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RegistrationAggregateArgs} 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 Registration. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {RegistrationGroupByArgs} 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 RegistrationGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: RegistrationGroupByArgs['orderBy'] } : { orderBy?: RegistrationGroupByArgs['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 ? GetRegistrationGroupByPayload : Prisma.PrismaPromise /** * Fields of the Registration model */ readonly fields: RegistrationFieldRefs; } /** * The delegate class that acts as a "Promise-like" for Registration. * 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__RegistrationClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" createdTenant = {}>(args?: Prisma.Subset>): Prisma.Prisma__TenantClient, 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 Registration model */ export interface RegistrationFieldRefs { readonly id: Prisma.FieldRef<"Registration", 'String'> readonly createdAt: Prisma.FieldRef<"Registration", 'DateTime'> readonly email: Prisma.FieldRef<"Registration", 'String'> readonly firstName: Prisma.FieldRef<"Registration", 'String'> readonly lastName: Prisma.FieldRef<"Registration", 'String'> readonly slug: Prisma.FieldRef<"Registration", 'String'> readonly token: Prisma.FieldRef<"Registration", 'String'> readonly ipAddress: Prisma.FieldRef<"Registration", 'String'> readonly company: Prisma.FieldRef<"Registration", 'String'> readonly selectedSubscriptionPriceId: Prisma.FieldRef<"Registration", 'String'> readonly selectedOfficeSeatQuantity: Prisma.FieldRef<"Registration", 'Int'> readonly selectedFieldSeatQuantity: Prisma.FieldRef<"Registration", 'Int'> readonly leadConversionLeadId: Prisma.FieldRef<"Registration", 'String'> readonly leadConversionToken: Prisma.FieldRef<"Registration", 'String'> readonly leadConversionPlanId: Prisma.FieldRef<"Registration", 'String'> readonly createdTenantId: Prisma.FieldRef<"Registration", 'String'> } // Custom InputTypes /** * Registration findUnique */ export type RegistrationFindUniqueArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null /** * Filter, which Registration to fetch. */ where: Prisma.RegistrationWhereUniqueInput } /** * Registration findUniqueOrThrow */ export type RegistrationFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null /** * Filter, which Registration to fetch. */ where: Prisma.RegistrationWhereUniqueInput } /** * Registration findFirst */ export type RegistrationFindFirstArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null /** * Filter, which Registration to fetch. */ where?: Prisma.RegistrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Registrations to fetch. */ orderBy?: Prisma.RegistrationOrderByWithRelationInput | Prisma.RegistrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Registrations. */ cursor?: Prisma.RegistrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Registrations 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` Registrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Registrations. */ distinct?: Prisma.RegistrationScalarFieldEnum | Prisma.RegistrationScalarFieldEnum[] } /** * Registration findFirstOrThrow */ export type RegistrationFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null /** * Filter, which Registration to fetch. */ where?: Prisma.RegistrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Registrations to fetch. */ orderBy?: Prisma.RegistrationOrderByWithRelationInput | Prisma.RegistrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for Registrations. */ cursor?: Prisma.RegistrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Registrations 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` Registrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Registrations. */ distinct?: Prisma.RegistrationScalarFieldEnum | Prisma.RegistrationScalarFieldEnum[] } /** * Registration findMany */ export type RegistrationFindManyArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null /** * Filter, which Registrations to fetch. */ where?: Prisma.RegistrationWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of Registrations to fetch. */ orderBy?: Prisma.RegistrationOrderByWithRelationInput | Prisma.RegistrationOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing Registrations. */ cursor?: Prisma.RegistrationWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` Registrations 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` Registrations. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of Registrations. */ distinct?: Prisma.RegistrationScalarFieldEnum | Prisma.RegistrationScalarFieldEnum[] } /** * Registration create */ export type RegistrationCreateArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null /** * The data needed to create a Registration. */ data: Prisma.XOR } /** * Registration createMany */ export type RegistrationCreateManyArgs = { /** * The data used to create many Registrations. */ data: Prisma.RegistrationCreateManyInput | Prisma.RegistrationCreateManyInput[] skipDuplicates?: boolean } /** * Registration createManyAndReturn */ export type RegistrationCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelectCreateManyAndReturn | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * The data used to create many Registrations. */ data: Prisma.RegistrationCreateManyInput | Prisma.RegistrationCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationIncludeCreateManyAndReturn | null } /** * Registration update */ export type RegistrationUpdateArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null /** * The data needed to update a Registration. */ data: Prisma.XOR /** * Choose, which Registration to update. */ where: Prisma.RegistrationWhereUniqueInput } /** * Registration updateMany */ export type RegistrationUpdateManyArgs = { /** * The data used to update Registrations. */ data: Prisma.XOR /** * Filter which Registrations to update */ where?: Prisma.RegistrationWhereInput /** * Limit how many Registrations to update. */ limit?: number } /** * Registration updateManyAndReturn */ export type RegistrationUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelectUpdateManyAndReturn | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * The data used to update Registrations. */ data: Prisma.XOR /** * Filter which Registrations to update */ where?: Prisma.RegistrationWhereInput /** * Limit how many Registrations to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationIncludeUpdateManyAndReturn | null } /** * Registration upsert */ export type RegistrationUpsertArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null /** * The filter to search for the Registration to update in case it exists. */ where: Prisma.RegistrationWhereUniqueInput /** * In case the Registration found by the `where` argument doesn't exist, create a new Registration with this data. */ create: Prisma.XOR /** * In case the Registration was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * Registration delete */ export type RegistrationDeleteArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null /** * Filter which Registration to delete. */ where: Prisma.RegistrationWhereUniqueInput } /** * Registration deleteMany */ export type RegistrationDeleteManyArgs = { /** * Filter which Registrations to delete */ where?: Prisma.RegistrationWhereInput /** * Limit how many Registrations to delete. */ limit?: number } /** * Registration.createdTenant */ export type Registration$createdTenantArgs = { /** * Select specific fields to fetch from the Tenant */ select?: Prisma.TenantSelect | null /** * Omit specific fields from the Tenant */ omit?: Prisma.TenantOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.TenantInclude | null where?: Prisma.TenantWhereInput } /** * Registration without action */ export type RegistrationDefaultArgs = { /** * Select specific fields to fetch from the Registration */ select?: Prisma.RegistrationSelect | null /** * Omit specific fields from the Registration */ omit?: Prisma.RegistrationOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.RegistrationInclude | null }