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

export type AggregateCustomers = {
  _count: CustomersCountAggregateOutputType | null
  _avg: CustomersAvgAggregateOutputType | null
  _sum: CustomersSumAggregateOutputType | null
  _min: CustomersMinAggregateOutputType | null
  _max: CustomersMaxAggregateOutputType | null
}

export type CustomersAvgAggregateOutputType = {
  created_at: number | null
  updated_at: number | null
}

export type CustomersSumAggregateOutputType = {
  created_at: bigint | null
  updated_at: bigint | null
}

export type CustomersMinAggregateOutputType = {
  id: string | null
  user_id: string | null
  email: string | null
  first_name: string | null
  last_name: string | null
  phone_number: string | null
  address: string | null
  created_at: bigint | null
  updated_at: bigint | null
  created_by: string | null
}

export type CustomersMaxAggregateOutputType = {
  id: string | null
  user_id: string | null
  email: string | null
  first_name: string | null
  last_name: string | null
  phone_number: string | null
  address: string | null
  created_at: bigint | null
  updated_at: bigint | null
  created_by: string | null
}

export type CustomersCountAggregateOutputType = {
  id: number
  user_id: number
  email: number
  first_name: number
  last_name: number
  phone_number: number
  address: number
  created_at: number
  updated_at: number
  created_by: number
  _all: number
}


export type CustomersAvgAggregateInputType = {
  created_at?: true
  updated_at?: true
}

export type CustomersSumAggregateInputType = {
  created_at?: true
  updated_at?: true
}

export type CustomersMinAggregateInputType = {
  id?: true
  user_id?: true
  email?: true
  first_name?: true
  last_name?: true
  phone_number?: true
  address?: true
  created_at?: true
  updated_at?: true
  created_by?: true
}

export type CustomersMaxAggregateInputType = {
  id?: true
  user_id?: true
  email?: true
  first_name?: true
  last_name?: true
  phone_number?: true
  address?: true
  created_at?: true
  updated_at?: true
  created_by?: true
}

export type CustomersCountAggregateInputType = {
  id?: true
  user_id?: true
  email?: true
  first_name?: true
  last_name?: true
  phone_number?: true
  address?: true
  created_at?: true
  updated_at?: true
  created_by?: true
  _all?: true
}

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

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




export type customersGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.customersWhereInput
  orderBy?: Prisma.customersOrderByWithAggregationInput | Prisma.customersOrderByWithAggregationInput[]
  by: Prisma.CustomersScalarFieldEnum[] | Prisma.CustomersScalarFieldEnum
  having?: Prisma.customersScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: CustomersCountAggregateInputType | true
  _avg?: CustomersAvgAggregateInputType
  _sum?: CustomersSumAggregateInputType
  _min?: CustomersMinAggregateInputType
  _max?: CustomersMaxAggregateInputType
}

export type CustomersGroupByOutputType = {
  id: string
  user_id: string | null
  email: string | null
  first_name: string | null
  last_name: string | null
  phone_number: string | null
  address: string | null
  created_at: bigint | null
  updated_at: bigint | null
  created_by: string | null
  _count: CustomersCountAggregateOutputType | null
  _avg: CustomersAvgAggregateOutputType | null
  _sum: CustomersSumAggregateOutputType | null
  _min: CustomersMinAggregateOutputType | null
  _max: CustomersMaxAggregateOutputType | null
}

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



export type customersWhereInput = {
  AND?: Prisma.customersWhereInput | Prisma.customersWhereInput[]
  OR?: Prisma.customersWhereInput[]
  NOT?: Prisma.customersWhereInput | Prisma.customersWhereInput[]
  id?: Prisma.UuidFilter<"customers"> | string
  user_id?: Prisma.StringNullableFilter<"customers"> | string | null
  email?: Prisma.StringNullableFilter<"customers"> | string | null
  first_name?: Prisma.StringNullableFilter<"customers"> | string | null
  last_name?: Prisma.StringNullableFilter<"customers"> | string | null
  phone_number?: Prisma.StringNullableFilter<"customers"> | string | null
  address?: Prisma.StringNullableFilter<"customers"> | string | null
  created_at?: Prisma.BigIntNullableFilter<"customers"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableFilter<"customers"> | bigint | number | null
  created_by?: Prisma.StringNullableFilter<"customers"> | string | null
}

