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

export type AggregatePayment = {
  _count: PaymentCountAggregateOutputType | null
  _avg: PaymentAvgAggregateOutputType | null
  _sum: PaymentSumAggregateOutputType | null
  _min: PaymentMinAggregateOutputType | null
  _max: PaymentMaxAggregateOutputType | null
}

export type PaymentAvgAggregateOutputType = {
  id: number | null
  account_id: number | null
  date_orig: number | null
  amount: number | null
  applied_amt: number | null
  excedent: number | null
  correction: number | null
  cr: number | null
}

export type PaymentSumAggregateOutputType = {
  id: bigint | null
  account_id: bigint | null
  date_orig: bigint | null
  amount: number | null
  applied_amt: number | null
  excedent: number | null
  correction: number | null
  cr: number | null
}

export type PaymentMinAggregateOutputType = {
  id: bigint | null
  account_id: bigint | null
  date_orig: bigint | null
  amount: number | null
  applied_amt: number | null
  type: string | null
  memo: string | null
  reference: string | null
  excedent: number | null
  correction: number | null
  cr: number | null
  uniqsess: string | null
}

export type PaymentMaxAggregateOutputType = {
  id: bigint | null
  account_id: bigint | null
  date_orig: bigint | null
  amount: number | null
  applied_amt: number | null
  type: string | null
  memo: string | null
  reference: string | null
  excedent: number | null
  correction: number | null
  cr: number | null
  uniqsess: string | null
}

export type PaymentCountAggregateOutputType = {
  id: number
  account_id: number
  date_orig: number
  amount: number
  applied_amt: number
  type: number
  memo: number
  reference: number
  excedent: number
  correction: number
  cr: number
  uniqsess: number
  _all: number
}


export type PaymentAvgAggregateInputType = {
  id?: true
  account_id?: true
  date_orig?: true
  amount?: true
  applied_amt?: true
  excedent?: true
  correction?: true
  cr?: true
}

export type PaymentSumAggregateInputType = {
  id?: true
  account_id?: true
  date_orig?: true
  amount?: true
  applied_amt?: true
  excedent?: true
  correction?: true
  cr?: true
}

export type PaymentMinAggregateInputType = {
  id?: true
  account_id?: true
  date_orig?: true
  amount?: true
  applied_amt?: true
  type?: true
  memo?: true
  reference?: true
  excedent?: true
  correction?: true
  cr?: true
  uniqsess?: true
}

export type PaymentMaxAggregateInputType = {
  id?: true
  account_id?: true
  date_orig?: true
  amount?: true
  applied_amt?: true
  type?: true
  memo?: true
  reference?: true
  excedent?: true
  correction?: true
  cr?: true
  uniqsess?: true
}

export type PaymentCountAggregateInputType = {
  id?: true
  account_id?: true
  date_orig?: true
  amount?: true
  applied_amt?: true
  type?: true
  memo?: true
  reference?: true
  excedent?: true
  correction?: true
  cr?: true
  uniqsess?: true
  _all?: true
}

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

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




export type paymentGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.paymentWhereInput
  orderBy?: Prisma.paymentOrderByWithAggregationInput | Prisma.paymentOrderByWithAggregationInput[]
  by: Prisma.PaymentScalarFieldEnum[] | Prisma.PaymentScalarFieldEnum
  having?: Prisma.paymentScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: PaymentCountAggregateInputType | true
  _avg?: PaymentAvgAggregateInputType
  _sum?: PaymentSumAggregateInputType
  _min?: PaymentMinAggregateInputType
  _max?: PaymentMaxAggregateInputType
}

export type PaymentGroupByOutputType = {
  id: bigint
  account_id: bigint | null
  date_orig: bigint | null
  amount: number | null
  applied_amt: number | null
  type: string | null
  memo: string | null
  reference: string | null
  excedent: number
  correction: number
  cr: number
  uniqsess: string | null
  _count: PaymentCountAggregateOutputType | null
  _avg: PaymentAvgAggregateOutputType | null
  _sum: PaymentSumAggregateOutputType | null
  _min: PaymentMinAggregateOutputType | null
  _max: PaymentMaxAggregateOutputType | null
}

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



