
/* !!! This is code generated by Prisma. Do not edit directly. !!! */
/* eslint-disable */
// biome-ignore-all lint: generated file
// @ts-nocheck 
/*
 * This file exports the `global_models` 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.js"
import type * as Prisma from "../internal/prismaNamespace.js"

/**
 * Model global_models
 * 
 */
export type global_modelsModel = runtime.Types.Result.DefaultSelection<Prisma.$global_modelsPayload>

export type AggregateGlobal_models = {
  _count: Global_modelsCountAggregateOutputType | null
  _min: Global_modelsMinAggregateOutputType | null
  _max: Global_modelsMaxAggregateOutputType | null
}

export type Global_modelsMinAggregateOutputType = {
  app_id: string | null
  model_id: string | null
  variant: string | null
  created_at: Date | null
  updated_at: Date | null
}

export type Global_modelsMaxAggregateOutputType = {
  app_id: string | null
  model_id: string | null
  variant: string | null
  created_at: Date | null
  updated_at: Date | null
}

export type Global_modelsCountAggregateOutputType = {
  app_id: number
  model_id: number
  variant: number
  created_at: number
  updated_at: number
  _all: number
}


export type Global_modelsMinAggregateInputType = {
  app_id?: true
  model_id?: true
  variant?: true
  created_at?: true
  updated_at?: true
}

export type Global_modelsMaxAggregateInputType = {
  app_id?: true
  model_id?: true
  variant?: true
  created_at?: true
  updated_at?: true
}

export type Global_modelsCountAggregateInputType = {
  app_id?: true
  model_id?: true
  variant?: true
  created_at?: true
  updated_at?: true
  _all?: true
}

export type Global_modelsAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Filter which global_models to aggregate.
   */
  where?: Prisma.global_modelsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of global_models to fetch.
   */
  orderBy?: Prisma.global_modelsOrderByWithRelationInput | Prisma.global_modelsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the start position
   */
  cursor?: Prisma.global_modelsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` global_models 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` global_models.
   */
  skip?: number
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Count returned global_models
  **/
  _count?: true | Global_modelsCountAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the minimum value
  **/
  _min?: Global_modelsMinAggregateInputType
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
   * 
   * Select which fields to find the maximum value
  **/
  _max?: Global_modelsMaxAggregateInputType
}

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




export type global_modelsGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.global_modelsWhereInput
  orderBy?: Prisma.global_modelsOrderByWithAggregationInput | Prisma.global_modelsOrderByWithAggregationInput[]
  by: Prisma.Global_modelsScalarFieldEnum[] | Prisma.Global_modelsScalarFieldEnum
  having?: Prisma.global_modelsScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: Global_modelsCountAggregateInputType | true
  _min?: Global_modelsMinAggregateInputType
  _max?: Global_modelsMaxAggregateInputType
}

export type Global_modelsGroupByOutputType = {
  app_id: string
  model_id: string
  variant: string | null
  created_at: Date | null
  updated_at: Date | null
  _count: Global_modelsCountAggregateOutputType | null
  _min: Global_modelsMinAggregateOutputType | null
  _max: Global_modelsMaxAggregateOutputType | null
}

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



export type global_modelsWhereInput = {
  AND?: Prisma.global_modelsWhereInput | Prisma.global_modelsWhereInput[]
  OR?: Prisma.global_modelsWhereInput[]
  NOT?: Prisma.global_modelsWhereInput | Prisma.global_modelsWhereInput[]
  app_id?: Prisma.StringFilter<"global_models"> | string
  model_id?: Prisma.StringFilter<"global_models"> | string
  variant?: Prisma.StringNullableFilter<"global_models"> | string | null
  created_at?: Prisma.DateTimeNullableFilter<"global_models"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"global_models"> | Date | string | null
  bot?: Prisma.XOR<Prisma.Bot_tokensScalarRelationFilter, Prisma.bot_tokensWhereInput>
}

export type global_modelsOrderByWithRelationInput = {
  app_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  bot?: Prisma.bot_tokensOrderByWithRelationInput
}

export type global_modelsWhereUniqueInput = Prisma.AtLeast<{
  app_id?: string
  AND?: Prisma.global_modelsWhereInput | Prisma.global_modelsWhereInput[]
  OR?: Prisma.global_modelsWhereInput[]
  NOT?: Prisma.global_modelsWhereInput | Prisma.global_modelsWhereInput[]
  model_id?: Prisma.StringFilter<"global_models"> | string
  variant?: Prisma.StringNullableFilter<"global_models"> | string | null
  created_at?: Prisma.DateTimeNullableFilter<"global_models"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableFilter<"global_models"> | Date | string | null
  bot?: Prisma.XOR<Prisma.Bot_tokensScalarRelationFilter, Prisma.bot_tokensWhereInput>
}, "app_id">

