2483 lines
113 KiB
TypeScript
2483 lines
113 KiB
TypeScript
|
|
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
|
|
/* eslint-disable */
|
|
// biome-ignore-all lint: generated file
|
|
// @ts-nocheck
|
|
/*
|
|
* This file exports the `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<Prisma.$professionalsPayload>
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* 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<T extends ProfessionalsAggregateArgs> = {
|
|
[P in keyof T & keyof AggregateProfessionals]: P extends '_count' | 'count'
|
|
? T[P] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T[P], AggregateProfessionals[P]>
|
|
: Prisma.GetScalarType<T[P], AggregateProfessionals[P]>
|
|
}
|
|
|
|
|
|
|
|
|
|
export type professionalsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
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<T extends professionalsGroupByArgs> = Prisma.PrismaPromise<
|
|
Array<
|
|
Prisma.PickEnumerable<ProfessionalsGroupByOutputType, T['by']> &
|
|
{
|
|
[P in ((keyof T) & (keyof ProfessionalsGroupByOutputType))]: P extends '_count'
|
|
? T[P] extends boolean
|
|
? number
|
|
: Prisma.GetScalarType<T[P], ProfessionalsGroupByOutputType[P]>
|
|
: Prisma.GetScalarType<T[P], ProfessionalsGroupByOutputType[P]>
|
|
}
|
|
>
|
|
>
|
|
|
|
|
|
|
|
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<Prisma.Payment_methodsNullableScalarRelationFilter, Prisma.payment_methodsWhereInput> | null
|
|
users?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>
|
|
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<Prisma.Payment_methodsNullableScalarRelationFilter, Prisma.payment_methodsWhereInput> | null
|
|
users?: Prisma.XOR<Prisma.UsersScalarRelationFilter, Prisma.usersWhereInput>
|
|
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<Prisma.professionalsCreateWithoutPayment_methodsInput, Prisma.professionalsUncheckedCreateWithoutPayment_methodsInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutPayment_methodsInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
export type professionalsUpdateOneRequiredWithoutPayment_methodsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutPayment_methodsInput, Prisma.professionalsUncheckedCreateWithoutPayment_methodsInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutPayment_methodsInput
|
|
upsert?: Prisma.professionalsUpsertWithoutPayment_methodsInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.professionalsUpdateToOneWithWhereWithoutPayment_methodsInput, Prisma.professionalsUpdateWithoutPayment_methodsInput>, Prisma.professionalsUncheckedUpdateWithoutPayment_methodsInput>
|
|
}
|
|
|
|
export type professionalsCreateNestedOneWithoutSchedulesInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutSchedulesInput, Prisma.professionalsUncheckedCreateWithoutSchedulesInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutSchedulesInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
export type professionalsUpdateOneRequiredWithoutSchedulesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutSchedulesInput, Prisma.professionalsUncheckedCreateWithoutSchedulesInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutSchedulesInput
|
|
upsert?: Prisma.professionalsUpsertWithoutSchedulesInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.professionalsUpdateToOneWithWhereWithoutSchedulesInput, Prisma.professionalsUpdateWithoutSchedulesInput>, Prisma.professionalsUncheckedUpdateWithoutSchedulesInput>
|
|
}
|
|
|
|
export type professionalsCreateNestedOneWithoutServicesInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutServicesInput, Prisma.professionalsUncheckedCreateWithoutServicesInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutServicesInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
export type professionalsUpdateOneRequiredWithoutServicesNestedInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutServicesInput, Prisma.professionalsUncheckedCreateWithoutServicesInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutServicesInput
|
|
upsert?: Prisma.professionalsUpsertWithoutServicesInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.professionalsUpdateToOneWithWhereWithoutServicesInput, Prisma.professionalsUpdateWithoutServicesInput>, Prisma.professionalsUncheckedUpdateWithoutServicesInput>
|
|
}
|
|
|
|
export type professionalsCreateNestedOneWithoutSpecializationsInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutSpecializationsInput, Prisma.professionalsUncheckedCreateWithoutSpecializationsInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutSpecializationsInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
export type professionalsUpdateOneRequiredWithoutSpecializationsNestedInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutSpecializationsInput, Prisma.professionalsUncheckedCreateWithoutSpecializationsInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutSpecializationsInput
|
|
upsert?: Prisma.professionalsUpsertWithoutSpecializationsInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.professionalsUpdateToOneWithWhereWithoutSpecializationsInput, Prisma.professionalsUpdateWithoutSpecializationsInput>, Prisma.professionalsUncheckedUpdateWithoutSpecializationsInput>
|
|
}
|
|
|
|
export type professionalsCreateNestedOneWithoutUsersInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutUsersInput, Prisma.professionalsUncheckedCreateWithoutUsersInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutUsersInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
export type professionalsUncheckedCreateNestedOneWithoutUsersInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutUsersInput, Prisma.professionalsUncheckedCreateWithoutUsersInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutUsersInput
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
export type professionalsUpdateOneWithoutUsersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutUsersInput, Prisma.professionalsUncheckedCreateWithoutUsersInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutUsersInput
|
|
upsert?: Prisma.professionalsUpsertWithoutUsersInput
|
|
disconnect?: Prisma.professionalsWhereInput | boolean
|
|
delete?: Prisma.professionalsWhereInput | boolean
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.professionalsUpdateToOneWithWhereWithoutUsersInput, Prisma.professionalsUpdateWithoutUsersInput>, Prisma.professionalsUncheckedUpdateWithoutUsersInput>
|
|
}
|
|
|
|
export type professionalsUncheckedUpdateOneWithoutUsersNestedInput = {
|
|
create?: Prisma.XOR<Prisma.professionalsCreateWithoutUsersInput, Prisma.professionalsUncheckedCreateWithoutUsersInput>
|
|
connectOrCreate?: Prisma.professionalsCreateOrConnectWithoutUsersInput
|
|
upsert?: Prisma.professionalsUpsertWithoutUsersInput
|
|
disconnect?: Prisma.professionalsWhereInput | boolean
|
|
delete?: Prisma.professionalsWhereInput | boolean
|
|
connect?: Prisma.professionalsWhereUniqueInput
|
|
update?: Prisma.XOR<Prisma.XOR<Prisma.professionalsUpdateToOneWithWhereWithoutUsersInput, Prisma.professionalsUpdateWithoutUsersInput>, 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<Prisma.professionalsCreateWithoutPayment_methodsInput, Prisma.professionalsUncheckedCreateWithoutPayment_methodsInput>
|
|
}
|
|
|
|
export type professionalsUpsertWithoutPayment_methodsInput = {
|
|
update: Prisma.XOR<Prisma.professionalsUpdateWithoutPayment_methodsInput, Prisma.professionalsUncheckedUpdateWithoutPayment_methodsInput>
|
|
create: Prisma.XOR<Prisma.professionalsCreateWithoutPayment_methodsInput, Prisma.professionalsUncheckedCreateWithoutPayment_methodsInput>
|
|
where?: Prisma.professionalsWhereInput
|
|
}
|
|
|
|
export type professionalsUpdateToOneWithWhereWithoutPayment_methodsInput = {
|
|
where?: Prisma.professionalsWhereInput
|
|
data: Prisma.XOR<Prisma.professionalsUpdateWithoutPayment_methodsInput, Prisma.professionalsUncheckedUpdateWithoutPayment_methodsInput>
|
|
}
|
|
|
|
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<Prisma.professionalsCreateWithoutSchedulesInput, Prisma.professionalsUncheckedCreateWithoutSchedulesInput>
|
|
}
|
|
|
|
export type professionalsUpsertWithoutSchedulesInput = {
|
|
update: Prisma.XOR<Prisma.professionalsUpdateWithoutSchedulesInput, Prisma.professionalsUncheckedUpdateWithoutSchedulesInput>
|
|
create: Prisma.XOR<Prisma.professionalsCreateWithoutSchedulesInput, Prisma.professionalsUncheckedCreateWithoutSchedulesInput>
|
|
where?: Prisma.professionalsWhereInput
|
|
}
|
|
|
|
export type professionalsUpdateToOneWithWhereWithoutSchedulesInput = {
|
|
where?: Prisma.professionalsWhereInput
|
|
data: Prisma.XOR<Prisma.professionalsUpdateWithoutSchedulesInput, Prisma.professionalsUncheckedUpdateWithoutSchedulesInput>
|
|
}
|
|
|
|
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<Prisma.professionalsCreateWithoutServicesInput, Prisma.professionalsUncheckedCreateWithoutServicesInput>
|
|
}
|
|
|
|
export type professionalsUpsertWithoutServicesInput = {
|
|
update: Prisma.XOR<Prisma.professionalsUpdateWithoutServicesInput, Prisma.professionalsUncheckedUpdateWithoutServicesInput>
|
|
create: Prisma.XOR<Prisma.professionalsCreateWithoutServicesInput, Prisma.professionalsUncheckedCreateWithoutServicesInput>
|
|
where?: Prisma.professionalsWhereInput
|
|
}
|
|
|
|
export type professionalsUpdateToOneWithWhereWithoutServicesInput = {
|
|
where?: Prisma.professionalsWhereInput
|
|
data: Prisma.XOR<Prisma.professionalsUpdateWithoutServicesInput, Prisma.professionalsUncheckedUpdateWithoutServicesInput>
|
|
}
|
|
|
|
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<Prisma.professionalsCreateWithoutSpecializationsInput, Prisma.professionalsUncheckedCreateWithoutSpecializationsInput>
|
|
}
|
|
|
|
export type professionalsUpsertWithoutSpecializationsInput = {
|
|
update: Prisma.XOR<Prisma.professionalsUpdateWithoutSpecializationsInput, Prisma.professionalsUncheckedUpdateWithoutSpecializationsInput>
|
|
create: Prisma.XOR<Prisma.professionalsCreateWithoutSpecializationsInput, Prisma.professionalsUncheckedCreateWithoutSpecializationsInput>
|
|
where?: Prisma.professionalsWhereInput
|
|
}
|
|
|
|
export type professionalsUpdateToOneWithWhereWithoutSpecializationsInput = {
|
|
where?: Prisma.professionalsWhereInput
|
|
data: Prisma.XOR<Prisma.professionalsUpdateWithoutSpecializationsInput, Prisma.professionalsUncheckedUpdateWithoutSpecializationsInput>
|
|
}
|
|
|
|
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<Prisma.professionalsCreateWithoutUsersInput, Prisma.professionalsUncheckedCreateWithoutUsersInput>
|
|
}
|
|
|
|
export type professionalsUpsertWithoutUsersInput = {
|
|
update: Prisma.XOR<Prisma.professionalsUpdateWithoutUsersInput, Prisma.professionalsUncheckedUpdateWithoutUsersInput>
|
|
create: Prisma.XOR<Prisma.professionalsCreateWithoutUsersInput, Prisma.professionalsUncheckedCreateWithoutUsersInput>
|
|
where?: Prisma.professionalsWhereInput
|
|
}
|
|
|
|
export type professionalsUpdateToOneWithWhereWithoutUsersInput = {
|
|
where?: Prisma.professionalsWhereInput
|
|
data: Prisma.XOR<Prisma.professionalsUpdateWithoutUsersInput, Prisma.professionalsUncheckedUpdateWithoutUsersInput>
|
|
}
|
|
|
|
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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
schedules?: boolean | ProfessionalsCountOutputTypeCountSchedulesArgs
|
|
services?: boolean | ProfessionalsCountOutputTypeCountServicesArgs
|
|
specializations?: boolean | ProfessionalsCountOutputTypeCountSpecializationsArgs
|
|
}
|
|
|
|
/**
|
|
* ProfessionalsCountOutputType without action
|
|
*/
|
|
export type ProfessionalsCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the ProfessionalsCountOutputType
|
|
*/
|
|
select?: Prisma.ProfessionalsCountOutputTypeSelect<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* ProfessionalsCountOutputType without action
|
|
*/
|
|
export type ProfessionalsCountOutputTypeCountSchedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.schedulesWhereInput
|
|
}
|
|
|
|
/**
|
|
* ProfessionalsCountOutputType without action
|
|
*/
|
|
export type ProfessionalsCountOutputTypeCountServicesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.servicesWhereInput
|
|
}
|
|
|
|
/**
|
|
* ProfessionalsCountOutputType without action
|
|
*/
|
|
export type ProfessionalsCountOutputTypeCountSpecializationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
where?: Prisma.specializationsWhereInput
|
|
}
|
|
|
|
|
|
export type professionalsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs>
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
schedules?: boolean | Prisma.professionals$schedulesArgs<ExtArgs>
|
|
services?: boolean | Prisma.professionals$servicesArgs<ExtArgs>
|
|
specializations?: boolean | Prisma.professionals$specializationsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.ProfessionalsCountOutputTypeDefaultArgs<ExtArgs>
|
|
}, ExtArgs["result"]["professionals"]>
|
|
|
|
export type professionalsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, ExtArgs["result"]["professionals"]>
|
|
|
|
export type professionalsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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>
|
|
}, 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
payment_methods?: boolean | Prisma.professionals$payment_methodsArgs<ExtArgs>
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
schedules?: boolean | Prisma.professionals$schedulesArgs<ExtArgs>
|
|
services?: boolean | Prisma.professionals$servicesArgs<ExtArgs>
|
|
specializations?: boolean | Prisma.professionals$specializationsArgs<ExtArgs>
|
|
_count?: boolean | Prisma.ProfessionalsCountOutputTypeDefaultArgs<ExtArgs>
|
|
}
|
|
export type professionalsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
}
|
|
export type professionalsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
users?: boolean | Prisma.usersDefaultArgs<ExtArgs>
|
|
}
|
|
|
|
export type $professionalsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
name: "professionals"
|
|
objects: {
|
|
payment_methods: Prisma.$payment_methodsPayload<ExtArgs> | null
|
|
users: Prisma.$usersPayload<ExtArgs>
|
|
schedules: Prisma.$schedulesPayload<ExtArgs>[]
|
|
services: Prisma.$servicesPayload<ExtArgs>[]
|
|
specializations: Prisma.$specializationsPayload<ExtArgs>[]
|
|
}
|
|
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<S extends boolean | null | undefined | professionalsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$professionalsPayload, S>
|
|
|
|
export type professionalsCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
|
|
Omit<professionalsFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
select?: ProfessionalsCountAggregateInputType | true
|
|
}
|
|
|
|
export interface professionalsDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
[K: symbol]: { types: Prisma.TypeMap<ExtArgs>['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<T extends professionalsFindUniqueArgs>(args: Prisma.SelectSubset<T, professionalsFindUniqueArgs<ExtArgs>>): Prisma.Prisma__professionalsClient<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, professionalsFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__professionalsClient<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsFindFirstArgs>(args?: Prisma.SelectSubset<T, professionalsFindFirstArgs<ExtArgs>>): Prisma.Prisma__professionalsClient<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, professionalsFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__professionalsClient<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsFindManyArgs>(args?: Prisma.SelectSubset<T, professionalsFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsCreateArgs>(args: Prisma.SelectSubset<T, professionalsCreateArgs<ExtArgs>>): Prisma.Prisma__professionalsClient<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsCreateManyArgs>(args?: Prisma.SelectSubset<T, professionalsCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends professionalsCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, professionalsCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsDeleteArgs>(args: Prisma.SelectSubset<T, professionalsDeleteArgs<ExtArgs>>): Prisma.Prisma__professionalsClient<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsUpdateArgs>(args: Prisma.SelectSubset<T, professionalsUpdateArgs<ExtArgs>>): Prisma.Prisma__professionalsClient<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsDeleteManyArgs>(args?: Prisma.SelectSubset<T, professionalsDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends professionalsUpdateManyArgs>(args: Prisma.SelectSubset<T, professionalsUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>
|
|
|
|
/**
|
|
* 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<T extends professionalsUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, professionalsUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsUpsertArgs>(args: Prisma.SelectSubset<T, professionalsUpsertArgs<ExtArgs>>): Prisma.Prisma__professionalsClient<runtime.Types.Result.GetResult<Prisma.$professionalsPayload<ExtArgs>, 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<T extends professionalsCountArgs>(
|
|
args?: Prisma.Subset<T, professionalsCountArgs>,
|
|
): Prisma.PrismaPromise<
|
|
T extends runtime.Types.Utils.Record<'select', any>
|
|
? T['select'] extends true
|
|
? number
|
|
: Prisma.GetScalarType<T['select'], ProfessionalsCountAggregateOutputType>
|
|
: 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<T extends ProfessionalsAggregateArgs>(args: Prisma.Subset<T, ProfessionalsAggregateArgs>): Prisma.PrismaPromise<GetProfessionalsAggregateType<T>>
|
|
|
|
/**
|
|
* 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<T>>,
|
|
Prisma.Extends<'take', Prisma.Keys<T>>
|
|
>,
|
|
OrderByArg extends Prisma.True extends HasSelectOrTake
|
|
? { orderBy: professionalsGroupByArgs['orderBy'] }
|
|
: { orderBy?: professionalsGroupByArgs['orderBy'] },
|
|
OrderFields extends Prisma.ExcludeUnderscoreKeys<Prisma.Keys<Prisma.MaybeTupleToUnion<T['orderBy']>>>,
|
|
ByFields extends Prisma.MaybeTupleToUnion<T['by']>,
|
|
ByValid extends Prisma.Has<ByFields, OrderFields>,
|
|
HavingFields extends Prisma.GetHavingFields<T['having']>,
|
|
HavingValid extends Prisma.Has<ByFields, HavingFields>,
|
|
ByEmpty extends T['by'] extends never[] ? Prisma.True : Prisma.False,
|
|
InputErrors extends ByEmpty extends Prisma.True
|
|
? `Error: "by" must not be empty.`
|
|
: HavingValid extends Prisma.False
|
|
? {
|
|
[P in HavingFields]: P extends ByFields
|
|
? never
|
|
: P extends string
|
|
? `Error: Field "${P}" used in "having" needs to be provided in "by".`
|
|
: [
|
|
Error,
|
|
'Field ',
|
|
P,
|
|
` in "having" needs to be provided in "by"`,
|
|
]
|
|
}[HavingFields]
|
|
: 'take' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "take", you also need to provide "orderBy"'
|
|
: 'skip' extends Prisma.Keys<T>
|
|
? 'orderBy' extends Prisma.Keys<T>
|
|
? ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
: 'Error: If you provide "skip", you also need to provide "orderBy"'
|
|
: ByValid extends Prisma.True
|
|
? {}
|
|
: {
|
|
[P in OrderFields]: P extends ByFields
|
|
? never
|
|
: `Error: Field "${P}" in "orderBy" needs to be provided in "by"`
|
|
}[OrderFields]
|
|
>(args: Prisma.SubsetIntersection<T, professionalsGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProfessionalsGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
|
|
/**
|
|
* 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<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
readonly [Symbol.toStringTag]: "PrismaPromise"
|
|
payment_methods<T extends Prisma.professionals$payment_methodsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.professionals$payment_methodsArgs<ExtArgs>>): Prisma.Prisma__payment_methodsClient<runtime.Types.Result.GetResult<Prisma.$payment_methodsPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
|
|
users<T extends Prisma.usersDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.usersDefaultArgs<ExtArgs>>): Prisma.Prisma__usersClient<runtime.Types.Result.GetResult<Prisma.$usersPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
|
|
schedules<T extends Prisma.professionals$schedulesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.professionals$schedulesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$schedulesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
services<T extends Prisma.professionals$servicesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.professionals$servicesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$servicesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
|
|
specializations<T extends Prisma.professionals$specializationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.professionals$specializationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$specializationsPayload<ExtArgs>, 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<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
|
|
/**
|
|
* Attaches a callback for only the rejection of the Promise.
|
|
* @param onrejected The callback to execute when the Promise is rejected.
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
|
|
/**
|
|
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
* resolved value cannot be modified from the callback.
|
|
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
* @returns A Promise for the completion of the callback.
|
|
*/
|
|
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
|
|
}
|
|
|
|
|
|
|
|
|
|
/**
|
|
* Fields of the 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which professionals to fetch.
|
|
*/
|
|
where: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* professionals findUniqueOrThrow
|
|
*/
|
|
export type professionalsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter, which professionals to fetch.
|
|
*/
|
|
where: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* professionals findFirst
|
|
*/
|
|
export type professionalsFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to create a professionals.
|
|
*/
|
|
data: Prisma.XOR<Prisma.professionalsCreateInput, Prisma.professionalsUncheckedCreateInput>
|
|
}
|
|
|
|
/**
|
|
* professionals createMany
|
|
*/
|
|
export type professionalsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to create many professionals.
|
|
*/
|
|
data: Prisma.professionalsCreateManyInput | Prisma.professionalsCreateManyInput[]
|
|
skipDuplicates?: boolean
|
|
}
|
|
|
|
/**
|
|
* professionals createManyAndReturn
|
|
*/
|
|
export type professionalsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelectCreateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* professionals update
|
|
*/
|
|
export type professionalsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | null
|
|
/**
|
|
* The data needed to update a professionals.
|
|
*/
|
|
data: Prisma.XOR<Prisma.professionalsUpdateInput, Prisma.professionalsUncheckedUpdateInput>
|
|
/**
|
|
* Choose, which professionals to update.
|
|
*/
|
|
where: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* professionals updateMany
|
|
*/
|
|
export type professionalsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* The data used to update professionals.
|
|
*/
|
|
data: Prisma.XOR<Prisma.professionalsUpdateManyMutationInput, Prisma.professionalsUncheckedUpdateManyInput>
|
|
/**
|
|
* Filter which professionals to update
|
|
*/
|
|
where?: Prisma.professionalsWhereInput
|
|
/**
|
|
* Limit how many professionals to update.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* professionals updateManyAndReturn
|
|
*/
|
|
export type professionalsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelectUpdateManyAndReturn<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* The data used to update professionals.
|
|
*/
|
|
data: Prisma.XOR<Prisma.professionalsUpdateManyMutationInput, Prisma.professionalsUncheckedUpdateManyInput>
|
|
/**
|
|
* 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<ExtArgs> | null
|
|
}
|
|
|
|
/**
|
|
* professionals upsert
|
|
*/
|
|
export type professionalsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | 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<Prisma.professionalsCreateInput, Prisma.professionalsUncheckedCreateInput>
|
|
/**
|
|
* In case the professionals was found with the provided `where` argument, update it with this data.
|
|
*/
|
|
update: Prisma.XOR<Prisma.professionalsUpdateInput, Prisma.professionalsUncheckedUpdateInput>
|
|
}
|
|
|
|
/**
|
|
* professionals delete
|
|
*/
|
|
export type professionalsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | null
|
|
/**
|
|
* Filter which professionals to delete.
|
|
*/
|
|
where: Prisma.professionalsWhereUniqueInput
|
|
}
|
|
|
|
/**
|
|
* professionals deleteMany
|
|
*/
|
|
export type professionalsDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Filter which professionals to delete
|
|
*/
|
|
where?: Prisma.professionalsWhereInput
|
|
/**
|
|
* Limit how many professionals to delete.
|
|
*/
|
|
limit?: number
|
|
}
|
|
|
|
/**
|
|
* professionals.payment_methods
|
|
*/
|
|
export type professionals$payment_methodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the payment_methods
|
|
*/
|
|
select?: Prisma.payment_methodsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the payment_methods
|
|
*/
|
|
omit?: Prisma.payment_methodsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.payment_methodsInclude<ExtArgs> | null
|
|
where?: Prisma.payment_methodsWhereInput
|
|
}
|
|
|
|
/**
|
|
* professionals.schedules
|
|
*/
|
|
export type professionals$schedulesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the schedules
|
|
*/
|
|
select?: Prisma.schedulesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the schedules
|
|
*/
|
|
omit?: Prisma.schedulesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.schedulesInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the services
|
|
*/
|
|
select?: Prisma.servicesSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the services
|
|
*/
|
|
omit?: Prisma.servicesOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.servicesInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the specializations
|
|
*/
|
|
select?: Prisma.specializationsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the specializations
|
|
*/
|
|
omit?: Prisma.specializationsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.specializationsInclude<ExtArgs> | 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<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
/**
|
|
* Select specific fields to fetch from the professionals
|
|
*/
|
|
select?: Prisma.professionalsSelect<ExtArgs> | null
|
|
/**
|
|
* Omit specific fields from the professionals
|
|
*/
|
|
omit?: Prisma.professionalsOmit<ExtArgs> | null
|
|
/**
|
|
* Choose, which related nodes to fetch as well
|
|
*/
|
|
include?: Prisma.professionalsInclude<ExtArgs> | null
|
|
}
|