export type paymentWhereInput = {
  AND?: Prisma.paymentWhereInput | Prisma.paymentWhereInput[]
  OR?: Prisma.paymentWhereInput[]
  NOT?: Prisma.paymentWhereInput | Prisma.paymentWhereInput[]
  id?: Prisma.BigIntFilter<"payment"> | bigint | number
  account_id?: Prisma.BigIntNullableFilter<"payment"> | bigint | number | null
  date_orig?: Prisma.BigIntNullableFilter<"payment"> | bigint | number | null
  amount?: Prisma.FloatNullableFilter<"payment"> | number | null
  applied_amt?: Prisma.FloatNullableFilter<"payment"> | number | null
  type?: Prisma.StringNullableFilter<"payment"> | string | null
  memo?: Prisma.StringNullableFilter<"payment"> | string | null
  reference?: Prisma.StringNullableFilter<"payment"> | string | null
  excedent?: Prisma.IntFilter<"payment"> | number
  correction?: Prisma.IntFilter<"payment"> | number
  cr?: Prisma.IntFilter<"payment"> | number
  uniqsess?: Prisma.StringNullableFilter<"payment"> | string | null
}

export type paymentOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrderInput | Prisma.SortOrder
  date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
  amount?: Prisma.SortOrderInput | Prisma.SortOrder
  applied_amt?: Prisma.SortOrderInput | Prisma.SortOrder
  type?: Prisma.SortOrderInput | Prisma.SortOrder
  memo?: Prisma.SortOrderInput | Prisma.SortOrder
  reference?: Prisma.SortOrderInput | Prisma.SortOrder
  excedent?: Prisma.SortOrder
  correction?: Prisma.SortOrder
  cr?: Prisma.SortOrder
  uniqsess?: Prisma.SortOrderInput | Prisma.SortOrder
  _relevance?: Prisma.paymentOrderByRelevanceInput
}

export type paymentWhereUniqueInput = Prisma.AtLeast<{
  id?: bigint | number
  AND?: Prisma.paymentWhereInput | Prisma.paymentWhereInput[]
  OR?: Prisma.paymentWhereInput[]
  NOT?: Prisma.paymentWhereInput | Prisma.paymentWhereInput[]
  account_id?: Prisma.BigIntNullableFilter<"payment"> | bigint | number | null
  date_orig?: Prisma.BigIntNullableFilter<"payment"> | bigint | number | null
  amount?: Prisma.FloatNullableFilter<"payment"> | number | null
  applied_amt?: Prisma.FloatNullableFilter<"payment"> | number | null
  type?: Prisma.StringNullableFilter<"payment"> | string | null
  memo?: Prisma.StringNullableFilter<"payment"> | string | null
  reference?: Prisma.StringNullableFilter<"payment"> | string | null
  excedent?: Prisma.IntFilter<"payment"> | number
  correction?: Prisma.IntFilter<"payment"> | number
  cr?: Prisma.IntFilter<"payment"> | number
  uniqsess?: Prisma.StringNullableFilter<"payment"> | string | null
}, "id">

export type paymentOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrderInput | Prisma.SortOrder
  date_orig?: Prisma.SortOrderInput | Prisma.SortOrder
  amount?: Prisma.SortOrderInput | Prisma.SortOrder
  applied_amt?: Prisma.SortOrderInput | Prisma.SortOrder
  type?: Prisma.SortOrderInput | Prisma.SortOrder
  memo?: Prisma.SortOrderInput | Prisma.SortOrder
  reference?: Prisma.SortOrderInput | Prisma.SortOrder
  excedent?: Prisma.SortOrder
  correction?: Prisma.SortOrder
  cr?: Prisma.SortOrder
  uniqsess?: Prisma.SortOrderInput | Prisma.SortOrder
  _count?: Prisma.paymentCountOrderByAggregateInput
  _avg?: Prisma.paymentAvgOrderByAggregateInput
  _max?: Prisma.paymentMaxOrderByAggregateInput
  _min?: Prisma.paymentMinOrderByAggregateInput
  _sum?: Prisma.paymentSumOrderByAggregateInput
}

