/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `professionals` 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" import type * as Prisma from "../internal/prismaNamespace" /** * Model professionals * */ export type professionalsModel = runtime.Types.Result.DefaultSelection export type AggregateProfessionals = { _count: ProfessionalsCountAggregateOutputType | null _avg: ProfessionalsAvgAggregateOutputType | null _sum: ProfessionalsSumAggregateOutputType | null _min: ProfessionalsMinAggregateOutputType | null _max: ProfessionalsMaxAggregateOutputType | null } export type ProfessionalsAvgAggregateOutputType = { rate: runtime.Decimal | null latitude: runtime.Decimal | null longitude: runtime.Decimal | null average_score: runtime.Decimal | null } export type ProfessionalsSumAggregateOutputType = { rate: runtime.Decimal | null latitude: runtime.Decimal | null longitude: runtime.Decimal | null average_score: runtime.Decimal | null } export type ProfessionalsMinAggregateOutputType = { id: string | null user_id: string | null identification: string | null address: string | null additional_address: string | null profession: string | null rate: runtime.Decimal | null rate_preferences: string | null location_preferences: string | null banner_picture: string | null identification_picture: string | null certificate_picture: string | null latitude: runtime.Decimal | null longitude: runtime.Decimal | null average_score: runtime.Decimal | null is_active: boolean | null created_at: Date | null updated_at: Date | null } export type ProfessionalsMaxAggregateOutputType = { id: string | null user_id: string | null identification: string | null address: string | null additional_address: string | null profession: string | null rate: runtime.Decimal | null rate_preferences: string | null location_preferences: string | null banner_picture: string | null identification_picture: string | null certificate_picture: string | null latitude: runtime.Decimal | null longitude: runtime.Decimal | null average_score: runtime.Decimal | null is_active: boolean | null created_at: Date | null updated_at: Date | null } export type ProfessionalsCountAggregateOutputType = { id: number user_id: number identification: number address: number additional_address: number profession: number rate: number rate_preferences: number location_preferences: number banner_picture: number identification_picture: number certificate_picture: number latitude: number longitude: number average_score: number is_active: number created_at: number updated_at: number _all: number } export type ProfessionalsAvgAggregateInputType = { rate?: true latitude?: true longitude?: true average_score?: true } export type ProfessionalsSumAggregateInputType = { rate?: true latitude?: true longitude?: true average_score?: true } export type ProfessionalsMinAggregateInputType = { id?: true user_id?: true identification?: true address?: true additional_address?: true profession?: true rate?: true rate_preferences?: true location_preferences?: true banner_picture?: true identification_picture?: true certificate_picture?: true latitude?: true longitude?: true average_score?: true is_active?: true created_at?: true updated_at?: true } export type ProfessionalsMaxAggregateInputType = { id?: true user_id?: true identification?: true address?: true additional_address?: true profession?: true rate?: true rate_preferences?: true location_preferences?: true banner_picture?: true identification_picture?: true certificate_picture?: true latitude?: true longitude?: true average_score?: true is_active?: true created_at?: true updated_at?: true } export type ProfessionalsCountAggregateInputType = { id?: true user_id?: true identification?: true address?: true additional_address?: true profession?: true rate?: true rate_preferences?: true location_preferences?: true banner_picture?: true identification_picture?: true certificate_picture?: true latitude?: true longitude?: true average_score?: true is_active?: true created_at?: true updated_at?: true _all?: true } export type ProfessionalsAggregateArgs = { /** * Filter which professionals to aggregate. */ where?: Prisma.professionalsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of professionals to fetch. */ orderBy?: Prisma.professionalsOrderByWithRelationInput | Prisma.professionalsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.professionalsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` professionals 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` professionals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned professionals **/ _count?: true | ProfessionalsCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: ProfessionalsAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: ProfessionalsSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: ProfessionalsMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: ProfessionalsMaxAggregateInputType } export type GetProfessionalsAggregateType = { [P in keyof T & keyof AggregateProfessionals]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type professionalsGroupByArgs = { where?: Prisma.professionalsWhereInput orderBy?: Prisma.professionalsOrderByWithAggregationInput | Prisma.professionalsOrderByWithAggregationInput[] by: Prisma.ProfessionalsScalarFieldEnum[] | Prisma.ProfessionalsScalarFieldEnum having?: Prisma.professionalsScalarWhereWithAggregatesInput take?: number skip?: number _count?: ProfessionalsCountAggregateInputType | true _avg?: ProfessionalsAvgAggregateInputType _sum?: ProfessionalsSumAggregateInputType _min?: ProfessionalsMinAggregateInputType _max?: ProfessionalsMaxAggregateInputType } export type ProfessionalsGroupByOutputType = { id: string user_id: string identification: string | null address: string | null additional_address: string | null profession: string | null rate: runtime.Decimal | null rate_preferences: string | null location_preferences: string | null banner_picture: string | null identification_picture: string | null certificate_picture: string | null latitude: runtime.Decimal | null longitude: runtime.Decimal | null average_score: runtime.Decimal | null is_active: boolean | null created_at: Date updated_at: Date _count: ProfessionalsCountAggregateOutputType | null _avg: ProfessionalsAvgAggregateOutputType | null _sum: ProfessionalsSumAggregateOutputType | null _min: ProfessionalsMinAggregateOutputType | null _max: ProfessionalsMaxAggregateOutputType | null } export type GetProfessionalsGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof ProfessionalsGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type professionalsWhereInput = { AND?: Prisma.professionalsWhereInput | Prisma.professionalsWhereInput[] OR?: Prisma.professionalsWhereInput[] NOT?: Prisma.professionalsWhereInput | Prisma.professionalsWhereInput[] id?: Prisma.UuidFilter<"professionals"> | string user_id?: Prisma.UuidFilter<"professionals"> | string identification?: Prisma.StringNullableFilter<"professionals"> | string | null address?: Prisma.StringNullableFilter<"professionals"> | string | null additional_address?: Prisma.StringNullableFilter<"professionals"> | string | null profession?: Prisma.StringNullableFilter<"professionals"> | string | null rate?: Prisma.DecimalNullableFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.StringNullableFilter<"professionals"> | string | null location_preferences?: Prisma.StringNullableFilter<"professionals"> | string | null banner_picture?: Prisma.StringNullableFilter<"professionals"> | string | null identification_picture?: Prisma.StringNullableFilter<"professionals"> | string | null certificate_picture?: Prisma.StringNullableFilter<"professionals"> | string | null latitude?: Prisma.DecimalNullableFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.DecimalNullableFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.DecimalNullableFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.BoolNullableFilter<"professionals"> | boolean | null created_at?: Prisma.DateTimeFilter<"professionals"> | Date | string updated_at?: Prisma.DateTimeFilter<"professionals"> | Date | string payment_methods?: Prisma.XOR | null users?: Prisma.XOR schedules?: Prisma.SchedulesListRelationFilter services?: Prisma.ServicesListRelationFilter specializations?: Prisma.SpecializationsListRelationFilter } export type professionalsOrderByWithRelationInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder identification?: Prisma.SortOrderInput | Prisma.SortOrder address?: Prisma.SortOrderInput | Prisma.SortOrder additional_address?: Prisma.SortOrderInput | Prisma.SortOrder profession?: Prisma.SortOrderInput | Prisma.SortOrder rate?: Prisma.SortOrderInput | Prisma.SortOrder rate_preferences?: Prisma.SortOrderInput | Prisma.SortOrder location_preferences?: Prisma.SortOrderInput | Prisma.SortOrder banner_picture?: Prisma.SortOrderInput | Prisma.SortOrder identification_picture?: Prisma.SortOrderInput | Prisma.SortOrder certificate_picture?: Prisma.SortOrderInput | Prisma.SortOrder latitude?: Prisma.SortOrderInput | Prisma.SortOrder longitude?: Prisma.SortOrderInput | Prisma.SortOrder average_score?: Prisma.SortOrderInput | Prisma.SortOrder is_active?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder payment_methods?: Prisma.payment_methodsOrderByWithRelationInput users?: Prisma.usersOrderByWithRelationInput schedules?: Prisma.schedulesOrderByRelationAggregateInput services?: Prisma.servicesOrderByRelationAggregateInput specializations?: Prisma.specializationsOrderByRelationAggregateInput } export type professionalsWhereUniqueInput = Prisma.AtLeast<{ id?: string user_id?: string AND?: Prisma.professionalsWhereInput | Prisma.professionalsWhereInput[] OR?: Prisma.professionalsWhereInput[] NOT?: Prisma.professionalsWhereInput | Prisma.professionalsWhereInput[] identification?: Prisma.StringNullableFilter<"professionals"> | string | null address?: Prisma.StringNullableFilter<"professionals"> | string | null additional_address?: Prisma.StringNullableFilter<"professionals"> | string | null profession?: Prisma.StringNullableFilter<"professionals"> | string | null rate?: Prisma.DecimalNullableFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.StringNullableFilter<"professionals"> | string | null location_preferences?: Prisma.StringNullableFilter<"professionals"> | string | null banner_picture?: Prisma.StringNullableFilter<"professionals"> | string | null identification_picture?: Prisma.StringNullableFilter<"professionals"> | string | null certificate_picture?: Prisma.StringNullableFilter<"professionals"> | string | null latitude?: Prisma.DecimalNullableFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.DecimalNullableFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.DecimalNullableFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.BoolNullableFilter<"professionals"> | boolean | null created_at?: Prisma.DateTimeFilter<"professionals"> | Date | string updated_at?: Prisma.DateTimeFilter<"professionals"> | Date | string payment_methods?: Prisma.XOR | null users?: Prisma.XOR schedules?: Prisma.SchedulesListRelationFilter services?: Prisma.ServicesListRelationFilter specializations?: Prisma.SpecializationsListRelationFilter }, "id" | "user_id"> export type professionalsOrderByWithAggregationInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder identification?: Prisma.SortOrderInput | Prisma.SortOrder address?: Prisma.SortOrderInput | Prisma.SortOrder additional_address?: Prisma.SortOrderInput | Prisma.SortOrder profession?: Prisma.SortOrderInput | Prisma.SortOrder rate?: Prisma.SortOrderInput | Prisma.SortOrder rate_preferences?: Prisma.SortOrderInput | Prisma.SortOrder location_preferences?: Prisma.SortOrderInput | Prisma.SortOrder banner_picture?: Prisma.SortOrderInput | Prisma.SortOrder identification_picture?: Prisma.SortOrderInput | Prisma.SortOrder certificate_picture?: Prisma.SortOrderInput | Prisma.SortOrder latitude?: Prisma.SortOrderInput | Prisma.SortOrder longitude?: Prisma.SortOrderInput | Prisma.SortOrder average_score?: Prisma.SortOrderInput | Prisma.SortOrder is_active?: Prisma.SortOrderInput | Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder _count?: Prisma.professionalsCountOrderByAggregateInput _avg?: Prisma.professionalsAvgOrderByAggregateInput _max?: Prisma.professionalsMaxOrderByAggregateInput _min?: Prisma.professionalsMinOrderByAggregateInput _sum?: Prisma.professionalsSumOrderByAggregateInput } export type professionalsScalarWhereWithAggregatesInput = { AND?: Prisma.professionalsScalarWhereWithAggregatesInput | Prisma.professionalsScalarWhereWithAggregatesInput[] OR?: Prisma.professionalsScalarWhereWithAggregatesInput[] NOT?: Prisma.professionalsScalarWhereWithAggregatesInput | Prisma.professionalsScalarWhereWithAggregatesInput[] id?: Prisma.UuidWithAggregatesFilter<"professionals"> | string user_id?: Prisma.UuidWithAggregatesFilter<"professionals"> | string identification?: Prisma.StringNullableWithAggregatesFilter<"professionals"> | string | null address?: Prisma.StringNullableWithAggregatesFilter<"professionals"> | string | null additional_address?: Prisma.StringNullableWithAggregatesFilter<"professionals"> | string | null profession?: Prisma.StringNullableWithAggregatesFilter<"professionals"> | string | null rate?: Prisma.DecimalNullableWithAggregatesFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.StringNullableWithAggregatesFilter<"professionals"> | string | null location_preferences?: Prisma.StringNullableWithAggregatesFilter<"professionals"> | string | null banner_picture?: Prisma.StringNullableWithAggregatesFilter<"professionals"> | string | null identification_picture?: Prisma.StringNullableWithAggregatesFilter<"professionals"> | string | null certificate_picture?: Prisma.StringNullableWithAggregatesFilter<"professionals"> | string | null latitude?: Prisma.DecimalNullableWithAggregatesFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.DecimalNullableWithAggregatesFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.DecimalNullableWithAggregatesFilter<"professionals"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.BoolNullableWithAggregatesFilter<"professionals"> | boolean | null created_at?: Prisma.DateTimeWithAggregatesFilter<"professionals"> | Date | string updated_at?: Prisma.DateTimeWithAggregatesFilter<"professionals"> | Date | string } export type professionalsCreateInput = { id?: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsCreateNestedOneWithoutProfessionalsInput users: Prisma.usersCreateNestedOneWithoutProfessionalsInput schedules?: Prisma.schedulesCreateNestedManyWithoutProfessionalsInput services?: Prisma.servicesCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsCreateNestedManyWithoutProfessionalsInput } export type professionalsUncheckedCreateInput = { id?: string user_id: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsUncheckedCreateNestedOneWithoutProfessionalsInput schedules?: Prisma.schedulesUncheckedCreateNestedManyWithoutProfessionalsInput services?: Prisma.servicesUncheckedCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsUncheckedCreateNestedManyWithoutProfessionalsInput } export type professionalsUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUpdateOneWithoutProfessionalsNestedInput users?: Prisma.usersUpdateOneRequiredWithoutProfessionalsNestedInput schedules?: Prisma.schedulesUpdateManyWithoutProfessionalsNestedInput services?: Prisma.servicesUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUpdateManyWithoutProfessionalsNestedInput } export type professionalsUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string user_id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUncheckedUpdateOneWithoutProfessionalsNestedInput schedules?: Prisma.schedulesUncheckedUpdateManyWithoutProfessionalsNestedInput services?: Prisma.servicesUncheckedUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUncheckedUpdateManyWithoutProfessionalsNestedInput } export type professionalsCreateManyInput = { id?: string user_id: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string } export type professionalsUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type professionalsUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string user_id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type ProfessionalsScalarRelationFilter = { is?: Prisma.professionalsWhereInput isNot?: Prisma.professionalsWhereInput } export type professionalsCountOrderByAggregateInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder identification?: Prisma.SortOrder address?: Prisma.SortOrder additional_address?: Prisma.SortOrder profession?: Prisma.SortOrder rate?: Prisma.SortOrder rate_preferences?: Prisma.SortOrder location_preferences?: Prisma.SortOrder banner_picture?: Prisma.SortOrder identification_picture?: Prisma.SortOrder certificate_picture?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder average_score?: Prisma.SortOrder is_active?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder } export type professionalsAvgOrderByAggregateInput = { rate?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder average_score?: Prisma.SortOrder } export type professionalsMaxOrderByAggregateInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder identification?: Prisma.SortOrder address?: Prisma.SortOrder additional_address?: Prisma.SortOrder profession?: Prisma.SortOrder rate?: Prisma.SortOrder rate_preferences?: Prisma.SortOrder location_preferences?: Prisma.SortOrder banner_picture?: Prisma.SortOrder identification_picture?: Prisma.SortOrder certificate_picture?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder average_score?: Prisma.SortOrder is_active?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder } export type professionalsMinOrderByAggregateInput = { id?: Prisma.SortOrder user_id?: Prisma.SortOrder identification?: Prisma.SortOrder address?: Prisma.SortOrder additional_address?: Prisma.SortOrder profession?: Prisma.SortOrder rate?: Prisma.SortOrder rate_preferences?: Prisma.SortOrder location_preferences?: Prisma.SortOrder banner_picture?: Prisma.SortOrder identification_picture?: Prisma.SortOrder certificate_picture?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder average_score?: Prisma.SortOrder is_active?: Prisma.SortOrder created_at?: Prisma.SortOrder updated_at?: Prisma.SortOrder } export type professionalsSumOrderByAggregateInput = { rate?: Prisma.SortOrder latitude?: Prisma.SortOrder longitude?: Prisma.SortOrder average_score?: Prisma.SortOrder } export type ProfessionalsNullableScalarRelationFilter = { is?: Prisma.professionalsWhereInput | null isNot?: Prisma.professionalsWhereInput | null } export type professionalsCreateNestedOneWithoutPayment_methodsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutPayment_methodsInput connect?: Prisma.professionalsWhereUniqueInput } export type professionalsUpdateOneRequiredWithoutPayment_methodsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutPayment_methodsInput upsert?: Prisma.professionalsUpsertWithoutPayment_methodsInput connect?: Prisma.professionalsWhereUniqueInput update?: Prisma.XOR, Prisma.professionalsUncheckedUpdateWithoutPayment_methodsInput> } export type professionalsCreateNestedOneWithoutSchedulesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutSchedulesInput connect?: Prisma.professionalsWhereUniqueInput } export type professionalsUpdateOneRequiredWithoutSchedulesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutSchedulesInput upsert?: Prisma.professionalsUpsertWithoutSchedulesInput connect?: Prisma.professionalsWhereUniqueInput update?: Prisma.XOR, Prisma.professionalsUncheckedUpdateWithoutSchedulesInput> } export type professionalsCreateNestedOneWithoutServicesInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutServicesInput connect?: Prisma.professionalsWhereUniqueInput } export type professionalsUpdateOneRequiredWithoutServicesNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutServicesInput upsert?: Prisma.professionalsUpsertWithoutServicesInput connect?: Prisma.professionalsWhereUniqueInput update?: Prisma.XOR, Prisma.professionalsUncheckedUpdateWithoutServicesInput> } export type professionalsCreateNestedOneWithoutSpecializationsInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutSpecializationsInput connect?: Prisma.professionalsWhereUniqueInput } export type professionalsUpdateOneRequiredWithoutSpecializationsNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutSpecializationsInput upsert?: Prisma.professionalsUpsertWithoutSpecializationsInput connect?: Prisma.professionalsWhereUniqueInput update?: Prisma.XOR, Prisma.professionalsUncheckedUpdateWithoutSpecializationsInput> } export type professionalsCreateNestedOneWithoutUsersInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutUsersInput connect?: Prisma.professionalsWhereUniqueInput } export type professionalsUncheckedCreateNestedOneWithoutUsersInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutUsersInput connect?: Prisma.professionalsWhereUniqueInput } export type professionalsUpdateOneWithoutUsersNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutUsersInput upsert?: Prisma.professionalsUpsertWithoutUsersInput disconnect?: Prisma.professionalsWhereInput | boolean delete?: Prisma.professionalsWhereInput | boolean connect?: Prisma.professionalsWhereUniqueInput update?: Prisma.XOR, Prisma.professionalsUncheckedUpdateWithoutUsersInput> } export type professionalsUncheckedUpdateOneWithoutUsersNestedInput = { create?: Prisma.XOR connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutUsersInput upsert?: Prisma.professionalsUpsertWithoutUsersInput disconnect?: Prisma.professionalsWhereInput | boolean delete?: Prisma.professionalsWhereInput | boolean connect?: Prisma.professionalsWhereUniqueInput update?: Prisma.XOR, Prisma.professionalsUncheckedUpdateWithoutUsersInput> } export type professionalsCreateWithoutPayment_methodsInput = { id?: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string users: Prisma.usersCreateNestedOneWithoutProfessionalsInput schedules?: Prisma.schedulesCreateNestedManyWithoutProfessionalsInput services?: Prisma.servicesCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsCreateNestedManyWithoutProfessionalsInput } export type professionalsUncheckedCreateWithoutPayment_methodsInput = { id?: string user_id: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string schedules?: Prisma.schedulesUncheckedCreateNestedManyWithoutProfessionalsInput services?: Prisma.servicesUncheckedCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsUncheckedCreateNestedManyWithoutProfessionalsInput } export type professionalsCreateOrConnectWithoutPayment_methodsInput = { where: Prisma.professionalsWhereUniqueInput create: Prisma.XOR } export type professionalsUpsertWithoutPayment_methodsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.professionalsWhereInput } export type professionalsUpdateToOneWithWhereWithoutPayment_methodsInput = { where?: Prisma.professionalsWhereInput data: Prisma.XOR } export type professionalsUpdateWithoutPayment_methodsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string users?: Prisma.usersUpdateOneRequiredWithoutProfessionalsNestedInput schedules?: Prisma.schedulesUpdateManyWithoutProfessionalsNestedInput services?: Prisma.servicesUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUpdateManyWithoutProfessionalsNestedInput } export type professionalsUncheckedUpdateWithoutPayment_methodsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string user_id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string schedules?: Prisma.schedulesUncheckedUpdateManyWithoutProfessionalsNestedInput services?: Prisma.servicesUncheckedUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUncheckedUpdateManyWithoutProfessionalsNestedInput } export type professionalsCreateWithoutSchedulesInput = { id?: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsCreateNestedOneWithoutProfessionalsInput users: Prisma.usersCreateNestedOneWithoutProfessionalsInput services?: Prisma.servicesCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsCreateNestedManyWithoutProfessionalsInput } export type professionalsUncheckedCreateWithoutSchedulesInput = { id?: string user_id: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsUncheckedCreateNestedOneWithoutProfessionalsInput services?: Prisma.servicesUncheckedCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsUncheckedCreateNestedManyWithoutProfessionalsInput } export type professionalsCreateOrConnectWithoutSchedulesInput = { where: Prisma.professionalsWhereUniqueInput create: Prisma.XOR } export type professionalsUpsertWithoutSchedulesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.professionalsWhereInput } export type professionalsUpdateToOneWithWhereWithoutSchedulesInput = { where?: Prisma.professionalsWhereInput data: Prisma.XOR } export type professionalsUpdateWithoutSchedulesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUpdateOneWithoutProfessionalsNestedInput users?: Prisma.usersUpdateOneRequiredWithoutProfessionalsNestedInput services?: Prisma.servicesUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUpdateManyWithoutProfessionalsNestedInput } export type professionalsUncheckedUpdateWithoutSchedulesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string user_id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUncheckedUpdateOneWithoutProfessionalsNestedInput services?: Prisma.servicesUncheckedUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUncheckedUpdateManyWithoutProfessionalsNestedInput } export type professionalsCreateWithoutServicesInput = { id?: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsCreateNestedOneWithoutProfessionalsInput users: Prisma.usersCreateNestedOneWithoutProfessionalsInput schedules?: Prisma.schedulesCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsCreateNestedManyWithoutProfessionalsInput } export type professionalsUncheckedCreateWithoutServicesInput = { id?: string user_id: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsUncheckedCreateNestedOneWithoutProfessionalsInput schedules?: Prisma.schedulesUncheckedCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsUncheckedCreateNestedManyWithoutProfessionalsInput } export type professionalsCreateOrConnectWithoutServicesInput = { where: Prisma.professionalsWhereUniqueInput create: Prisma.XOR } export type professionalsUpsertWithoutServicesInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.professionalsWhereInput } export type professionalsUpdateToOneWithWhereWithoutServicesInput = { where?: Prisma.professionalsWhereInput data: Prisma.XOR } export type professionalsUpdateWithoutServicesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUpdateOneWithoutProfessionalsNestedInput users?: Prisma.usersUpdateOneRequiredWithoutProfessionalsNestedInput schedules?: Prisma.schedulesUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUpdateManyWithoutProfessionalsNestedInput } export type professionalsUncheckedUpdateWithoutServicesInput = { id?: Prisma.StringFieldUpdateOperationsInput | string user_id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUncheckedUpdateOneWithoutProfessionalsNestedInput schedules?: Prisma.schedulesUncheckedUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUncheckedUpdateManyWithoutProfessionalsNestedInput } export type professionalsCreateWithoutSpecializationsInput = { id?: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsCreateNestedOneWithoutProfessionalsInput users: Prisma.usersCreateNestedOneWithoutProfessionalsInput schedules?: Prisma.schedulesCreateNestedManyWithoutProfessionalsInput services?: Prisma.servicesCreateNestedManyWithoutProfessionalsInput } export type professionalsUncheckedCreateWithoutSpecializationsInput = { id?: string user_id: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsUncheckedCreateNestedOneWithoutProfessionalsInput schedules?: Prisma.schedulesUncheckedCreateNestedManyWithoutProfessionalsInput services?: Prisma.servicesUncheckedCreateNestedManyWithoutProfessionalsInput } export type professionalsCreateOrConnectWithoutSpecializationsInput = { where: Prisma.professionalsWhereUniqueInput create: Prisma.XOR } export type professionalsUpsertWithoutSpecializationsInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.professionalsWhereInput } export type professionalsUpdateToOneWithWhereWithoutSpecializationsInput = { where?: Prisma.professionalsWhereInput data: Prisma.XOR } export type professionalsUpdateWithoutSpecializationsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUpdateOneWithoutProfessionalsNestedInput users?: Prisma.usersUpdateOneRequiredWithoutProfessionalsNestedInput schedules?: Prisma.schedulesUpdateManyWithoutProfessionalsNestedInput services?: Prisma.servicesUpdateManyWithoutProfessionalsNestedInput } export type professionalsUncheckedUpdateWithoutSpecializationsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string user_id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUncheckedUpdateOneWithoutProfessionalsNestedInput schedules?: Prisma.schedulesUncheckedUpdateManyWithoutProfessionalsNestedInput services?: Prisma.servicesUncheckedUpdateManyWithoutProfessionalsNestedInput } export type professionalsCreateWithoutUsersInput = { id?: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsCreateNestedOneWithoutProfessionalsInput schedules?: Prisma.schedulesCreateNestedManyWithoutProfessionalsInput services?: Prisma.servicesCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsCreateNestedManyWithoutProfessionalsInput } export type professionalsUncheckedCreateWithoutUsersInput = { id?: string identification?: string | null address?: string | null additional_address?: string | null profession?: string | null rate?: runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: string | null location_preferences?: string | null banner_picture?: string | null identification_picture?: string | null certificate_picture?: string | null latitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: boolean | null created_at?: Date | string updated_at?: Date | string payment_methods?: Prisma.payment_methodsUncheckedCreateNestedOneWithoutProfessionalsInput schedules?: Prisma.schedulesUncheckedCreateNestedManyWithoutProfessionalsInput services?: Prisma.servicesUncheckedCreateNestedManyWithoutProfessionalsInput specializations?: Prisma.specializationsUncheckedCreateNestedManyWithoutProfessionalsInput } export type professionalsCreateOrConnectWithoutUsersInput = { where: Prisma.professionalsWhereUniqueInput create: Prisma.XOR } export type professionalsUpsertWithoutUsersInput = { update: Prisma.XOR create: Prisma.XOR where?: Prisma.professionalsWhereInput } export type professionalsUpdateToOneWithWhereWithoutUsersInput = { where?: Prisma.professionalsWhereInput data: Prisma.XOR } export type professionalsUpdateWithoutUsersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUpdateOneWithoutProfessionalsNestedInput schedules?: Prisma.schedulesUpdateManyWithoutProfessionalsNestedInput services?: Prisma.servicesUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUpdateManyWithoutProfessionalsNestedInput } export type professionalsUncheckedUpdateWithoutUsersInput = { id?: Prisma.StringFieldUpdateOperationsInput | string identification?: Prisma.NullableStringFieldUpdateOperationsInput | string | null address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null additional_address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null profession?: Prisma.NullableStringFieldUpdateOperationsInput | string | null rate?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null rate_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null location_preferences?: Prisma.NullableStringFieldUpdateOperationsInput | string | null banner_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null identification_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null certificate_picture?: Prisma.NullableStringFieldUpdateOperationsInput | string | null latitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null longitude?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null average_score?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null is_active?: Prisma.NullableBoolFieldUpdateOperationsInput | boolean | null created_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updated_at?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string payment_methods?: Prisma.payment_methodsUncheckedUpdateOneWithoutProfessionalsNestedInput schedules?: Prisma.schedulesUncheckedUpdateManyWithoutProfessionalsNestedInput services?: Prisma.servicesUncheckedUpdateManyWithoutProfessionalsNestedInput specializations?: Prisma.specializationsUncheckedUpdateManyWithoutProfessionalsNestedInput } /** * Count Type ProfessionalsCountOutputType */ export type ProfessionalsCountOutputType = { schedules: number services: number specializations: number } export type ProfessionalsCountOutputTypeSelect = { schedules?: boolean | ProfessionalsCountOutputTypeCountSchedulesArgs services?: boolean | ProfessionalsCountOutputTypeCountServicesArgs specializations?: boolean | ProfessionalsCountOutputTypeCountSpecializationsArgs } /** * ProfessionalsCountOutputType without action */ export type ProfessionalsCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the ProfessionalsCountOutputType */ select?: Prisma.ProfessionalsCountOutputTypeSelect | null } /** * ProfessionalsCountOutputType without action */ export type ProfessionalsCountOutputTypeCountSchedulesArgs = { where?: Prisma.schedulesWhereInput } /** * ProfessionalsCountOutputType without action */ export type ProfessionalsCountOutputTypeCountServicesArgs = { where?: Prisma.servicesWhereInput } /** * ProfessionalsCountOutputType without action */ export type ProfessionalsCountOutputTypeCountSpecializationsArgs = { where?: Prisma.specializationsWhereInput } export type professionalsSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean user_id?: boolean identification?: boolean address?: boolean additional_address?: boolean profession?: boolean rate?: boolean rate_preferences?: boolean location_preferences?: boolean banner_picture?: boolean identification_picture?: boolean certificate_picture?: boolean latitude?: boolean longitude?: boolean average_score?: boolean is_active?: boolean created_at?: boolean updated_at?: boolean payment_methods?: boolean | Prisma.professionals$payment_methodsArgs users?: boolean | Prisma.usersDefaultArgs schedules?: boolean | Prisma.professionals$schedulesArgs services?: boolean | Prisma.professionals$servicesArgs specializations?: boolean | Prisma.professionals$specializationsArgs _count?: boolean | Prisma.ProfessionalsCountOutputTypeDefaultArgs }, ExtArgs["result"]["professionals"]> export type professionalsSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean user_id?: boolean identification?: boolean address?: boolean additional_address?: boolean profession?: boolean rate?: boolean rate_preferences?: boolean location_preferences?: boolean banner_picture?: boolean identification_picture?: boolean certificate_picture?: boolean latitude?: boolean longitude?: boolean average_score?: boolean is_active?: boolean created_at?: boolean updated_at?: boolean users?: boolean | Prisma.usersDefaultArgs }, ExtArgs["result"]["professionals"]> export type professionalsSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean user_id?: boolean identification?: boolean address?: boolean additional_address?: boolean profession?: boolean rate?: boolean rate_preferences?: boolean location_preferences?: boolean banner_picture?: boolean identification_picture?: boolean certificate_picture?: boolean latitude?: boolean longitude?: boolean average_score?: boolean is_active?: boolean created_at?: boolean updated_at?: boolean users?: boolean | Prisma.usersDefaultArgs }, ExtArgs["result"]["professionals"]> export type professionalsSelectScalar = { id?: boolean user_id?: boolean identification?: boolean address?: boolean additional_address?: boolean profession?: boolean rate?: boolean rate_preferences?: boolean location_preferences?: boolean banner_picture?: boolean identification_picture?: boolean certificate_picture?: boolean latitude?: boolean longitude?: boolean average_score?: boolean is_active?: boolean created_at?: boolean updated_at?: boolean } export type professionalsOmit = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "identification" | "address" | "additional_address" | "profession" | "rate" | "rate_preferences" | "location_preferences" | "banner_picture" | "identification_picture" | "certificate_picture" | "latitude" | "longitude" | "average_score" | "is_active" | "created_at" | "updated_at", ExtArgs["result"]["professionals"]> export type professionalsInclude = { payment_methods?: boolean | Prisma.professionals$payment_methodsArgs users?: boolean | Prisma.usersDefaultArgs schedules?: boolean | Prisma.professionals$schedulesArgs services?: boolean | Prisma.professionals$servicesArgs specializations?: boolean | Prisma.professionals$specializationsArgs _count?: boolean | Prisma.ProfessionalsCountOutputTypeDefaultArgs } export type professionalsIncludeCreateManyAndReturn = { users?: boolean | Prisma.usersDefaultArgs } export type professionalsIncludeUpdateManyAndReturn = { users?: boolean | Prisma.usersDefaultArgs } export type $professionalsPayload = { name: "professionals" objects: { payment_methods: Prisma.$payment_methodsPayload | null users: Prisma.$usersPayload schedules: Prisma.$schedulesPayload[] services: Prisma.$servicesPayload[] specializations: Prisma.$specializationsPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string user_id: string identification: string | null address: string | null additional_address: string | null profession: string | null rate: runtime.Decimal | null rate_preferences: string | null location_preferences: string | null banner_picture: string | null identification_picture: string | null certificate_picture: string | null latitude: runtime.Decimal | null longitude: runtime.Decimal | null average_score: runtime.Decimal | null is_active: boolean | null created_at: Date updated_at: Date }, ExtArgs["result"]["professionals"]> composites: {} } export type professionalsGetPayload = runtime.Types.Result.GetResult export type professionalsCountArgs = Omit & { select?: ProfessionalsCountAggregateInputType | true } export interface professionalsDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['professionals'], meta: { name: 'professionals' } } /** * Find zero or one Professionals that matches the filter. * @param {professionalsFindUniqueArgs} args - Arguments to find a Professionals * @example * // Get one Professionals * const professionals = await prisma.professionals.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__professionalsClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one Professionals that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {professionalsFindUniqueOrThrowArgs} args - Arguments to find a Professionals * @example * // Get one Professionals * const professionals = await prisma.professionals.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__professionalsClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first Professionals 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 {professionalsFindFirstArgs} args - Arguments to find a Professionals * @example * // Get one Professionals * const professionals = await prisma.professionals.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__professionalsClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first Professionals 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 {professionalsFindFirstOrThrowArgs} args - Arguments to find a Professionals * @example * // Get one Professionals * const professionals = await prisma.professionals.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__professionalsClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more Professionals 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 {professionalsFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all Professionals * const professionals = await prisma.professionals.findMany() * * // Get first 10 Professionals * const professionals = await prisma.professionals.findMany({ take: 10 }) * * // Only select the `id` * const professionalsWithIdOnly = await prisma.professionals.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a Professionals. * @param {professionalsCreateArgs} args - Arguments to create a Professionals. * @example * // Create one Professionals * const Professionals = await prisma.professionals.create({ * data: { * // ... data to create a Professionals * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__professionalsClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many Professionals. * @param {professionalsCreateManyArgs} args - Arguments to create many Professionals. * @example * // Create many Professionals * const professionals = await prisma.professionals.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many Professionals and returns the data saved in the database. * @param {professionalsCreateManyAndReturnArgs} args - Arguments to create many Professionals. * @example * // Create many Professionals * const professionals = await prisma.professionals.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many Professionals and only return the `id` * const professionalsWithIdOnly = await prisma.professionals.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 Professionals. * @param {professionalsDeleteArgs} args - Arguments to delete one Professionals. * @example * // Delete one Professionals * const Professionals = await prisma.professionals.delete({ * where: { * // ... filter to delete one Professionals * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__professionalsClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one Professionals. * @param {professionalsUpdateArgs} args - Arguments to update one Professionals. * @example * // Update one Professionals * const professionals = await prisma.professionals.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__professionalsClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more Professionals. * @param {professionalsDeleteManyArgs} args - Arguments to filter Professionals to delete. * @example * // Delete a few Professionals * const { count } = await prisma.professionals.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Professionals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {professionalsUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many Professionals * const professionals = await prisma.professionals.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more Professionals and returns the data updated in the database. * @param {professionalsUpdateManyAndReturnArgs} args - Arguments to update many Professionals. * @example * // Update many Professionals * const professionals = await prisma.professionals.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more Professionals and only return the `id` * const professionalsWithIdOnly = await prisma.professionals.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 Professionals. * @param {professionalsUpsertArgs} args - Arguments to update or create a Professionals. * @example * // Update or create a Professionals * const professionals = await prisma.professionals.upsert({ * create: { * // ... data to create a Professionals * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the Professionals we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__professionalsClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of Professionals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {professionalsCountArgs} args - Arguments to filter Professionals to count. * @example * // Count the number of Professionals * const count = await prisma.professionals.count({ * where: { * // ... the filter for the Professionals 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 Professionals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {ProfessionalsAggregateArgs} 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 Professionals. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {professionalsGroupByArgs} 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 professionalsGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: professionalsGroupByArgs['orderBy'] } : { orderBy?: professionalsGroupByArgs['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 ? GetProfessionalsGroupByPayload : Prisma.PrismaPromise /** * Fields of the professionals model */ readonly fields: professionalsFieldRefs; } /** * The delegate class that acts as a "Promise-like" for professionals. * 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__professionalsClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" payment_methods = {}>(args?: Prisma.Subset>): Prisma.Prisma__payment_methodsClient, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> users = {}>(args?: Prisma.Subset>): Prisma.Prisma__usersClient, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions> schedules = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> services = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> specializations = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> /** * 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 professionals model */ export interface professionalsFieldRefs { readonly id: Prisma.FieldRef<"professionals", 'String'> readonly user_id: Prisma.FieldRef<"professionals", 'String'> readonly identification: Prisma.FieldRef<"professionals", 'String'> readonly address: Prisma.FieldRef<"professionals", 'String'> readonly additional_address: Prisma.FieldRef<"professionals", 'String'> readonly profession: Prisma.FieldRef<"professionals", 'String'> readonly rate: Prisma.FieldRef<"professionals", 'Decimal'> readonly rate_preferences: Prisma.FieldRef<"professionals", 'String'> readonly location_preferences: Prisma.FieldRef<"professionals", 'String'> readonly banner_picture: Prisma.FieldRef<"professionals", 'String'> readonly identification_picture: Prisma.FieldRef<"professionals", 'String'> readonly certificate_picture: Prisma.FieldRef<"professionals", 'String'> readonly latitude: Prisma.FieldRef<"professionals", 'Decimal'> readonly longitude: Prisma.FieldRef<"professionals", 'Decimal'> readonly average_score: Prisma.FieldRef<"professionals", 'Decimal'> readonly is_active: Prisma.FieldRef<"professionals", 'Boolean'> readonly created_at: Prisma.FieldRef<"professionals", 'DateTime'> readonly updated_at: Prisma.FieldRef<"professionals", 'DateTime'> } // Custom InputTypes /** * professionals findUnique */ export type professionalsFindUniqueArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null /** * Filter, which professionals to fetch. */ where: Prisma.professionalsWhereUniqueInput } /** * professionals findUniqueOrThrow */ export type professionalsFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null /** * Filter, which professionals to fetch. */ where: Prisma.professionalsWhereUniqueInput } /** * professionals findFirst */ export type professionalsFindFirstArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null /** * Filter, which professionals to fetch. */ where?: Prisma.professionalsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of professionals to fetch. */ orderBy?: Prisma.professionalsOrderByWithRelationInput | Prisma.professionalsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for professionals. */ cursor?: Prisma.professionalsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` professionals 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` professionals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of professionals. */ distinct?: Prisma.ProfessionalsScalarFieldEnum | Prisma.ProfessionalsScalarFieldEnum[] } /** * professionals findFirstOrThrow */ export type professionalsFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null /** * Filter, which professionals to fetch. */ where?: Prisma.professionalsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of professionals to fetch. */ orderBy?: Prisma.professionalsOrderByWithRelationInput | Prisma.professionalsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for professionals. */ cursor?: Prisma.professionalsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` professionals 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` professionals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of professionals. */ distinct?: Prisma.ProfessionalsScalarFieldEnum | Prisma.ProfessionalsScalarFieldEnum[] } /** * professionals findMany */ export type professionalsFindManyArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null /** * Filter, which professionals to fetch. */ where?: Prisma.professionalsWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of professionals to fetch. */ orderBy?: Prisma.professionalsOrderByWithRelationInput | Prisma.professionalsOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing professionals. */ cursor?: Prisma.professionalsWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` professionals 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` professionals. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of professionals. */ distinct?: Prisma.ProfessionalsScalarFieldEnum | Prisma.ProfessionalsScalarFieldEnum[] } /** * professionals create */ export type professionalsCreateArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null /** * The data needed to create a professionals. */ data: Prisma.XOR } /** * professionals createMany */ export type professionalsCreateManyArgs = { /** * The data used to create many professionals. */ data: Prisma.professionalsCreateManyInput | Prisma.professionalsCreateManyInput[] skipDuplicates?: boolean } /** * professionals createManyAndReturn */ export type professionalsCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelectCreateManyAndReturn | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * The data used to create many professionals. */ data: Prisma.professionalsCreateManyInput | Prisma.professionalsCreateManyInput[] skipDuplicates?: boolean /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsIncludeCreateManyAndReturn | null } /** * professionals update */ export type professionalsUpdateArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null /** * The data needed to update a professionals. */ data: Prisma.XOR /** * Choose, which professionals to update. */ where: Prisma.professionalsWhereUniqueInput } /** * professionals updateMany */ export type professionalsUpdateManyArgs = { /** * The data used to update professionals. */ data: Prisma.XOR /** * Filter which professionals to update */ where?: Prisma.professionalsWhereInput /** * Limit how many professionals to update. */ limit?: number } /** * professionals updateManyAndReturn */ export type professionalsUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelectUpdateManyAndReturn | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * The data used to update professionals. */ data: Prisma.XOR /** * Filter which professionals to update */ where?: Prisma.professionalsWhereInput /** * Limit how many professionals to update. */ limit?: number /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsIncludeUpdateManyAndReturn | null } /** * professionals upsert */ export type professionalsUpsertArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null /** * The filter to search for the professionals to update in case it exists. */ where: Prisma.professionalsWhereUniqueInput /** * In case the professionals found by the `where` argument doesn't exist, create a new professionals with this data. */ create: Prisma.XOR /** * In case the professionals was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * professionals delete */ export type professionalsDeleteArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null /** * Filter which professionals to delete. */ where: Prisma.professionalsWhereUniqueInput } /** * professionals deleteMany */ export type professionalsDeleteManyArgs = { /** * Filter which professionals to delete */ where?: Prisma.professionalsWhereInput /** * Limit how many professionals to delete. */ limit?: number } /** * professionals.payment_methods */ export type professionals$payment_methodsArgs = { /** * Select specific fields to fetch from the payment_methods */ select?: Prisma.payment_methodsSelect | null /** * Omit specific fields from the payment_methods */ omit?: Prisma.payment_methodsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.payment_methodsInclude | null where?: Prisma.payment_methodsWhereInput } /** * professionals.schedules */ export type professionals$schedulesArgs = { /** * Select specific fields to fetch from the schedules */ select?: Prisma.schedulesSelect | null /** * Omit specific fields from the schedules */ omit?: Prisma.schedulesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.schedulesInclude | null where?: Prisma.schedulesWhereInput orderBy?: Prisma.schedulesOrderByWithRelationInput | Prisma.schedulesOrderByWithRelationInput[] cursor?: Prisma.schedulesWhereUniqueInput take?: number skip?: number distinct?: Prisma.SchedulesScalarFieldEnum | Prisma.SchedulesScalarFieldEnum[] } /** * professionals.services */ export type professionals$servicesArgs = { /** * Select specific fields to fetch from the services */ select?: Prisma.servicesSelect | null /** * Omit specific fields from the services */ omit?: Prisma.servicesOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.servicesInclude | null where?: Prisma.servicesWhereInput orderBy?: Prisma.servicesOrderByWithRelationInput | Prisma.servicesOrderByWithRelationInput[] cursor?: Prisma.servicesWhereUniqueInput take?: number skip?: number distinct?: Prisma.ServicesScalarFieldEnum | Prisma.ServicesScalarFieldEnum[] } /** * professionals.specializations */ export type professionals$specializationsArgs = { /** * Select specific fields to fetch from the specializations */ select?: Prisma.specializationsSelect | null /** * Omit specific fields from the specializations */ omit?: Prisma.specializationsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.specializationsInclude | null where?: Prisma.specializationsWhereInput orderBy?: Prisma.specializationsOrderByWithRelationInput | Prisma.specializationsOrderByWithRelationInput[] cursor?: Prisma.specializationsWhereUniqueInput take?: number skip?: number distinct?: Prisma.SpecializationsScalarFieldEnum | Prisma.SpecializationsScalarFieldEnum[] } /** * professionals without action */ export type professionalsDefaultArgs = { /** * Select specific fields to fetch from the professionals */ select?: Prisma.professionalsSelect | null /** * Omit specific fields from the professionals */ omit?: Prisma.professionalsOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.professionalsInclude | null }