export type global_modelsOrderByWithAggregationInput = {
  app_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.global_modelsCountOrderByAggregateInput
  _max?: Prisma.global_modelsMaxOrderByAggregateInput
  _min?: Prisma.global_modelsMinOrderByAggregateInput
}

export type global_modelsScalarWhereWithAggregatesInput = {
  AND?: Prisma.global_modelsScalarWhereWithAggregatesInput | Prisma.global_modelsScalarWhereWithAggregatesInput[]
  OR?: Prisma.global_modelsScalarWhereWithAggregatesInput[]
  NOT?: Prisma.global_modelsScalarWhereWithAggregatesInput | Prisma.global_modelsScalarWhereWithAggregatesInput[]
  app_id?: Prisma.StringWithAggregatesFilter<"global_models"> | string
  model_id?: Prisma.StringWithAggregatesFilter<"global_models"> | string
  variant?: Prisma.StringNullableWithAggregatesFilter<"global_models"> | string | null
  created_at?: Prisma.DateTimeNullableWithAggregatesFilter<"global_models"> | Date | string | null
  updated_at?: Prisma.DateTimeNullableWithAggregatesFilter<"global_models"> | Date | string | null
}

export type global_modelsCreateInput = {
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
  bot: Prisma.bot_tokensCreateNestedOneWithoutGlobal_modelInput
}