export type customersOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrderInput | Prisma.SortOrder
  email?: Prisma.SortOrderInput | Prisma.SortOrder
  first_name?: Prisma.SortOrderInput | Prisma.SortOrder
  last_name?: Prisma.SortOrderInput | Prisma.SortOrder
  phone_number?: Prisma.SortOrderInput | Prisma.SortOrder
  address?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  created_by?: Prisma.SortOrderInput | Prisma.SortOrder
}

export type customersWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  AND?: Prisma.customersWhereInput | Prisma.customersWhereInput[]
  OR?: Prisma.customersWhereInput[]
  NOT?: Prisma.customersWhereInput | Prisma.customersWhereInput[]
  user_id?: Prisma.StringNullableFilter<"customers"> | string | null
  email?: Prisma.StringNullableFilter<"customers"> | string | null
  first_name?: Prisma.StringNullableFilter<"customers"> | string | null
  last_name?: Prisma.StringNullableFilter<"customers"> | string | null
  phone_number?: Prisma.StringNullableFilter<"customers"> | string | null
  address?: Prisma.StringNullableFilter<"customers"> | string | null
  created_at?: Prisma.BigIntNullableFilter<"customers"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableFilter<"customers"> | bigint | number | null
  created_by?: Prisma.StringNullableFilter<"customers"> | string | null
}, "id">

export type customersOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrderInput | Prisma.SortOrder
  email?: Prisma.SortOrderInput | Prisma.SortOrder
  first_name?: Prisma.SortOrderInput | Prisma.SortOrder
  last_name?: Prisma.SortOrderInput | Prisma.SortOrder
  phone_number?: Prisma.SortOrderInput | Prisma.SortOrder
  address?: Prisma.SortOrderInput | Prisma.SortOrder
  created_at?: Prisma.SortOrderInput | Prisma.SortOrder
  updated_at?: Prisma.SortOrderInput | Prisma.SortOrder
  created_by?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.customersCountOrderByAggregateInput
  _avg?: Prisma.customersAvgOrderByAggregateInput
  _max?: Prisma.customersMaxOrderByAggregateInput
  _min?: Prisma.customersMinOrderByAggregateInput
  _sum?: Prisma.customersSumOrderByAggregateInput
}

export type customersScalarWhereWithAggregatesInput = {
  AND?: Prisma.customersScalarWhereWithAggregatesInput | Prisma.customersScalarWhereWithAggregatesInput[]
  OR?: Prisma.customersScalarWhereWithAggregatesInput[]
  NOT?: Prisma.customersScalarWhereWithAggregatesInput | Prisma.customersScalarWhereWithAggregatesInput[]
  id?: Prisma.UuidWithAggregatesFilter<"customers"> | string
  user_id?: Prisma.StringNullableWithAggregatesFilter<"customers"> | string | null
  email?: Prisma.StringNullableWithAggregatesFilter<"customers"> | string | null
  first_name?: Prisma.StringNullableWithAggregatesFilter<"customers"> | string | null
  last_name?: Prisma.StringNullableWithAggregatesFilter<"customers"> | string | null
  phone_number?: Prisma.StringNullableWithAggregatesFilter<"customers"> | string | null
  address?: Prisma.StringNullableWithAggregatesFilter<"customers"> | string | null
  created_at?: Prisma.BigIntNullableWithAggregatesFilter<"customers"> | bigint | number | null
  updated_at?: Prisma.BigIntNullableWithAggregatesFilter<"customers"> | bigint | number | null
  created_by?: Prisma.StringNullableWithAggregatesFilter<"customers"> | string | null
}

export type customersCreateInput = {
  id: string
  user_id?: string | null
  email?: string | null
  first_name?: string | null
  last_name?: string | null
  phone_number?: string | null
  address?: string | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
  created_by?: string | null
}

export type customersUncheckedCreateInput = {
  id: string
  user_id?: string | null
  email?: string | null
  first_name?: string | null
  last_name?: string | null
  phone_number?: string | null
  address?: string | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
  created_by?: string | null
}

