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

export type AggregatePricingHeader = {
  _count: PricingHeaderCountAggregateOutputType | null
  _avg: PricingHeaderAvgAggregateOutputType | null
  _sum: PricingHeaderSumAggregateOutputType | null
  _min: PricingHeaderMinAggregateOutputType | null
  _max: PricingHeaderMaxAggregateOutputType | null
}

export type PricingHeaderAvgAggregateOutputType = {
  weight: number | null
}

export type PricingHeaderSumAggregateOutputType = {
  weight: number | null
}

export type PricingHeaderMinAggregateOutputType = {
  id: string | null
  itemTypeId: string | null
  code: string | null
  name: string | null
  weight: number | null
  unit: string | null
  description: string | null
  status: $Enums.SettingStatus | null
  effectiveDate: Date | null
  createdAt: Date | null
  modifiedAt: Date | null
}

export type PricingHeaderMaxAggregateOutputType = {
  id: string | null
  itemTypeId: string | null
  code: string | null
  name: string | null
  weight: number | null
  unit: string | null
  description: string | null
  status: $Enums.SettingStatus | null
  effectiveDate: Date | null
  createdAt: Date | null
  modifiedAt: Date | null
}

export type PricingHeaderCountAggregateOutputType = {
  id: number
  itemTypeId: number
  code: number
  name: number
  weight: number
  unit: number
  description: number
  status: number
  effectiveDate: number
  createdAt: number
  modifiedAt: number
  _all: number
}


export type PricingHeaderAvgAggregateInputType = {
  weight?: true
}

export type PricingHeaderSumAggregateInputType = {
  weight?: true
}

export type PricingHeaderMinAggregateInputType = {
  id?: true
  itemTypeId?: true
  code?: true
  name?: true
  weight?: true
  unit?: true
  description?: true
  status?: true
  effectiveDate?: true
  createdAt?: true
  modifiedAt?: true
}

export type PricingHeaderMaxAggregateInputType = {
  id?: true
  itemTypeId?: true
  code?: true
  name?: true
  weight?: true
  unit?: true
  description?: true
  status?: true
  effectiveDate?: true
  createdAt?: true
  modifiedAt?: true
}

export type PricingHeaderCountAggregateInputType = {
  id?: true
  itemTypeId?: true
  code?: true
  name?: true
  weight?: true
  unit?: true
  description?: true
  status?: true
  effectiveDate?: true
  createdAt?: true
  modifiedAt?: true
  _all?: true
}

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

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




export type PricingHeaderGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.PricingHeaderWhereInput
  orderBy?: Prisma.PricingHeaderOrderByWithAggregationInput | Prisma.PricingHeaderOrderByWithAggregationInput[]
  by: Prisma.PricingHeaderScalarFieldEnum[] | Prisma.PricingHeaderScalarFieldEnum
  having?: Prisma.PricingHeaderScalarWhereWithAggregatesInput
  take?: number
  skip?: number
  _count?: PricingHeaderCountAggregateInputType | true
  _avg?: PricingHeaderAvgAggregateInputType
  _sum?: PricingHeaderSumAggregateInputType
  _min?: PricingHeaderMinAggregateInputType
  _max?: PricingHeaderMaxAggregateInputType
}

export type PricingHeaderGroupByOutputType = {
  id: string
  itemTypeId: string
  code: string
  name: string
  weight: number
  unit: string
  description: string | null
  status: $Enums.SettingStatus
  effectiveDate: Date
  createdAt: Date
  modifiedAt: Date
  _count: PricingHeaderCountAggregateOutputType | null
  _avg: PricingHeaderAvgAggregateOutputType | null
  _sum: PricingHeaderSumAggregateOutputType | null
  _min: PricingHeaderMinAggregateOutputType | null
  _max: PricingHeaderMaxAggregateOutputType | null
}

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



export type PricingHeaderWhereInput = {
  AND?: Prisma.PricingHeaderWhereInput | Prisma.PricingHeaderWhereInput[]
  OR?: Prisma.PricingHeaderWhereInput[]
  NOT?: Prisma.PricingHeaderWhereInput | Prisma.PricingHeaderWhereInput[]
  id?: Prisma.UuidFilter<"PricingHeader"> | string
  itemTypeId?: Prisma.UuidFilter<"PricingHeader"> | string
  code?: Prisma.StringFilter<"PricingHeader"> | string
  name?: Prisma.StringFilter<"PricingHeader"> | string
  weight?: Prisma.IntFilter<"PricingHeader"> | number
  unit?: Prisma.StringFilter<"PricingHeader"> | string
  description?: Prisma.StringNullableFilter<"PricingHeader"> | string | null
  status?: Prisma.EnumSettingStatusFilter<"PricingHeader"> | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFilter<"PricingHeader"> | Date | string
  createdAt?: Prisma.DateTimeFilter<"PricingHeader"> | Date | string
  modifiedAt?: Prisma.DateTimeFilter<"PricingHeader"> | Date | string
  itemType?: Prisma.XOR<Prisma.ItemTypeScalarRelationFilter, Prisma.ItemTypeWhereInput>
  pricingDetails?: Prisma.PricingDetailListRelationFilter
}

