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

export type AggregateAddonModule = {
  _count: AddonModuleCountAggregateOutputType | null
  _avg: AddonModuleAvgAggregateOutputType | null
  _sum: AddonModuleSumAggregateOutputType | null
  _min: AddonModuleMinAggregateOutputType | null
  _max: AddonModuleMaxAggregateOutputType | null
}

export type AddonModuleAvgAggregateOutputType = {
  priceCents: number | null
}

export type AddonModuleSumAggregateOutputType = {
  priceCents: number | null
}

export type AddonModuleMinAggregateOutputType = {
  id: string | null
  code: string | null
  name: string | null
  description: string | null
  priceCents: number | null
  active: boolean | null
  future: boolean | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type AddonModuleMaxAggregateOutputType = {
  id: string | null
  code: string | null
  name: string | null
  description: string | null
  priceCents: number | null
  active: boolean | null
  future: boolean | null
  createdAt: Date | null
  updatedAt: Date | null
}

export type AddonModuleCountAggregateOutputType = {
  id: number
  code: number
  name: number
  description: number
  priceCents: number
  active: number
  future: number
  createdAt: number
  updatedAt: number
  _all: number
}


export type AddonModuleAvgAggregateInputType = {
  priceCents?: true
}

export type AddonModuleSumAggregateInputType = {
  priceCents?: true
}

export type AddonModuleMinAggregateInputType = {
  id?: true
  code?: true
  name?: true
  description?: true
  priceCents?: true
  active?: true
  future?: true
  createdAt?: true
  updatedAt?: true
}

export type AddonModuleMaxAggregateInputType = {
  id?: true
  code?: true
  name?: true
  description?: true
  priceCents?: true
  active?: true
  future?: true
  createdAt?: true
  updatedAt?: true
}

export type AddonModuleCountAggregateInputType = {
  id?: true
  code?: true
  name?: true
  description?: true
  priceCents?: true
  active?: true
  future?: true
  createdAt?: true
  updatedAt?: true
  _all?: true
}

export type AddonModuleAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which AddonModule to aggregate.
   */
  where?: Prisma.AddonModuleWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AddonModules to fetch.
   */
  orderBy?: Prisma.AddonModuleOrderByWithRelationInput | Prisma.AddonModuleOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.AddonModuleWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AddonModules 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` AddonModules.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned AddonModules
  **/
  _count?: true | AddonModuleCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to average
  **/
  _avg?: AddonModuleAvgAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to sum
  **/
  _sum?: AddonModuleSumAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: AddonModuleMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: AddonModuleMaxAggregateInputType
}

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




export type AddonModuleGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.AddonModuleWhereInput
  orderBy?: Prisma.AddonModuleOrderByWithAggregationInput | Prisma.AddonModuleOrderByWithAggregationInput[]
  by: Prisma.AddonModuleScalarFieldEnum[] | Prisma.AddonModuleScalarFieldEnum
  having?: Prisma.AddonModuleScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: AddonModuleCountAggregateInputType | true
  _avg?: AddonModuleAvgAggregateInputType
  _sum?: AddonModuleSumAggregateInputType
  _min?: AddonModuleMinAggregateInputType
  _max?: AddonModuleMaxAggregateInputType
}

export type AddonModuleGroupByOutputType = {
  id: string
  code: string
  name: string
  description: string
  priceCents: number
  active: boolean
  future: boolean
  createdAt: Date
  updatedAt: Date
  _count: AddonModuleCountAggregateOutputType | null
  _avg: AddonModuleAvgAggregateOutputType | null
  _sum: AddonModuleSumAggregateOutputType | null
  _min: AddonModuleMinAggregateOutputType | null
  _max: AddonModuleMaxAggregateOutputType | null
}

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



export type AddonModuleWhereInput = {
  AND?: Prisma.AddonModuleWhereInput | Prisma.AddonModuleWhereInput[]
  OR?: Prisma.AddonModuleWhereInput[]
  NOT?: Prisma.AddonModuleWhereInput | Prisma.AddonModuleWhereInput[]
  id?: Prisma.StringFilter<"AddonModule"> | string
  code?: Prisma.StringFilter<"AddonModule"> | string
  name?: Prisma.StringFilter<"AddonModule"> | string
  description?: Prisma.StringFilter<"AddonModule"> | string
  priceCents?: Prisma.IntFilter<"AddonModule"> | number
  active?: Prisma.BoolFilter<"AddonModule"> | boolean
  future?: Prisma.BoolFilter<"AddonModule"> | boolean
  createdAt?: Prisma.DateTimeFilter<"AddonModule"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"AddonModule"> | Date | string
}

export type AddonModuleOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  priceCents?: Prisma.SortOrder
  active?: Prisma.SortOrder
  future?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type AddonModuleWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  code?: string
  AND?: Prisma.AddonModuleWhereInput | Prisma.AddonModuleWhereInput[]
  OR?: Prisma.AddonModuleWhereInput[]
  NOT?: Prisma.AddonModuleWhereInput | Prisma.AddonModuleWhereInput[]
  name?: Prisma.StringFilter<"AddonModule"> | string
  description?: Prisma.StringFilter<"AddonModule"> | string
  priceCents?: Prisma.IntFilter<"AddonModule"> | number
  active?: Prisma.BoolFilter<"AddonModule"> | boolean
  future?: Prisma.BoolFilter<"AddonModule"> | boolean
  createdAt?: Prisma.DateTimeFilter<"AddonModule"> | Date | string
  updatedAt?: Prisma.DateTimeFilter<"AddonModule"> | Date | string
}, "id" | "code">

export type AddonModuleOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  priceCents?: Prisma.SortOrder
  active?: Prisma.SortOrder
  future?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
  _count?: Prisma.AddonModuleCountOrderByAggregateInput
  _avg?: Prisma.AddonModuleAvgOrderByAggregateInput
  _max?: Prisma.AddonModuleMaxOrderByAggregateInput
  _min?: Prisma.AddonModuleMinOrderByAggregateInput
  _sum?: Prisma.AddonModuleSumOrderByAggregateInput
}

export type AddonModuleScalarWhereWithAggregatesInput = {
  AND?: Prisma.AddonModuleScalarWhereWithAggregatesInput | Prisma.AddonModuleScalarWhereWithAggregatesInput[]
  OR?: Prisma.AddonModuleScalarWhereWithAggregatesInput[]
  NOT?: Prisma.AddonModuleScalarWhereWithAggregatesInput | Prisma.AddonModuleScalarWhereWithAggregatesInput[]
  id?: Prisma.StringWithAggregatesFilter<"AddonModule"> | string
  code?: Prisma.StringWithAggregatesFilter<"AddonModule"> | string
  name?: Prisma.StringWithAggregatesFilter<"AddonModule"> | string
  description?: Prisma.StringWithAggregatesFilter<"AddonModule"> | string
  priceCents?: Prisma.IntWithAggregatesFilter<"AddonModule"> | number
  active?: Prisma.BoolWithAggregatesFilter<"AddonModule"> | boolean
  future?: Prisma.BoolWithAggregatesFilter<"AddonModule"> | boolean
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"AddonModule"> | Date | string
  updatedAt?: Prisma.DateTimeWithAggregatesFilter<"AddonModule"> | Date | string
}

export type AddonModuleCreateInput = {
  id?: string
  code: string
  name: string
  description: string
  priceCents: number
  active?: boolean
  future?: boolean
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type AddonModuleUncheckedCreateInput = {
  id?: string
  code: string
  name: string
  description: string
  priceCents: number
  active?: boolean
  future?: boolean
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type AddonModuleUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  priceCents?: Prisma.IntFieldUpdateOperationsInput | number
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  future?: Prisma.BoolFieldUpdateOperationsInput | boolean
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type AddonModuleUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  priceCents?: Prisma.IntFieldUpdateOperationsInput | number
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  future?: Prisma.BoolFieldUpdateOperationsInput | boolean
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type AddonModuleCreateManyInput = {
  id?: string
  code: string
  name: string
  description: string
  priceCents: number
  active?: boolean
  future?: boolean
  createdAt?: Date | string
  updatedAt?: Date | string
}

export type AddonModuleUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  priceCents?: Prisma.IntFieldUpdateOperationsInput | number
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  future?: Prisma.BoolFieldUpdateOperationsInput | boolean
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type AddonModuleUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.StringFieldUpdateOperationsInput | string
  priceCents?: Prisma.IntFieldUpdateOperationsInput | number
  active?: Prisma.BoolFieldUpdateOperationsInput | boolean
  future?: Prisma.BoolFieldUpdateOperationsInput | boolean
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type AddonModuleCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  priceCents?: Prisma.SortOrder
  active?: Prisma.SortOrder
  future?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type AddonModuleAvgOrderByAggregateInput = {
  priceCents?: Prisma.SortOrder
}

export type AddonModuleMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  priceCents?: Prisma.SortOrder
  active?: Prisma.SortOrder
  future?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type AddonModuleMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  description?: Prisma.SortOrder
  priceCents?: Prisma.SortOrder
  active?: Prisma.SortOrder
  future?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  updatedAt?: Prisma.SortOrder
}

export type AddonModuleSumOrderByAggregateInput = {
  priceCents?: Prisma.SortOrder
}



export type AddonModuleSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  code?: boolean
  name?: boolean
  description?: boolean
  priceCents?: boolean
  active?: boolean
  future?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["addonModule"]>

export type AddonModuleSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  code?: boolean
  name?: boolean
  description?: boolean
  priceCents?: boolean
  active?: boolean
  future?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["addonModule"]>

export type AddonModuleSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  code?: boolean
  name?: boolean
  description?: boolean
  priceCents?: boolean
  active?: boolean
  future?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}, ExtArgs["result"]["addonModule"]>

export type AddonModuleSelectScalar = {
  id?: boolean
  code?: boolean
  name?: boolean
  description?: boolean
  priceCents?: boolean
  active?: boolean
  future?: boolean
  createdAt?: boolean
  updatedAt?: boolean
}

export type AddonModuleOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "code" | "name" | "description" | "priceCents" | "active" | "future" | "createdAt" | "updatedAt", ExtArgs["result"]["addonModule"]>

export type $AddonModulePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "AddonModule"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    code: string
    name: string
    description: string
    priceCents: number
    active: boolean
    future: boolean
    createdAt: Date
    updatedAt: Date
  }, ExtArgs["result"]["addonModule"]>
  composites: {}
}

export type AddonModuleGetPayload<S extends boolean | null | undefined | AddonModuleDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$AddonModulePayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for AddonModule.
 * 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__AddonModuleClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  /**
   * 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 AddonModule model
 */
export interface AddonModuleFieldRefs {
  readonly id: Prisma.FieldRef<"AddonModule", 'String'>
  readonly code: Prisma.FieldRef<"AddonModule", 'String'>
  readonly name: Prisma.FieldRef<"AddonModule", 'String'>
  readonly description: Prisma.FieldRef<"AddonModule", 'String'>
  readonly priceCents: Prisma.FieldRef<"AddonModule", 'Int'>
  readonly active: Prisma.FieldRef<"AddonModule", 'Boolean'>
  readonly future: Prisma.FieldRef<"AddonModule", 'Boolean'>
  readonly createdAt: Prisma.FieldRef<"AddonModule", 'DateTime'>
  readonly updatedAt: Prisma.FieldRef<"AddonModule", 'DateTime'>
}
    

// Custom InputTypes
/**
 * AddonModule findUnique
 */
export type AddonModuleFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * Filter, which AddonModule to fetch.
   */
  where: Prisma.AddonModuleWhereUniqueInput
}

/**
 * AddonModule findUniqueOrThrow
 */
export type AddonModuleFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * Filter, which AddonModule to fetch.
   */
  where: Prisma.AddonModuleWhereUniqueInput
}

/**
 * AddonModule findFirst
 */
export type AddonModuleFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * Filter, which AddonModule to fetch.
   */
  where?: Prisma.AddonModuleWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AddonModules to fetch.
   */
  orderBy?: Prisma.AddonModuleOrderByWithRelationInput | Prisma.AddonModuleOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for AddonModules.
   */
  cursor?: Prisma.AddonModuleWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AddonModules 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` AddonModules.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of AddonModules.
   */
  distinct?: Prisma.AddonModuleScalarFieldEnum | Prisma.AddonModuleScalarFieldEnum[]
}

