/* !!! This is code generated by Prisma. Do not edit directly. !!! */ /* eslint-disable */ // biome-ignore-all lint: generated file // @ts-nocheck /* * This file exports the `CatalogItem` 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.ts" import type * as Prisma from "../internal/prismaNamespace.ts" /** * Model CatalogItem * */ export type CatalogItemModel = runtime.Types.Result.DefaultSelection export type AggregateCatalogItem = { _count: CatalogItemCountAggregateOutputType | null _avg: CatalogItemAvgAggregateOutputType | null _sum: CatalogItemSumAggregateOutputType | null _min: CatalogItemMinAggregateOutputType | null _max: CatalogItemMaxAggregateOutputType | null } export type CatalogItemAvgAggregateOutputType = { cwCatalogId: number | null manufactureCwId: number | null vendorCwId: number | null price: number | null cost: number | null onHand: number | null } export type CatalogItemSumAggregateOutputType = { cwCatalogId: number | null manufactureCwId: number | null vendorCwId: number | null price: number | null cost: number | null onHand: number | null } export type CatalogItemMinAggregateOutputType = { id: string | null cwCatalogId: number | null identifier: string | null name: string | null description: string | null customerDescription: string | null internalNotes: string | null manufacturer: string | null manufactureCwId: number | null partNumber: string | null vendorName: string | null vendorSku: string | null vendorCwId: number | null price: number | null cost: number | null inactive: boolean | null salesTaxable: boolean | null onHand: number | null cwLastUpdated: Date | null createdAt: Date | null updatedAt: Date | null } export type CatalogItemMaxAggregateOutputType = { id: string | null cwCatalogId: number | null identifier: string | null name: string | null description: string | null customerDescription: string | null internalNotes: string | null manufacturer: string | null manufactureCwId: number | null partNumber: string | null vendorName: string | null vendorSku: string | null vendorCwId: number | null price: number | null cost: number | null inactive: boolean | null salesTaxable: boolean | null onHand: number | null cwLastUpdated: Date | null createdAt: Date | null updatedAt: Date | null } export type CatalogItemCountAggregateOutputType = { id: number cwCatalogId: number identifier: number name: number description: number customerDescription: number internalNotes: number manufacturer: number manufactureCwId: number partNumber: number vendorName: number vendorSku: number vendorCwId: number price: number cost: number inactive: number salesTaxable: number onHand: number cwLastUpdated: number createdAt: number updatedAt: number _all: number } export type CatalogItemAvgAggregateInputType = { cwCatalogId?: true manufactureCwId?: true vendorCwId?: true price?: true cost?: true onHand?: true } export type CatalogItemSumAggregateInputType = { cwCatalogId?: true manufactureCwId?: true vendorCwId?: true price?: true cost?: true onHand?: true } export type CatalogItemMinAggregateInputType = { id?: true cwCatalogId?: true identifier?: true name?: true description?: true customerDescription?: true internalNotes?: true manufacturer?: true manufactureCwId?: true partNumber?: true vendorName?: true vendorSku?: true vendorCwId?: true price?: true cost?: true inactive?: true salesTaxable?: true onHand?: true cwLastUpdated?: true createdAt?: true updatedAt?: true } export type CatalogItemMaxAggregateInputType = { id?: true cwCatalogId?: true identifier?: true name?: true description?: true customerDescription?: true internalNotes?: true manufacturer?: true manufactureCwId?: true partNumber?: true vendorName?: true vendorSku?: true vendorCwId?: true price?: true cost?: true inactive?: true salesTaxable?: true onHand?: true cwLastUpdated?: true createdAt?: true updatedAt?: true } export type CatalogItemCountAggregateInputType = { id?: true cwCatalogId?: true identifier?: true name?: true description?: true customerDescription?: true internalNotes?: true manufacturer?: true manufactureCwId?: true partNumber?: true vendorName?: true vendorSku?: true vendorCwId?: true price?: true cost?: true inactive?: true salesTaxable?: true onHand?: true cwLastUpdated?: true createdAt?: true updatedAt?: true _all?: true } export type CatalogItemAggregateArgs = { /** * Filter which CatalogItem to aggregate. */ where?: Prisma.CatalogItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CatalogItems to fetch. */ orderBy?: Prisma.CatalogItemOrderByWithRelationInput | Prisma.CatalogItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the start position */ cursor?: Prisma.CatalogItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CatalogItems 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` CatalogItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Count returned CatalogItems **/ _count?: true | CatalogItemCountAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to average **/ _avg?: CatalogItemAvgAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to sum **/ _sum?: CatalogItemSumAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the minimum value **/ _min?: CatalogItemMinAggregateInputType /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs} * * Select which fields to find the maximum value **/ _max?: CatalogItemMaxAggregateInputType } export type GetCatalogItemAggregateType = { [P in keyof T & keyof AggregateCatalogItem]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType : Prisma.GetScalarType } export type CatalogItemGroupByArgs = { where?: Prisma.CatalogItemWhereInput orderBy?: Prisma.CatalogItemOrderByWithAggregationInput | Prisma.CatalogItemOrderByWithAggregationInput[] by: Prisma.CatalogItemScalarFieldEnum[] | Prisma.CatalogItemScalarFieldEnum having?: Prisma.CatalogItemScalarWhereWithAggregatesInput take?: number skip?: number _count?: CatalogItemCountAggregateInputType | true _avg?: CatalogItemAvgAggregateInputType _sum?: CatalogItemSumAggregateInputType _min?: CatalogItemMinAggregateInputType _max?: CatalogItemMaxAggregateInputType } export type CatalogItemGroupByOutputType = { id: string cwCatalogId: number identifier: string | null name: string description: string | null customerDescription: string | null internalNotes: string | null manufacturer: string | null manufactureCwId: number | null partNumber: string | null vendorName: string | null vendorSku: string | null vendorCwId: number | null price: number cost: number inactive: boolean salesTaxable: boolean onHand: number cwLastUpdated: Date | null createdAt: Date updatedAt: Date _count: CatalogItemCountAggregateOutputType | null _avg: CatalogItemAvgAggregateOutputType | null _sum: CatalogItemSumAggregateOutputType | null _min: CatalogItemMinAggregateOutputType | null _max: CatalogItemMaxAggregateOutputType | null } type GetCatalogItemGroupByPayload = Prisma.PrismaPromise< Array< Prisma.PickEnumerable & { [P in ((keyof T) & (keyof CatalogItemGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType : Prisma.GetScalarType } > > export type CatalogItemWhereInput = { AND?: Prisma.CatalogItemWhereInput | Prisma.CatalogItemWhereInput[] OR?: Prisma.CatalogItemWhereInput[] NOT?: Prisma.CatalogItemWhereInput | Prisma.CatalogItemWhereInput[] id?: Prisma.StringFilter<"CatalogItem"> | string cwCatalogId?: Prisma.IntFilter<"CatalogItem"> | number identifier?: Prisma.StringNullableFilter<"CatalogItem"> | string | null name?: Prisma.StringFilter<"CatalogItem"> | string description?: Prisma.StringNullableFilter<"CatalogItem"> | string | null customerDescription?: Prisma.StringNullableFilter<"CatalogItem"> | string | null internalNotes?: Prisma.StringNullableFilter<"CatalogItem"> | string | null manufacturer?: Prisma.StringNullableFilter<"CatalogItem"> | string | null manufactureCwId?: Prisma.IntNullableFilter<"CatalogItem"> | number | null partNumber?: Prisma.StringNullableFilter<"CatalogItem"> | string | null vendorName?: Prisma.StringNullableFilter<"CatalogItem"> | string | null vendorSku?: Prisma.StringNullableFilter<"CatalogItem"> | string | null vendorCwId?: Prisma.IntNullableFilter<"CatalogItem"> | number | null price?: Prisma.FloatFilter<"CatalogItem"> | number cost?: Prisma.FloatFilter<"CatalogItem"> | number inactive?: Prisma.BoolFilter<"CatalogItem"> | boolean salesTaxable?: Prisma.BoolFilter<"CatalogItem"> | boolean onHand?: Prisma.IntFilter<"CatalogItem"> | number cwLastUpdated?: Prisma.DateTimeNullableFilter<"CatalogItem"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"CatalogItem"> | Date | string updatedAt?: Prisma.DateTimeFilter<"CatalogItem"> | Date | string linkedItems?: Prisma.CatalogItemListRelationFilter linkedTo?: Prisma.CatalogItemListRelationFilter } export type CatalogItemOrderByWithRelationInput = { id?: Prisma.SortOrder cwCatalogId?: Prisma.SortOrder identifier?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder customerDescription?: Prisma.SortOrderInput | Prisma.SortOrder internalNotes?: Prisma.SortOrderInput | Prisma.SortOrder manufacturer?: Prisma.SortOrderInput | Prisma.SortOrder manufactureCwId?: Prisma.SortOrderInput | Prisma.SortOrder partNumber?: Prisma.SortOrderInput | Prisma.SortOrder vendorName?: Prisma.SortOrderInput | Prisma.SortOrder vendorSku?: Prisma.SortOrderInput | Prisma.SortOrder vendorCwId?: Prisma.SortOrderInput | Prisma.SortOrder price?: Prisma.SortOrder cost?: Prisma.SortOrder inactive?: Prisma.SortOrder salesTaxable?: Prisma.SortOrder onHand?: Prisma.SortOrder cwLastUpdated?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder linkedItems?: Prisma.CatalogItemOrderByRelationAggregateInput linkedTo?: Prisma.CatalogItemOrderByRelationAggregateInput } export type CatalogItemWhereUniqueInput = Prisma.AtLeast<{ id?: string cwCatalogId?: number identifier?: string AND?: Prisma.CatalogItemWhereInput | Prisma.CatalogItemWhereInput[] OR?: Prisma.CatalogItemWhereInput[] NOT?: Prisma.CatalogItemWhereInput | Prisma.CatalogItemWhereInput[] name?: Prisma.StringFilter<"CatalogItem"> | string description?: Prisma.StringNullableFilter<"CatalogItem"> | string | null customerDescription?: Prisma.StringNullableFilter<"CatalogItem"> | string | null internalNotes?: Prisma.StringNullableFilter<"CatalogItem"> | string | null manufacturer?: Prisma.StringNullableFilter<"CatalogItem"> | string | null manufactureCwId?: Prisma.IntNullableFilter<"CatalogItem"> | number | null partNumber?: Prisma.StringNullableFilter<"CatalogItem"> | string | null vendorName?: Prisma.StringNullableFilter<"CatalogItem"> | string | null vendorSku?: Prisma.StringNullableFilter<"CatalogItem"> | string | null vendorCwId?: Prisma.IntNullableFilter<"CatalogItem"> | number | null price?: Prisma.FloatFilter<"CatalogItem"> | number cost?: Prisma.FloatFilter<"CatalogItem"> | number inactive?: Prisma.BoolFilter<"CatalogItem"> | boolean salesTaxable?: Prisma.BoolFilter<"CatalogItem"> | boolean onHand?: Prisma.IntFilter<"CatalogItem"> | number cwLastUpdated?: Prisma.DateTimeNullableFilter<"CatalogItem"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"CatalogItem"> | Date | string updatedAt?: Prisma.DateTimeFilter<"CatalogItem"> | Date | string linkedItems?: Prisma.CatalogItemListRelationFilter linkedTo?: Prisma.CatalogItemListRelationFilter }, "id" | "cwCatalogId" | "identifier"> export type CatalogItemOrderByWithAggregationInput = { id?: Prisma.SortOrder cwCatalogId?: Prisma.SortOrder identifier?: Prisma.SortOrderInput | Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrderInput | Prisma.SortOrder customerDescription?: Prisma.SortOrderInput | Prisma.SortOrder internalNotes?: Prisma.SortOrderInput | Prisma.SortOrder manufacturer?: Prisma.SortOrderInput | Prisma.SortOrder manufactureCwId?: Prisma.SortOrderInput | Prisma.SortOrder partNumber?: Prisma.SortOrderInput | Prisma.SortOrder vendorName?: Prisma.SortOrderInput | Prisma.SortOrder vendorSku?: Prisma.SortOrderInput | Prisma.SortOrder vendorCwId?: Prisma.SortOrderInput | Prisma.SortOrder price?: Prisma.SortOrder cost?: Prisma.SortOrder inactive?: Prisma.SortOrder salesTaxable?: Prisma.SortOrder onHand?: Prisma.SortOrder cwLastUpdated?: Prisma.SortOrderInput | Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder _count?: Prisma.CatalogItemCountOrderByAggregateInput _avg?: Prisma.CatalogItemAvgOrderByAggregateInput _max?: Prisma.CatalogItemMaxOrderByAggregateInput _min?: Prisma.CatalogItemMinOrderByAggregateInput _sum?: Prisma.CatalogItemSumOrderByAggregateInput } export type CatalogItemScalarWhereWithAggregatesInput = { AND?: Prisma.CatalogItemScalarWhereWithAggregatesInput | Prisma.CatalogItemScalarWhereWithAggregatesInput[] OR?: Prisma.CatalogItemScalarWhereWithAggregatesInput[] NOT?: Prisma.CatalogItemScalarWhereWithAggregatesInput | Prisma.CatalogItemScalarWhereWithAggregatesInput[] id?: Prisma.StringWithAggregatesFilter<"CatalogItem"> | string cwCatalogId?: Prisma.IntWithAggregatesFilter<"CatalogItem"> | number identifier?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null name?: Prisma.StringWithAggregatesFilter<"CatalogItem"> | string description?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null customerDescription?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null internalNotes?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null manufacturer?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null manufactureCwId?: Prisma.IntNullableWithAggregatesFilter<"CatalogItem"> | number | null partNumber?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null vendorName?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null vendorSku?: Prisma.StringNullableWithAggregatesFilter<"CatalogItem"> | string | null vendorCwId?: Prisma.IntNullableWithAggregatesFilter<"CatalogItem"> | number | null price?: Prisma.FloatWithAggregatesFilter<"CatalogItem"> | number cost?: Prisma.FloatWithAggregatesFilter<"CatalogItem"> | number inactive?: Prisma.BoolWithAggregatesFilter<"CatalogItem"> | boolean salesTaxable?: Prisma.BoolWithAggregatesFilter<"CatalogItem"> | boolean onHand?: Prisma.IntWithAggregatesFilter<"CatalogItem"> | number cwLastUpdated?: Prisma.DateTimeNullableWithAggregatesFilter<"CatalogItem"> | Date | string | null createdAt?: Prisma.DateTimeWithAggregatesFilter<"CatalogItem"> | Date | string updatedAt?: Prisma.DateTimeWithAggregatesFilter<"CatalogItem"> | Date | string } export type CatalogItemCreateInput = { id?: string cwCatalogId: number identifier?: string | null name: string description?: string | null customerDescription?: string | null internalNotes?: string | null manufacturer?: string | null manufactureCwId?: number | null partNumber?: string | null vendorName?: string | null vendorSku?: string | null vendorCwId?: number | null price: number cost: number inactive?: boolean salesTaxable?: boolean onHand?: number cwLastUpdated?: Date | string | null createdAt?: Date | string updatedAt?: Date | string linkedItems?: Prisma.CatalogItemCreateNestedManyWithoutLinkedToInput linkedTo?: Prisma.CatalogItemCreateNestedManyWithoutLinkedItemsInput } export type CatalogItemUncheckedCreateInput = { id?: string cwCatalogId: number identifier?: string | null name: string description?: string | null customerDescription?: string | null internalNotes?: string | null manufacturer?: string | null manufactureCwId?: number | null partNumber?: string | null vendorName?: string | null vendorSku?: string | null vendorCwId?: number | null price: number cost: number inactive?: boolean salesTaxable?: boolean onHand?: number cwLastUpdated?: Date | string | null createdAt?: Date | string updatedAt?: Date | string linkedItems?: Prisma.CatalogItemUncheckedCreateNestedManyWithoutLinkedToInput linkedTo?: Prisma.CatalogItemUncheckedCreateNestedManyWithoutLinkedItemsInput } export type CatalogItemUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string linkedItems?: Prisma.CatalogItemUpdateManyWithoutLinkedToNestedInput linkedTo?: Prisma.CatalogItemUpdateManyWithoutLinkedItemsNestedInput } export type CatalogItemUncheckedUpdateInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string linkedItems?: Prisma.CatalogItemUncheckedUpdateManyWithoutLinkedToNestedInput linkedTo?: Prisma.CatalogItemUncheckedUpdateManyWithoutLinkedItemsNestedInput } export type CatalogItemCreateManyInput = { id?: string cwCatalogId: number identifier?: string | null name: string description?: string | null customerDescription?: string | null internalNotes?: string | null manufacturer?: string | null manufactureCwId?: number | null partNumber?: string | null vendorName?: string | null vendorSku?: string | null vendorCwId?: number | null price: number cost: number inactive?: boolean salesTaxable?: boolean onHand?: number cwLastUpdated?: Date | string | null createdAt?: Date | string updatedAt?: Date | string } export type CatalogItemUpdateManyMutationInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CatalogItemUncheckedUpdateManyInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CatalogItemListRelationFilter = { every?: Prisma.CatalogItemWhereInput some?: Prisma.CatalogItemWhereInput none?: Prisma.CatalogItemWhereInput } export type CatalogItemOrderByRelationAggregateInput = { _count?: Prisma.SortOrder } export type CatalogItemCountOrderByAggregateInput = { id?: Prisma.SortOrder cwCatalogId?: Prisma.SortOrder identifier?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder customerDescription?: Prisma.SortOrder internalNotes?: Prisma.SortOrder manufacturer?: Prisma.SortOrder manufactureCwId?: Prisma.SortOrder partNumber?: Prisma.SortOrder vendorName?: Prisma.SortOrder vendorSku?: Prisma.SortOrder vendorCwId?: Prisma.SortOrder price?: Prisma.SortOrder cost?: Prisma.SortOrder inactive?: Prisma.SortOrder salesTaxable?: Prisma.SortOrder onHand?: Prisma.SortOrder cwLastUpdated?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type CatalogItemAvgOrderByAggregateInput = { cwCatalogId?: Prisma.SortOrder manufactureCwId?: Prisma.SortOrder vendorCwId?: Prisma.SortOrder price?: Prisma.SortOrder cost?: Prisma.SortOrder onHand?: Prisma.SortOrder } export type CatalogItemMaxOrderByAggregateInput = { id?: Prisma.SortOrder cwCatalogId?: Prisma.SortOrder identifier?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder customerDescription?: Prisma.SortOrder internalNotes?: Prisma.SortOrder manufacturer?: Prisma.SortOrder manufactureCwId?: Prisma.SortOrder partNumber?: Prisma.SortOrder vendorName?: Prisma.SortOrder vendorSku?: Prisma.SortOrder vendorCwId?: Prisma.SortOrder price?: Prisma.SortOrder cost?: Prisma.SortOrder inactive?: Prisma.SortOrder salesTaxable?: Prisma.SortOrder onHand?: Prisma.SortOrder cwLastUpdated?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type CatalogItemMinOrderByAggregateInput = { id?: Prisma.SortOrder cwCatalogId?: Prisma.SortOrder identifier?: Prisma.SortOrder name?: Prisma.SortOrder description?: Prisma.SortOrder customerDescription?: Prisma.SortOrder internalNotes?: Prisma.SortOrder manufacturer?: Prisma.SortOrder manufactureCwId?: Prisma.SortOrder partNumber?: Prisma.SortOrder vendorName?: Prisma.SortOrder vendorSku?: Prisma.SortOrder vendorCwId?: Prisma.SortOrder price?: Prisma.SortOrder cost?: Prisma.SortOrder inactive?: Prisma.SortOrder salesTaxable?: Prisma.SortOrder onHand?: Prisma.SortOrder cwLastUpdated?: Prisma.SortOrder createdAt?: Prisma.SortOrder updatedAt?: Prisma.SortOrder } export type CatalogItemSumOrderByAggregateInput = { cwCatalogId?: Prisma.SortOrder manufactureCwId?: Prisma.SortOrder vendorCwId?: Prisma.SortOrder price?: Prisma.SortOrder cost?: Prisma.SortOrder onHand?: Prisma.SortOrder } export type CatalogItemCreateNestedManyWithoutLinkedToInput = { create?: Prisma.XOR | Prisma.CatalogItemCreateWithoutLinkedToInput[] | Prisma.CatalogItemUncheckedCreateWithoutLinkedToInput[] connectOrCreate?: Prisma.CatalogItemCreateOrConnectWithoutLinkedToInput | Prisma.CatalogItemCreateOrConnectWithoutLinkedToInput[] connect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] } export type CatalogItemCreateNestedManyWithoutLinkedItemsInput = { create?: Prisma.XOR | Prisma.CatalogItemCreateWithoutLinkedItemsInput[] | Prisma.CatalogItemUncheckedCreateWithoutLinkedItemsInput[] connectOrCreate?: Prisma.CatalogItemCreateOrConnectWithoutLinkedItemsInput | Prisma.CatalogItemCreateOrConnectWithoutLinkedItemsInput[] connect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] } export type CatalogItemUncheckedCreateNestedManyWithoutLinkedToInput = { create?: Prisma.XOR | Prisma.CatalogItemCreateWithoutLinkedToInput[] | Prisma.CatalogItemUncheckedCreateWithoutLinkedToInput[] connectOrCreate?: Prisma.CatalogItemCreateOrConnectWithoutLinkedToInput | Prisma.CatalogItemCreateOrConnectWithoutLinkedToInput[] connect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] } export type CatalogItemUncheckedCreateNestedManyWithoutLinkedItemsInput = { create?: Prisma.XOR | Prisma.CatalogItemCreateWithoutLinkedItemsInput[] | Prisma.CatalogItemUncheckedCreateWithoutLinkedItemsInput[] connectOrCreate?: Prisma.CatalogItemCreateOrConnectWithoutLinkedItemsInput | Prisma.CatalogItemCreateOrConnectWithoutLinkedItemsInput[] connect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] } export type NullableIntFieldUpdateOperationsInput = { set?: number | null increment?: number decrement?: number multiply?: number divide?: number } export type FloatFieldUpdateOperationsInput = { set?: number increment?: number decrement?: number multiply?: number divide?: number } export type CatalogItemUpdateManyWithoutLinkedToNestedInput = { create?: Prisma.XOR | Prisma.CatalogItemCreateWithoutLinkedToInput[] | Prisma.CatalogItemUncheckedCreateWithoutLinkedToInput[] connectOrCreate?: Prisma.CatalogItemCreateOrConnectWithoutLinkedToInput | Prisma.CatalogItemCreateOrConnectWithoutLinkedToInput[] upsert?: Prisma.CatalogItemUpsertWithWhereUniqueWithoutLinkedToInput | Prisma.CatalogItemUpsertWithWhereUniqueWithoutLinkedToInput[] set?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] disconnect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] delete?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] connect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] update?: Prisma.CatalogItemUpdateWithWhereUniqueWithoutLinkedToInput | Prisma.CatalogItemUpdateWithWhereUniqueWithoutLinkedToInput[] updateMany?: Prisma.CatalogItemUpdateManyWithWhereWithoutLinkedToInput | Prisma.CatalogItemUpdateManyWithWhereWithoutLinkedToInput[] deleteMany?: Prisma.CatalogItemScalarWhereInput | Prisma.CatalogItemScalarWhereInput[] } export type CatalogItemUpdateManyWithoutLinkedItemsNestedInput = { create?: Prisma.XOR | Prisma.CatalogItemCreateWithoutLinkedItemsInput[] | Prisma.CatalogItemUncheckedCreateWithoutLinkedItemsInput[] connectOrCreate?: Prisma.CatalogItemCreateOrConnectWithoutLinkedItemsInput | Prisma.CatalogItemCreateOrConnectWithoutLinkedItemsInput[] upsert?: Prisma.CatalogItemUpsertWithWhereUniqueWithoutLinkedItemsInput | Prisma.CatalogItemUpsertWithWhereUniqueWithoutLinkedItemsInput[] set?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] disconnect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] delete?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] connect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] update?: Prisma.CatalogItemUpdateWithWhereUniqueWithoutLinkedItemsInput | Prisma.CatalogItemUpdateWithWhereUniqueWithoutLinkedItemsInput[] updateMany?: Prisma.CatalogItemUpdateManyWithWhereWithoutLinkedItemsInput | Prisma.CatalogItemUpdateManyWithWhereWithoutLinkedItemsInput[] deleteMany?: Prisma.CatalogItemScalarWhereInput | Prisma.CatalogItemScalarWhereInput[] } export type CatalogItemUncheckedUpdateManyWithoutLinkedToNestedInput = { create?: Prisma.XOR | Prisma.CatalogItemCreateWithoutLinkedToInput[] | Prisma.CatalogItemUncheckedCreateWithoutLinkedToInput[] connectOrCreate?: Prisma.CatalogItemCreateOrConnectWithoutLinkedToInput | Prisma.CatalogItemCreateOrConnectWithoutLinkedToInput[] upsert?: Prisma.CatalogItemUpsertWithWhereUniqueWithoutLinkedToInput | Prisma.CatalogItemUpsertWithWhereUniqueWithoutLinkedToInput[] set?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] disconnect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] delete?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] connect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] update?: Prisma.CatalogItemUpdateWithWhereUniqueWithoutLinkedToInput | Prisma.CatalogItemUpdateWithWhereUniqueWithoutLinkedToInput[] updateMany?: Prisma.CatalogItemUpdateManyWithWhereWithoutLinkedToInput | Prisma.CatalogItemUpdateManyWithWhereWithoutLinkedToInput[] deleteMany?: Prisma.CatalogItemScalarWhereInput | Prisma.CatalogItemScalarWhereInput[] } export type CatalogItemUncheckedUpdateManyWithoutLinkedItemsNestedInput = { create?: Prisma.XOR | Prisma.CatalogItemCreateWithoutLinkedItemsInput[] | Prisma.CatalogItemUncheckedCreateWithoutLinkedItemsInput[] connectOrCreate?: Prisma.CatalogItemCreateOrConnectWithoutLinkedItemsInput | Prisma.CatalogItemCreateOrConnectWithoutLinkedItemsInput[] upsert?: Prisma.CatalogItemUpsertWithWhereUniqueWithoutLinkedItemsInput | Prisma.CatalogItemUpsertWithWhereUniqueWithoutLinkedItemsInput[] set?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] disconnect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] delete?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] connect?: Prisma.CatalogItemWhereUniqueInput | Prisma.CatalogItemWhereUniqueInput[] update?: Prisma.CatalogItemUpdateWithWhereUniqueWithoutLinkedItemsInput | Prisma.CatalogItemUpdateWithWhereUniqueWithoutLinkedItemsInput[] updateMany?: Prisma.CatalogItemUpdateManyWithWhereWithoutLinkedItemsInput | Prisma.CatalogItemUpdateManyWithWhereWithoutLinkedItemsInput[] deleteMany?: Prisma.CatalogItemScalarWhereInput | Prisma.CatalogItemScalarWhereInput[] } export type CatalogItemCreateWithoutLinkedToInput = { id?: string cwCatalogId: number identifier?: string | null name: string description?: string | null customerDescription?: string | null internalNotes?: string | null manufacturer?: string | null manufactureCwId?: number | null partNumber?: string | null vendorName?: string | null vendorSku?: string | null vendorCwId?: number | null price: number cost: number inactive?: boolean salesTaxable?: boolean onHand?: number cwLastUpdated?: Date | string | null createdAt?: Date | string updatedAt?: Date | string linkedItems?: Prisma.CatalogItemCreateNestedManyWithoutLinkedToInput } export type CatalogItemUncheckedCreateWithoutLinkedToInput = { id?: string cwCatalogId: number identifier?: string | null name: string description?: string | null customerDescription?: string | null internalNotes?: string | null manufacturer?: string | null manufactureCwId?: number | null partNumber?: string | null vendorName?: string | null vendorSku?: string | null vendorCwId?: number | null price: number cost: number inactive?: boolean salesTaxable?: boolean onHand?: number cwLastUpdated?: Date | string | null createdAt?: Date | string updatedAt?: Date | string linkedItems?: Prisma.CatalogItemUncheckedCreateNestedManyWithoutLinkedToInput } export type CatalogItemCreateOrConnectWithoutLinkedToInput = { where: Prisma.CatalogItemWhereUniqueInput create: Prisma.XOR } export type CatalogItemCreateWithoutLinkedItemsInput = { id?: string cwCatalogId: number identifier?: string | null name: string description?: string | null customerDescription?: string | null internalNotes?: string | null manufacturer?: string | null manufactureCwId?: number | null partNumber?: string | null vendorName?: string | null vendorSku?: string | null vendorCwId?: number | null price: number cost: number inactive?: boolean salesTaxable?: boolean onHand?: number cwLastUpdated?: Date | string | null createdAt?: Date | string updatedAt?: Date | string linkedTo?: Prisma.CatalogItemCreateNestedManyWithoutLinkedItemsInput } export type CatalogItemUncheckedCreateWithoutLinkedItemsInput = { id?: string cwCatalogId: number identifier?: string | null name: string description?: string | null customerDescription?: string | null internalNotes?: string | null manufacturer?: string | null manufactureCwId?: number | null partNumber?: string | null vendorName?: string | null vendorSku?: string | null vendorCwId?: number | null price: number cost: number inactive?: boolean salesTaxable?: boolean onHand?: number cwLastUpdated?: Date | string | null createdAt?: Date | string updatedAt?: Date | string linkedTo?: Prisma.CatalogItemUncheckedCreateNestedManyWithoutLinkedItemsInput } export type CatalogItemCreateOrConnectWithoutLinkedItemsInput = { where: Prisma.CatalogItemWhereUniqueInput create: Prisma.XOR } export type CatalogItemUpsertWithWhereUniqueWithoutLinkedToInput = { where: Prisma.CatalogItemWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type CatalogItemUpdateWithWhereUniqueWithoutLinkedToInput = { where: Prisma.CatalogItemWhereUniqueInput data: Prisma.XOR } export type CatalogItemUpdateManyWithWhereWithoutLinkedToInput = { where: Prisma.CatalogItemScalarWhereInput data: Prisma.XOR } export type CatalogItemScalarWhereInput = { AND?: Prisma.CatalogItemScalarWhereInput | Prisma.CatalogItemScalarWhereInput[] OR?: Prisma.CatalogItemScalarWhereInput[] NOT?: Prisma.CatalogItemScalarWhereInput | Prisma.CatalogItemScalarWhereInput[] id?: Prisma.StringFilter<"CatalogItem"> | string cwCatalogId?: Prisma.IntFilter<"CatalogItem"> | number identifier?: Prisma.StringNullableFilter<"CatalogItem"> | string | null name?: Prisma.StringFilter<"CatalogItem"> | string description?: Prisma.StringNullableFilter<"CatalogItem"> | string | null customerDescription?: Prisma.StringNullableFilter<"CatalogItem"> | string | null internalNotes?: Prisma.StringNullableFilter<"CatalogItem"> | string | null manufacturer?: Prisma.StringNullableFilter<"CatalogItem"> | string | null manufactureCwId?: Prisma.IntNullableFilter<"CatalogItem"> | number | null partNumber?: Prisma.StringNullableFilter<"CatalogItem"> | string | null vendorName?: Prisma.StringNullableFilter<"CatalogItem"> | string | null vendorSku?: Prisma.StringNullableFilter<"CatalogItem"> | string | null vendorCwId?: Prisma.IntNullableFilter<"CatalogItem"> | number | null price?: Prisma.FloatFilter<"CatalogItem"> | number cost?: Prisma.FloatFilter<"CatalogItem"> | number inactive?: Prisma.BoolFilter<"CatalogItem"> | boolean salesTaxable?: Prisma.BoolFilter<"CatalogItem"> | boolean onHand?: Prisma.IntFilter<"CatalogItem"> | number cwLastUpdated?: Prisma.DateTimeNullableFilter<"CatalogItem"> | Date | string | null createdAt?: Prisma.DateTimeFilter<"CatalogItem"> | Date | string updatedAt?: Prisma.DateTimeFilter<"CatalogItem"> | Date | string } export type CatalogItemUpsertWithWhereUniqueWithoutLinkedItemsInput = { where: Prisma.CatalogItemWhereUniqueInput update: Prisma.XOR create: Prisma.XOR } export type CatalogItemUpdateWithWhereUniqueWithoutLinkedItemsInput = { where: Prisma.CatalogItemWhereUniqueInput data: Prisma.XOR } export type CatalogItemUpdateManyWithWhereWithoutLinkedItemsInput = { where: Prisma.CatalogItemScalarWhereInput data: Prisma.XOR } export type CatalogItemUpdateWithoutLinkedToInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string linkedItems?: Prisma.CatalogItemUpdateManyWithoutLinkedToNestedInput } export type CatalogItemUncheckedUpdateWithoutLinkedToInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string linkedItems?: Prisma.CatalogItemUncheckedUpdateManyWithoutLinkedToNestedInput } export type CatalogItemUncheckedUpdateManyWithoutLinkedToInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } export type CatalogItemUpdateWithoutLinkedItemsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string linkedTo?: Prisma.CatalogItemUpdateManyWithoutLinkedItemsNestedInput } export type CatalogItemUncheckedUpdateWithoutLinkedItemsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string linkedTo?: Prisma.CatalogItemUncheckedUpdateManyWithoutLinkedItemsNestedInput } export type CatalogItemUncheckedUpdateManyWithoutLinkedItemsInput = { id?: Prisma.StringFieldUpdateOperationsInput | string cwCatalogId?: Prisma.IntFieldUpdateOperationsInput | number identifier?: Prisma.NullableStringFieldUpdateOperationsInput | string | null name?: Prisma.StringFieldUpdateOperationsInput | string description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null customerDescription?: Prisma.NullableStringFieldUpdateOperationsInput | string | null internalNotes?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufacturer?: Prisma.NullableStringFieldUpdateOperationsInput | string | null manufactureCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null partNumber?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorSku?: Prisma.NullableStringFieldUpdateOperationsInput | string | null vendorCwId?: Prisma.NullableIntFieldUpdateOperationsInput | number | null price?: Prisma.FloatFieldUpdateOperationsInput | number cost?: Prisma.FloatFieldUpdateOperationsInput | number inactive?: Prisma.BoolFieldUpdateOperationsInput | boolean salesTaxable?: Prisma.BoolFieldUpdateOperationsInput | boolean onHand?: Prisma.IntFieldUpdateOperationsInput | number cwLastUpdated?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string } /** * Count Type CatalogItemCountOutputType */ export type CatalogItemCountOutputType = { linkedItems: number linkedTo: number } export type CatalogItemCountOutputTypeSelect = { linkedItems?: boolean | CatalogItemCountOutputTypeCountLinkedItemsArgs linkedTo?: boolean | CatalogItemCountOutputTypeCountLinkedToArgs } /** * CatalogItemCountOutputType without action */ export type CatalogItemCountOutputTypeDefaultArgs = { /** * Select specific fields to fetch from the CatalogItemCountOutputType */ select?: Prisma.CatalogItemCountOutputTypeSelect | null } /** * CatalogItemCountOutputType without action */ export type CatalogItemCountOutputTypeCountLinkedItemsArgs = { where?: Prisma.CatalogItemWhereInput } /** * CatalogItemCountOutputType without action */ export type CatalogItemCountOutputTypeCountLinkedToArgs = { where?: Prisma.CatalogItemWhereInput } export type CatalogItemSelect = runtime.Types.Extensions.GetSelect<{ id?: boolean cwCatalogId?: boolean identifier?: boolean name?: boolean description?: boolean customerDescription?: boolean internalNotes?: boolean manufacturer?: boolean manufactureCwId?: boolean partNumber?: boolean vendorName?: boolean vendorSku?: boolean vendorCwId?: boolean price?: boolean cost?: boolean inactive?: boolean salesTaxable?: boolean onHand?: boolean cwLastUpdated?: boolean createdAt?: boolean updatedAt?: boolean linkedItems?: boolean | Prisma.CatalogItem$linkedItemsArgs linkedTo?: boolean | Prisma.CatalogItem$linkedToArgs _count?: boolean | Prisma.CatalogItemCountOutputTypeDefaultArgs }, ExtArgs["result"]["catalogItem"]> export type CatalogItemSelectCreateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean cwCatalogId?: boolean identifier?: boolean name?: boolean description?: boolean customerDescription?: boolean internalNotes?: boolean manufacturer?: boolean manufactureCwId?: boolean partNumber?: boolean vendorName?: boolean vendorSku?: boolean vendorCwId?: boolean price?: boolean cost?: boolean inactive?: boolean salesTaxable?: boolean onHand?: boolean cwLastUpdated?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["catalogItem"]> export type CatalogItemSelectUpdateManyAndReturn = runtime.Types.Extensions.GetSelect<{ id?: boolean cwCatalogId?: boolean identifier?: boolean name?: boolean description?: boolean customerDescription?: boolean internalNotes?: boolean manufacturer?: boolean manufactureCwId?: boolean partNumber?: boolean vendorName?: boolean vendorSku?: boolean vendorCwId?: boolean price?: boolean cost?: boolean inactive?: boolean salesTaxable?: boolean onHand?: boolean cwLastUpdated?: boolean createdAt?: boolean updatedAt?: boolean }, ExtArgs["result"]["catalogItem"]> export type CatalogItemSelectScalar = { id?: boolean cwCatalogId?: boolean identifier?: boolean name?: boolean description?: boolean customerDescription?: boolean internalNotes?: boolean manufacturer?: boolean manufactureCwId?: boolean partNumber?: boolean vendorName?: boolean vendorSku?: boolean vendorCwId?: boolean price?: boolean cost?: boolean inactive?: boolean salesTaxable?: boolean onHand?: boolean cwLastUpdated?: boolean createdAt?: boolean updatedAt?: boolean } export type CatalogItemOmit = runtime.Types.Extensions.GetOmit<"id" | "cwCatalogId" | "identifier" | "name" | "description" | "customerDescription" | "internalNotes" | "manufacturer" | "manufactureCwId" | "partNumber" | "vendorName" | "vendorSku" | "vendorCwId" | "price" | "cost" | "inactive" | "salesTaxable" | "onHand" | "cwLastUpdated" | "createdAt" | "updatedAt", ExtArgs["result"]["catalogItem"]> export type CatalogItemInclude = { linkedItems?: boolean | Prisma.CatalogItem$linkedItemsArgs linkedTo?: boolean | Prisma.CatalogItem$linkedToArgs _count?: boolean | Prisma.CatalogItemCountOutputTypeDefaultArgs } export type CatalogItemIncludeCreateManyAndReturn = {} export type CatalogItemIncludeUpdateManyAndReturn = {} export type $CatalogItemPayload = { name: "CatalogItem" objects: { linkedItems: Prisma.$CatalogItemPayload[] linkedTo: Prisma.$CatalogItemPayload[] } scalars: runtime.Types.Extensions.GetPayloadResult<{ id: string cwCatalogId: number identifier: string | null name: string description: string | null customerDescription: string | null internalNotes: string | null manufacturer: string | null manufactureCwId: number | null partNumber: string | null vendorName: string | null vendorSku: string | null vendorCwId: number | null price: number cost: number inactive: boolean salesTaxable: boolean onHand: number cwLastUpdated: Date | null createdAt: Date updatedAt: Date }, ExtArgs["result"]["catalogItem"]> composites: {} } export type CatalogItemGetPayload = runtime.Types.Result.GetResult export type CatalogItemCountArgs = Omit & { select?: CatalogItemCountAggregateInputType | true } export interface CatalogItemDelegate { [K: symbol]: { types: Prisma.TypeMap['model']['CatalogItem'], meta: { name: 'CatalogItem' } } /** * Find zero or one CatalogItem that matches the filter. * @param {CatalogItemFindUniqueArgs} args - Arguments to find a CatalogItem * @example * // Get one CatalogItem * const catalogItem = await prisma.catalogItem.findUnique({ * where: { * // ... provide filter here * } * }) */ findUnique(args: Prisma.SelectSubset>): Prisma.Prisma__CatalogItemClient, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find one CatalogItem that matches the filter or throw an error with `error.code='P2025'` * if no matches were found. * @param {CatalogItemFindUniqueOrThrowArgs} args - Arguments to find a CatalogItem * @example * // Get one CatalogItem * const catalogItem = await prisma.catalogItem.findUniqueOrThrow({ * where: { * // ... provide filter here * } * }) */ findUniqueOrThrow(args: Prisma.SelectSubset>): Prisma.Prisma__CatalogItemClient, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find the first CatalogItem 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 {CatalogItemFindFirstArgs} args - Arguments to find a CatalogItem * @example * // Get one CatalogItem * const catalogItem = await prisma.catalogItem.findFirst({ * where: { * // ... provide filter here * } * }) */ findFirst(args?: Prisma.SelectSubset>): Prisma.Prisma__CatalogItemClient, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions> /** * Find the first CatalogItem 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 {CatalogItemFindFirstOrThrowArgs} args - Arguments to find a CatalogItem * @example * // Get one CatalogItem * const catalogItem = await prisma.catalogItem.findFirstOrThrow({ * where: { * // ... provide filter here * } * }) */ findFirstOrThrow(args?: Prisma.SelectSubset>): Prisma.Prisma__CatalogItemClient, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Find zero or more CatalogItems 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 {CatalogItemFindManyArgs} args - Arguments to filter and select certain fields only. * @example * // Get all CatalogItems * const catalogItems = await prisma.catalogItem.findMany() * * // Get first 10 CatalogItems * const catalogItems = await prisma.catalogItem.findMany({ take: 10 }) * * // Only select the `id` * const catalogItemWithIdOnly = await prisma.catalogItem.findMany({ select: { id: true } }) * */ findMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions>> /** * Create a CatalogItem. * @param {CatalogItemCreateArgs} args - Arguments to create a CatalogItem. * @example * // Create one CatalogItem * const CatalogItem = await prisma.catalogItem.create({ * data: { * // ... data to create a CatalogItem * } * }) * */ create(args: Prisma.SelectSubset>): Prisma.Prisma__CatalogItemClient, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Create many CatalogItems. * @param {CatalogItemCreateManyArgs} args - Arguments to create many CatalogItems. * @example * // Create many CatalogItems * const catalogItem = await prisma.catalogItem.createMany({ * data: [ * // ... provide data here * ] * }) * */ createMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Create many CatalogItems and returns the data saved in the database. * @param {CatalogItemCreateManyAndReturnArgs} args - Arguments to create many CatalogItems. * @example * // Create many CatalogItems * const catalogItem = await prisma.catalogItem.createManyAndReturn({ * data: [ * // ... provide data here * ] * }) * * // Create many CatalogItems and only return the `id` * const catalogItemWithIdOnly = await prisma.catalogItem.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(args?: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "createManyAndReturn", GlobalOmitOptions>> /** * Delete a CatalogItem. * @param {CatalogItemDeleteArgs} args - Arguments to delete one CatalogItem. * @example * // Delete one CatalogItem * const CatalogItem = await prisma.catalogItem.delete({ * where: { * // ... filter to delete one CatalogItem * } * }) * */ delete(args: Prisma.SelectSubset>): Prisma.Prisma__CatalogItemClient, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Update one CatalogItem. * @param {CatalogItemUpdateArgs} args - Arguments to update one CatalogItem. * @example * // Update one CatalogItem * const catalogItem = await prisma.catalogItem.update({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ update(args: Prisma.SelectSubset>): Prisma.Prisma__CatalogItemClient, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Delete zero or more CatalogItems. * @param {CatalogItemDeleteManyArgs} args - Arguments to filter CatalogItems to delete. * @example * // Delete a few CatalogItems * const { count } = await prisma.catalogItem.deleteMany({ * where: { * // ... provide filter here * } * }) * */ deleteMany(args?: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CatalogItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CatalogItemUpdateManyArgs} args - Arguments to update one or more rows. * @example * // Update many CatalogItems * const catalogItem = await prisma.catalogItem.updateMany({ * where: { * // ... provide filter here * }, * data: { * // ... provide data here * } * }) * */ updateMany(args: Prisma.SelectSubset>): Prisma.PrismaPromise /** * Update zero or more CatalogItems and returns the data updated in the database. * @param {CatalogItemUpdateManyAndReturnArgs} args - Arguments to update many CatalogItems. * @example * // Update many CatalogItems * const catalogItem = await prisma.catalogItem.updateManyAndReturn({ * where: { * // ... provide filter here * }, * data: [ * // ... provide data here * ] * }) * * // Update zero or more CatalogItems and only return the `id` * const catalogItemWithIdOnly = await prisma.catalogItem.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(args: Prisma.SelectSubset>): Prisma.PrismaPromise, T, "updateManyAndReturn", GlobalOmitOptions>> /** * Create or update one CatalogItem. * @param {CatalogItemUpsertArgs} args - Arguments to update or create a CatalogItem. * @example * // Update or create a CatalogItem * const catalogItem = await prisma.catalogItem.upsert({ * create: { * // ... data to create a CatalogItem * }, * update: { * // ... in case it already exists, update * }, * where: { * // ... the filter for the CatalogItem we want to update * } * }) */ upsert(args: Prisma.SelectSubset>): Prisma.Prisma__CatalogItemClient, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions> /** * Count the number of CatalogItems. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CatalogItemCountArgs} args - Arguments to filter CatalogItems to count. * @example * // Count the number of CatalogItems * const count = await prisma.catalogItem.count({ * where: { * // ... the filter for the CatalogItems we want to count * } * }) **/ count( args?: Prisma.Subset, ): Prisma.PrismaPromise< T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType : number > /** * Allows you to perform aggregations operations on a CatalogItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CatalogItemAggregateArgs} 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(args: Prisma.Subset): Prisma.PrismaPromise> /** * Group by CatalogItem. * Note, that providing `undefined` is treated as the value not being there. * Read more here: https://pris.ly/d/null-undefined * @param {CatalogItemGroupByArgs} 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 CatalogItemGroupByArgs, HasSelectOrTake extends Prisma.Or< Prisma.Extends<'skip', Prisma.Keys>, Prisma.Extends<'take', Prisma.Keys> >, OrderByArg extends Prisma.True extends HasSelectOrTake ? { orderBy: CatalogItemGroupByArgs['orderBy'] } : { orderBy?: CatalogItemGroupByArgs['orderBy'] }, OrderFields extends Prisma.ExcludeUnderscoreKeys>>, ByFields extends Prisma.MaybeTupleToUnion, ByValid extends Prisma.Has, HavingFields extends Prisma.GetHavingFields, HavingValid extends Prisma.Has, 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 ? 'orderBy' extends Prisma.Keys ? 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 ? 'orderBy' extends Prisma.Keys ? 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 & InputErrors): {} extends InputErrors ? GetCatalogItemGroupByPayload : Prisma.PrismaPromise /** * Fields of the CatalogItem model */ readonly fields: CatalogItemFieldRefs; } /** * The delegate class that acts as a "Promise-like" for CatalogItem. * 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__CatalogItemClient extends Prisma.PrismaPromise { readonly [Symbol.toStringTag]: "PrismaPromise" linkedItems = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, T, "findMany", GlobalOmitOptions> | Null> linkedTo = {}>(args?: Prisma.Subset>): Prisma.PrismaPromise, 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(onfulfilled?: ((value: T) => TResult1 | PromiseLike) | undefined | null, onrejected?: ((reason: any) => TResult2 | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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(onrejected?: ((reason: any) => TResult | PromiseLike) | undefined | null): runtime.Types.Utils.JsPromise /** * 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 } /** * Fields of the CatalogItem model */ export interface CatalogItemFieldRefs { readonly id: Prisma.FieldRef<"CatalogItem", 'String'> readonly cwCatalogId: Prisma.FieldRef<"CatalogItem", 'Int'> readonly identifier: Prisma.FieldRef<"CatalogItem", 'String'> readonly name: Prisma.FieldRef<"CatalogItem", 'String'> readonly description: Prisma.FieldRef<"CatalogItem", 'String'> readonly customerDescription: Prisma.FieldRef<"CatalogItem", 'String'> readonly internalNotes: Prisma.FieldRef<"CatalogItem", 'String'> readonly manufacturer: Prisma.FieldRef<"CatalogItem", 'String'> readonly manufactureCwId: Prisma.FieldRef<"CatalogItem", 'Int'> readonly partNumber: Prisma.FieldRef<"CatalogItem", 'String'> readonly vendorName: Prisma.FieldRef<"CatalogItem", 'String'> readonly vendorSku: Prisma.FieldRef<"CatalogItem", 'String'> readonly vendorCwId: Prisma.FieldRef<"CatalogItem", 'Int'> readonly price: Prisma.FieldRef<"CatalogItem", 'Float'> readonly cost: Prisma.FieldRef<"CatalogItem", 'Float'> readonly inactive: Prisma.FieldRef<"CatalogItem", 'Boolean'> readonly salesTaxable: Prisma.FieldRef<"CatalogItem", 'Boolean'> readonly onHand: Prisma.FieldRef<"CatalogItem", 'Int'> readonly cwLastUpdated: Prisma.FieldRef<"CatalogItem", 'DateTime'> readonly createdAt: Prisma.FieldRef<"CatalogItem", 'DateTime'> readonly updatedAt: Prisma.FieldRef<"CatalogItem", 'DateTime'> } // Custom InputTypes /** * CatalogItem findUnique */ export type CatalogItemFindUniqueArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null /** * Filter, which CatalogItem to fetch. */ where: Prisma.CatalogItemWhereUniqueInput } /** * CatalogItem findUniqueOrThrow */ export type CatalogItemFindUniqueOrThrowArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null /** * Filter, which CatalogItem to fetch. */ where: Prisma.CatalogItemWhereUniqueInput } /** * CatalogItem findFirst */ export type CatalogItemFindFirstArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null /** * Filter, which CatalogItem to fetch. */ where?: Prisma.CatalogItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CatalogItems to fetch. */ orderBy?: Prisma.CatalogItemOrderByWithRelationInput | Prisma.CatalogItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CatalogItems. */ cursor?: Prisma.CatalogItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CatalogItems 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` CatalogItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CatalogItems. */ distinct?: Prisma.CatalogItemScalarFieldEnum | Prisma.CatalogItemScalarFieldEnum[] } /** * CatalogItem findFirstOrThrow */ export type CatalogItemFindFirstOrThrowArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null /** * Filter, which CatalogItem to fetch. */ where?: Prisma.CatalogItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CatalogItems to fetch. */ orderBy?: Prisma.CatalogItemOrderByWithRelationInput | Prisma.CatalogItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for searching for CatalogItems. */ cursor?: Prisma.CatalogItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CatalogItems 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` CatalogItems. */ skip?: number /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs} * * Filter by unique combinations of CatalogItems. */ distinct?: Prisma.CatalogItemScalarFieldEnum | Prisma.CatalogItemScalarFieldEnum[] } /** * CatalogItem findMany */ export type CatalogItemFindManyArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null /** * Filter, which CatalogItems to fetch. */ where?: Prisma.CatalogItemWhereInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs} * * Determine the order of CatalogItems to fetch. */ orderBy?: Prisma.CatalogItemOrderByWithRelationInput | Prisma.CatalogItemOrderByWithRelationInput[] /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs} * * Sets the position for listing CatalogItems. */ cursor?: Prisma.CatalogItemWhereUniqueInput /** * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs} * * Take `±n` CatalogItems 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` CatalogItems. */ skip?: number distinct?: Prisma.CatalogItemScalarFieldEnum | Prisma.CatalogItemScalarFieldEnum[] } /** * CatalogItem create */ export type CatalogItemCreateArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null /** * The data needed to create a CatalogItem. */ data: Prisma.XOR } /** * CatalogItem createMany */ export type CatalogItemCreateManyArgs = { /** * The data used to create many CatalogItems. */ data: Prisma.CatalogItemCreateManyInput | Prisma.CatalogItemCreateManyInput[] skipDuplicates?: boolean } /** * CatalogItem createManyAndReturn */ export type CatalogItemCreateManyAndReturnArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelectCreateManyAndReturn | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * The data used to create many CatalogItems. */ data: Prisma.CatalogItemCreateManyInput | Prisma.CatalogItemCreateManyInput[] skipDuplicates?: boolean } /** * CatalogItem update */ export type CatalogItemUpdateArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null /** * The data needed to update a CatalogItem. */ data: Prisma.XOR /** * Choose, which CatalogItem to update. */ where: Prisma.CatalogItemWhereUniqueInput } /** * CatalogItem updateMany */ export type CatalogItemUpdateManyArgs = { /** * The data used to update CatalogItems. */ data: Prisma.XOR /** * Filter which CatalogItems to update */ where?: Prisma.CatalogItemWhereInput /** * Limit how many CatalogItems to update. */ limit?: number } /** * CatalogItem updateManyAndReturn */ export type CatalogItemUpdateManyAndReturnArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelectUpdateManyAndReturn | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * The data used to update CatalogItems. */ data: Prisma.XOR /** * Filter which CatalogItems to update */ where?: Prisma.CatalogItemWhereInput /** * Limit how many CatalogItems to update. */ limit?: number } /** * CatalogItem upsert */ export type CatalogItemUpsertArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null /** * The filter to search for the CatalogItem to update in case it exists. */ where: Prisma.CatalogItemWhereUniqueInput /** * In case the CatalogItem found by the `where` argument doesn't exist, create a new CatalogItem with this data. */ create: Prisma.XOR /** * In case the CatalogItem was found with the provided `where` argument, update it with this data. */ update: Prisma.XOR } /** * CatalogItem delete */ export type CatalogItemDeleteArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null /** * Filter which CatalogItem to delete. */ where: Prisma.CatalogItemWhereUniqueInput } /** * CatalogItem deleteMany */ export type CatalogItemDeleteManyArgs = { /** * Filter which CatalogItems to delete */ where?: Prisma.CatalogItemWhereInput /** * Limit how many CatalogItems to delete. */ limit?: number } /** * CatalogItem.linkedItems */ export type CatalogItem$linkedItemsArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null where?: Prisma.CatalogItemWhereInput orderBy?: Prisma.CatalogItemOrderByWithRelationInput | Prisma.CatalogItemOrderByWithRelationInput[] cursor?: Prisma.CatalogItemWhereUniqueInput take?: number skip?: number distinct?: Prisma.CatalogItemScalarFieldEnum | Prisma.CatalogItemScalarFieldEnum[] } /** * CatalogItem.linkedTo */ export type CatalogItem$linkedToArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null where?: Prisma.CatalogItemWhereInput orderBy?: Prisma.CatalogItemOrderByWithRelationInput | Prisma.CatalogItemOrderByWithRelationInput[] cursor?: Prisma.CatalogItemWhereUniqueInput take?: number skip?: number distinct?: Prisma.CatalogItemScalarFieldEnum | Prisma.CatalogItemScalarFieldEnum[] } /** * CatalogItem without action */ export type CatalogItemDefaultArgs = { /** * Select specific fields to fetch from the CatalogItem */ select?: Prisma.CatalogItemSelect | null /** * Omit specific fields from the CatalogItem */ omit?: Prisma.CatalogItemOmit | null /** * Choose, which related nodes to fetch as well */ include?: Prisma.CatalogItemInclude | null }