export type PricingHeaderOrderByWithRelationInput = {
  id?: Prisma.SortOrder
  itemTypeId?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  weight?: Prisma.SortOrder
  unit?: Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  effectiveDate?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
  itemType?: Prisma.ItemTypeOrderByWithRelationInput
  pricingDetails?: Prisma.PricingDetailOrderByRelationAggregateInput
}

export type PricingHeaderWhereUniqueInput = Prisma.AtLeast<{
  id?: string
  code?: string
  AND?: Prisma.PricingHeaderWhereInput | Prisma.PricingHeaderWhereInput[]
  OR?: Prisma.PricingHeaderWhereInput[]
  NOT?: Prisma.PricingHeaderWhereInput | Prisma.PricingHeaderWhereInput[]
  itemTypeId?: Prisma.UuidFilter<"PricingHeader"> | string
  name?: Prisma.StringFilter<"PricingHeader"> | string
  weight?: Prisma.IntFilter<"PricingHeader"> | number
  unit?: Prisma.StringFilter<"PricingHeader"> | string
  description?: Prisma.StringNullableFilter<"PricingHeader"> | string | null
  status?: Prisma.EnumSettingStatusFilter<"PricingHeader"> | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFilter<"PricingHeader"> | Date | string
  createdAt?: Prisma.DateTimeFilter<"PricingHeader"> | Date | string
  modifiedAt?: Prisma.DateTimeFilter<"PricingHeader"> | Date | string
  itemType?: Prisma.XOR<Prisma.ItemTypeScalarRelationFilter, Prisma.ItemTypeWhereInput>
  pricingDetails?: Prisma.PricingDetailListRelationFilter
}, "id" | "code">

export type PricingHeaderOrderByWithAggregationInput = {
  id?: Prisma.SortOrder
  itemTypeId?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  weight?: Prisma.SortOrder
  unit?: Prisma.SortOrder
  description?: Prisma.SortOrderInput | Prisma.SortOrder
  status?: Prisma.SortOrder
  effectiveDate?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
  _count?: Prisma.PricingHeaderCountOrderByAggregateInput
  _avg?: Prisma.PricingHeaderAvgOrderByAggregateInput
  _max?: Prisma.PricingHeaderMaxOrderByAggregateInput
  _min?: Prisma.PricingHeaderMinOrderByAggregateInput
  _sum?: Prisma.PricingHeaderSumOrderByAggregateInput
}

export type PricingHeaderScalarWhereWithAggregatesInput = {
  AND?: Prisma.PricingHeaderScalarWhereWithAggregatesInput | Prisma.PricingHeaderScalarWhereWithAggregatesInput[]
  OR?: Prisma.PricingHeaderScalarWhereWithAggregatesInput[]
  NOT?: Prisma.PricingHeaderScalarWhereWithAggregatesInput | Prisma.PricingHeaderScalarWhereWithAggregatesInput[]
  id?: Prisma.UuidWithAggregatesFilter<"PricingHeader"> | string
  itemTypeId?: Prisma.UuidWithAggregatesFilter<"PricingHeader"> | string
  code?: Prisma.StringWithAggregatesFilter<"PricingHeader"> | string
  name?: Prisma.StringWithAggregatesFilter<"PricingHeader"> | string
  weight?: Prisma.IntWithAggregatesFilter<"PricingHeader"> | number
  unit?: Prisma.StringWithAggregatesFilter<"PricingHeader"> | string
  description?: Prisma.StringNullableWithAggregatesFilter<"PricingHeader"> | string | null
  status?: Prisma.EnumSettingStatusWithAggregatesFilter<"PricingHeader"> | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeWithAggregatesFilter<"PricingHeader"> | Date | string
  createdAt?: Prisma.DateTimeWithAggregatesFilter<"PricingHeader"> | Date | string
  modifiedAt?: Prisma.DateTimeWithAggregatesFilter<"PricingHeader"> | Date | string
}

export type PricingHeaderCreateInput = {
  id?: string
  code: string
  name: string
  weight: number
  unit: string
  description?: string | null
  status?: $Enums.SettingStatus
  effectiveDate: Date | string
  createdAt?: Date | string
  modifiedAt?: Date | string
  itemType: Prisma.ItemTypeCreateNestedOneWithoutPricingHeadersInput
  pricingDetails?: Prisma.PricingDetailCreateNestedManyWithoutHeaderInput
}

