
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `Service` 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 Service
 * 
 */
export type ServiceModel = runtime.Types.Result.DefaultSelection<Prisma.$ServicePayload>

export type AggregateService = {
  _count: ServiceCountAggregateOutputType | null
  _avg: ServiceAvgAggregateOutputType | null
  _sum: ServiceSumAggregateOutputType | null
  _min: ServiceMinAggregateOutputType | null
  _max: ServiceMaxAggregateOutputType | null
}

export type ServiceAvgAggregateOutputType = {
  priceCents: number | null
  durationMinutes: number | null
}

export type ServiceSumAggregateOutputType = {
  priceCents: number | null
  durationMinutes: number | null
}

export type ServiceMinAggregateOutputType = {
  id: string | null
  tenantId: string | null
  name: string | null
  slug: string | null
  shortDescription: string | null
  description: string | null
  categoryId: string | null
  priceCents: number | null
  durationMinutes: number | null
  attendanceMode: string | null
  quoteEnabled: boolean | null
  whatsappEnabled: boolean | null
  active: boolean | null
  featured: boolean | null
  seoTitle: string | null
  metaDescription: string | null
  createdAt: Date | null
  updatedAt: Date | null
  deletedAt: Date | null
}

export type ServiceMaxAggregateOutputType = {
  id: string | null
  tenantId: string | null
  name: string | null
  slug: string | null
  shortDescription: string | null
  description: string | null
  categoryId: string | null
  priceCents: number | null
  durationMinutes: number | null
  attendanceMode: string | null
  quoteEnabled: boolean | null
  whatsappEnabled: boolean | null
  active: boolean | null
  featured: boolean | null
  seoTitle: string | null
  metaDescription: string | null
  createdAt: Date | null
  updatedAt: Date | null
  deletedAt: Date | null
}

export type ServiceCountAggregateOutputType = {
  id: number
  tenantId: number
  name: number
  slug: number
  shortDescription: number
  description: number
  categoryId: number
  priceCents: number
  durationMinutes: number
  attendanceMode: number
  quoteEnabled: number
  whatsappEnabled: number
  active: number
  featured: number
  seoTitle: number
  metaDescription: number
  createdAt: number
  updatedAt: number
  deletedAt: number
  _all: number
}


export type ServiceAvgAggregateInputType = {
  priceCents?: true
  durationMinutes?: true
}

export type ServiceSumAggregateInputType = {
  priceCents?: true
  durationMinutes?: true
}

export type ServiceMinAggregateInputType = {
  id?: true
  tenantId?: true
  name?: true
  slug?: true
  shortDescription?: true
  description?: true
  categoryId?: true
  priceCents?: true
  durationMinutes?: true
  attendanceMode?: true
  quoteEnabled?: true
  whatsappEnabled?: true
  active?: true
  featured?: true
  seoTitle?: true
  metaDescription?: true
  createdAt?: true
  updatedAt?: true
  deletedAt?: true
}

export type ServiceMaxAggregateInputType = {
  id?: true
  tenantId?: true
  name?: true
  slug?: true
  shortDescription?: true
  description?: true
  categoryId?: true
  priceCents?: true
  durationMinutes?: true
  attendanceMode?: true
  quoteEnabled?: true
  whatsappEnabled?: true
  active?: true
  featured?: true
  seoTitle?: true
  metaDescription?: true
  createdAt?: true
  updatedAt?: true
  deletedAt?: true
}

export type ServiceCountAggregateInputType = {
  id?: true
  tenantId?: true
  name?: true
  slug?: true
  shortDescription?: true
  description?: true
  categoryId?: true
  priceCents?: true
  durationMinutes?: true
  attendanceMode?: true
  quoteEnabled?: true
  whatsappEnabled?: true
  active?: true
  featured?: true
  seoTitle?: true
  metaDescription?: true
  createdAt?: true
  updatedAt?: true
  deletedAt?: true
  _all?: true
}