export type paymentScalarWhereWithAggregatesInput = {
  AND?: Prisma.paymentScalarWhereWithAggregatesInput | Prisma.paymentScalarWhereWithAggregatesInput[]
  OR?: Prisma.paymentScalarWhereWithAggregatesInput[]
  NOT?: Prisma.paymentScalarWhereWithAggregatesInput | Prisma.paymentScalarWhereWithAggregatesInput[]
  id?: Prisma.BigIntWithAggregatesFilter<"payment"> | bigint | number
  account_id?: Prisma.BigIntNullableWithAggregatesFilter<"payment"> | bigint | number | null
  date_orig?: Prisma.BigIntNullableWithAggregatesFilter<"payment"> | bigint | number | null
  amount?: Prisma.FloatNullableWithAggregatesFilter<"payment"> | number | null
  applied_amt?: Prisma.FloatNullableWithAggregatesFilter<"payment"> | number | null
  type?: Prisma.StringNullableWithAggregatesFilter<"payment"> | string | null
  memo?: Prisma.StringNullableWithAggregatesFilter<"payment"> | string | null
  reference?: Prisma.StringNullableWithAggregatesFilter<"payment"> | string | null
  excedent?: Prisma.IntWithAggregatesFilter<"payment"> | number
  correction?: Prisma.IntWithAggregatesFilter<"payment"> | number
  cr?: Prisma.IntWithAggregatesFilter<"payment"> | number
  uniqsess?: Prisma.StringNullableWithAggregatesFilter<"payment"> | string | null
}

export type paymentCreateInput = {
  id?: bigint | number
  account_id?: bigint | number | null
  date_orig?: bigint | number | null
  amount?: number | null
  applied_amt?: number | null
  type?: string | null
  memo?: string | null
  reference?: string | null
  excedent?: number
  correction?: number
  cr?: number
  uniqsess?: string | null
}

export type paymentUncheckedCreateInput = {
  id?: bigint | number
  account_id?: bigint | number | null
  date_orig?: bigint | number | null
  amount?: number | null
  applied_amt?: number | null
  type?: string | null
  memo?: string | null
  reference?: string | null
  excedent?: number
  correction?: number
  cr?: number
  uniqsess?: string | null
}

export type paymentUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  applied_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  memo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  excedent?: Prisma.IntFieldUpdateOperationsInput | number
  correction?: Prisma.IntFieldUpdateOperationsInput | number
  cr?: Prisma.IntFieldUpdateOperationsInput | number
  uniqsess?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type paymentUncheckedUpdateInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  applied_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  memo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  excedent?: Prisma.IntFieldUpdateOperationsInput | number
  correction?: Prisma.IntFieldUpdateOperationsInput | number
  cr?: Prisma.IntFieldUpdateOperationsInput | number
  uniqsess?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type paymentCreateManyInput = {
  id?: bigint | number
  account_id?: bigint | number | null
  date_orig?: bigint | number | null
  amount?: number | null
  applied_amt?: number | null
  type?: string | null
  memo?: string | null
  reference?: string | null
  excedent?: number
  correction?: number
  cr?: number
  uniqsess?: string | null
}

export type paymentUpdateManyMutationInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  applied_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  memo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  excedent?: Prisma.IntFieldUpdateOperationsInput | number
  correction?: Prisma.IntFieldUpdateOperationsInput | number
  cr?: Prisma.IntFieldUpdateOperationsInput | number
  uniqsess?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type paymentUncheckedUpdateManyInput = {
  id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number
  account_id?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  date_orig?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null
  amount?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  applied_amt?: Prisma.NullableFloatFieldUpdateOperationsInput | number | null
  type?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  memo?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  reference?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  excedent?: Prisma.IntFieldUpdateOperationsInput | number
  correction?: Prisma.IntFieldUpdateOperationsInput | number
  cr?: Prisma.IntFieldUpdateOperationsInput | number
  uniqsess?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
}

export type paymentOrderByRelevanceInput = {
  fields: Prisma.paymentOrderByRelevanceFieldEnum | Prisma.paymentOrderByRelevanceFieldEnum[]
  sort: Prisma.SortOrder
  search: string
}

export type paymentCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  amount?: Prisma.SortOrder
  applied_amt?: Prisma.SortOrder
  type?: Prisma.SortOrder
  memo?: Prisma.SortOrder
  reference?: Prisma.SortOrder
  excedent?: Prisma.SortOrder
  correction?: Prisma.SortOrder
  cr?: Prisma.SortOrder
  uniqsess?: Prisma.SortOrder
}

export type paymentAvgOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  amount?: Prisma.SortOrder
  applied_amt?: Prisma.SortOrder
  excedent?: Prisma.SortOrder
  correction?: Prisma.SortOrder
  cr?: Prisma.SortOrder
}

export type paymentMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  amount?: Prisma.SortOrder
  applied_amt?: Prisma.SortOrder
  type?: Prisma.SortOrder
  memo?: Prisma.SortOrder
  reference?: Prisma.SortOrder
  excedent?: Prisma.SortOrder
  correction?: Prisma.SortOrder
  cr?: Prisma.SortOrder
  uniqsess?: Prisma.SortOrder
}

export type paymentMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  amount?: Prisma.SortOrder
  applied_amt?: Prisma.SortOrder
  type?: Prisma.SortOrder
  memo?: Prisma.SortOrder
  reference?: Prisma.SortOrder
  excedent?: Prisma.SortOrder
  correction?: Prisma.SortOrder
  cr?: Prisma.SortOrder
  uniqsess?: Prisma.SortOrder
}

export type paymentSumOrderByAggregateInput = {
  id?: Prisma.SortOrder
  account_id?: Prisma.SortOrder
  date_orig?: Prisma.SortOrder
  amount?: Prisma.SortOrder
  applied_amt?: Prisma.SortOrder
  excedent?: Prisma.SortOrder
  correction?: Prisma.SortOrder
  cr?: Prisma.SortOrder
}



export type paymentSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  account_id?: boolean
  date_orig?: boolean
  amount?: boolean
  applied_amt?: boolean
  type?: boolean
  memo?: boolean
  reference?: boolean
  excedent?: boolean
  correction?: boolean
  cr?: boolean
  uniqsess?: boolean
}, ExtArgs["result"]["payment"]>



export type paymentSelectScalar = {
  id?: boolean
  account_id?: boolean
  date_orig?: boolean
  amount?: boolean
  applied_amt?: boolean
  type?: boolean
  memo?: boolean
  reference?: boolean
  excedent?: boolean
  correction?: boolean
  cr?: boolean
  uniqsess?: boolean
}

export type paymentOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "account_id" | "date_orig" | "amount" | "applied_amt" | "type" | "memo" | "reference" | "excedent" | "correction" | "cr" | "uniqsess", ExtArgs["result"]["payment"]>

export type $paymentPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "payment"
  objects: {}
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: bigint
    account_id: bigint | null
    date_orig: bigint | null
    amount: number | null
    applied_amt: number | null
    type: string | null
    memo: string | null
    reference: string | null
    excedent: number
    correction: number
    cr: number
    uniqsess: string | null
  }, ExtArgs["result"]["payment"]>
  composites: {}
}