export type customersUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type customersUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type customersCreateManyInput = {
  id: string
  user_id?: string | null
  email?: string | null
  first_name?: string | null
  last_name?: string | null
  phone_number?: string | null
  address?: string | null
  created_at?: bigint | number | null
  updated_at?: bigint | number | null
  created_by?: string | null
}

export type customersUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type customersUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  user_id?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  first_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  last_name?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  phone_number?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  address?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  created_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  updated_at?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  created_by?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type customersCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrder
  email?: Prisma.SortOrder
  first_name?: Prisma.SortOrder
  last_name?: Prisma.SortOrder
  phone_number?: Prisma.SortOrder
  address?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
  created_by?: Prisma.SortOrder
}

export type customersAvgOrderByAggregateInput = {
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type customersMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrder
  email?: Prisma.SortOrder
  first_name?: Prisma.SortOrder
  last_name?: Prisma.SortOrder
  phone_number?: Prisma.SortOrder
  address?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
  created_by?: Prisma.SortOrder
}

export type customersMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  user_id?: Prisma.SortOrder
  email?: Prisma.SortOrder
  first_name?: Prisma.SortOrder
  last_name?: Prisma.SortOrder
  phone_number?: Prisma.SortOrder
  address?: Prisma.SortOrder
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
  created_by?: Prisma.SortOrder
}

export type customersSumOrderByAggregateInput = {
  created_at?: Prisma.SortOrder
  updated_at?: Prisma.SortOrder
}

export type NullableStringFieldUpdateOperationsInput = {
  set?: string | null
}

export type NullableBigIntFieldUpdateOperationsInput = {
  set?: bigint | number | null
  increment?: bigint | number
  decrement?: bigint | number
  multiply?: bigint | number
  divide?: bigint | number
}



export type customersSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  user_id?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  address?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}, ExtArgs["result"]["customers"]>

export type customersSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  user_id?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  address?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}, ExtArgs["result"]["customers"]>

export type customersSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  user_id?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  address?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}, ExtArgs["result"]["customers"]>

export type customersSelectScalar = {
  id?: boolean
  user_id?: boolean
  email?: boolean
  first_name?: boolean
  last_name?: boolean
  phone_number?: boolean
  address?: boolean
  created_at?: boolean
  updated_at?: boolean
  created_by?: boolean
}

export type customersOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "user_id" | "email" | "first_name" | "last_name" | "phone_number" | "address" | "created_at" | "updated_at" | "created_by", ExtArgs["result"]["customers"]>

export type $customersPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "customers"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    user_id: string | null
    email: string | null
    first_name: string | null
    last_name: string | null
    phone_number: string | null
    address: string | null
    created_at: bigint | null
    updated_at: bigint | null
    created_by: string | null
  }, ExtArgs["result"]["customers"]>
  composites: {}
}

export type customersGetPayload<S extends boolean | null | undefined | customersDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$customersPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for customers.
 * 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__customersClient<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 customers model
 */
export interface customersFieldRefs {
  readonly id: Prisma.FieldRef<"customers", 'String'>
  readonly user_id: Prisma.FieldRef<"customers", 'String'>
  readonly email: Prisma.FieldRef<"customers", 'String'>
  readonly first_name: Prisma.FieldRef<"customers", 'String'>
  readonly last_name: Prisma.FieldRef<"customers", 'String'>
  readonly phone_number: Prisma.FieldRef<"customers", 'String'>
  readonly address: Prisma.FieldRef<"customers", 'String'>
  readonly created_at: Prisma.FieldRef<"customers", 'BigInt'>
  readonly updated_at: Prisma.FieldRef<"customers", 'BigInt'>
  readonly created_by: Prisma.FieldRef<"customers", 'String'>
}
    

// Custom InputTypes
/**
 * customers findUnique
 */
export type customersFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the customers
   */
  select?: Prisma.customersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the customers
   */
  omit?: Prisma.customersOmit<ExtArgs> | null
  /**
   * Filter, which customers to fetch.
   */
  where: Prisma.customersWhereUniqueInput
}