/**
 * AddonModule findFirstOrThrow
 */
export type AddonModuleFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * Filter, which AddonModule to fetch.
   */
  where?: Prisma.AddonModuleWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AddonModules to fetch.
   */
  orderBy?: Prisma.AddonModuleOrderByWithRelationInput | Prisma.AddonModuleOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for searching for AddonModules.
   */
  cursor?: Prisma.AddonModuleWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AddonModules 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` AddonModules.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of AddonModules.
   */
  distinct?: Prisma.AddonModuleScalarFieldEnum | Prisma.AddonModuleScalarFieldEnum[]
}

/**
 * AddonModule findMany
 */
export type AddonModuleFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * Filter, which AddonModules to fetch.
   */
  where?: Prisma.AddonModuleWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of AddonModules to fetch.
   */
  orderBy?: Prisma.AddonModuleOrderByWithRelationInput | Prisma.AddonModuleOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing AddonModules.
   */
  cursor?: Prisma.AddonModuleWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` AddonModules 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` AddonModules.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
   * 
   * Filter by unique combinations of AddonModules.
   */
  distinct?: Prisma.AddonModuleScalarFieldEnum | Prisma.AddonModuleScalarFieldEnum[]
}

/**
 * AddonModule create
 */
export type AddonModuleCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * The data needed to create a AddonModule.
   */
  data: Prisma.XOR<Prisma.AddonModuleCreateInput, Prisma.AddonModuleUncheckedCreateInput>
}

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

/**
 * AddonModule createManyAndReturn
 */
export type AddonModuleCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * The data used to create many AddonModules.
   */
  data: Prisma.AddonModuleCreateManyInput | Prisma.AddonModuleCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * AddonModule update
 */
export type AddonModuleUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * The data needed to update a AddonModule.
   */
  data: Prisma.XOR<Prisma.AddonModuleUpdateInput, Prisma.AddonModuleUncheckedUpdateInput>
  /**
   * Choose, which AddonModule to update.
   */
  where: Prisma.AddonModuleWhereUniqueInput
}

/**
 * AddonModule updateMany
 */
export type AddonModuleUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update AddonModules.
   */
  data: Prisma.XOR<Prisma.AddonModuleUpdateManyMutationInput, Prisma.AddonModuleUncheckedUpdateManyInput>
  /**
   * Filter which AddonModules to update
   */
  where?: Prisma.AddonModuleWhereInput
  /**
   * Limit how many AddonModules to update.
   */
  limit?: number
}

/**
 * AddonModule updateManyAndReturn
 */
export type AddonModuleUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * The data used to update AddonModules.
   */
  data: Prisma.XOR<Prisma.AddonModuleUpdateManyMutationInput, Prisma.AddonModuleUncheckedUpdateManyInput>
  /**
   * Filter which AddonModules to update
   */
  where?: Prisma.AddonModuleWhereInput
  /**
   * Limit how many AddonModules to update.
   */
  limit?: number
}

/**
 * AddonModule upsert
 */
export type AddonModuleUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * The filter to search for the AddonModule to update in case it exists.
   */
  where: Prisma.AddonModuleWhereUniqueInput
  /**
   * In case the AddonModule found by the `where` argument doesn't exist, create a new AddonModule with this data.
   */
  create: Prisma.XOR<Prisma.AddonModuleCreateInput, Prisma.AddonModuleUncheckedCreateInput>
  /**
   * In case the AddonModule was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.AddonModuleUpdateInput, Prisma.AddonModuleUncheckedUpdateInput>
}

/**
 * AddonModule delete
 */
export type AddonModuleDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
  /**
   * Filter which AddonModule to delete.
   */
  where: Prisma.AddonModuleWhereUniqueInput
}

/**
 * AddonModule deleteMany
 */
export type AddonModuleDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which AddonModules to delete
   */
  where?: Prisma.AddonModuleWhereInput
  /**
   * Limit how many AddonModules to delete.
   */
  limit?: number
}

/**
 * AddonModule without action
 */
export type AddonModuleDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the AddonModule
   */
  select?: Prisma.AddonModuleSelect<ExtArgs> | null
  /**
   * Omit specific fields from the AddonModule
   */
  omit?: Prisma.AddonModuleOmit<ExtArgs> | null
}