export type PricingHeaderUncheckedCreateInput = {
  id?: string
  itemTypeId: string
  code: string
  name: string
  weight: number
  unit: string
  description?: string | null
  status?: $Enums.SettingStatus
  effectiveDate: Date | string
  createdAt?: Date | string
  modifiedAt?: Date | string
  pricingDetails?: Prisma.PricingDetailUncheckedCreateNestedManyWithoutHeaderInput
}

export type PricingHeaderUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  weight?: Prisma.IntFieldUpdateOperationsInput | number
  unit?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  itemType?: Prisma.ItemTypeUpdateOneRequiredWithoutPricingHeadersNestedInput
  pricingDetails?: Prisma.PricingDetailUpdateManyWithoutHeaderNestedInput
}

export type PricingHeaderUncheckedUpdateInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  itemTypeId?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  weight?: Prisma.IntFieldUpdateOperationsInput | number
  unit?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  pricingDetails?: Prisma.PricingDetailUncheckedUpdateManyWithoutHeaderNestedInput
}

export type PricingHeaderCreateManyInput = {
  id?: string
  itemTypeId: string
  code: string
  name: string
  weight: number
  unit: string
  description?: string | null
  status?: $Enums.SettingStatus
  effectiveDate: Date | string
  createdAt?: Date | string
  modifiedAt?: Date | string
}

export type PricingHeaderUpdateManyMutationInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  weight?: Prisma.IntFieldUpdateOperationsInput | number
  unit?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type PricingHeaderUncheckedUpdateManyInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  itemTypeId?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  weight?: Prisma.IntFieldUpdateOperationsInput | number
  unit?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type PricingHeaderListRelationFilter = {
  every?: Prisma.PricingHeaderWhereInput
  some?: Prisma.PricingHeaderWhereInput
  none?: Prisma.PricingHeaderWhereInput
}

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

export type PricingHeaderCountOrderByAggregateInput = {
  id?: Prisma.SortOrder
  itemTypeId?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  weight?: Prisma.SortOrder
  unit?: Prisma.SortOrder
  description?: Prisma.SortOrder
  status?: Prisma.SortOrder
  effectiveDate?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
}

export type PricingHeaderAvgOrderByAggregateInput = {
  weight?: Prisma.SortOrder
}

export type PricingHeaderMaxOrderByAggregateInput = {
  id?: Prisma.SortOrder
  itemTypeId?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  weight?: Prisma.SortOrder
  unit?: Prisma.SortOrder
  description?: Prisma.SortOrder
  status?: Prisma.SortOrder
  effectiveDate?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
}

export type PricingHeaderMinOrderByAggregateInput = {
  id?: Prisma.SortOrder
  itemTypeId?: Prisma.SortOrder
  code?: Prisma.SortOrder
  name?: Prisma.SortOrder
  weight?: Prisma.SortOrder
  unit?: Prisma.SortOrder
  description?: Prisma.SortOrder
  status?: Prisma.SortOrder
  effectiveDate?: Prisma.SortOrder
  createdAt?: Prisma.SortOrder
  modifiedAt?: Prisma.SortOrder
}

export type PricingHeaderSumOrderByAggregateInput = {
  weight?: Prisma.SortOrder
}

export type PricingHeaderScalarRelationFilter = {
  is?: Prisma.PricingHeaderWhereInput
  isNot?: Prisma.PricingHeaderWhereInput
}

export type PricingHeaderCreateNestedManyWithoutItemTypeInput = {
  create?: Prisma.XOR<Prisma.PricingHeaderCreateWithoutItemTypeInput, Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput> | Prisma.PricingHeaderCreateWithoutItemTypeInput[] | Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput[]
  connectOrCreate?: Prisma.PricingHeaderCreateOrConnectWithoutItemTypeInput | Prisma.PricingHeaderCreateOrConnectWithoutItemTypeInput[]
  createMany?: Prisma.PricingHeaderCreateManyItemTypeInputEnvelope
  connect?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
}

export type PricingHeaderUncheckedCreateNestedManyWithoutItemTypeInput = {
  create?: Prisma.XOR<Prisma.PricingHeaderCreateWithoutItemTypeInput, Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput> | Prisma.PricingHeaderCreateWithoutItemTypeInput[] | Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput[]
  connectOrCreate?: Prisma.PricingHeaderCreateOrConnectWithoutItemTypeInput | Prisma.PricingHeaderCreateOrConnectWithoutItemTypeInput[]
  createMany?: Prisma.PricingHeaderCreateManyItemTypeInputEnvelope
  connect?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
}