export type ServiceAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which Service to aggregate.
   */
  where?: Prisma.ServiceWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Services to fetch.
   */
  orderBy?: Prisma.ServiceOrderByWithRelationInput | Prisma.ServiceOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.ServiceWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Services 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` Services.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned Services
  **/
  _count?: true | ServiceCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: ServiceAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: ServiceSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: ServiceMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: ServiceMaxAggregateInputType
}

export type GetServiceAggregateType<T extends ServiceAggregateArgs> = {
      [P in keyof T & keyof AggregateService]: P extends '_count' | 'count'
    ? T[P] extends true
      ? number
      : Prisma.GetScalarType<T[P], AggregateService[P]>
    : Prisma.GetScalarType<T[P], AggregateService[P]>
}




export type ServiceGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.ServiceWhereInput
  orderBy?: Prisma.ServiceOrderByWithAggregationInput | Prisma.ServiceOrderByWithAggregationInput[]
  by: Prisma.ServiceScalarFieldEnum[] | Prisma.ServiceScalarFieldEnum
  having?: Prisma.ServiceScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: ServiceCountAggregateInputType | true
  _avg?: ServiceAvgAggregateInputType
  _sum?: ServiceSumAggregateInputType
  _min?: ServiceMinAggregateInputType
  _max?: ServiceMaxAggregateInputType
}

export type ServiceGroupByOutputType = {
  id: string
  tenantId: string
  name: string
  slug: string
  shortDescription: string | null
  description: string | null
  categoryId: string | null
  priceCents: number | null
  durationMinutes: number | null
  attendanceMode: string
  quoteEnabled: boolean
  whatsappEnabled: boolean
  active: boolean
  featured: boolean
  seoTitle: string | null
  metaDescription: string | null
  createdAt: Date
  updatedAt: Date
  deletedAt: Date | null
  _count: ServiceCountAggregateOutputType | null
  _avg: ServiceAvgAggregateOutputType | null
  _sum: ServiceSumAggregateOutputType | null
  _min: ServiceMinAggregateOutputType | null
  _max: ServiceMaxAggregateOutputType | null
}

export type GetServiceGroupByPayload<T extends ServiceGroupByArgs> = Prisma.PrismaPromise<
  Array<
    Prisma.PickEnumerable<ServiceGroupByOutputType, T['by']> &
      {
        [P in ((keyof T) & (keyof ServiceGroupByOutputType))]: P extends '_count'
          ? T[P] extends boolean
            ? number
            : Prisma.GetScalarType<T[P], ServiceGroupByOutputType[P]>
          : Prisma.GetScalarType<T[P], ServiceGroupByOutputType[P]>
      }
    >
  >



export type ServiceWhereInput = {
  AND?: Prisma.ServiceWhereInput | Prisma.ServiceWhereInput[]
  OR?: Prisma.ServiceWhereInput[]
  NOT?: Prisma.ServiceWhereInput | Prisma.ServiceWhereInput[]
  id?: Prisma.StringFilter<"Service"> | string
  tenantId?: Prisma.StringFilter<"Service"> | string
  name?: Prisma.StringFilter<"Service"> | string
  slug?: Prisma.StringFilter<"Service"> | string
  shortDescription?: Prisma.StringNullableFilter<"Service"> | string | null
  description?: Prisma.StringNullableFilter<"Service"> | string | null
  categoryId?: Prisma.StringNullableFilter<"Service"> | string | null
  priceCents?: Prisma.IntNullableFilter<"Service"> | number | null
  durationMinutes?: Prisma.IntNullableFilter<"Service"> | number | null
  attendanceMode?: Prisma.StringFilter<"Service"> | string
  quoteEnabled?: Prisma.BoolFilter<"Service"> | boolean
  whatsappEnabled?: Prisma.BoolFilter<"Service"> | boolean
  active?: Prisma.BoolFilter<"Service"> | boolean
  featured?: Prisma.BoolFilter<"Service"> | boolean
  seoTitle?: Prisma.StringNullableFilter<"Service"> | string | null
  metaDescription?: Prisma.StringNullableFilter<"Service"> | string | null
  createdAt?: Prisma.DateTimeFilter<"Service"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"Service"> | Date | string
  deletedAt?: Prisma.DateTimeNullableFilter<"Service"> | Date | string | null
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
  category?: Prisma.XOR<Prisma.ServiceCategoryNullableScalarRelationFilter, Prisma.ServiceCategoryWhereInput> | null
  images?: Prisma.MediaAssetListRelationFilter
  quoteRequests?: Prisma.QuoteRequestListRelationFilter
}

export type ServiceOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  tenantId?: Prisma.SortOrder
  name?: Prisma.SortOrder
  slug?: Prisma.SortOrder
  shortDescription?: Prisma.SortOrderInput | Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  categoryId?: Prisma.SortOrderInput | Prisma.SortOrder
  priceCents?: Prisma.SortOrderInput | Prisma.SortOrder
  durationMinutes?: Prisma.SortOrderInput | Prisma.SortOrder
  attendanceMode?: Prisma.SortOrder
  quoteEnabled?: Prisma.SortOrder
  whatsappEnabled?: Prisma.SortOrder
  active?: Prisma.SortOrder
  featured?: Prisma.SortOrder
  seoTitle?: Prisma.SortOrderInput | Prisma.SortOrder
  metaDescription?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  tenant?: Prisma.TenantOrderByWithRelationInput
  category?: Prisma.ServiceCategoryOrderByWithRelationInput
  images?: Prisma.MediaAssetOrderByRelationAggregateInput
  quoteRequests?: Prisma.QuoteRequestOrderByRelationAggregateInput
}

export type ServiceWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  tenantId_slug?: Prisma.ServiceTenantIdSlugCompoundUniqueInput
  AND?: Prisma.ServiceWhereInput | Prisma.ServiceWhereInput[]
  OR?: Prisma.ServiceWhereInput[]
  NOT?: Prisma.ServiceWhereInput | Prisma.ServiceWhereInput[]
  tenantId?: Prisma.StringFilter<"Service"> | string
  name?: Prisma.StringFilter<"Service"> | string
  slug?: Prisma.StringFilter<"Service"> | string
  shortDescription?: Prisma.StringNullableFilter<"Service"> | string | null
  description?: Prisma.StringNullableFilter<"Service"> | string | null
  categoryId?: Prisma.StringNullableFilter<"Service"> | string | null
  priceCents?: Prisma.IntNullableFilter<"Service"> | number | null
  durationMinutes?: Prisma.IntNullableFilter<"Service"> | number | null
  attendanceMode?: Prisma.StringFilter<"Service"> | string
  quoteEnabled?: Prisma.BoolFilter<"Service"> | boolean
  whatsappEnabled?: Prisma.BoolFilter<"Service"> | boolean
  active?: Prisma.BoolFilter<"Service"> | boolean
  featured?: Prisma.BoolFilter<"Service"> | boolean
  seoTitle?: Prisma.StringNullableFilter<"Service"> | string | null
  metaDescription?: Prisma.StringNullableFilter<"Service"> | string | null
  createdAt?: Prisma.DateTimeFilter<"Service"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"Service"> | Date | string
  deletedAt?: Prisma.DateTimeNullableFilter<"Service"> | Date | string | null
  tenant?: Prisma.XOR<Prisma.TenantScalarRelationFilter, Prisma.TenantWhereInput>
  category?: Prisma.XOR<Prisma.ServiceCategoryNullableScalarRelationFilter, Prisma.ServiceCategoryWhereInput> | null
  images?: Prisma.MediaAssetListRelationFilter
  quoteRequests?: Prisma.QuoteRequestListRelationFilter
}, "id" | "tenantId_slug">

export type ServiceOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  tenantId?: Prisma.SortOrder
  name?: Prisma.SortOrder
  slug?: Prisma.SortOrder
  shortDescription?: Prisma.SortOrderInput | Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  categoryId?: Prisma.SortOrderInput | Prisma.SortOrder
  priceCents?: Prisma.SortOrderInput | Prisma.SortOrder
  durationMinutes?: Prisma.SortOrderInput | Prisma.SortOrder
  attendanceMode?: Prisma.SortOrder
  quoteEnabled?: Prisma.SortOrder
  whatsappEnabled?: Prisma.SortOrder
  active?: Prisma.SortOrder
  featured?: Prisma.SortOrder
  seoTitle?: Prisma.SortOrderInput | Prisma.SortOrder
  metaDescription?: Prisma.SortOrderInput | Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.ServiceCountOrderByAggregateInput
  _avg?: Prisma.ServiceAvgOrderByAggregateInput
  _max?: Prisma.ServiceMaxOrderByAggregateInput
  _min?: Prisma.ServiceMinOrderByAggregateInput
  _sum?: Prisma.ServiceSumOrderByAggregateInput
}

export type ServiceScalarWhereWithAggregatesInput = {
  AND?: Prisma.ServiceScalarWhereWithAggregatesInput | Prisma.ServiceScalarWhereWithAggregatesInput[]
  OR?: Prisma.ServiceScalarWhereWithAggregatesInput[]
  NOT?: Prisma.ServiceScalarWhereWithAggregatesInput | Prisma.ServiceScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"Service"> | string
  tenantId?: Prisma.StringWithAggregatesFilter<"Service"> | string
  name?: Prisma.StringWithAggregatesFilter<"Service"> | string
  slug?: Prisma.StringWithAggregatesFilter<"Service"> | string
  shortDescription?: Prisma.StringNullableWithAggregatesFilter<"Service"> | string | null
  description?: Prisma.StringNullableWithAggregatesFilter<"Service"> | string | null
  categoryId?: Prisma.StringNullableWithAggregatesFilter<"Service"> | string | null
  priceCents?: Prisma.IntNullableWithAggregatesFilter<"Service"> | number | null
  durationMinutes?: Prisma.IntNullableWithAggregatesFilter<"Service"> | number | null
  attendanceMode?: Prisma.StringWithAggregatesFilter<"Service"> | string
  quoteEnabled?: Prisma.BoolWithAggregatesFilter<"Service"> | boolean
  whatsappEnabled?: Prisma.BoolWithAggregatesFilter<"Service"> | boolean
  active?: Prisma.BoolWithAggregatesFilter<"Service"> | boolean
  featured?: Prisma.BoolWithAggregatesFilter<"Service"> | boolean
  seoTitle?: Prisma.StringNullableWithAggregatesFilter<"Service"> | string | null
  metaDescription?: Prisma.StringNullableWithAggregatesFilter<"Service"> | string | null
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"Service"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Service"> | Date | string
  deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Service"> | Date | string | null
}

export type ServiceCreateInput = {
  id?: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  tenant: Prisma.TenantCreateNestedOneWithoutServicesInput
  category?: Prisma.ServiceCategoryCreateNestedOneWithoutServicesInput
  images?: Prisma.MediaAssetCreateNestedManyWithoutServiceInput
  quoteRequests?: Prisma.QuoteRequestCreateNestedManyWithoutServiceInput
}

export type ServiceUncheckedCreateInput = {
  id?: string
  tenantId: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  categoryId?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  images?: Prisma.MediaAssetUncheckedCreateNestedManyWithoutServiceInput
  quoteRequests?: Prisma.QuoteRequestUncheckedCreateNestedManyWithoutServiceInput
}

export type ServiceUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  tenant?: Prisma.TenantUpdateOneRequiredWithoutServicesNestedInput
  category?: Prisma.ServiceCategoryUpdateOneWithoutServicesNestedInput
  images?: Prisma.MediaAssetUpdateManyWithoutServiceNestedInput
  quoteRequests?: Prisma.QuoteRequestUpdateManyWithoutServiceNestedInput
}

export type ServiceUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  images?: Prisma.MediaAssetUncheckedUpdateManyWithoutServiceNestedInput
  quoteRequests?: Prisma.QuoteRequestUncheckedUpdateManyWithoutServiceNestedInput
}

export type ServiceCreateManyInput = {
  id?: string
  tenantId: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  categoryId?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
}

export type ServiceUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type ServiceUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type ServiceListRelationFilter = {
  every?: Prisma.ServiceWhereInput
  some?: Prisma.ServiceWhereInput
  none?: Prisma.ServiceWhereInput
}

export type ServiceOrderByRelationAggregateInput = {
  _count?: Prisma.SortOrder
}

export type ServiceNullableScalarRelationFilter = {
  is?: Prisma.ServiceWhereInput | null
  isNot?: Prisma.ServiceWhereInput | null
}

export type ServiceTenantIdSlugCompoundUniqueInput = {
  tenantId: string
  slug: string
}

export type ServiceCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  tenantId?: Prisma.SortOrder
  name?: Prisma.SortOrder
  slug?: Prisma.SortOrder
  shortDescription?: Prisma.SortOrder
  description?: Prisma.SortOrder
  categoryId?: Prisma.SortOrder
  priceCents?: Prisma.SortOrder
  durationMinutes?: Prisma.SortOrder
  attendanceMode?: Prisma.SortOrder
  quoteEnabled?: Prisma.SortOrder
  whatsappEnabled?: Prisma.SortOrder
  active?: Prisma.SortOrder
  featured?: Prisma.SortOrder
  seoTitle?: Prisma.SortOrder
  metaDescription?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrder
}

export type ServiceAvgOrderByAggregateInput = {
  priceCents?: Prisma.SortOrder
  durationMinutes?: Prisma.SortOrder
}

export type ServiceMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  tenantId?: Prisma.SortOrder
  name?: Prisma.SortOrder
  slug?: Prisma.SortOrder
  shortDescription?: Prisma.SortOrder
  description?: Prisma.SortOrder
  categoryId?: Prisma.SortOrder
  priceCents?: Prisma.SortOrder
  durationMinutes?: Prisma.SortOrder
  attendanceMode?: Prisma.SortOrder
  quoteEnabled?: Prisma.SortOrder
  whatsappEnabled?: Prisma.SortOrder
  active?: Prisma.SortOrder
  featured?: Prisma.SortOrder
  seoTitle?: Prisma.SortOrder
  metaDescription?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrder
}

export type ServiceMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  tenantId?: Prisma.SortOrder
  name?: Prisma.SortOrder
  slug?: Prisma.SortOrder
  shortDescription?: Prisma.SortOrder
  description?: Prisma.SortOrder
  categoryId?: Prisma.SortOrder
  priceCents?: Prisma.SortOrder
  durationMinutes?: Prisma.SortOrder
  attendanceMode?: Prisma.SortOrder
  quoteEnabled?: Prisma.SortOrder
  whatsappEnabled?: Prisma.SortOrder
  active?: Prisma.SortOrder
  featured?: Prisma.SortOrder
  seoTitle?: Prisma.SortOrder
  metaDescription?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  deletedAt?: Prisma.SortOrder
}

export type ServiceSumOrderByAggregateInput = {
  priceCents?: Prisma.SortOrder
  durationMinutes?: Prisma.SortOrder
}

export type ServiceCreateNestedManyWithoutTenantInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutTenantInput, Prisma.ServiceUncheckedCreateWithoutTenantInput> | Prisma.ServiceCreateWithoutTenantInput[] | Prisma.ServiceUncheckedCreateWithoutTenantInput[]
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutTenantInput | Prisma.ServiceCreateOrConnectWithoutTenantInput[]
  createMany?: Prisma.ServiceCreateManyTenantInputEnvelope
  connect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
}

export type ServiceUncheckedCreateNestedManyWithoutTenantInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutTenantInput, Prisma.ServiceUncheckedCreateWithoutTenantInput> | Prisma.ServiceCreateWithoutTenantInput[] | Prisma.ServiceUncheckedCreateWithoutTenantInput[]
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutTenantInput | Prisma.ServiceCreateOrConnectWithoutTenantInput[]
  createMany?: Prisma.ServiceCreateManyTenantInputEnvelope
  connect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
}

export type ServiceUpdateManyWithoutTenantNestedInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutTenantInput, Prisma.ServiceUncheckedCreateWithoutTenantInput> | Prisma.ServiceCreateWithoutTenantInput[] | Prisma.ServiceUncheckedCreateWithoutTenantInput[]
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutTenantInput | Prisma.ServiceCreateOrConnectWithoutTenantInput[]
  upsert?: Prisma.ServiceUpsertWithWhereUniqueWithoutTenantInput | Prisma.ServiceUpsertWithWhereUniqueWithoutTenantInput[]
  createMany?: Prisma.ServiceCreateManyTenantInputEnvelope
  set?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  disconnect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  delete?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  connect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  update?: Prisma.ServiceUpdateWithWhereUniqueWithoutTenantInput | Prisma.ServiceUpdateWithWhereUniqueWithoutTenantInput[]
  updateMany?: Prisma.ServiceUpdateManyWithWhereWithoutTenantInput | Prisma.ServiceUpdateManyWithWhereWithoutTenantInput[]
  deleteMany?: Prisma.ServiceScalarWhereInput | Prisma.ServiceScalarWhereInput[]
}

export type ServiceUncheckedUpdateManyWithoutTenantNestedInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutTenantInput, Prisma.ServiceUncheckedCreateWithoutTenantInput> | Prisma.ServiceCreateWithoutTenantInput[] | Prisma.ServiceUncheckedCreateWithoutTenantInput[]
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutTenantInput | Prisma.ServiceCreateOrConnectWithoutTenantInput[]
  upsert?: Prisma.ServiceUpsertWithWhereUniqueWithoutTenantInput | Prisma.ServiceUpsertWithWhereUniqueWithoutTenantInput[]
  createMany?: Prisma.ServiceCreateManyTenantInputEnvelope
  set?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  disconnect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  delete?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  connect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  update?: Prisma.ServiceUpdateWithWhereUniqueWithoutTenantInput | Prisma.ServiceUpdateWithWhereUniqueWithoutTenantInput[]
  updateMany?: Prisma.ServiceUpdateManyWithWhereWithoutTenantInput | Prisma.ServiceUpdateManyWithWhereWithoutTenantInput[]
  deleteMany?: Prisma.ServiceScalarWhereInput | Prisma.ServiceScalarWhereInput[]
}

export type ServiceCreateNestedOneWithoutImagesInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutImagesInput, Prisma.ServiceUncheckedCreateWithoutImagesInput>
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutImagesInput
  connect?: Prisma.ServiceWhereUniqueInput
}

export type ServiceUpdateOneWithoutImagesNestedInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutImagesInput, Prisma.ServiceUncheckedCreateWithoutImagesInput>
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutImagesInput
  upsert?: Prisma.ServiceUpsertWithoutImagesInput
  disconnect?: Prisma.ServiceWhereInput | boolean
  delete?: Prisma.ServiceWhereInput | boolean
  connect?: Prisma.ServiceWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.ServiceUpdateToOneWithWhereWithoutImagesInput, Prisma.ServiceUpdateWithoutImagesInput>, Prisma.ServiceUncheckedUpdateWithoutImagesInput>
}

export type ServiceCreateNestedManyWithoutCategoryInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutCategoryInput, Prisma.ServiceUncheckedCreateWithoutCategoryInput> | Prisma.ServiceCreateWithoutCategoryInput[] | Prisma.ServiceUncheckedCreateWithoutCategoryInput[]
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutCategoryInput | Prisma.ServiceCreateOrConnectWithoutCategoryInput[]
  createMany?: Prisma.ServiceCreateManyCategoryInputEnvelope
  connect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
}

export type ServiceUncheckedCreateNestedManyWithoutCategoryInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutCategoryInput, Prisma.ServiceUncheckedCreateWithoutCategoryInput> | Prisma.ServiceCreateWithoutCategoryInput[] | Prisma.ServiceUncheckedCreateWithoutCategoryInput[]
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutCategoryInput | Prisma.ServiceCreateOrConnectWithoutCategoryInput[]
  createMany?: Prisma.ServiceCreateManyCategoryInputEnvelope
  connect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
}

export type ServiceUpdateManyWithoutCategoryNestedInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutCategoryInput, Prisma.ServiceUncheckedCreateWithoutCategoryInput> | Prisma.ServiceCreateWithoutCategoryInput[] | Prisma.ServiceUncheckedCreateWithoutCategoryInput[]
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutCategoryInput | Prisma.ServiceCreateOrConnectWithoutCategoryInput[]
  upsert?: Prisma.ServiceUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ServiceUpsertWithWhereUniqueWithoutCategoryInput[]
  createMany?: Prisma.ServiceCreateManyCategoryInputEnvelope
  set?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  disconnect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  delete?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  connect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  update?: Prisma.ServiceUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ServiceUpdateWithWhereUniqueWithoutCategoryInput[]
  updateMany?: Prisma.ServiceUpdateManyWithWhereWithoutCategoryInput | Prisma.ServiceUpdateManyWithWhereWithoutCategoryInput[]
  deleteMany?: Prisma.ServiceScalarWhereInput | Prisma.ServiceScalarWhereInput[]
}

export type ServiceUncheckedUpdateManyWithoutCategoryNestedInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutCategoryInput, Prisma.ServiceUncheckedCreateWithoutCategoryInput> | Prisma.ServiceCreateWithoutCategoryInput[] | Prisma.ServiceUncheckedCreateWithoutCategoryInput[]
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutCategoryInput | Prisma.ServiceCreateOrConnectWithoutCategoryInput[]
  upsert?: Prisma.ServiceUpsertWithWhereUniqueWithoutCategoryInput | Prisma.ServiceUpsertWithWhereUniqueWithoutCategoryInput[]
  createMany?: Prisma.ServiceCreateManyCategoryInputEnvelope
  set?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  disconnect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  delete?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  connect?: Prisma.ServiceWhereUniqueInput | Prisma.ServiceWhereUniqueInput[]
  update?: Prisma.ServiceUpdateWithWhereUniqueWithoutCategoryInput | Prisma.ServiceUpdateWithWhereUniqueWithoutCategoryInput[]
  updateMany?: Prisma.ServiceUpdateManyWithWhereWithoutCategoryInput | Prisma.ServiceUpdateManyWithWhereWithoutCategoryInput[]
  deleteMany?: Prisma.ServiceScalarWhereInput | Prisma.ServiceScalarWhereInput[]
}

export type ServiceCreateNestedOneWithoutQuoteRequestsInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutQuoteRequestsInput, Prisma.ServiceUncheckedCreateWithoutQuoteRequestsInput>
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutQuoteRequestsInput
  connect?: Prisma.ServiceWhereUniqueInput
}

export type ServiceUpdateOneWithoutQuoteRequestsNestedInput = {
  create?: Prisma.XOR<Prisma.ServiceCreateWithoutQuoteRequestsInput, Prisma.ServiceUncheckedCreateWithoutQuoteRequestsInput>
  connectOrCreate?: Prisma.ServiceCreateOrConnectWithoutQuoteRequestsInput
  upsert?: Prisma.ServiceUpsertWithoutQuoteRequestsInput
  disconnect?: Prisma.ServiceWhereInput | boolean
  delete?: Prisma.ServiceWhereInput | boolean
  connect?: Prisma.ServiceWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.ServiceUpdateToOneWithWhereWithoutQuoteRequestsInput, Prisma.ServiceUpdateWithoutQuoteRequestsInput>, Prisma.ServiceUncheckedUpdateWithoutQuoteRequestsInput>
}

export type ServiceCreateWithoutTenantInput = {
  id?: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  category?: Prisma.ServiceCategoryCreateNestedOneWithoutServicesInput
  images?: Prisma.MediaAssetCreateNestedManyWithoutServiceInput
  quoteRequests?: Prisma.QuoteRequestCreateNestedManyWithoutServiceInput
}

export type ServiceUncheckedCreateWithoutTenantInput = {
  id?: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  categoryId?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  images?: Prisma.MediaAssetUncheckedCreateNestedManyWithoutServiceInput
  quoteRequests?: Prisma.QuoteRequestUncheckedCreateNestedManyWithoutServiceInput
}

export type ServiceCreateOrConnectWithoutTenantInput = {
  where: Prisma.ServiceWhereUniqueInput
  create: Prisma.XOR<Prisma.ServiceCreateWithoutTenantInput, Prisma.ServiceUncheckedCreateWithoutTenantInput>
}

export type ServiceCreateManyTenantInputEnvelope = {
  data: Prisma.ServiceCreateManyTenantInput | Prisma.ServiceCreateManyTenantInput[]
  skipDuplicates?: boolean
}

export type ServiceUpsertWithWhereUniqueWithoutTenantInput = {
  where: Prisma.ServiceWhereUniqueInput
  update: Prisma.XOR<Prisma.ServiceUpdateWithoutTenantInput, Prisma.ServiceUncheckedUpdateWithoutTenantInput>
  create: Prisma.XOR<Prisma.ServiceCreateWithoutTenantInput, Prisma.ServiceUncheckedCreateWithoutTenantInput>
}

export type ServiceUpdateWithWhereUniqueWithoutTenantInput = {
  where: Prisma.ServiceWhereUniqueInput
  data: Prisma.XOR<Prisma.ServiceUpdateWithoutTenantInput, Prisma.ServiceUncheckedUpdateWithoutTenantInput>
}

export type ServiceUpdateManyWithWhereWithoutTenantInput = {
  where: Prisma.ServiceScalarWhereInput
  data: Prisma.XOR<Prisma.ServiceUpdateManyMutationInput, Prisma.ServiceUncheckedUpdateManyWithoutTenantInput>
}

export type ServiceScalarWhereInput = {
  AND?: Prisma.ServiceScalarWhereInput | Prisma.ServiceScalarWhereInput[]
  OR?: Prisma.ServiceScalarWhereInput[]
  NOT?: Prisma.ServiceScalarWhereInput | Prisma.ServiceScalarWhereInput[]
  id?: Prisma.StringFilter<"Service"> | string
  tenantId?: Prisma.StringFilter<"Service"> | string
  name?: Prisma.StringFilter<"Service"> | string
  slug?: Prisma.StringFilter<"Service"> | string
  shortDescription?: Prisma.StringNullableFilter<"Service"> | string | null
  description?: Prisma.StringNullableFilter<"Service"> | string | null
  categoryId?: Prisma.StringNullableFilter<"Service"> | string | null
  priceCents?: Prisma.IntNullableFilter<"Service"> | number | null
  durationMinutes?: Prisma.IntNullableFilter<"Service"> | number | null
  attendanceMode?: Prisma.StringFilter<"Service"> | string
  quoteEnabled?: Prisma.BoolFilter<"Service"> | boolean
  whatsappEnabled?: Prisma.BoolFilter<"Service"> | boolean
  active?: Prisma.BoolFilter<"Service"> | boolean
  featured?: Prisma.BoolFilter<"Service"> | boolean
  seoTitle?: Prisma.StringNullableFilter<"Service"> | string | null
  metaDescription?: Prisma.StringNullableFilter<"Service"> | string | null
  createdAt?: Prisma.DateTimeFilter<"Service"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"Service"> | Date | string
  deletedAt?: Prisma.DateTimeNullableFilter<"Service"> | Date | string | null
}

export type ServiceCreateWithoutImagesInput = {
  id?: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  tenant: Prisma.TenantCreateNestedOneWithoutServicesInput
  category?: Prisma.ServiceCategoryCreateNestedOneWithoutServicesInput
  quoteRequests?: Prisma.QuoteRequestCreateNestedManyWithoutServiceInput
}

export type ServiceUncheckedCreateWithoutImagesInput = {
  id?: string
  tenantId: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  categoryId?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  quoteRequests?: Prisma.QuoteRequestUncheckedCreateNestedManyWithoutServiceInput
}

export type ServiceCreateOrConnectWithoutImagesInput = {
  where: Prisma.ServiceWhereUniqueInput
  create: Prisma.XOR<Prisma.ServiceCreateWithoutImagesInput, Prisma.ServiceUncheckedCreateWithoutImagesInput>
}

export type ServiceUpsertWithoutImagesInput = {
  update: Prisma.XOR<Prisma.ServiceUpdateWithoutImagesInput, Prisma.ServiceUncheckedUpdateWithoutImagesInput>
  create: Prisma.XOR<Prisma.ServiceCreateWithoutImagesInput, Prisma.ServiceUncheckedCreateWithoutImagesInput>
  where?: Prisma.ServiceWhereInput
}

export type ServiceUpdateToOneWithWhereWithoutImagesInput = {
  where?: Prisma.ServiceWhereInput
  data: Prisma.XOR<Prisma.ServiceUpdateWithoutImagesInput, Prisma.ServiceUncheckedUpdateWithoutImagesInput>
}

export type ServiceUpdateWithoutImagesInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  tenant?: Prisma.TenantUpdateOneRequiredWithoutServicesNestedInput
  category?: Prisma.ServiceCategoryUpdateOneWithoutServicesNestedInput
  quoteRequests?: Prisma.QuoteRequestUpdateManyWithoutServiceNestedInput
}

export type ServiceUncheckedUpdateWithoutImagesInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  quoteRequests?: Prisma.QuoteRequestUncheckedUpdateManyWithoutServiceNestedInput
}

export type ServiceCreateWithoutCategoryInput = {
  id?: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  tenant: Prisma.TenantCreateNestedOneWithoutServicesInput
  images?: Prisma.MediaAssetCreateNestedManyWithoutServiceInput
  quoteRequests?: Prisma.QuoteRequestCreateNestedManyWithoutServiceInput
}

export type ServiceUncheckedCreateWithoutCategoryInput = {
  id?: string
  tenantId: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  images?: Prisma.MediaAssetUncheckedCreateNestedManyWithoutServiceInput
  quoteRequests?: Prisma.QuoteRequestUncheckedCreateNestedManyWithoutServiceInput
}

export type ServiceCreateOrConnectWithoutCategoryInput = {
  where: Prisma.ServiceWhereUniqueInput
  create: Prisma.XOR<Prisma.ServiceCreateWithoutCategoryInput, Prisma.ServiceUncheckedCreateWithoutCategoryInput>
}

export type ServiceCreateManyCategoryInputEnvelope = {
  data: Prisma.ServiceCreateManyCategoryInput | Prisma.ServiceCreateManyCategoryInput[]
  skipDuplicates?: boolean
}

export type ServiceUpsertWithWhereUniqueWithoutCategoryInput = {
  where: Prisma.ServiceWhereUniqueInput
  update: Prisma.XOR<Prisma.ServiceUpdateWithoutCategoryInput, Prisma.ServiceUncheckedUpdateWithoutCategoryInput>
  create: Prisma.XOR<Prisma.ServiceCreateWithoutCategoryInput, Prisma.ServiceUncheckedCreateWithoutCategoryInput>
}

export type ServiceUpdateWithWhereUniqueWithoutCategoryInput = {
  where: Prisma.ServiceWhereUniqueInput
  data: Prisma.XOR<Prisma.ServiceUpdateWithoutCategoryInput, Prisma.ServiceUncheckedUpdateWithoutCategoryInput>
}

export type ServiceUpdateManyWithWhereWithoutCategoryInput = {
  where: Prisma.ServiceScalarWhereInput
  data: Prisma.XOR<Prisma.ServiceUpdateManyMutationInput, Prisma.ServiceUncheckedUpdateManyWithoutCategoryInput>
}

export type ServiceCreateWithoutQuoteRequestsInput = {
  id?: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  tenant: Prisma.TenantCreateNestedOneWithoutServicesInput
  category?: Prisma.ServiceCategoryCreateNestedOneWithoutServicesInput
  images?: Prisma.MediaAssetCreateNestedManyWithoutServiceInput
}

export type ServiceUncheckedCreateWithoutQuoteRequestsInput = {
  id?: string
  tenantId: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  categoryId?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
  images?: Prisma.MediaAssetUncheckedCreateNestedManyWithoutServiceInput
}

export type ServiceCreateOrConnectWithoutQuoteRequestsInput = {
  where: Prisma.ServiceWhereUniqueInput
  create: Prisma.XOR<Prisma.ServiceCreateWithoutQuoteRequestsInput, Prisma.ServiceUncheckedCreateWithoutQuoteRequestsInput>
}

export type ServiceUpsertWithoutQuoteRequestsInput = {
  update: Prisma.XOR<Prisma.ServiceUpdateWithoutQuoteRequestsInput, Prisma.ServiceUncheckedUpdateWithoutQuoteRequestsInput>
  create: Prisma.XOR<Prisma.ServiceCreateWithoutQuoteRequestsInput, Prisma.ServiceUncheckedCreateWithoutQuoteRequestsInput>
  where?: Prisma.ServiceWhereInput
}

export type ServiceUpdateToOneWithWhereWithoutQuoteRequestsInput = {
  where?: Prisma.ServiceWhereInput
  data: Prisma.XOR<Prisma.ServiceUpdateWithoutQuoteRequestsInput, Prisma.ServiceUncheckedUpdateWithoutQuoteRequestsInput>
}

export type ServiceUpdateWithoutQuoteRequestsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  tenant?: Prisma.TenantUpdateOneRequiredWithoutServicesNestedInput
  category?: Prisma.ServiceCategoryUpdateOneWithoutServicesNestedInput
  images?: Prisma.MediaAssetUpdateManyWithoutServiceNestedInput
}

export type ServiceUncheckedUpdateWithoutQuoteRequestsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  images?: Prisma.MediaAssetUncheckedUpdateManyWithoutServiceNestedInput
}

export type ServiceCreateManyTenantInput = {
  id?: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  categoryId?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
}

export type ServiceUpdateWithoutTenantInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  category?: Prisma.ServiceCategoryUpdateOneWithoutServicesNestedInput
  images?: Prisma.MediaAssetUpdateManyWithoutServiceNestedInput
  quoteRequests?: Prisma.QuoteRequestUpdateManyWithoutServiceNestedInput
}

export type ServiceUncheckedUpdateWithoutTenantInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  images?: Prisma.MediaAssetUncheckedUpdateManyWithoutServiceNestedInput
  quoteRequests?: Prisma.QuoteRequestUncheckedUpdateManyWithoutServiceNestedInput
}

export type ServiceUncheckedUpdateManyWithoutTenantInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  categoryId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type ServiceCreateManyCategoryInput = {
  id?: string
  tenantId: string
  name: string
  slug: string
  shortDescription?: string | null
  description?: string | null
  priceCents?: number | null
  durationMinutes?: number | null
  attendanceMode?: string
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: string | null
  metaDescription?: string | null
  createdAt?: Date | string
  updatedAt?: Date | string
  deletedAt?: Date | string | null
}

export type ServiceUpdateWithoutCategoryInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  tenant?: Prisma.TenantUpdateOneRequiredWithoutServicesNestedInput
  images?: Prisma.MediaAssetUpdateManyWithoutServiceNestedInput
  quoteRequests?: Prisma.QuoteRequestUpdateManyWithoutServiceNestedInput
}

export type ServiceUncheckedUpdateWithoutCategoryInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  images?: Prisma.MediaAssetUncheckedUpdateManyWithoutServiceNestedInput
  quoteRequests?: Prisma.QuoteRequestUncheckedUpdateManyWithoutServiceNestedInput
}

export type ServiceUncheckedUpdateManyWithoutCategoryInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  tenantId?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  slug?: Prisma.StringFieldUpdateOperationsInput | string
  shortDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  priceCents?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  durationMinutes?: Prisma.NullableIntFieldUpdateOperationsInput | number | null
  attendanceMode?: Prisma.StringFieldUpdateOperationsInput | string
  quoteEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  whatsappEnabled?: Prisma.BoolFieldUpdateOperationsInput | boolean
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  featured?: Prisma.BoolFieldUpdateOperationsInput | boolean
  seoTitle?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  metaDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}


/**
 * Count Type ServiceCountOutputType
 */

export type ServiceCountOutputType = {
  images: number
  quoteRequests: number
}

export type ServiceCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  images?: boolean | ServiceCountOutputTypeCountImagesArgs
  quoteRequests?: boolean | ServiceCountOutputTypeCountQuoteRequestsArgs
}

/**
 * ServiceCountOutputType without action
 */
export type ServiceCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ServiceCountOutputType
   */
  select?: Prisma.ServiceCountOutputTypeSelect<ExtArgs> | null
}

/**
 * ServiceCountOutputType without action
 */
export type ServiceCountOutputTypeCountImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.MediaAssetWhereInput
}

/**
 * ServiceCountOutputType without action
 */
export type ServiceCountOutputTypeCountQuoteRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.QuoteRequestWhereInput
}


export type ServiceSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  tenantId?: boolean
  name?: boolean
  slug?: boolean
  shortDescription?: boolean
  description?: boolean
  categoryId?: boolean
  priceCents?: boolean
  durationMinutes?: boolean
  attendanceMode?: boolean
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: boolean
  metaDescription?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  deletedAt?: boolean
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
  category?: boolean | Prisma.Service$categoryArgs<ExtArgs>
  images?: boolean | Prisma.Service$imagesArgs<ExtArgs>
  quoteRequests?: boolean | Prisma.Service$quoteRequestsArgs<ExtArgs>
  _count?: boolean | Prisma.ServiceCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["service"]>

export type ServiceSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  tenantId?: boolean
  name?: boolean
  slug?: boolean
  shortDescription?: boolean
  description?: boolean
  categoryId?: boolean
  priceCents?: boolean
  durationMinutes?: boolean
  attendanceMode?: boolean
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: boolean
  metaDescription?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  deletedAt?: boolean
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
  category?: boolean | Prisma.Service$categoryArgs<ExtArgs>
}, ExtArgs["result"]["service"]>

export type ServiceSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  tenantId?: boolean
  name?: boolean
  slug?: boolean
  shortDescription?: boolean
  description?: boolean
  categoryId?: boolean
  priceCents?: boolean
  durationMinutes?: boolean
  attendanceMode?: boolean
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: boolean
  metaDescription?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  deletedAt?: boolean
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
  category?: boolean | Prisma.Service$categoryArgs<ExtArgs>
}, ExtArgs["result"]["service"]>

export type ServiceSelectScalar = {
  id?: boolean
  tenantId?: boolean
  name?: boolean
  slug?: boolean
  shortDescription?: boolean
  description?: boolean
  categoryId?: boolean
  priceCents?: boolean
  durationMinutes?: boolean
  attendanceMode?: boolean
  quoteEnabled?: boolean
  whatsappEnabled?: boolean
  active?: boolean
  featured?: boolean
  seoTitle?: boolean
  metaDescription?: boolean
  createdAt?: boolean
  updatedAt?: boolean
  deletedAt?: boolean
}

export type ServiceOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "tenantId" | "name" | "slug" | "shortDescription" | "description" | "categoryId" | "priceCents" | "durationMinutes" | "attendanceMode" | "quoteEnabled" | "whatsappEnabled" | "active" | "featured" | "seoTitle" | "metaDescription" | "createdAt" | "updatedAt" | "deletedAt", ExtArgs["result"]["service"]>
export type ServiceInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
  category?: boolean | Prisma.Service$categoryArgs<ExtArgs>
  images?: boolean | Prisma.Service$imagesArgs<ExtArgs>
  quoteRequests?: boolean | Prisma.Service$quoteRequestsArgs<ExtArgs>
  _count?: boolean | Prisma.ServiceCountOutputTypeDefaultArgs<ExtArgs>
}
export type ServiceIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
  category?: boolean | Prisma.Service$categoryArgs<ExtArgs>
}
export type ServiceIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  tenant?: boolean | Prisma.TenantDefaultArgs<ExtArgs>
  category?: boolean | Prisma.Service$categoryArgs<ExtArgs>
}

export type $ServicePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "Service"
  objects: {
    tenant: Prisma.$TenantPayload<ExtArgs>
    category: Prisma.$ServiceCategoryPayload<ExtArgs> | null
    images: Prisma.$MediaAssetPayload<ExtArgs>[]
    quoteRequests: Prisma.$QuoteRequestPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    tenantId: string
    name: string
    slug: string
    shortDescription: string | null
    description: string | null
    categoryId: string | null
    priceCents: number | null
    durationMinutes: number | null
    attendanceMode: string
    quoteEnabled: boolean
    whatsappEnabled: boolean
    active: boolean
    featured: boolean
    seoTitle: string | null
    metaDescription: string | null
    createdAt: Date
    updatedAt: Date
    deletedAt: Date | null
  }, ExtArgs["result"]["service"]>
  composites: {}
}

export type ServiceGetPayload<S extends boolean | null | undefined | ServiceDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ServicePayload, S>

export type ServiceCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> =
  Omit<ServiceFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
    select?: ServiceCountAggregateInputType | true
  }

export interface ServiceDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
  [K: symbol]: { types: Prisma.TypeMap<ExtArgs>['model']['Service'], meta: { name: 'Service' } }
  /**
   * Find zero or one Service that matches the filter.
   * @param {ServiceFindUniqueArgs} args - Arguments to find a Service
   * @example
   * // Get one Service
   * const service = await prisma.service.findUnique({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUnique<T extends ServiceFindUniqueArgs>(args: Prisma.SelectSubset<T, ServiceFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find one Service that matches the filter or throw an error with `error.code='P2025'`
   * if no matches were found.
   * @param {ServiceFindUniqueOrThrowArgs} args - Arguments to find a Service
   * @example
   * // Get one Service
   * const service = await prisma.service.findUniqueOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findUniqueOrThrow<T extends ServiceFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ServiceFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Service 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 {ServiceFindFirstArgs} args - Arguments to find a Service
   * @example
   * // Get one Service
   * const service = await prisma.service.findFirst({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirst<T extends ServiceFindFirstArgs>(args?: Prisma.SelectSubset<T, ServiceFindFirstArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>

  /**
   * Find the first Service 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 {ServiceFindFirstOrThrowArgs} args - Arguments to find a Service
   * @example
   * // Get one Service
   * const service = await prisma.service.findFirstOrThrow({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   */
  findFirstOrThrow<T extends ServiceFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ServiceFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Find zero or more Services 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 {ServiceFindManyArgs} args - Arguments to filter and select certain fields only.
   * @example
   * // Get all Services
   * const services = await prisma.service.findMany()
   * 
   * // Get first 10 Services
   * const services = await prisma.service.findMany({ take: 10 })
   * 
   * // Only select the `id`
   * const serviceWithIdOnly = await prisma.service.findMany({ select: { id: true } })
   * 
   */
  findMany<T extends ServiceFindManyArgs>(args?: Prisma.SelectSubset<T, ServiceFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>

  /**
   * Create a Service.
   * @param {ServiceCreateArgs} args - Arguments to create a Service.
   * @example
   * // Create one Service
   * const Service = await prisma.service.create({
   *   data: {
   *     // ... data to create a Service
   *   }
   * })
   * 
   */
  create<T extends ServiceCreateArgs>(args: Prisma.SelectSubset<T, ServiceCreateArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Create many Services.
   * @param {ServiceCreateManyArgs} args - Arguments to create many Services.
   * @example
   * // Create many Services
   * const service = await prisma.service.createMany({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   *     
   */
  createMany<T extends ServiceCreateManyArgs>(args?: Prisma.SelectSubset<T, ServiceCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Create many Services and returns the data saved in the database.
   * @param {ServiceCreateManyAndReturnArgs} args - Arguments to create many Services.
   * @example
   * // Create many Services
   * const service = await prisma.service.createManyAndReturn({
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Create many Services and only return the `id`
   * const serviceWithIdOnly = await prisma.service.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 ServiceCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ServiceCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>

  /**
   * Delete a Service.
   * @param {ServiceDeleteArgs} args - Arguments to delete one Service.
   * @example
   * // Delete one Service
   * const Service = await prisma.service.delete({
   *   where: {
   *     // ... filter to delete one Service
   *   }
   * })
   * 
   */
  delete<T extends ServiceDeleteArgs>(args: Prisma.SelectSubset<T, ServiceDeleteArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Update one Service.
   * @param {ServiceUpdateArgs} args - Arguments to update one Service.
   * @example
   * // Update one Service
   * const service = await prisma.service.update({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  update<T extends ServiceUpdateArgs>(args: Prisma.SelectSubset<T, ServiceUpdateArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>

  /**
   * Delete zero or more Services.
   * @param {ServiceDeleteManyArgs} args - Arguments to filter Services to delete.
   * @example
   * // Delete a few Services
   * const { count } = await prisma.service.deleteMany({
   *   where: {
   *     // ... provide filter here
   *   }
   * })
   * 
   */
  deleteMany<T extends ServiceDeleteManyArgs>(args?: Prisma.SelectSubset<T, ServiceDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Services.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ServiceUpdateManyArgs} args - Arguments to update one or more rows.
   * @example
   * // Update many Services
   * const service = await prisma.service.updateMany({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: {
   *     // ... provide data here
   *   }
   * })
   * 
   */
  updateMany<T extends ServiceUpdateManyArgs>(args: Prisma.SelectSubset<T, ServiceUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>

  /**
   * Update zero or more Services and returns the data updated in the database.
   * @param {ServiceUpdateManyAndReturnArgs} args - Arguments to update many Services.
   * @example
   * // Update many Services
   * const service = await prisma.service.updateManyAndReturn({
   *   where: {
   *     // ... provide filter here
   *   },
   *   data: [
   *     // ... provide data here
   *   ]
   * })
   * 
   * // Update zero or more Services and only return the `id`
   * const serviceWithIdOnly = await prisma.service.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 ServiceUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ServiceUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>

  /**
   * Create or update one Service.
   * @param {ServiceUpsertArgs} args - Arguments to update or create a Service.
   * @example
   * // Update or create a Service
   * const service = await prisma.service.upsert({
   *   create: {
   *     // ... data to create a Service
   *   },
   *   update: {
   *     // ... in case it already exists, update
   *   },
   *   where: {
   *     // ... the filter for the Service we want to update
   *   }
   * })
   */
  upsert<T extends ServiceUpsertArgs>(args: Prisma.SelectSubset<T, ServiceUpsertArgs<ExtArgs>>): Prisma.Prisma__ServiceClient<runtime.Types.Result.GetResult<Prisma.$ServicePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>


  /**
   * Count the number of Services.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ServiceCountArgs} args - Arguments to filter Services to count.
   * @example
   * // Count the number of Services
   * const count = await prisma.service.count({
   *   where: {
   *     // ... the filter for the Services we want to count
   *   }
   * })
  **/
  count<T extends ServiceCountArgs>(
    args?: Prisma.Subset<T, ServiceCountArgs>,
  ): Prisma.PrismaPromise<
    T extends runtime.Types.Utils.Record<'select', any>
      ? T['select'] extends true
        ? number
        : Prisma.GetScalarType<T['select'], ServiceCountAggregateOutputType>
      : number
  >

  /**
   * Allows you to perform aggregations operations on a Service.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ServiceAggregateArgs} 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 ServiceAggregateArgs>(args: Prisma.Subset<T, ServiceAggregateArgs>): Prisma.PrismaPromise<GetServiceAggregateType<T>>

  /**
   * Group by Service.
   * Note, that providing `undefined` is treated as the value not being there.
   * Read more here: https://pris.ly/d/null-undefined
   * @param {ServiceGroupByArgs} 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 ServiceGroupByArgs,
    HasSelectOrTake extends Prisma.Or<
      Prisma.Extends<'skip', Prisma.Keys<T>>,
      Prisma.Extends<'take', Prisma.Keys<T>>
    >,
    OrderByArg extends Prisma.True extends HasSelectOrTake
      ? { orderBy: ServiceGroupByArgs['orderBy'] }
      : { orderBy?: ServiceGroupByArgs['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, ServiceGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetServiceGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>
/**
 * Fields of the Service model
 */
readonly fields: ServiceFieldRefs;
}

/**
 * The delegate class that acts as a "Promise-like" for Service.
 * 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__ServiceClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  tenant<T extends Prisma.TenantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.TenantDefaultArgs<ExtArgs>>): Prisma.Prisma__TenantClient<runtime.Types.Result.GetResult<Prisma.$TenantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  category<T extends Prisma.Service$categoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Service$categoryArgs<ExtArgs>>): Prisma.Prisma__ServiceCategoryClient<runtime.Types.Result.GetResult<Prisma.$ServiceCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>
  images<T extends Prisma.Service$imagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Service$imagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$MediaAssetPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  quoteRequests<T extends Prisma.Service$quoteRequestsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Service$quoteRequestsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$QuoteRequestPayload<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 Service model
 */
export interface ServiceFieldRefs {
  readonly id: Prisma.FieldRef<"Service", 'String'>
  readonly tenantId: Prisma.FieldRef<"Service", 'String'>
  readonly name: Prisma.FieldRef<"Service", 'String'>
  readonly slug: Prisma.FieldRef<"Service", 'String'>
  readonly shortDescription: Prisma.FieldRef<"Service", 'String'>
  readonly description: Prisma.FieldRef<"Service", 'String'>
  readonly categoryId: Prisma.FieldRef<"Service", 'String'>
  readonly priceCents: Prisma.FieldRef<"Service", 'Int'>
  readonly durationMinutes: Prisma.FieldRef<"Service", 'Int'>
  readonly attendanceMode: Prisma.FieldRef<"Service", 'String'>
  readonly quoteEnabled: Prisma.FieldRef<"Service", 'Boolean'>
  readonly whatsappEnabled: Prisma.FieldRef<"Service", 'Boolean'>
  readonly active: Prisma.FieldRef<"Service", 'Boolean'>
  readonly featured: Prisma.FieldRef<"Service", 'Boolean'>
  readonly seoTitle: Prisma.FieldRef<"Service", 'String'>
  readonly metaDescription: Prisma.FieldRef<"Service", 'String'>
  readonly createdAt: Prisma.FieldRef<"Service", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"Service", 'DateTime'>
  readonly deletedAt: Prisma.FieldRef<"Service", 'DateTime'>
}
    

// Custom InputTypes
/**
 * Service findUnique
 */
export type ServiceFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
  /**
   * Filter, which Service to fetch.
   */
  where: Prisma.ServiceWhereUniqueInput
}

/**
 * Service findUniqueOrThrow
 */
export type ServiceFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
  /**
   * Filter, which Service to fetch.
   */
  where: Prisma.ServiceWhereUniqueInput
}

/**
 * Service findFirst
 */
export type ServiceFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
  /**
   * Filter, which Service to fetch.
   */
  where?: Prisma.ServiceWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Services to fetch.
   */
  orderBy?: Prisma.ServiceOrderByWithRelationInput | Prisma.ServiceOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for Services.
   */
  cursor?: Prisma.ServiceWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Services 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` Services.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of Services.
   */
  distinct?: Prisma.ServiceScalarFieldEnum | Prisma.ServiceScalarFieldEnum[]
}