/**
 * customers findUniqueOrThrow
 */
export type customersFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the customers
   */
  select?: Prisma.customersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the customers
   */
  omit?: Prisma.customersOmit<ExtArgs> | null
  /**
   * Filter, which customers to fetch.
   */
  where: Prisma.customersWhereUniqueInput
}

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

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

/**
 * customers findMany
 */
export type customersFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the customers
   */
  select?: Prisma.customersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the customers
   */
  omit?: Prisma.customersOmit<ExtArgs> | null
  /**
   * Filter, which customers to fetch.
   */
  where?: Prisma.customersWhereInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
   * 
   * Determine the order of customers to fetch.
   */
  orderBy?: Prisma.customersOrderByWithRelationInput | Prisma.customersOrderByWithRelationInput[]
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
   * 
   * Sets the position for listing customers.
   */
  cursor?: Prisma.customersWhereUniqueInput
  /**
   * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
   * 
   * Take `±n` customers 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` customers.
   */
  skip?: number
  distinct?: Prisma.CustomersScalarFieldEnum | Prisma.CustomersScalarFieldEnum[]
}

/**
 * customers create
 */
export type customersCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the customers
   */
  select?: Prisma.customersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the customers
   */
  omit?: Prisma.customersOmit<ExtArgs> | null
  /**
   * The data needed to create a customers.
   */
  data: Prisma.XOR<Prisma.customersCreateInput, Prisma.customersUncheckedCreateInput>
}

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

/**
 * customers createManyAndReturn
 */
export type customersCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the customers
   */
  select?: Prisma.customersSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the customers
   */
  omit?: Prisma.customersOmit<ExtArgs> | null
  /**
   * The data used to create many customers.
   */
  data: Prisma.customersCreateManyInput | Prisma.customersCreateManyInput[]
  skipDuplicates?: boolean
}

/**
 * customers update
 */
export type customersUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the customers
   */
  select?: Prisma.customersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the customers
   */
  omit?: Prisma.customersOmit<ExtArgs> | null
  /**
   * The data needed to update a customers.
   */
  data: Prisma.XOR<Prisma.customersUpdateInput, Prisma.customersUncheckedUpdateInput>
  /**
   * Choose, which customers to update.
   */
  where: Prisma.customersWhereUniqueInput
}

/**
 * customers updateMany
 */
export type customersUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update customers.
   */
  data: Prisma.XOR<Prisma.customersUpdateManyMutationInput, Prisma.customersUncheckedUpdateManyInput>
  /**
   * Filter which customers to update
   */
  where?: Prisma.customersWhereInput
  /**
   * Limit how many customers to update.
   */
  limit?: number
}

/**
 * customers updateManyAndReturn
 */
export type customersUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the customers
   */
  select?: Prisma.customersSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the customers
   */
  omit?: Prisma.customersOmit<ExtArgs> | null
  /**
   * The data used to update customers.
   */
  data: Prisma.XOR<Prisma.customersUpdateManyMutationInput, Prisma.customersUncheckedUpdateManyInput>
  /**
   * Filter which customers to update
   */
  where?: Prisma.customersWhereInput
  /**
   * Limit how many customers to update.
   */
  limit?: number
}

/**
 * customers upsert
 */
export type customersUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the customers
   */
  select?: Prisma.customersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the customers
   */
  omit?: Prisma.customersOmit<ExtArgs> | null
  /**
   * The filter to search for the customers to update in case it exists.
   */
  where: Prisma.customersWhereUniqueInput
  /**
   * In case the customers found by the `where` argument doesn't exist, create a new customers with this data.
   */
  create: Prisma.XOR<Prisma.customersCreateInput, Prisma.customersUncheckedCreateInput>
  /**
   * In case the customers was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.customersUpdateInput, Prisma.customersUncheckedUpdateInput>
}

/**
 * customers delete
 */
export type customersDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the customers
   */
  select?: Prisma.customersSelect<ExtArgs> | null
  /**
   * Omit specific fields from the customers
   */
  omit?: Prisma.customersOmit<ExtArgs> | null
  /**
   * Filter which customers to delete.
   */
  where: Prisma.customersWhereUniqueInput
}

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

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