export type PricingHeaderUpdateManyWithoutItemTypeNestedInput = {
  create?: Prisma.XOR<Prisma.PricingHeaderCreateWithoutItemTypeInput, Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput> | Prisma.PricingHeaderCreateWithoutItemTypeInput[] | Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput[]
  connectOrCreate?: Prisma.PricingHeaderCreateOrConnectWithoutItemTypeInput | Prisma.PricingHeaderCreateOrConnectWithoutItemTypeInput[]
  upsert?: Prisma.PricingHeaderUpsertWithWhereUniqueWithoutItemTypeInput | Prisma.PricingHeaderUpsertWithWhereUniqueWithoutItemTypeInput[]
  createMany?: Prisma.PricingHeaderCreateManyItemTypeInputEnvelope
  set?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
  disconnect?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
  delete?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
  connect?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
  update?: Prisma.PricingHeaderUpdateWithWhereUniqueWithoutItemTypeInput | Prisma.PricingHeaderUpdateWithWhereUniqueWithoutItemTypeInput[]
  updateMany?: Prisma.PricingHeaderUpdateManyWithWhereWithoutItemTypeInput | Prisma.PricingHeaderUpdateManyWithWhereWithoutItemTypeInput[]
  deleteMany?: Prisma.PricingHeaderScalarWhereInput | Prisma.PricingHeaderScalarWhereInput[]
}

export type PricingHeaderUncheckedUpdateManyWithoutItemTypeNestedInput = {
  create?: Prisma.XOR<Prisma.PricingHeaderCreateWithoutItemTypeInput, Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput> | Prisma.PricingHeaderCreateWithoutItemTypeInput[] | Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput[]
  connectOrCreate?: Prisma.PricingHeaderCreateOrConnectWithoutItemTypeInput | Prisma.PricingHeaderCreateOrConnectWithoutItemTypeInput[]
  upsert?: Prisma.PricingHeaderUpsertWithWhereUniqueWithoutItemTypeInput | Prisma.PricingHeaderUpsertWithWhereUniqueWithoutItemTypeInput[]
  createMany?: Prisma.PricingHeaderCreateManyItemTypeInputEnvelope
  set?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
  disconnect?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
  delete?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
  connect?: Prisma.PricingHeaderWhereUniqueInput | Prisma.PricingHeaderWhereUniqueInput[]
  update?: Prisma.PricingHeaderUpdateWithWhereUniqueWithoutItemTypeInput | Prisma.PricingHeaderUpdateWithWhereUniqueWithoutItemTypeInput[]
  updateMany?: Prisma.PricingHeaderUpdateManyWithWhereWithoutItemTypeInput | Prisma.PricingHeaderUpdateManyWithWhereWithoutItemTypeInput[]
  deleteMany?: Prisma.PricingHeaderScalarWhereInput | Prisma.PricingHeaderScalarWhereInput[]
}

export type PricingHeaderCreateNestedOneWithoutPricingDetailsInput = {
  create?: Prisma.XOR<Prisma.PricingHeaderCreateWithoutPricingDetailsInput, Prisma.PricingHeaderUncheckedCreateWithoutPricingDetailsInput>
  connectOrCreate?: Prisma.PricingHeaderCreateOrConnectWithoutPricingDetailsInput
  connect?: Prisma.PricingHeaderWhereUniqueInput
}

export type PricingHeaderUpdateOneRequiredWithoutPricingDetailsNestedInput = {
  create?: Prisma.XOR<Prisma.PricingHeaderCreateWithoutPricingDetailsInput, Prisma.PricingHeaderUncheckedCreateWithoutPricingDetailsInput>
  connectOrCreate?: Prisma.PricingHeaderCreateOrConnectWithoutPricingDetailsInput
  upsert?: Prisma.PricingHeaderUpsertWithoutPricingDetailsInput
  connect?: Prisma.PricingHeaderWhereUniqueInput
  update?: Prisma.XOR<Prisma.XOR<Prisma.PricingHeaderUpdateToOneWithWhereWithoutPricingDetailsInput, Prisma.PricingHeaderUpdateWithoutPricingDetailsInput>, Prisma.PricingHeaderUncheckedUpdateWithoutPricingDetailsInput>
}

export type PricingHeaderCreateWithoutItemTypeInput = {
  id?: string
  code: string
  name: string
  weight: number
  unit: string
  description?: string | null
  status?: $Enums.SettingStatus
  effectiveDate: Date | string
  createdAt?: Date | string
  modifiedAt?: Date | string
  pricingDetails?: Prisma.PricingDetailCreateNestedManyWithoutHeaderInput
}

export type PricingHeaderUncheckedCreateWithoutItemTypeInput = {
  id?: string
  code: string
  name: string
  weight: number
  unit: string
  description?: string | null
  status?: $Enums.SettingStatus
  effectiveDate: Date | string
  createdAt?: Date | string
  modifiedAt?: Date | string
  pricingDetails?: Prisma.PricingDetailUncheckedCreateNestedManyWithoutHeaderInput
}