/**
 * Service findFirstOrThrow
 */
export type ServiceFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
  /**
   * Filter, which Service to fetch.
   */
  where?: Prisma.ServiceWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Services to fetch.
   */
  orderBy?: Prisma.ServiceOrderByWithRelationInput | Prisma.ServiceOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for Services.
   */
  cursor?: Prisma.ServiceWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Services 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` Services.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of Services.
   */
  distinct?: Prisma.ServiceScalarFieldEnum | Prisma.ServiceScalarFieldEnum[]
}

/**
 * Service findMany
 */
export type ServiceFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
  /**
   * Filter, which Services to fetch.
   */
  where?: Prisma.ServiceWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of Services to fetch.
   */
  orderBy?: Prisma.ServiceOrderByWithRelationInput | Prisma.ServiceOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing Services.
   */
  cursor?: Prisma.ServiceWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` Services 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` Services.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of Services.
   */
  distinct?: Prisma.ServiceScalarFieldEnum | Prisma.ServiceScalarFieldEnum[]
}

/**
 * Service create
 */
export type ServiceCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
  /**
   * The data needed to create a Service.
   */
  data: Prisma.XOR<Prisma.ServiceCreateInput, Prisma.ServiceUncheckedCreateInput>
}

/**
 * Service createMany
 */
export type ServiceCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many Services.
   */
  data: Prisma.ServiceCreateManyInput | Prisma.ServiceCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * Service createManyAndReturn
 */
export type ServiceCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * The data used to create many Services.
   */
  data: Prisma.ServiceCreateManyInput | Prisma.ServiceCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * Service update
 */
export type ServiceUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
  /**
   * The data needed to update a Service.
   */
  data: Prisma.XOR<Prisma.ServiceUpdateInput, Prisma.ServiceUncheckedUpdateInput>
  /**
   * Choose, which Service to update.
   */
  where: Prisma.ServiceWhereUniqueInput
}

/**
 * Service updateMany
 */
export type ServiceUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update Services.
   */
  data: Prisma.XOR<Prisma.ServiceUpdateManyMutationInput, Prisma.ServiceUncheckedUpdateManyInput>
  /**
   * Filter which Services to update
   */
  where?: Prisma.ServiceWhereInput
  /**
   * Limit how many Services to update.
   */
  limit?: number
}

/**
 * Service updateManyAndReturn
 */
export type ServiceUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * The data used to update Services.
   */
  data: Prisma.XOR<Prisma.ServiceUpdateManyMutationInput, Prisma.ServiceUncheckedUpdateManyInput>
  /**
   * Filter which Services to update
   */
  where?: Prisma.ServiceWhereInput
  /**
   * Limit how many Services to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * Service upsert
 */
export type ServiceUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
  /**
   * The filter to search for the Service to update in case it exists.
   */
  where: Prisma.ServiceWhereUniqueInput
  /**
   * In case the Service found by the `where` argument doesn't exist, create a new Service with this data.
   */
  create: Prisma.XOR<Prisma.ServiceCreateInput, Prisma.ServiceUncheckedCreateInput>
  /**
   * In case the Service was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.ServiceUpdateInput, Prisma.ServiceUncheckedUpdateInput>
}

/**
 * Service delete
 */
export type ServiceDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
  /**
   * Filter which Service to delete.
   */
  where: Prisma.ServiceWhereUniqueInput
}

/**
 * Service deleteMany
 */
export type ServiceDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which Services to delete
   */
  where?: Prisma.ServiceWhereInput
  /**
   * Limit how many Services to delete.
   */
  limit?: number
}

/**
 * Service.category
 */
export type Service$categoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the ServiceCategory
   */
  select?: Prisma.ServiceCategorySelect<ExtArgs> | null
  /**
   * Omit specific fields from the ServiceCategory
   */
  omit?: Prisma.ServiceCategoryOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceCategoryInclude<ExtArgs> | null
  where?: Prisma.ServiceCategoryWhereInput
}

/**
 * Service.images
 */
export type Service$imagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the MediaAsset
   */
  select?: Prisma.MediaAssetSelect<ExtArgs> | null
  /**
   * Omit specific fields from the MediaAsset
   */
  omit?: Prisma.MediaAssetOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.MediaAssetInclude<ExtArgs> | null
  where?: Prisma.MediaAssetWhereInput
  orderBy?: Prisma.MediaAssetOrderByWithRelationInput | Prisma.MediaAssetOrderByWithRelationInput[]
  cursor?: Prisma.MediaAssetWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.MediaAssetScalarFieldEnum | Prisma.MediaAssetScalarFieldEnum[]
}

/**
 * Service.quoteRequests
 */
export type Service$quoteRequestsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the QuoteRequest
   */
  select?: Prisma.QuoteRequestSelect<ExtArgs> | null
  /**
   * Omit specific fields from the QuoteRequest
   */
  omit?: Prisma.QuoteRequestOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.QuoteRequestInclude<ExtArgs> | null
  where?: Prisma.QuoteRequestWhereInput
  orderBy?: Prisma.QuoteRequestOrderByWithRelationInput | Prisma.QuoteRequestOrderByWithRelationInput[]
  cursor?: Prisma.QuoteRequestWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.QuoteRequestScalarFieldEnum | Prisma.QuoteRequestScalarFieldEnum[]
}

/**
 * Service without action
 */
export type ServiceDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the Service
   */
  select?: Prisma.ServiceSelect<ExtArgs> | null
  /**
   * Omit specific fields from the Service
   */
  omit?: Prisma.ServiceOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.ServiceInclude<ExtArgs> | null
}