export type paymentGetPayload<S extends boolean | null | undefined | paymentDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$paymentPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for payment.
 * 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__paymentClient<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 payment model
 */
export interface paymentFieldRefs {
  readonly id: Prisma.FieldRef<"payment", 'BigInt'>
  readonly account_id: Prisma.FieldRef<"payment", 'BigInt'>
  readonly date_orig: Prisma.FieldRef<"payment", 'BigInt'>
  readonly amount: Prisma.FieldRef<"payment", 'Float'>
  readonly applied_amt: Prisma.FieldRef<"payment", 'Float'>
  readonly type: Prisma.FieldRef<"payment", 'String'>
  readonly memo: Prisma.FieldRef<"payment", 'String'>
  readonly reference: Prisma.FieldRef<"payment", 'String'>
  readonly excedent: Prisma.FieldRef<"payment", 'Int'>
  readonly correction: Prisma.FieldRef<"payment", 'Int'>
  readonly cr: Prisma.FieldRef<"payment", 'Int'>
  readonly uniqsess: Prisma.FieldRef<"payment", 'String'>
}
    

// Custom InputTypes
/**
 * payment findUnique
 */
export type paymentFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the payment
   */
  select?: Prisma.paymentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the payment
   */
  omit?: Prisma.paymentOmit<ExtArgs> | null
  /**
   * Filter, which payment to fetch.
   */
  where: Prisma.paymentWhereUniqueInput
}

/**
 * payment findUniqueOrThrow
 */
export type paymentFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the payment
   */
  select?: Prisma.paymentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the payment
   */
  omit?: Prisma.paymentOmit<ExtArgs> | null
  /**
   * Filter, which payment to fetch.
   */
  where: Prisma.paymentWhereUniqueInput
}

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

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

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

/**
 * payment create
 */
export type paymentCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the payment
   */
  select?: Prisma.paymentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the payment
   */
  omit?: Prisma.paymentOmit<ExtArgs> | null
  /**
   * The data needed to create a payment.
   */
  data?: Prisma.XOR<Prisma.paymentCreateInput, Prisma.paymentUncheckedCreateInput>
}

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

/**
 * payment update
 */
export type paymentUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the payment
   */
  select?: Prisma.paymentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the payment
   */
  omit?: Prisma.paymentOmit<ExtArgs> | null
  /**
   * The data needed to update a payment.
   */
  data: Prisma.XOR<Prisma.paymentUpdateInput, Prisma.paymentUncheckedUpdateInput>
  /**
   * Choose, which payment to update.
   */
  where: Prisma.paymentWhereUniqueInput
}

/**
 * payment updateMany
 */
export type paymentUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update payments.
   */
  data: Prisma.XOR<Prisma.paymentUpdateManyMutationInput, Prisma.paymentUncheckedUpdateManyInput>
  /**
   * Filter which payments to update
   */
  where?: Prisma.paymentWhereInput
  /**
   * Limit how many payments to update.
   */
  limit?: number
}

/**
 * payment upsert
 */
export type paymentUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the payment
   */
  select?: Prisma.paymentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the payment
   */
  omit?: Prisma.paymentOmit<ExtArgs> | null
  /**
   * The filter to search for the payment to update in case it exists.
   */
  where: Prisma.paymentWhereUniqueInput
  /**
   * In case the payment found by the `where` argument doesn't exist, create a new payment with this data.
   */
  create: Prisma.XOR<Prisma.paymentCreateInput, Prisma.paymentUncheckedCreateInput>
  /**
   * In case the payment was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.paymentUpdateInput, Prisma.paymentUncheckedUpdateInput>
}

/**
 * payment delete
 */
export type paymentDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the payment
   */
  select?: Prisma.paymentSelect<ExtArgs> | null
  /**
   * Omit specific fields from the payment
   */
  omit?: Prisma.paymentOmit<ExtArgs> | null
  /**
   * Filter which payment to delete.
   */
  where: Prisma.paymentWhereUniqueInput
}

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

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