export type PricingHeaderCreateOrConnectWithoutItemTypeInput = {
  where: Prisma.PricingHeaderWhereUniqueInput
  create: Prisma.XOR<Prisma.PricingHeaderCreateWithoutItemTypeInput, Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput>
}

export type PricingHeaderCreateManyItemTypeInputEnvelope = {
  data: Prisma.PricingHeaderCreateManyItemTypeInput | Prisma.PricingHeaderCreateManyItemTypeInput[]
  skipDuplicates?: boolean
}

export type PricingHeaderUpsertWithWhereUniqueWithoutItemTypeInput = {
  where: Prisma.PricingHeaderWhereUniqueInput
  update: Prisma.XOR<Prisma.PricingHeaderUpdateWithoutItemTypeInput, Prisma.PricingHeaderUncheckedUpdateWithoutItemTypeInput>
  create: Prisma.XOR<Prisma.PricingHeaderCreateWithoutItemTypeInput, Prisma.PricingHeaderUncheckedCreateWithoutItemTypeInput>
}

export type PricingHeaderUpdateWithWhereUniqueWithoutItemTypeInput = {
  where: Prisma.PricingHeaderWhereUniqueInput
  data: Prisma.XOR<Prisma.PricingHeaderUpdateWithoutItemTypeInput, Prisma.PricingHeaderUncheckedUpdateWithoutItemTypeInput>
}

export type PricingHeaderUpdateManyWithWhereWithoutItemTypeInput = {
  where: Prisma.PricingHeaderScalarWhereInput
  data: Prisma.XOR<Prisma.PricingHeaderUpdateManyMutationInput, Prisma.PricingHeaderUncheckedUpdateManyWithoutItemTypeInput>
}

export type PricingHeaderScalarWhereInput = {
  AND?: Prisma.PricingHeaderScalarWhereInput | Prisma.PricingHeaderScalarWhereInput[]
  OR?: Prisma.PricingHeaderScalarWhereInput[]
  NOT?: Prisma.PricingHeaderScalarWhereInput | Prisma.PricingHeaderScalarWhereInput[]
  id?: Prisma.UuidFilter<"PricingHeader"> | string
  itemTypeId?: Prisma.UuidFilter<"PricingHeader"> | string
  code?: Prisma.StringFilter<"PricingHeader"> | string
  name?: Prisma.StringFilter<"PricingHeader"> | string
  weight?: Prisma.IntFilter<"PricingHeader"> | number
  unit?: Prisma.StringFilter<"PricingHeader"> | string
  description?: Prisma.StringNullableFilter<"PricingHeader"> | string | null
  status?: Prisma.EnumSettingStatusFilter<"PricingHeader"> | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFilter<"PricingHeader"> | Date | string
  createdAt?: Prisma.DateTimeFilter<"PricingHeader"> | Date | string
  modifiedAt?: Prisma.DateTimeFilter<"PricingHeader"> | Date | string
}

export type PricingHeaderCreateWithoutPricingDetailsInput = {
  id?: string
  code: string
  name: string
  weight: number
  unit: string
  description?: string | null
  status?: $Enums.SettingStatus
  effectiveDate: Date | string
  createdAt?: Date | string
  modifiedAt?: Date | string
  itemType: Prisma.ItemTypeCreateNestedOneWithoutPricingHeadersInput
}

export type PricingHeaderUncheckedCreateWithoutPricingDetailsInput = {
  id?: string
  itemTypeId: string
  code: string
  name: string
  weight: number
  unit: string
  description?: string | null
  status?: $Enums.SettingStatus
  effectiveDate: Date | string
  createdAt?: Date | string
  modifiedAt?: Date | string
}

export type PricingHeaderCreateOrConnectWithoutPricingDetailsInput = {
  where: Prisma.PricingHeaderWhereUniqueInput
  create: Prisma.XOR<Prisma.PricingHeaderCreateWithoutPricingDetailsInput, Prisma.PricingHeaderUncheckedCreateWithoutPricingDetailsInput>
}

export type PricingHeaderUpsertWithoutPricingDetailsInput = {
  update: Prisma.XOR<Prisma.PricingHeaderUpdateWithoutPricingDetailsInput, Prisma.PricingHeaderUncheckedUpdateWithoutPricingDetailsInput>
  create: Prisma.XOR<Prisma.PricingHeaderCreateWithoutPricingDetailsInput, Prisma.PricingHeaderUncheckedCreateWithoutPricingDetailsInput>
  where?: Prisma.PricingHeaderWhereInput
}