export type global_modelsUncheckedCreateInput = {
  app_id: string
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type global_modelsUpdateInput = {
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  bot?: Prisma.bot_tokensUpdateOneRequiredWithoutGlobal_modelNestedInput
}

export type global_modelsUncheckedUpdateInput = {
  app_id?: Prisma.StringFieldUpdateOperationsInput | string
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type global_modelsCreateManyInput = {
  app_id: string
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type global_modelsUpdateManyMutationInput = {
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type global_modelsUncheckedUpdateManyInput = {
  app_id?: Prisma.StringFieldUpdateOperationsInput | string
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type Global_modelsNullableScalarRelationFilter = {
  is?: Prisma.global_modelsWhereInput | null
  isNot?: Prisma.global_modelsWhereInput | null
}

export type global_modelsCountOrderByAggregateInput = {
  app_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type global_modelsMaxOrderByAggregateInput = {
  app_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type global_modelsMinOrderByAggregateInput = {
  app_id?: Prisma.SortOrder
  model_id?: Prisma.SortOrder
  variant?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type global_modelsCreateNestedOneWithoutBotInput = {
  create?: Prisma.XOR<Prisma.global_modelsCreateWithoutBotInput, Prisma.global_modelsUncheckedCreateWithoutBotInput>
  connectOrCreate?: Prisma.global_modelsCreateOrConnectWithoutBotInput
  connect?: Prisma.global_modelsWhereUniqueInput
}

export type global_modelsUncheckedCreateNestedOneWithoutBotInput = {
  create?: Prisma.XOR<Prisma.global_modelsCreateWithoutBotInput, Prisma.global_modelsUncheckedCreateWithoutBotInput>
  connectOrCreate?: Prisma.global_modelsCreateOrConnectWithoutBotInput
  connect?: Prisma.global_modelsWhereUniqueInput
}

export type global_modelsUpdateOneWithoutBotNestedInput = {
  create?: Prisma.XOR<Prisma.global_modelsCreateWithoutBotInput, Prisma.global_modelsUncheckedCreateWithoutBotInput>
  connectOrCreate?: Prisma.global_modelsCreateOrConnectWithoutBotInput
  upsert?: Prisma.global_modelsUpsertWithoutBotInput
  disconnect?: Prisma.global_modelsWhereInput | boolean
  delete?: Prisma.global_modelsWhereInput | boolean
  connect?: Prisma.global_modelsWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.global_modelsUpdateToOneWithWhereWithoutBotInput, Prisma.global_modelsUpdateWithoutBotInput>, Prisma.global_modelsUncheckedUpdateWithoutBotInput>
}

export type global_modelsUncheckedUpdateOneWithoutBotNestedInput = {
  create?: Prisma.XOR<Prisma.global_modelsCreateWithoutBotInput, Prisma.global_modelsUncheckedCreateWithoutBotInput>
  connectOrCreate?: Prisma.global_modelsCreateOrConnectWithoutBotInput
  upsert?: Prisma.global_modelsUpsertWithoutBotInput
  disconnect?: Prisma.global_modelsWhereInput | boolean
  delete?: Prisma.global_modelsWhereInput | boolean
  connect?: Prisma.global_modelsWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.global_modelsUpdateToOneWithWhereWithoutBotInput, Prisma.global_modelsUpdateWithoutBotInput>, Prisma.global_modelsUncheckedUpdateWithoutBotInput>
}

export type global_modelsCreateWithoutBotInput = {
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type global_modelsUncheckedCreateWithoutBotInput = {
  model_id: string
  variant?: string | null
  created_at?: Date | string | null
  updated_at?: Date | string | null
}

export type global_modelsCreateOrConnectWithoutBotInput = {
  where: Prisma.global_modelsWhereUniqueInput
  create: Prisma.XOR<Prisma.global_modelsCreateWithoutBotInput, Prisma.global_modelsUncheckedCreateWithoutBotInput>
}

export type global_modelsUpsertWithoutBotInput = {
  update: Prisma.XOR<Prisma.global_modelsUpdateWithoutBotInput, Prisma.global_modelsUncheckedUpdateWithoutBotInput>
  create: Prisma.XOR<Prisma.global_modelsCreateWithoutBotInput, Prisma.global_modelsUncheckedCreateWithoutBotInput>
  where?: Prisma.global_modelsWhereInput
}

export type global_modelsUpdateToOneWithWhereWithoutBotInput = {
  where?: Prisma.global_modelsWhereInput
  data: Prisma.XOR<Prisma.global_modelsUpdateWithoutBotInput, Prisma.global_modelsUncheckedUpdateWithoutBotInput>
}

export type global_modelsUpdateWithoutBotInput = {
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}

export type global_modelsUncheckedUpdateWithoutBotInput = {
  model_id?: Prisma.StringFieldUpdateOperationsInput | string
  variant?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
  updated_at?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null
}



export type global_modelsSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  app_id?: boolean
  model_id?: boolean
  variant?: boolean
  created_at?: boolean
  updated_at?: boolean
  bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
}, ExtArgs["result"]["global_models"]>

export type global_modelsSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  app_id?: boolean
  model_id?: boolean
  variant?: boolean
  created_at?: boolean
  updated_at?: boolean
  bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
}, ExtArgs["result"]["global_models"]>

export type global_modelsSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  app_id?: boolean
  model_id?: boolean
  variant?: boolean
  created_at?: boolean
  updated_at?: boolean
  bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
}, ExtArgs["result"]["global_models"]>

export type global_modelsSelectScalar = {
  app_id?: boolean
  model_id?: boolean
  variant?: boolean
  created_at?: boolean
  updated_at?: boolean
}

export type global_modelsOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"app_id" | "model_id" | "variant" | "created_at" | "updated_at", ExtArgs["result"]["global_models"]>
export type global_modelsInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
}
export type global_modelsIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
}
export type global_modelsIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  bot?: boolean | Prisma.bot_tokensDefaultArgs<ExtArgs>
}

export type $global_modelsPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "global_models"
  objects: {
    bot: Prisma.$bot_tokensPayload<ExtArgs>
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    app_id: string
    model_id: string
    variant: string | null
    created_at: Date | null
    updated_at: Date | null
  }, ExtArgs["result"]["global_models"]>
  composites: {}
}

export type global_modelsGetPayload<S extends boolean | null | undefined | global_modelsDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$global_modelsPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for global_models.
 * 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__global_modelsClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  bot<T extends Prisma.bot_tokensDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.bot_tokensDefaultArgs<ExtArgs>>): Prisma.Prisma__bot_tokensClient<runtime.Types.Result.GetResult<Prisma.$bot_tokensPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<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 global_models model
 */
export interface global_modelsFieldRefs {
  readonly app_id: Prisma.FieldRef<"global_models", 'String'>
  readonly model_id: Prisma.FieldRef<"global_models", 'String'>
  readonly variant: Prisma.FieldRef<"global_models", 'String'>
  readonly created_at: Prisma.FieldRef<"global_models", 'DateTime'>
  readonly updated_at: Prisma.FieldRef<"global_models", 'DateTime'>
}
    

// Custom InputTypes
/**
 * global_models findUnique
 */
export type global_modelsFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the global_models
   */
  select?: Prisma.global_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the global_models
   */
  omit?: Prisma.global_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.global_modelsInclude<ExtArgs> | null
  /**
   * Filter, which global_models to fetch.
   */
  where: Prisma.global_modelsWhereUniqueInput
}

/**
 * global_models findUniqueOrThrow
 */