export type PricingHeaderUpdateToOneWithWhereWithoutPricingDetailsInput = {
  where?: Prisma.PricingHeaderWhereInput
  data: Prisma.XOR<Prisma.PricingHeaderUpdateWithoutPricingDetailsInput, Prisma.PricingHeaderUncheckedUpdateWithoutPricingDetailsInput>
}

export type PricingHeaderUpdateWithoutPricingDetailsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  weight?: Prisma.IntFieldUpdateOperationsInput | number
  unit?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  itemType?: Prisma.ItemTypeUpdateOneRequiredWithoutPricingHeadersNestedInput
}

export type PricingHeaderUncheckedUpdateWithoutPricingDetailsInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  itemTypeId?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  weight?: Prisma.IntFieldUpdateOperationsInput | number
  unit?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}

export type PricingHeaderCreateManyItemTypeInput = {
  id?: string
  code: string
  name: string
  weight: number
  unit: string
  description?: string | null
  status?: $Enums.SettingStatus
  effectiveDate: Date | string
  createdAt?: Date | string
  modifiedAt?: Date | string
}

export type PricingHeaderUpdateWithoutItemTypeInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  weight?: Prisma.IntFieldUpdateOperationsInput | number
  unit?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  pricingDetails?: Prisma.PricingDetailUpdateManyWithoutHeaderNestedInput
}

export type PricingHeaderUncheckedUpdateWithoutItemTypeInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  weight?: Prisma.IntFieldUpdateOperationsInput | number
  unit?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  pricingDetails?: Prisma.PricingDetailUncheckedUpdateManyWithoutHeaderNestedInput
}

export type PricingHeaderUncheckedUpdateManyWithoutItemTypeInput = {
  id?: Prisma.StringFieldUpdateOperationsInput | string
  code?: Prisma.StringFieldUpdateOperationsInput | string
  name?: Prisma.StringFieldUpdateOperationsInput | string
  weight?: Prisma.IntFieldUpdateOperationsInput | number
  unit?: Prisma.StringFieldUpdateOperationsInput | string
  description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null
  status?: Prisma.EnumSettingStatusFieldUpdateOperationsInput | $Enums.SettingStatus
  effectiveDate?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
  modifiedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string
}


/**
 * Count Type PricingHeaderCountOutputType
 */

export type PricingHeaderCountOutputType = {
  pricingDetails: number
}

export type PricingHeaderCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  pricingDetails?: boolean | PricingHeaderCountOutputTypeCountPricingDetailsArgs
}

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

/**
 * PricingHeaderCountOutputType without action
 */
export type PricingHeaderCountOutputTypeCountPricingDetailsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  where?: Prisma.PricingDetailWhereInput
}


export type PricingHeaderSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  itemTypeId?: boolean
  code?: boolean
  name?: boolean
  weight?: boolean
  unit?: boolean
  description?: boolean
  status?: boolean
  effectiveDate?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
  itemType?: boolean | Prisma.ItemTypeDefaultArgs<ExtArgs>
  pricingDetails?: boolean | Prisma.PricingHeader$pricingDetailsArgs<ExtArgs>
  _count?: boolean | Prisma.PricingHeaderCountOutputTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["pricingHeader"]>

export type PricingHeaderSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  itemTypeId?: boolean
  code?: boolean
  name?: boolean
  weight?: boolean
  unit?: boolean
  description?: boolean
  status?: boolean
  effectiveDate?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
  itemType?: boolean | Prisma.ItemTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["pricingHeader"]>

export type PricingHeaderSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
  id?: boolean
  itemTypeId?: boolean
  code?: boolean
  name?: boolean
  weight?: boolean
  unit?: boolean
  description?: boolean
  status?: boolean
  effectiveDate?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
  itemType?: boolean | Prisma.ItemTypeDefaultArgs<ExtArgs>
}, ExtArgs["result"]["pricingHeader"]>

export type PricingHeaderSelectScalar = {
  id?: boolean
  itemTypeId?: boolean
  code?: boolean
  name?: boolean
  weight?: boolean
  unit?: boolean
  description?: boolean
  status?: boolean
  effectiveDate?: boolean
  createdAt?: boolean
  modifiedAt?: boolean
}

export type PricingHeaderOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "itemTypeId" | "code" | "name" | "weight" | "unit" | "description" | "status" | "effectiveDate" | "createdAt" | "modifiedAt", ExtArgs["result"]["pricingHeader"]>
export type PricingHeaderInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  itemType?: boolean | Prisma.ItemTypeDefaultArgs<ExtArgs>
  pricingDetails?: boolean | Prisma.PricingHeader$pricingDetailsArgs<ExtArgs>
  _count?: boolean | Prisma.PricingHeaderCountOutputTypeDefaultArgs<ExtArgs>
}
export type PricingHeaderIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  itemType?: boolean | Prisma.ItemTypeDefaultArgs<ExtArgs>
}
export type PricingHeaderIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  itemType?: boolean | Prisma.ItemTypeDefaultArgs<ExtArgs>
}

export type $PricingHeaderPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  name: "PricingHeader"
  objects: {
    itemType: Prisma.$ItemTypePayload<ExtArgs>
    pricingDetails: Prisma.$PricingDetailPayload<ExtArgs>[]
  }
  scalars: runtime.Types.Extensions.GetPayloadResult<{
    id: string
    itemTypeId: string
    code: string
    name: string
    weight: number
    unit: string
    description: string | null
    status: $Enums.SettingStatus
    effectiveDate: Date
    createdAt: Date
    modifiedAt: Date
  }, ExtArgs["result"]["pricingHeader"]>
  composites: {}
}

export type PricingHeaderGetPayload<S extends boolean | null | undefined | PricingHeaderDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PricingHeaderPayload, S>

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


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

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

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

/**
 * The delegate class that acts as a "Promise-like" for PricingHeader.
 * 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__PricingHeaderClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
  readonly [Symbol.toStringTag]: "PrismaPromise"
  itemType<T extends Prisma.ItemTypeDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ItemTypeDefaultArgs<ExtArgs>>): Prisma.Prisma__ItemTypeClient<runtime.Types.Result.GetResult<Prisma.$ItemTypePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>
  pricingDetails<T extends Prisma.PricingHeader$pricingDetailsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PricingHeader$pricingDetailsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PricingDetailPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>
  /**
   * Attaches callbacks for the resolution and/or rejection of the Promise.
   * @param onfulfilled The callback to execute when the Promise is resolved.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of which ever callback is executed.
   */
  then<TResult1 = T, TResult2 = never>(onfulfilled?: ((value: T) => TResult1 | PromiseLike<TResult1>) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike<TResult2>) | undefined | null): runtime.Types.Utils.JsPromise<TResult1 | TResult2>
  /**
   * Attaches a callback for only the rejection of the Promise.
   * @param onrejected The callback to execute when the Promise is rejected.
   * @returns A Promise for the completion of the callback.
   */
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>
  /**
   * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
   * resolved value cannot be modified from the callback.
   * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
   * @returns A Promise for the completion of the callback.
   */
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>
}




/**
 * Fields of the PricingHeader model
 */
export interface PricingHeaderFieldRefs {
  readonly id: Prisma.FieldRef<"PricingHeader", 'String'>
  readonly itemTypeId: Prisma.FieldRef<"PricingHeader", 'String'>
  readonly code: Prisma.FieldRef<"PricingHeader", 'String'>
  readonly name: Prisma.FieldRef<"PricingHeader", 'String'>
  readonly weight: Prisma.FieldRef<"PricingHeader", 'Int'>
  readonly unit: Prisma.FieldRef<"PricingHeader", 'String'>
  readonly description: Prisma.FieldRef<"PricingHeader", 'String'>
  readonly status: Prisma.FieldRef<"PricingHeader", 'SettingStatus'>
  readonly effectiveDate: Prisma.FieldRef<"PricingHeader", 'DateTime'>
  readonly createdAt: Prisma.FieldRef<"PricingHeader", 'DateTime'>
  readonly modifiedAt: Prisma.FieldRef<"PricingHeader", 'DateTime'>
}
    

// Custom InputTypes
/**
 * PricingHeader findUnique
 */
export type PricingHeaderFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PricingHeader
   */
  select?: Prisma.PricingHeaderSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PricingHeader
   */
  omit?: Prisma.PricingHeaderOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PricingHeaderInclude<ExtArgs> | null
  /**
   * Filter, which PricingHeader to fetch.
   */
  where: Prisma.PricingHeaderWhereUniqueInput
}

/**
 * PricingHeader findUniqueOrThrow
 */
export type PricingHeaderFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PricingHeader
   */
  select?: Prisma.PricingHeaderSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PricingHeader
   */
  omit?: Prisma.PricingHeaderOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PricingHeaderInclude<ExtArgs> | null
  /**
   * Filter, which PricingHeader to fetch.
   */
  where: Prisma.PricingHeaderWhereUniqueInput
}

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

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

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

/**
 * PricingHeader create
 */
export type PricingHeaderCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PricingHeader
   */
  select?: Prisma.PricingHeaderSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PricingHeader
   */
  omit?: Prisma.PricingHeaderOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PricingHeaderInclude<ExtArgs> | null
  /**
   * The data needed to create a PricingHeader.
   */
  data: Prisma.XOR<Prisma.PricingHeaderCreateInput, Prisma.PricingHeaderUncheckedCreateInput>
}

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