export type global_modelsFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the global_models
   */
  select?: Prisma.global_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the global_models
   */
  omit?: Prisma.global_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.global_modelsInclude<ExtArgs> | null
  /**
   * Filter, which global_models to fetch.
   */
  where: Prisma.global_modelsWhereUniqueInput
}

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

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

/**
 * global_models findMany
 */
export type global_modelsFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the global_models
   */
  select?: Prisma.global_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the global_models
   */
  omit?: Prisma.global_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.global_modelsInclude<ExtArgs> | null
  /**
   * Filter, which global_models to fetch.
   */
  where?: Prisma.global_modelsWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of global_models to fetch.
   */
  orderBy?: Prisma.global_modelsOrderByWithRelationInput | Prisma.global_modelsOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing global_models.
   */
  cursor?: Prisma.global_modelsWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` global_models 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` global_models.
   */
  skip?: number
  distinct?: Prisma.Global_modelsScalarFieldEnum | Prisma.Global_modelsScalarFieldEnum[]
}

/**
 * global_models create
 */
export type global_modelsCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the global_models
   */
  select?: Prisma.global_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the global_models
   */
  omit?: Prisma.global_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.global_modelsInclude<ExtArgs> | null
  /**
   * The data needed to create a global_models.
   */
  data: Prisma.XOR<Prisma.global_modelsCreateInput, Prisma.global_modelsUncheckedCreateInput>
}

/**
 * global_models createMany
 */
export type global_modelsCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to create many global_models.
   */
  data: Prisma.global_modelsCreateManyInput | Prisma.global_modelsCreateManyInput[]
}

/**
 * global_models createManyAndReturn
 */
export type global_modelsCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the global_models
   */
  select?: Prisma.global_modelsSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the global_models
   */
  omit?: Prisma.global_modelsOmit<ExtArgs> | null
  /**
   * The data used to create many global_models.
   */
  data: Prisma.global_modelsCreateManyInput | Prisma.global_modelsCreateManyInput[]
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.global_modelsIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * global_models update
 */
export type global_modelsUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the global_models
   */
  select?: Prisma.global_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the global_models
   */
  omit?: Prisma.global_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.global_modelsInclude<ExtArgs> | null
  /**
   * The data needed to update a global_models.
   */
  data: Prisma.XOR<Prisma.global_modelsUpdateInput, Prisma.global_modelsUncheckedUpdateInput>
  /**
   * Choose, which global_models to update.
   */
  where: Prisma.global_modelsWhereUniqueInput
}

/**
 * global_models updateMany
 */
export type global_modelsUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update global_models.
   */
  data: Prisma.XOR<Prisma.global_modelsUpdateManyMutationInput, Prisma.global_modelsUncheckedUpdateManyInput>
  /**
   * Filter which global_models to update
   */
  where?: Prisma.global_modelsWhereInput
  /**
   * Limit how many global_models to update.
   */
  limit?: number
}

/**
 * global_models updateManyAndReturn
 */
export type global_modelsUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the global_models
   */
  select?: Prisma.global_modelsSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the global_models
   */
  omit?: Prisma.global_modelsOmit<ExtArgs> | null
  /**
   * The data used to update global_models.
   */
  data: Prisma.XOR<Prisma.global_modelsUpdateManyMutationInput, Prisma.global_modelsUncheckedUpdateManyInput>
  /**
   * Filter which global_models to update
   */
  where?: Prisma.global_modelsWhereInput
  /**
   * Limit how many global_models to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.global_modelsIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * global_models upsert
 */
export type global_modelsUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the global_models
   */
  select?: Prisma.global_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the global_models
   */
  omit?: Prisma.global_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.global_modelsInclude<ExtArgs> | null
  /**
   * The filter to search for the global_models to update in case it exists.
   */
  where: Prisma.global_modelsWhereUniqueInput
  /**
   * In case the global_models found by the `where` argument doesn't exist, create a new global_models with this data.
   */
  create: Prisma.XOR<Prisma.global_modelsCreateInput, Prisma.global_modelsUncheckedCreateInput>
  /**
   * In case the global_models was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.global_modelsUpdateInput, Prisma.global_modelsUncheckedUpdateInput>
}

/**
 * global_models delete
 */
export type global_modelsDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the global_models
   */
  select?: Prisma.global_modelsSelect<ExtArgs> | null
  /**
   * Omit specific fields from the global_models
   */
  omit?: Prisma.global_modelsOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.global_modelsInclude<ExtArgs> | null
  /**
   * Filter which global_models to delete.
   */
  where: Prisma.global_modelsWhereUniqueInput
}

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

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