/**
 * PricingHeader createManyAndReturn
 */
export type PricingHeaderCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PricingHeader
   */
  select?: Prisma.PricingHeaderSelectCreateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the PricingHeader
   */
  omit?: Prisma.PricingHeaderOmit<ExtArgs> | null
  /**
   * The data used to create many PricingHeaders.
   */
  data: Prisma.PricingHeaderCreateManyInput | Prisma.PricingHeaderCreateManyInput[]
  skipDuplicates?: boolean
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PricingHeaderIncludeCreateManyAndReturn<ExtArgs> | null
}

/**
 * PricingHeader update
 */
export type PricingHeaderUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PricingHeader
   */
  select?: Prisma.PricingHeaderSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PricingHeader
   */
  omit?: Prisma.PricingHeaderOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PricingHeaderInclude<ExtArgs> | null
  /**
   * The data needed to update a PricingHeader.
   */
  data: Prisma.XOR<Prisma.PricingHeaderUpdateInput, Prisma.PricingHeaderUncheckedUpdateInput>
  /**
   * Choose, which PricingHeader to update.
   */
  where: Prisma.PricingHeaderWhereUniqueInput
}

/**
 * PricingHeader updateMany
 */
export type PricingHeaderUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * The data used to update PricingHeaders.
   */
  data: Prisma.XOR<Prisma.PricingHeaderUpdateManyMutationInput, Prisma.PricingHeaderUncheckedUpdateManyInput>
  /**
   * Filter which PricingHeaders to update
   */
  where?: Prisma.PricingHeaderWhereInput
  /**
   * Limit how many PricingHeaders to update.
   */
  limit?: number
}

/**
 * PricingHeader updateManyAndReturn
 */
export type PricingHeaderUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PricingHeader
   */
  select?: Prisma.PricingHeaderSelectUpdateManyAndReturn<ExtArgs> | null
  /**
   * Omit specific fields from the PricingHeader
   */
  omit?: Prisma.PricingHeaderOmit<ExtArgs> | null
  /**
   * The data used to update PricingHeaders.
   */
  data: Prisma.XOR<Prisma.PricingHeaderUpdateManyMutationInput, Prisma.PricingHeaderUncheckedUpdateManyInput>
  /**
   * Filter which PricingHeaders to update
   */
  where?: Prisma.PricingHeaderWhereInput
  /**
   * Limit how many PricingHeaders to update.
   */
  limit?: number
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PricingHeaderIncludeUpdateManyAndReturn<ExtArgs> | null
}

/**
 * PricingHeader upsert
 */
export type PricingHeaderUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PricingHeader
   */
  select?: Prisma.PricingHeaderSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PricingHeader
   */
  omit?: Prisma.PricingHeaderOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PricingHeaderInclude<ExtArgs> | null
  /**
   * The filter to search for the PricingHeader to update in case it exists.
   */
  where: Prisma.PricingHeaderWhereUniqueInput
  /**
   * In case the PricingHeader found by the `where` argument doesn't exist, create a new PricingHeader with this data.
   */
  create: Prisma.XOR<Prisma.PricingHeaderCreateInput, Prisma.PricingHeaderUncheckedCreateInput>
  /**
   * In case the PricingHeader was found with the provided `where` argument, update it with this data.
   */
  update: Prisma.XOR<Prisma.PricingHeaderUpdateInput, Prisma.PricingHeaderUncheckedUpdateInput>
}

/**
 * PricingHeader delete
 */
export type PricingHeaderDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PricingHeader
   */
  select?: Prisma.PricingHeaderSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PricingHeader
   */
  omit?: Prisma.PricingHeaderOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PricingHeaderInclude<ExtArgs> | null
  /**
   * Filter which PricingHeader to delete.
   */
  where: Prisma.PricingHeaderWhereUniqueInput
}

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

/**
 * PricingHeader.pricingDetails
 */
export type PricingHeader$pricingDetailsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
  /**
   * Select specific fields to fetch from the PricingDetail
   */
  select?: Prisma.PricingDetailSelect<ExtArgs> | null
  /**
   * Omit specific fields from the PricingDetail
   */
  omit?: Prisma.PricingDetailOmit<ExtArgs> | null
  /**
   * Choose, which related nodes to fetch as well
   */
  include?: Prisma.PricingDetailInclude<ExtArgs> | null
  where?: Prisma.PricingDetailWhereInput
  orderBy?: Prisma.PricingDetailOrderByWithRelationInput | Prisma.PricingDetailOrderByWithRelationInput[]
  cursor?: Prisma.PricingDetailWhereUniqueInput
  take?: number
  skip?: number
  distinct?: Prisma.PricingDetailScalarFieldEnum | Prisma.PricingDetailScalarFieldEnum[]
}

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