@pos-360/prisma 1.0.0-beta.0 → 1.0.0-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (412) hide show
  1. package/lib/generated/prisma/browser.d.ts +514 -0
  2. package/lib/generated/prisma/browser.js +57 -0
  3. package/lib/generated/prisma/browser.js.map +1 -0
  4. package/lib/generated/prisma/client.d.ts +531 -0
  5. package/lib/generated/prisma/client.js +69 -0
  6. package/lib/generated/prisma/client.js.map +1 -0
  7. package/lib/generated/prisma/commonInputTypes.d.ts +1529 -0
  8. package/lib/generated/prisma/commonInputTypes.js +12 -0
  9. package/lib/generated/prisma/commonInputTypes.js.map +1 -0
  10. package/lib/generated/prisma/dmmf.d.ts +4085 -0
  11. package/lib/generated/prisma/dmmf.js +27551 -0
  12. package/lib/generated/prisma/dmmf.js.map +1 -0
  13. package/lib/generated/prisma/enums.d.ts +216 -0
  14. package/lib/generated/prisma/enums.js +205 -0
  15. package/lib/generated/prisma/enums.js.map +1 -0
  16. package/lib/generated/prisma/internal/class.d.ts +1237 -0
  17. package/lib/generated/prisma/internal/class.js +79 -0
  18. package/lib/generated/prisma/internal/class.js.map +1 -0
  19. package/lib/generated/prisma/internal/prismaNamespace.d.ts +10091 -0
  20. package/lib/generated/prisma/internal/prismaNamespace.js +1721 -0
  21. package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -0
  22. package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +1816 -0
  23. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +1692 -0
  24. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
  25. package/lib/generated/prisma/kysely-types.d.ts +1499 -0
  26. package/lib/generated/prisma/kysely-types.js +196 -0
  27. package/lib/generated/prisma/kysely-types.js.map +1 -0
  28. package/lib/generated/prisma/models/Address.d.ts +1339 -0
  29. package/lib/generated/prisma/models/Address.js +12 -0
  30. package/lib/generated/prisma/models/Address.js.map +1 -0
  31. package/lib/generated/prisma/models/Administrator.d.ts +1633 -0
  32. package/lib/generated/prisma/models/Administrator.js +12 -0
  33. package/lib/generated/prisma/models/Administrator.js.map +1 -0
  34. package/lib/generated/prisma/models/AdministratorToPlatform.d.ts +1208 -0
  35. package/lib/generated/prisma/models/AdministratorToPlatform.js +12 -0
  36. package/lib/generated/prisma/models/AdministratorToPlatform.js.map +1 -0
  37. package/lib/generated/prisma/models/AdministratorToStore.d.ts +1201 -0
  38. package/lib/generated/prisma/models/AdministratorToStore.js +12 -0
  39. package/lib/generated/prisma/models/AdministratorToStore.js.map +1 -0
  40. package/lib/generated/prisma/models/ApiToken.d.ts +1125 -0
  41. package/lib/generated/prisma/models/ApiToken.js +12 -0
  42. package/lib/generated/prisma/models/ApiToken.js.map +1 -0
  43. package/lib/generated/prisma/models/AwsBucket.d.ts +1435 -0
  44. package/lib/generated/prisma/models/AwsBucket.js +12 -0
  45. package/lib/generated/prisma/models/AwsBucket.js.map +1 -0
  46. package/lib/generated/prisma/models/Card.d.ts +1533 -0
  47. package/lib/generated/prisma/models/Card.js +12 -0
  48. package/lib/generated/prisma/models/Card.js.map +1 -0
  49. package/lib/generated/prisma/models/Cart.d.ts +2315 -0
  50. package/lib/generated/prisma/models/Cart.js +12 -0
  51. package/lib/generated/prisma/models/Cart.js.map +1 -0
  52. package/lib/generated/prisma/models/CartCost.d.ts +1368 -0
  53. package/lib/generated/prisma/models/CartCost.js +12 -0
  54. package/lib/generated/prisma/models/CartCost.js.map +1 -0
  55. package/lib/generated/prisma/models/CartLine.d.ts +1948 -0
  56. package/lib/generated/prisma/models/CartLine.js +12 -0
  57. package/lib/generated/prisma/models/CartLine.js.map +1 -0
  58. package/lib/generated/prisma/models/CartLineModifier.d.ts +2061 -0
  59. package/lib/generated/prisma/models/CartLineModifier.js +12 -0
  60. package/lib/generated/prisma/models/CartLineModifier.js.map +1 -0
  61. package/lib/generated/prisma/models/CartLineModifierOption.d.ts +1435 -0
  62. package/lib/generated/prisma/models/CartLineModifierOption.js +12 -0
  63. package/lib/generated/prisma/models/CartLineModifierOption.js.map +1 -0
  64. package/lib/generated/prisma/models/Checkout.d.ts +3989 -0
  65. package/lib/generated/prisma/models/Checkout.js +12 -0
  66. package/lib/generated/prisma/models/Checkout.js.map +1 -0
  67. package/lib/generated/prisma/models/CheckoutGroup.d.ts +2604 -0
  68. package/lib/generated/prisma/models/CheckoutGroup.js +12 -0
  69. package/lib/generated/prisma/models/CheckoutGroup.js.map +1 -0
  70. package/lib/generated/prisma/models/CheckoutLine.d.ts +1932 -0
  71. package/lib/generated/prisma/models/CheckoutLine.js +12 -0
  72. package/lib/generated/prisma/models/CheckoutLine.js.map +1 -0
  73. package/lib/generated/prisma/models/CheckoutLineModifierOption.d.ts +1702 -0
  74. package/lib/generated/prisma/models/CheckoutLineModifierOption.js +12 -0
  75. package/lib/generated/prisma/models/CheckoutLineModifierOption.js.map +1 -0
  76. package/lib/generated/prisma/models/CheckoutLinesModifier.d.ts +2124 -0
  77. package/lib/generated/prisma/models/CheckoutLinesModifier.js +12 -0
  78. package/lib/generated/prisma/models/CheckoutLinesModifier.js.map +1 -0
  79. package/lib/generated/prisma/models/Collection.d.ts +1961 -0
  80. package/lib/generated/prisma/models/Collection.js +12 -0
  81. package/lib/generated/prisma/models/Collection.js.map +1 -0
  82. package/lib/generated/prisma/models/CollectionToPlatform.d.ts +1313 -0
  83. package/lib/generated/prisma/models/CollectionToPlatform.js +12 -0
  84. package/lib/generated/prisma/models/CollectionToPlatform.js.map +1 -0
  85. package/lib/generated/prisma/models/CollectionToProduct.d.ts +1342 -0
  86. package/lib/generated/prisma/models/CollectionToProduct.js +12 -0
  87. package/lib/generated/prisma/models/CollectionToProduct.js.map +1 -0
  88. package/lib/generated/prisma/models/CollectionToProductVariant.d.ts +1201 -0
  89. package/lib/generated/prisma/models/CollectionToProductVariant.js +12 -0
  90. package/lib/generated/prisma/models/CollectionToProductVariant.js.map +1 -0
  91. package/lib/generated/prisma/models/Customer.d.ts +2964 -0
  92. package/lib/generated/prisma/models/Customer.js +12 -0
  93. package/lib/generated/prisma/models/Customer.js.map +1 -0
  94. package/lib/generated/prisma/models/CustomerGroup.d.ts +1167 -0
  95. package/lib/generated/prisma/models/CustomerGroup.js +12 -0
  96. package/lib/generated/prisma/models/CustomerGroup.js.map +1 -0
  97. package/lib/generated/prisma/models/CustomerToAddress.d.ts +1243 -0
  98. package/lib/generated/prisma/models/CustomerToAddress.js +12 -0
  99. package/lib/generated/prisma/models/CustomerToAddress.js.map +1 -0
  100. package/lib/generated/prisma/models/CustomerToCustomerGroup.d.ts +1201 -0
  101. package/lib/generated/prisma/models/CustomerToCustomerGroup.js +12 -0
  102. package/lib/generated/prisma/models/CustomerToCustomerGroup.js.map +1 -0
  103. package/lib/generated/prisma/models/DiscountCode.d.ts +3139 -0
  104. package/lib/generated/prisma/models/DiscountCode.js +12 -0
  105. package/lib/generated/prisma/models/DiscountCode.js.map +1 -0
  106. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.d.ts +1332 -0
  107. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js +12 -0
  108. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js.map +1 -0
  109. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.d.ts +1389 -0
  110. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js +12 -0
  111. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js.map +1 -0
  112. package/lib/generated/prisma/models/DiscountCodeRedemption.d.ts +1537 -0
  113. package/lib/generated/prisma/models/DiscountCodeRedemption.js +12 -0
  114. package/lib/generated/prisma/models/DiscountCodeRedemption.js.map +1 -0
  115. package/lib/generated/prisma/models/EventLog.d.ts +1295 -0
  116. package/lib/generated/prisma/models/EventLog.js +12 -0
  117. package/lib/generated/prisma/models/EventLog.js.map +1 -0
  118. package/lib/generated/prisma/models/Facet.d.ts +1266 -0
  119. package/lib/generated/prisma/models/Facet.js +12 -0
  120. package/lib/generated/prisma/models/Facet.js.map +1 -0
  121. package/lib/generated/prisma/models/FacetOption.d.ts +1342 -0
  122. package/lib/generated/prisma/models/FacetOption.js +12 -0
  123. package/lib/generated/prisma/models/FacetOption.js.map +1 -0
  124. package/lib/generated/prisma/models/FacetOptionToPlatform.d.ts +1201 -0
  125. package/lib/generated/prisma/models/FacetOptionToPlatform.js +12 -0
  126. package/lib/generated/prisma/models/FacetOptionToPlatform.js.map +1 -0
  127. package/lib/generated/prisma/models/FacetToPlatform.d.ts +1201 -0
  128. package/lib/generated/prisma/models/FacetToPlatform.js +12 -0
  129. package/lib/generated/prisma/models/FacetToPlatform.js.map +1 -0
  130. package/lib/generated/prisma/models/FeatureFlag.d.ts +1412 -0
  131. package/lib/generated/prisma/models/FeatureFlag.js +12 -0
  132. package/lib/generated/prisma/models/FeatureFlag.js.map +1 -0
  133. package/lib/generated/prisma/models/FirebaseAdminConfiguration.d.ts +1059 -0
  134. package/lib/generated/prisma/models/FirebaseAdminConfiguration.js +12 -0
  135. package/lib/generated/prisma/models/FirebaseAdminConfiguration.js.map +1 -0
  136. package/lib/generated/prisma/models/FlaggedPayment.d.ts +1065 -0
  137. package/lib/generated/prisma/models/FlaggedPayment.js +12 -0
  138. package/lib/generated/prisma/models/FlaggedPayment.js.map +1 -0
  139. package/lib/generated/prisma/models/FreeItemRule.d.ts +1021 -0
  140. package/lib/generated/prisma/models/FreeItemRule.js +12 -0
  141. package/lib/generated/prisma/models/FreeItemRule.js.map +1 -0
  142. package/lib/generated/prisma/models/FreeItemToCustomer.d.ts +993 -0
  143. package/lib/generated/prisma/models/FreeItemToCustomer.js +12 -0
  144. package/lib/generated/prisma/models/FreeItemToCustomer.js.map +1 -0
  145. package/lib/generated/prisma/models/FulfillmentFees.d.ts +1365 -0
  146. package/lib/generated/prisma/models/FulfillmentFees.js +12 -0
  147. package/lib/generated/prisma/models/FulfillmentFees.js.map +1 -0
  148. package/lib/generated/prisma/models/Ingredient.d.ts +1886 -0
  149. package/lib/generated/prisma/models/Ingredient.js +12 -0
  150. package/lib/generated/prisma/models/Ingredient.js.map +1 -0
  151. package/lib/generated/prisma/models/IngredientToProductVariant.d.ts +1561 -0
  152. package/lib/generated/prisma/models/IngredientToProductVariant.js +12 -0
  153. package/lib/generated/prisma/models/IngredientToProductVariant.js.map +1 -0
  154. package/lib/generated/prisma/models/IngredientToStore.d.ts +1507 -0
  155. package/lib/generated/prisma/models/IngredientToStore.js +12 -0
  156. package/lib/generated/prisma/models/IngredientToStore.js.map +1 -0
  157. package/lib/generated/prisma/models/ManualCollectionProduct.d.ts +1256 -0
  158. package/lib/generated/prisma/models/ManualCollectionProduct.js +12 -0
  159. package/lib/generated/prisma/models/ManualCollectionProduct.js.map +1 -0
  160. package/lib/generated/prisma/models/Media.d.ts +2127 -0
  161. package/lib/generated/prisma/models/Media.js +12 -0
  162. package/lib/generated/prisma/models/Media.js.map +1 -0
  163. package/lib/generated/prisma/models/Modifier.d.ts +2597 -0
  164. package/lib/generated/prisma/models/Modifier.js +12 -0
  165. package/lib/generated/prisma/models/Modifier.js.map +1 -0
  166. package/lib/generated/prisma/models/ModifierGroup.d.ts +2099 -0
  167. package/lib/generated/prisma/models/ModifierGroup.js +12 -0
  168. package/lib/generated/prisma/models/ModifierGroup.js.map +1 -0
  169. package/lib/generated/prisma/models/ModifierGroupToProduct.d.ts +1249 -0
  170. package/lib/generated/prisma/models/ModifierGroupToProduct.js +12 -0
  171. package/lib/generated/prisma/models/ModifierGroupToProduct.js.map +1 -0
  172. package/lib/generated/prisma/models/ModifierOption.d.ts +1838 -0
  173. package/lib/generated/prisma/models/ModifierOption.js +12 -0
  174. package/lib/generated/prisma/models/ModifierOption.js.map +1 -0
  175. package/lib/generated/prisma/models/ModifierToModifierGroup.d.ts +1343 -0
  176. package/lib/generated/prisma/models/ModifierToModifierGroup.js +12 -0
  177. package/lib/generated/prisma/models/ModifierToModifierGroup.js.map +1 -0
  178. package/lib/generated/prisma/models/NmiSecurityKey.d.ts +1087 -0
  179. package/lib/generated/prisma/models/NmiSecurityKey.js +12 -0
  180. package/lib/generated/prisma/models/NmiSecurityKey.js.map +1 -0
  181. package/lib/generated/prisma/models/OneTimeToken.d.ts +1115 -0
  182. package/lib/generated/prisma/models/OneTimeToken.js +12 -0
  183. package/lib/generated/prisma/models/OneTimeToken.js.map +1 -0
  184. package/lib/generated/prisma/models/Payment.d.ts +1560 -0
  185. package/lib/generated/prisma/models/Payment.js +12 -0
  186. package/lib/generated/prisma/models/Payment.js.map +1 -0
  187. package/lib/generated/prisma/models/Platform.d.ts +7442 -0
  188. package/lib/generated/prisma/models/Platform.js +12 -0
  189. package/lib/generated/prisma/models/Platform.js.map +1 -0
  190. package/lib/generated/prisma/models/PlatformAwsConfiguration.d.ts +1333 -0
  191. package/lib/generated/prisma/models/PlatformAwsConfiguration.js +12 -0
  192. package/lib/generated/prisma/models/PlatformAwsConfiguration.js.map +1 -0
  193. package/lib/generated/prisma/models/PlatformMailerMessage.d.ts +1299 -0
  194. package/lib/generated/prisma/models/PlatformMailerMessage.js +12 -0
  195. package/lib/generated/prisma/models/PlatformMailerMessage.js.map +1 -0
  196. package/lib/generated/prisma/models/PrepTime.d.ts +1420 -0
  197. package/lib/generated/prisma/models/PrepTime.js +12 -0
  198. package/lib/generated/prisma/models/PrepTime.js.map +1 -0
  199. package/lib/generated/prisma/models/Product.d.ts +2975 -0
  200. package/lib/generated/prisma/models/Product.js +12 -0
  201. package/lib/generated/prisma/models/Product.js.map +1 -0
  202. package/lib/generated/prisma/models/ProductCategory.d.ts +2057 -0
  203. package/lib/generated/prisma/models/ProductCategory.js +12 -0
  204. package/lib/generated/prisma/models/ProductCategory.js.map +1 -0
  205. package/lib/generated/prisma/models/ProductCategoryToTag.d.ts +1201 -0
  206. package/lib/generated/prisma/models/ProductCategoryToTag.js +12 -0
  207. package/lib/generated/prisma/models/ProductCategoryToTag.js.map +1 -0
  208. package/lib/generated/prisma/models/ProductListing.d.ts +1747 -0
  209. package/lib/generated/prisma/models/ProductListing.js +12 -0
  210. package/lib/generated/prisma/models/ProductListing.js.map +1 -0
  211. package/lib/generated/prisma/models/ProductToTag.d.ts +1201 -0
  212. package/lib/generated/prisma/models/ProductToTag.js +12 -0
  213. package/lib/generated/prisma/models/ProductToTag.js.map +1 -0
  214. package/lib/generated/prisma/models/ProductVariant.d.ts +6964 -0
  215. package/lib/generated/prisma/models/ProductVariant.js +12 -0
  216. package/lib/generated/prisma/models/ProductVariant.js.map +1 -0
  217. package/lib/generated/prisma/models/ProductVariantConfiguration.d.ts +1775 -0
  218. package/lib/generated/prisma/models/ProductVariantConfiguration.js +12 -0
  219. package/lib/generated/prisma/models/ProductVariantConfiguration.js.map +1 -0
  220. package/lib/generated/prisma/models/ProductVariantListing.d.ts +2152 -0
  221. package/lib/generated/prisma/models/ProductVariantListing.js +12 -0
  222. package/lib/generated/prisma/models/ProductVariantListing.js.map +1 -0
  223. package/lib/generated/prisma/models/ProductVariantListingToMedia.d.ts +1401 -0
  224. package/lib/generated/prisma/models/ProductVariantListingToMedia.js +12 -0
  225. package/lib/generated/prisma/models/ProductVariantListingToMedia.js.map +1 -0
  226. package/lib/generated/prisma/models/ProductVariantPlatformPricing.d.ts +1420 -0
  227. package/lib/generated/prisma/models/ProductVariantPlatformPricing.js +12 -0
  228. package/lib/generated/prisma/models/ProductVariantPlatformPricing.js.map +1 -0
  229. package/lib/generated/prisma/models/ProductVariantRanking.d.ts +1402 -0
  230. package/lib/generated/prisma/models/ProductVariantRanking.js +12 -0
  231. package/lib/generated/prisma/models/ProductVariantRanking.js.map +1 -0
  232. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.d.ts +1638 -0
  233. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js +12 -0
  234. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js.map +1 -0
  235. package/lib/generated/prisma/models/ProductVariantStorePricing.d.ts +1467 -0
  236. package/lib/generated/prisma/models/ProductVariantStorePricing.js +12 -0
  237. package/lib/generated/prisma/models/ProductVariantStorePricing.js.map +1 -0
  238. package/lib/generated/prisma/models/ProductVariantStoreRanking.d.ts +1890 -0
  239. package/lib/generated/prisma/models/ProductVariantStoreRanking.js +12 -0
  240. package/lib/generated/prisma/models/ProductVariantStoreRanking.js.map +1 -0
  241. package/lib/generated/prisma/models/ProductVariantToMedia.d.ts +1250 -0
  242. package/lib/generated/prisma/models/ProductVariantToMedia.js +12 -0
  243. package/lib/generated/prisma/models/ProductVariantToMedia.js.map +1 -0
  244. package/lib/generated/prisma/models/ProductVariantToTag.d.ts +1201 -0
  245. package/lib/generated/prisma/models/ProductVariantToTag.js +12 -0
  246. package/lib/generated/prisma/models/ProductVariantToTag.js.map +1 -0
  247. package/lib/generated/prisma/models/ProductVarietal.d.ts +1385 -0
  248. package/lib/generated/prisma/models/ProductVarietal.js +12 -0
  249. package/lib/generated/prisma/models/ProductVarietal.js.map +1 -0
  250. package/lib/generated/prisma/models/ProductsWithOverrides.d.ts +1782 -0
  251. package/lib/generated/prisma/models/ProductsWithOverrides.js +12 -0
  252. package/lib/generated/prisma/models/ProductsWithOverrides.js.map +1 -0
  253. package/lib/generated/prisma/models/PvStoreScheduledAvailability.d.ts +1931 -0
  254. package/lib/generated/prisma/models/PvStoreScheduledAvailability.js +12 -0
  255. package/lib/generated/prisma/models/PvStoreScheduledAvailability.js.map +1 -0
  256. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.d.ts +1405 -0
  257. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js +12 -0
  258. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js.map +1 -0
  259. package/lib/generated/prisma/models/Refund.d.ts +1707 -0
  260. package/lib/generated/prisma/models/Refund.js +12 -0
  261. package/lib/generated/prisma/models/Refund.js.map +1 -0
  262. package/lib/generated/prisma/models/RefundLine.d.ts +1373 -0
  263. package/lib/generated/prisma/models/RefundLine.js +12 -0
  264. package/lib/generated/prisma/models/RefundLine.js.map +1 -0
  265. package/lib/generated/prisma/models/RelatedItems.d.ts +1431 -0
  266. package/lib/generated/prisma/models/RelatedItems.js +12 -0
  267. package/lib/generated/prisma/models/RelatedItems.js.map +1 -0
  268. package/lib/generated/prisma/models/Role.d.ts +1264 -0
  269. package/lib/generated/prisma/models/Role.js +12 -0
  270. package/lib/generated/prisma/models/Role.js.map +1 -0
  271. package/lib/generated/prisma/models/ScheduledTask.d.ts +1146 -0
  272. package/lib/generated/prisma/models/ScheduledTask.js +12 -0
  273. package/lib/generated/prisma/models/ScheduledTask.js.map +1 -0
  274. package/lib/generated/prisma/models/ShippingConfiguration.d.ts +1659 -0
  275. package/lib/generated/prisma/models/ShippingConfiguration.js +12 -0
  276. package/lib/generated/prisma/models/ShippingConfiguration.js.map +1 -0
  277. package/lib/generated/prisma/models/ShippingLabelFee.d.ts +1705 -0
  278. package/lib/generated/prisma/models/ShippingLabelFee.js +12 -0
  279. package/lib/generated/prisma/models/ShippingLabelFee.js.map +1 -0
  280. package/lib/generated/prisma/models/ShippingLabelRefund.d.ts +1520 -0
  281. package/lib/generated/prisma/models/ShippingLabelRefund.js +12 -0
  282. package/lib/generated/prisma/models/ShippingLabelRefund.js.map +1 -0
  283. package/lib/generated/prisma/models/SmsConversation.d.ts +1548 -0
  284. package/lib/generated/prisma/models/SmsConversation.js +12 -0
  285. package/lib/generated/prisma/models/SmsConversation.js.map +1 -0
  286. package/lib/generated/prisma/models/SmsConversationMessage.d.ts +1326 -0
  287. package/lib/generated/prisma/models/SmsConversationMessage.js +12 -0
  288. package/lib/generated/prisma/models/SmsConversationMessage.js.map +1 -0
  289. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.d.ts +1125 -0
  290. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js +12 -0
  291. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js.map +1 -0
  292. package/lib/generated/prisma/models/StockLevel.d.ts +1425 -0
  293. package/lib/generated/prisma/models/StockLevel.js +12 -0
  294. package/lib/generated/prisma/models/StockLevel.js.map +1 -0
  295. package/lib/generated/prisma/models/StockLocation.d.ts +1652 -0
  296. package/lib/generated/prisma/models/StockLocation.js +12 -0
  297. package/lib/generated/prisma/models/StockLocation.js.map +1 -0
  298. package/lib/generated/prisma/models/StockLocationToPlatform.d.ts +1201 -0
  299. package/lib/generated/prisma/models/StockLocationToPlatform.js +12 -0
  300. package/lib/generated/prisma/models/StockLocationToPlatform.js.map +1 -0
  301. package/lib/generated/prisma/models/StockMovement.d.ts +1608 -0
  302. package/lib/generated/prisma/models/StockMovement.js +12 -0
  303. package/lib/generated/prisma/models/StockMovement.js.map +1 -0
  304. package/lib/generated/prisma/models/Store.d.ts +4487 -0
  305. package/lib/generated/prisma/models/Store.js +12 -0
  306. package/lib/generated/prisma/models/Store.js.map +1 -0
  307. package/lib/generated/prisma/models/StoreRestockingLog.d.ts +1297 -0
  308. package/lib/generated/prisma/models/StoreRestockingLog.js +12 -0
  309. package/lib/generated/prisma/models/StoreRestockingLog.js.map +1 -0
  310. package/lib/generated/prisma/models/StoreRestockingSchedule.d.ts +1932 -0
  311. package/lib/generated/prisma/models/StoreRestockingSchedule.js +12 -0
  312. package/lib/generated/prisma/models/StoreRestockingSchedule.js.map +1 -0
  313. package/lib/generated/prisma/models/StoreToAssociatedStoreType.d.ts +1294 -0
  314. package/lib/generated/prisma/models/StoreToAssociatedStoreType.js +12 -0
  315. package/lib/generated/prisma/models/StoreToAssociatedStoreType.js.map +1 -0
  316. package/lib/generated/prisma/models/StoreToPlatform.d.ts +1331 -0
  317. package/lib/generated/prisma/models/StoreToPlatform.js +12 -0
  318. package/lib/generated/prisma/models/StoreToPlatform.js.map +1 -0
  319. package/lib/generated/prisma/models/Tag.d.ts +1581 -0
  320. package/lib/generated/prisma/models/Tag.js +12 -0
  321. package/lib/generated/prisma/models/Tag.js.map +1 -0
  322. package/lib/generated/prisma/models/TaxCategory.d.ts +1169 -0
  323. package/lib/generated/prisma/models/TaxCategory.js +12 -0
  324. package/lib/generated/prisma/models/TaxCategory.js.map +1 -0
  325. package/lib/generated/prisma/models/Transaction.d.ts +1551 -0
  326. package/lib/generated/prisma/models/Transaction.js +12 -0
  327. package/lib/generated/prisma/models/Transaction.js.map +1 -0
  328. package/lib/generated/prisma/models/User.d.ts +1907 -0
  329. package/lib/generated/prisma/models/User.js +12 -0
  330. package/lib/generated/prisma/models/User.js.map +1 -0
  331. package/lib/generated/prisma/models/UserToRole.d.ts +1201 -0
  332. package/lib/generated/prisma/models/UserToRole.js +12 -0
  333. package/lib/generated/prisma/models/UserToRole.js.map +1 -0
  334. package/lib/generated/prisma/models.d.ts +103 -0
  335. package/lib/generated/prisma/models.js +3 -0
  336. package/lib/generated/prisma/models.js.map +1 -0
  337. package/lib/generated/prisma/pjtg.d.ts +145 -0
  338. package/lib/generated/prisma/pjtg.js +3 -0
  339. package/lib/generated/prisma/pjtg.js.map +1 -0
  340. package/lib/helpers.d.ts +37 -0
  341. package/lib/helpers.js +226 -0
  342. package/lib/helpers.js.map +1 -0
  343. package/lib/index.d.ts +10 -0
  344. package/lib/index.js.map +1 -0
  345. package/lib/kysely/index.d.ts +2 -0
  346. package/lib/kysely/index.js +19 -0
  347. package/lib/kysely/index.js.map +1 -0
  348. package/lib/kysely/kysely-db.d.ts +3 -0
  349. package/lib/kysely/kysely-db.js +3 -0
  350. package/lib/kysely/kysely-db.js.map +1 -0
  351. package/lib/kysely/utils/index.d.ts +4 -0
  352. package/lib/kysely/utils/index.js +21 -0
  353. package/lib/kysely/utils/index.js.map +1 -0
  354. package/lib/kysely/utils/json-array-from-no-subquery.d.ts +38 -0
  355. package/lib/kysely/utils/json-array-from-no-subquery.js +43 -0
  356. package/lib/kysely/utils/json-array-from-no-subquery.js.map +1 -0
  357. package/lib/kysely/utils/json-object-from-no-subquery.d.ts +40 -0
  358. package/lib/kysely/utils/json-object-from-no-subquery.js +45 -0
  359. package/lib/kysely/utils/json-object-from-no-subquery.js.map +1 -0
  360. package/lib/kysely/utils/serialize-bigint-value.d.ts +3 -0
  361. package/lib/kysely/utils/serialize-bigint-value.js +13 -0
  362. package/lib/kysely/utils/serialize-bigint-value.js.map +1 -0
  363. package/lib/kysely/utils/serialize-numeric-value.d.ts +4 -0
  364. package/lib/kysely/utils/serialize-numeric-value.js +11 -0
  365. package/lib/kysely/utils/serialize-numeric-value.js.map +1 -0
  366. package/lib/kysely/utils/shallow-dehydrate.d.ts +18 -0
  367. package/lib/kysely/utils/shallow-dehydrate.js +3 -0
  368. package/lib/kysely/utils/shallow-dehydrate.js.map +1 -0
  369. package/lib/prisma-module/index.d.ts +4 -0
  370. package/lib/prisma-module/index.js +21 -0
  371. package/lib/prisma-module/index.js.map +1 -0
  372. package/lib/prisma-module/prisma-options.d.ts +59 -0
  373. package/lib/prisma-module/prisma-options.js +3 -0
  374. package/lib/prisma-module/prisma-options.js.map +1 -0
  375. package/lib/prisma-module/prisma.constants.d.ts +1 -0
  376. package/lib/prisma-module/prisma.constants.js +5 -0
  377. package/lib/prisma-module/prisma.constants.js.map +1 -0
  378. package/lib/prisma-module/prisma.module.d.ts +8 -0
  379. package/lib/prisma-module/prisma.module.js +73 -0
  380. package/lib/prisma-module/prisma.module.js.map +1 -0
  381. package/lib/prisma-module/prisma.service.d.ts +5 -0
  382. package/lib/prisma-module/prisma.service.js +29 -0
  383. package/lib/prisma-module/prisma.service.js.map +1 -0
  384. package/lib/tsconfig.build.tsbuildinfo +1 -0
  385. package/lib/types.d.ts +7 -0
  386. package/lib/types.js +3 -0
  387. package/lib/types.js.map +1 -0
  388. package/lib/utils/deep-convert-formatted-string-to-original.d.ts +1 -0
  389. package/lib/utils/deep-convert-formatted-string-to-original.js +40 -0
  390. package/lib/utils/deep-convert-formatted-string-to-original.js.map +1 -0
  391. package/lib/utils/ignore-prisma-builtins.d.ts +1 -0
  392. package/lib/utils/ignore-prisma-builtins.js +3 -0
  393. package/lib/utils/ignore-prisma-builtins.js.map +1 -0
  394. package/lib/utils/index.d.ts +3 -0
  395. package/lib/utils/index.js +20 -0
  396. package/lib/utils/index.js.map +1 -0
  397. package/lib/utils/prisma-where-to-sql.d.ts +5 -0
  398. package/lib/utils/prisma-where-to-sql.js +94 -0
  399. package/lib/utils/prisma-where-to-sql.js.map +1 -0
  400. package/lib/web360-prisma.constants.d.ts +2 -0
  401. package/lib/web360-prisma.constants.js +6 -0
  402. package/lib/web360-prisma.constants.js.map +1 -0
  403. package/lib/web360-prisma.module.d.ts +7 -0
  404. package/lib/web360-prisma.module.js +81 -0
  405. package/lib/web360-prisma.module.js.map +1 -0
  406. package/lib/web360-prisma.options.d.ts +38 -0
  407. package/lib/web360-prisma.options.js +3 -0
  408. package/lib/web360-prisma.options.js.map +1 -0
  409. package/lib/web360-prisma.service.d.ts +57 -0
  410. package/lib/web360-prisma.service.js +57 -0
  411. package/lib/web360-prisma.service.js.map +1 -0
  412. package/package.json +4 -3
@@ -0,0 +1,2057 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as $Enums from "../enums.js";
3
+ import type * as Prisma from "../internal/prismaNamespace.js";
4
+ /**
5
+ * Model ProductCategory
6
+ *
7
+ */
8
+ export type ProductCategoryModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductCategoryPayload>;
9
+ export type AggregateProductCategory = {
10
+ _count: ProductCategoryCountAggregateOutputType | null;
11
+ _avg: ProductCategoryAvgAggregateOutputType | null;
12
+ _sum: ProductCategorySumAggregateOutputType | null;
13
+ _min: ProductCategoryMinAggregateOutputType | null;
14
+ _max: ProductCategoryMaxAggregateOutputType | null;
15
+ };
16
+ export type ProductCategoryAvgAggregateOutputType = {
17
+ id: number | null;
18
+ taxCategoryId: number | null;
19
+ parentCategoryId: number | null;
20
+ };
21
+ export type ProductCategorySumAggregateOutputType = {
22
+ id: bigint | null;
23
+ taxCategoryId: bigint | null;
24
+ parentCategoryId: bigint | null;
25
+ };
26
+ export type ProductCategoryMinAggregateOutputType = {
27
+ id: bigint | null;
28
+ name: string | null;
29
+ displayName: string | null;
30
+ restriction: $Enums.RestrictionType | null;
31
+ taxCategoryId: bigint | null;
32
+ parentCategoryId: bigint | null;
33
+ };
34
+ export type ProductCategoryMaxAggregateOutputType = {
35
+ id: bigint | null;
36
+ name: string | null;
37
+ displayName: string | null;
38
+ restriction: $Enums.RestrictionType | null;
39
+ taxCategoryId: bigint | null;
40
+ parentCategoryId: bigint | null;
41
+ };
42
+ export type ProductCategoryCountAggregateOutputType = {
43
+ id: number;
44
+ name: number;
45
+ displayName: number;
46
+ restriction: number;
47
+ taxCategoryId: number;
48
+ parentCategoryId: number;
49
+ _all: number;
50
+ };
51
+ export type ProductCategoryAvgAggregateInputType = {
52
+ id?: true;
53
+ taxCategoryId?: true;
54
+ parentCategoryId?: true;
55
+ };
56
+ export type ProductCategorySumAggregateInputType = {
57
+ id?: true;
58
+ taxCategoryId?: true;
59
+ parentCategoryId?: true;
60
+ };
61
+ export type ProductCategoryMinAggregateInputType = {
62
+ id?: true;
63
+ name?: true;
64
+ displayName?: true;
65
+ restriction?: true;
66
+ taxCategoryId?: true;
67
+ parentCategoryId?: true;
68
+ };
69
+ export type ProductCategoryMaxAggregateInputType = {
70
+ id?: true;
71
+ name?: true;
72
+ displayName?: true;
73
+ restriction?: true;
74
+ taxCategoryId?: true;
75
+ parentCategoryId?: true;
76
+ };
77
+ export type ProductCategoryCountAggregateInputType = {
78
+ id?: true;
79
+ name?: true;
80
+ displayName?: true;
81
+ restriction?: true;
82
+ taxCategoryId?: true;
83
+ parentCategoryId?: true;
84
+ _all?: true;
85
+ };
86
+ export type ProductCategoryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
87
+ /**
88
+ * Filter which ProductCategory to aggregate.
89
+ */
90
+ where?: Prisma.ProductCategoryWhereInput;
91
+ /**
92
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
93
+ *
94
+ * Determine the order of ProductCategories to fetch.
95
+ */
96
+ orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
97
+ /**
98
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
99
+ *
100
+ * Sets the start position
101
+ */
102
+ cursor?: Prisma.ProductCategoryWhereUniqueInput;
103
+ /**
104
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
105
+ *
106
+ * Take `±n` ProductCategories from the position of the cursor.
107
+ */
108
+ take?: number;
109
+ /**
110
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
111
+ *
112
+ * Skip the first `n` ProductCategories.
113
+ */
114
+ skip?: number;
115
+ /**
116
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
117
+ *
118
+ * Count returned ProductCategories
119
+ **/
120
+ _count?: true | ProductCategoryCountAggregateInputType;
121
+ /**
122
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
123
+ *
124
+ * Select which fields to average
125
+ **/
126
+ _avg?: ProductCategoryAvgAggregateInputType;
127
+ /**
128
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
129
+ *
130
+ * Select which fields to sum
131
+ **/
132
+ _sum?: ProductCategorySumAggregateInputType;
133
+ /**
134
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
135
+ *
136
+ * Select which fields to find the minimum value
137
+ **/
138
+ _min?: ProductCategoryMinAggregateInputType;
139
+ /**
140
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
141
+ *
142
+ * Select which fields to find the maximum value
143
+ **/
144
+ _max?: ProductCategoryMaxAggregateInputType;
145
+ };
146
+ export type GetProductCategoryAggregateType<T extends ProductCategoryAggregateArgs> = {
147
+ [P in keyof T & keyof AggregateProductCategory]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProductCategory[P]> : Prisma.GetScalarType<T[P], AggregateProductCategory[P]>;
148
+ };
149
+ export type ProductCategoryGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
150
+ where?: Prisma.ProductCategoryWhereInput;
151
+ orderBy?: Prisma.ProductCategoryOrderByWithAggregationInput | Prisma.ProductCategoryOrderByWithAggregationInput[];
152
+ by: Prisma.ProductCategoryScalarFieldEnum[] | Prisma.ProductCategoryScalarFieldEnum;
153
+ having?: Prisma.ProductCategoryScalarWhereWithAggregatesInput;
154
+ take?: number;
155
+ skip?: number;
156
+ _count?: ProductCategoryCountAggregateInputType | true;
157
+ _avg?: ProductCategoryAvgAggregateInputType;
158
+ _sum?: ProductCategorySumAggregateInputType;
159
+ _min?: ProductCategoryMinAggregateInputType;
160
+ _max?: ProductCategoryMaxAggregateInputType;
161
+ };
162
+ export type ProductCategoryGroupByOutputType = {
163
+ id: bigint;
164
+ name: string;
165
+ displayName: string | null;
166
+ restriction: $Enums.RestrictionType;
167
+ taxCategoryId: bigint;
168
+ parentCategoryId: bigint | null;
169
+ _count: ProductCategoryCountAggregateOutputType | null;
170
+ _avg: ProductCategoryAvgAggregateOutputType | null;
171
+ _sum: ProductCategorySumAggregateOutputType | null;
172
+ _min: ProductCategoryMinAggregateOutputType | null;
173
+ _max: ProductCategoryMaxAggregateOutputType | null;
174
+ };
175
+ type GetProductCategoryGroupByPayload<T extends ProductCategoryGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProductCategoryGroupByOutputType, T['by']> & {
176
+ [P in ((keyof T) & (keyof ProductCategoryGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProductCategoryGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProductCategoryGroupByOutputType[P]>;
177
+ }>>;
178
+ export type ProductCategoryWhereInput = {
179
+ AND?: Prisma.ProductCategoryWhereInput | Prisma.ProductCategoryWhereInput[];
180
+ OR?: Prisma.ProductCategoryWhereInput[];
181
+ NOT?: Prisma.ProductCategoryWhereInput | Prisma.ProductCategoryWhereInput[];
182
+ id?: Prisma.BigIntFilter<"ProductCategory"> | bigint | number;
183
+ name?: Prisma.StringFilter<"ProductCategory"> | string;
184
+ displayName?: Prisma.StringNullableFilter<"ProductCategory"> | string | null;
185
+ restriction?: Prisma.EnumRestrictionTypeFilter<"ProductCategory"> | $Enums.RestrictionType;
186
+ taxCategoryId?: Prisma.BigIntFilter<"ProductCategory"> | bigint | number;
187
+ parentCategoryId?: Prisma.BigIntNullableFilter<"ProductCategory"> | bigint | number | null;
188
+ products?: Prisma.ProductListRelationFilter;
189
+ ingredients?: Prisma.IngredientListRelationFilter;
190
+ subcategories?: Prisma.ProductCategoryListRelationFilter;
191
+ parentCategory?: Prisma.XOR<Prisma.ProductCategoryNullableScalarRelationFilter, Prisma.ProductCategoryWhereInput> | null;
192
+ taxCategory?: Prisma.XOR<Prisma.TaxCategoryNullableScalarRelationFilter, Prisma.TaxCategoryWhereInput> | null;
193
+ productListing?: Prisma.ProductListingListRelationFilter;
194
+ productCategoryToTags?: Prisma.ProductCategoryToTagListRelationFilter;
195
+ };
196
+ export type ProductCategoryOrderByWithRelationInput = {
197
+ id?: Prisma.SortOrder;
198
+ name?: Prisma.SortOrder;
199
+ displayName?: Prisma.SortOrderInput | Prisma.SortOrder;
200
+ restriction?: Prisma.SortOrder;
201
+ taxCategoryId?: Prisma.SortOrder;
202
+ parentCategoryId?: Prisma.SortOrderInput | Prisma.SortOrder;
203
+ products?: Prisma.ProductOrderByRelationAggregateInput;
204
+ ingredients?: Prisma.IngredientOrderByRelationAggregateInput;
205
+ subcategories?: Prisma.ProductCategoryOrderByRelationAggregateInput;
206
+ parentCategory?: Prisma.ProductCategoryOrderByWithRelationInput;
207
+ taxCategory?: Prisma.TaxCategoryOrderByWithRelationInput;
208
+ productListing?: Prisma.ProductListingOrderByRelationAggregateInput;
209
+ productCategoryToTags?: Prisma.ProductCategoryToTagOrderByRelationAggregateInput;
210
+ _relevance?: Prisma.ProductCategoryOrderByRelevanceInput;
211
+ };
212
+ export type ProductCategoryWhereUniqueInput = Prisma.AtLeast<{
213
+ id?: bigint | number;
214
+ name?: string;
215
+ AND?: Prisma.ProductCategoryWhereInput | Prisma.ProductCategoryWhereInput[];
216
+ OR?: Prisma.ProductCategoryWhereInput[];
217
+ NOT?: Prisma.ProductCategoryWhereInput | Prisma.ProductCategoryWhereInput[];
218
+ displayName?: Prisma.StringNullableFilter<"ProductCategory"> | string | null;
219
+ restriction?: Prisma.EnumRestrictionTypeFilter<"ProductCategory"> | $Enums.RestrictionType;
220
+ taxCategoryId?: Prisma.BigIntFilter<"ProductCategory"> | bigint | number;
221
+ parentCategoryId?: Prisma.BigIntNullableFilter<"ProductCategory"> | bigint | number | null;
222
+ products?: Prisma.ProductListRelationFilter;
223
+ ingredients?: Prisma.IngredientListRelationFilter;
224
+ subcategories?: Prisma.ProductCategoryListRelationFilter;
225
+ parentCategory?: Prisma.XOR<Prisma.ProductCategoryNullableScalarRelationFilter, Prisma.ProductCategoryWhereInput> | null;
226
+ taxCategory?: Prisma.XOR<Prisma.TaxCategoryNullableScalarRelationFilter, Prisma.TaxCategoryWhereInput> | null;
227
+ productListing?: Prisma.ProductListingListRelationFilter;
228
+ productCategoryToTags?: Prisma.ProductCategoryToTagListRelationFilter;
229
+ }, "id" | "name">;
230
+ export type ProductCategoryOrderByWithAggregationInput = {
231
+ id?: Prisma.SortOrder;
232
+ name?: Prisma.SortOrder;
233
+ displayName?: Prisma.SortOrderInput | Prisma.SortOrder;
234
+ restriction?: Prisma.SortOrder;
235
+ taxCategoryId?: Prisma.SortOrder;
236
+ parentCategoryId?: Prisma.SortOrderInput | Prisma.SortOrder;
237
+ _count?: Prisma.ProductCategoryCountOrderByAggregateInput;
238
+ _avg?: Prisma.ProductCategoryAvgOrderByAggregateInput;
239
+ _max?: Prisma.ProductCategoryMaxOrderByAggregateInput;
240
+ _min?: Prisma.ProductCategoryMinOrderByAggregateInput;
241
+ _sum?: Prisma.ProductCategorySumOrderByAggregateInput;
242
+ };
243
+ export type ProductCategoryScalarWhereWithAggregatesInput = {
244
+ AND?: Prisma.ProductCategoryScalarWhereWithAggregatesInput | Prisma.ProductCategoryScalarWhereWithAggregatesInput[];
245
+ OR?: Prisma.ProductCategoryScalarWhereWithAggregatesInput[];
246
+ NOT?: Prisma.ProductCategoryScalarWhereWithAggregatesInput | Prisma.ProductCategoryScalarWhereWithAggregatesInput[];
247
+ id?: Prisma.BigIntWithAggregatesFilter<"ProductCategory"> | bigint | number;
248
+ name?: Prisma.StringWithAggregatesFilter<"ProductCategory"> | string;
249
+ displayName?: Prisma.StringNullableWithAggregatesFilter<"ProductCategory"> | string | null;
250
+ restriction?: Prisma.EnumRestrictionTypeWithAggregatesFilter<"ProductCategory"> | $Enums.RestrictionType;
251
+ taxCategoryId?: Prisma.BigIntWithAggregatesFilter<"ProductCategory"> | bigint | number;
252
+ parentCategoryId?: Prisma.BigIntNullableWithAggregatesFilter<"ProductCategory"> | bigint | number | null;
253
+ };
254
+ export type ProductCategoryCreateInput = {
255
+ id?: bigint | number;
256
+ name: string;
257
+ displayName?: string | null;
258
+ restriction: $Enums.RestrictionType;
259
+ products?: Prisma.ProductCreateNestedManyWithoutCategoryInput;
260
+ ingredients?: Prisma.IngredientCreateNestedManyWithoutCategoryInput;
261
+ subcategories?: Prisma.ProductCategoryCreateNestedManyWithoutParentCategoryInput;
262
+ parentCategory?: Prisma.ProductCategoryCreateNestedOneWithoutSubcategoriesInput;
263
+ taxCategory?: Prisma.TaxCategoryCreateNestedOneWithoutProductCategoryInput;
264
+ productListing?: Prisma.ProductListingCreateNestedManyWithoutCategoryInput;
265
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutCategoryInput;
266
+ };
267
+ export type ProductCategoryUncheckedCreateInput = {
268
+ id?: bigint | number;
269
+ name: string;
270
+ displayName?: string | null;
271
+ restriction: $Enums.RestrictionType;
272
+ taxCategoryId: bigint | number;
273
+ parentCategoryId?: bigint | number | null;
274
+ products?: Prisma.ProductUncheckedCreateNestedManyWithoutCategoryInput;
275
+ ingredients?: Prisma.IngredientUncheckedCreateNestedManyWithoutCategoryInput;
276
+ subcategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutParentCategoryInput;
277
+ productListing?: Prisma.ProductListingUncheckedCreateNestedManyWithoutCategoryInput;
278
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutCategoryInput;
279
+ };
280
+ export type ProductCategoryUpdateInput = {
281
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
282
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
283
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
284
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
285
+ products?: Prisma.ProductUpdateManyWithoutCategoryNestedInput;
286
+ ingredients?: Prisma.IngredientUpdateManyWithoutCategoryNestedInput;
287
+ subcategories?: Prisma.ProductCategoryUpdateManyWithoutParentCategoryNestedInput;
288
+ parentCategory?: Prisma.ProductCategoryUpdateOneWithoutSubcategoriesNestedInput;
289
+ taxCategory?: Prisma.TaxCategoryUpdateOneWithoutProductCategoryNestedInput;
290
+ productListing?: Prisma.ProductListingUpdateManyWithoutCategoryNestedInput;
291
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutCategoryNestedInput;
292
+ };
293
+ export type ProductCategoryUncheckedUpdateInput = {
294
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
295
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
296
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
297
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
298
+ taxCategoryId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
299
+ parentCategoryId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
300
+ products?: Prisma.ProductUncheckedUpdateManyWithoutCategoryNestedInput;
301
+ ingredients?: Prisma.IngredientUncheckedUpdateManyWithoutCategoryNestedInput;
302
+ subcategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutParentCategoryNestedInput;
303
+ productListing?: Prisma.ProductListingUncheckedUpdateManyWithoutCategoryNestedInput;
304
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutCategoryNestedInput;
305
+ };
306
+ export type ProductCategoryCreateManyInput = {
307
+ id?: bigint | number;
308
+ name: string;
309
+ displayName?: string | null;
310
+ restriction: $Enums.RestrictionType;
311
+ taxCategoryId: bigint | number;
312
+ parentCategoryId?: bigint | number | null;
313
+ };
314
+ export type ProductCategoryUpdateManyMutationInput = {
315
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
316
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
317
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
318
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
319
+ };
320
+ export type ProductCategoryUncheckedUpdateManyInput = {
321
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
322
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
323
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
324
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
325
+ taxCategoryId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
326
+ parentCategoryId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
327
+ };
328
+ export type ProductCategoryNullableScalarRelationFilter = {
329
+ is?: Prisma.ProductCategoryWhereInput | null;
330
+ isNot?: Prisma.ProductCategoryWhereInput | null;
331
+ };
332
+ export type ProductCategoryScalarRelationFilter = {
333
+ is?: Prisma.ProductCategoryWhereInput;
334
+ isNot?: Prisma.ProductCategoryWhereInput;
335
+ };
336
+ export type ProductCategoryListRelationFilter = {
337
+ every?: Prisma.ProductCategoryWhereInput;
338
+ some?: Prisma.ProductCategoryWhereInput;
339
+ none?: Prisma.ProductCategoryWhereInput;
340
+ };
341
+ export type ProductCategoryOrderByRelationAggregateInput = {
342
+ _count?: Prisma.SortOrder;
343
+ };
344
+ export type ProductCategoryOrderByRelevanceInput = {
345
+ fields: Prisma.ProductCategoryOrderByRelevanceFieldEnum | Prisma.ProductCategoryOrderByRelevanceFieldEnum[];
346
+ sort: Prisma.SortOrder;
347
+ search: string;
348
+ };
349
+ export type ProductCategoryCountOrderByAggregateInput = {
350
+ id?: Prisma.SortOrder;
351
+ name?: Prisma.SortOrder;
352
+ displayName?: Prisma.SortOrder;
353
+ restriction?: Prisma.SortOrder;
354
+ taxCategoryId?: Prisma.SortOrder;
355
+ parentCategoryId?: Prisma.SortOrder;
356
+ };
357
+ export type ProductCategoryAvgOrderByAggregateInput = {
358
+ id?: Prisma.SortOrder;
359
+ taxCategoryId?: Prisma.SortOrder;
360
+ parentCategoryId?: Prisma.SortOrder;
361
+ };
362
+ export type ProductCategoryMaxOrderByAggregateInput = {
363
+ id?: Prisma.SortOrder;
364
+ name?: Prisma.SortOrder;
365
+ displayName?: Prisma.SortOrder;
366
+ restriction?: Prisma.SortOrder;
367
+ taxCategoryId?: Prisma.SortOrder;
368
+ parentCategoryId?: Prisma.SortOrder;
369
+ };
370
+ export type ProductCategoryMinOrderByAggregateInput = {
371
+ id?: Prisma.SortOrder;
372
+ name?: Prisma.SortOrder;
373
+ displayName?: Prisma.SortOrder;
374
+ restriction?: Prisma.SortOrder;
375
+ taxCategoryId?: Prisma.SortOrder;
376
+ parentCategoryId?: Prisma.SortOrder;
377
+ };
378
+ export type ProductCategorySumOrderByAggregateInput = {
379
+ id?: Prisma.SortOrder;
380
+ taxCategoryId?: Prisma.SortOrder;
381
+ parentCategoryId?: Prisma.SortOrder;
382
+ };
383
+ export type ProductCategoryCreateNestedOneWithoutIngredientsInput = {
384
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutIngredientsInput, Prisma.ProductCategoryUncheckedCreateWithoutIngredientsInput>;
385
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutIngredientsInput;
386
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
387
+ };
388
+ export type ProductCategoryUpdateOneWithoutIngredientsNestedInput = {
389
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutIngredientsInput, Prisma.ProductCategoryUncheckedCreateWithoutIngredientsInput>;
390
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutIngredientsInput;
391
+ upsert?: Prisma.ProductCategoryUpsertWithoutIngredientsInput;
392
+ disconnect?: Prisma.ProductCategoryWhereInput | boolean;
393
+ delete?: Prisma.ProductCategoryWhereInput | boolean;
394
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
395
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProductCategoryUpdateToOneWithWhereWithoutIngredientsInput, Prisma.ProductCategoryUpdateWithoutIngredientsInput>, Prisma.ProductCategoryUncheckedUpdateWithoutIngredientsInput>;
396
+ };
397
+ export type ProductCategoryCreateNestedOneWithoutProductListingInput = {
398
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductListingInput, Prisma.ProductCategoryUncheckedCreateWithoutProductListingInput>;
399
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutProductListingInput;
400
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
401
+ };
402
+ export type ProductCategoryUpdateOneWithoutProductListingNestedInput = {
403
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductListingInput, Prisma.ProductCategoryUncheckedCreateWithoutProductListingInput>;
404
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutProductListingInput;
405
+ upsert?: Prisma.ProductCategoryUpsertWithoutProductListingInput;
406
+ disconnect?: Prisma.ProductCategoryWhereInput | boolean;
407
+ delete?: Prisma.ProductCategoryWhereInput | boolean;
408
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
409
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProductCategoryUpdateToOneWithWhereWithoutProductListingInput, Prisma.ProductCategoryUpdateWithoutProductListingInput>, Prisma.ProductCategoryUncheckedUpdateWithoutProductListingInput>;
410
+ };
411
+ export type ProductCategoryCreateNestedOneWithoutProductsInput = {
412
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductsInput, Prisma.ProductCategoryUncheckedCreateWithoutProductsInput>;
413
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutProductsInput;
414
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
415
+ };
416
+ export type ProductCategoryUpdateOneRequiredWithoutProductsNestedInput = {
417
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductsInput, Prisma.ProductCategoryUncheckedCreateWithoutProductsInput>;
418
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutProductsInput;
419
+ upsert?: Prisma.ProductCategoryUpsertWithoutProductsInput;
420
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
421
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProductCategoryUpdateToOneWithWhereWithoutProductsInput, Prisma.ProductCategoryUpdateWithoutProductsInput>, Prisma.ProductCategoryUncheckedUpdateWithoutProductsInput>;
422
+ };
423
+ export type ProductCategoryCreateNestedOneWithoutProductCategoryToTagsInput = {
424
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductCategoryToTagsInput, Prisma.ProductCategoryUncheckedCreateWithoutProductCategoryToTagsInput>;
425
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutProductCategoryToTagsInput;
426
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
427
+ };
428
+ export type ProductCategoryUpdateOneRequiredWithoutProductCategoryToTagsNestedInput = {
429
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductCategoryToTagsInput, Prisma.ProductCategoryUncheckedCreateWithoutProductCategoryToTagsInput>;
430
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutProductCategoryToTagsInput;
431
+ upsert?: Prisma.ProductCategoryUpsertWithoutProductCategoryToTagsInput;
432
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
433
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProductCategoryUpdateToOneWithWhereWithoutProductCategoryToTagsInput, Prisma.ProductCategoryUpdateWithoutProductCategoryToTagsInput>, Prisma.ProductCategoryUncheckedUpdateWithoutProductCategoryToTagsInput>;
434
+ };
435
+ export type ProductCategoryCreateNestedManyWithoutParentCategoryInput = {
436
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutParentCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput> | Prisma.ProductCategoryCreateWithoutParentCategoryInput[] | Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput[];
437
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutParentCategoryInput | Prisma.ProductCategoryCreateOrConnectWithoutParentCategoryInput[];
438
+ createMany?: Prisma.ProductCategoryCreateManyParentCategoryInputEnvelope;
439
+ connect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
440
+ };
441
+ export type ProductCategoryCreateNestedOneWithoutSubcategoriesInput = {
442
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutSubcategoriesInput, Prisma.ProductCategoryUncheckedCreateWithoutSubcategoriesInput>;
443
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutSubcategoriesInput;
444
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
445
+ };
446
+ export type ProductCategoryUncheckedCreateNestedManyWithoutParentCategoryInput = {
447
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutParentCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput> | Prisma.ProductCategoryCreateWithoutParentCategoryInput[] | Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput[];
448
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutParentCategoryInput | Prisma.ProductCategoryCreateOrConnectWithoutParentCategoryInput[];
449
+ createMany?: Prisma.ProductCategoryCreateManyParentCategoryInputEnvelope;
450
+ connect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
451
+ };
452
+ export type ProductCategoryUpdateManyWithoutParentCategoryNestedInput = {
453
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutParentCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput> | Prisma.ProductCategoryCreateWithoutParentCategoryInput[] | Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput[];
454
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutParentCategoryInput | Prisma.ProductCategoryCreateOrConnectWithoutParentCategoryInput[];
455
+ upsert?: Prisma.ProductCategoryUpsertWithWhereUniqueWithoutParentCategoryInput | Prisma.ProductCategoryUpsertWithWhereUniqueWithoutParentCategoryInput[];
456
+ createMany?: Prisma.ProductCategoryCreateManyParentCategoryInputEnvelope;
457
+ set?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
458
+ disconnect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
459
+ delete?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
460
+ connect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
461
+ update?: Prisma.ProductCategoryUpdateWithWhereUniqueWithoutParentCategoryInput | Prisma.ProductCategoryUpdateWithWhereUniqueWithoutParentCategoryInput[];
462
+ updateMany?: Prisma.ProductCategoryUpdateManyWithWhereWithoutParentCategoryInput | Prisma.ProductCategoryUpdateManyWithWhereWithoutParentCategoryInput[];
463
+ deleteMany?: Prisma.ProductCategoryScalarWhereInput | Prisma.ProductCategoryScalarWhereInput[];
464
+ };
465
+ export type ProductCategoryUpdateOneWithoutSubcategoriesNestedInput = {
466
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutSubcategoriesInput, Prisma.ProductCategoryUncheckedCreateWithoutSubcategoriesInput>;
467
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutSubcategoriesInput;
468
+ upsert?: Prisma.ProductCategoryUpsertWithoutSubcategoriesInput;
469
+ disconnect?: Prisma.ProductCategoryWhereInput | boolean;
470
+ delete?: Prisma.ProductCategoryWhereInput | boolean;
471
+ connect?: Prisma.ProductCategoryWhereUniqueInput;
472
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ProductCategoryUpdateToOneWithWhereWithoutSubcategoriesInput, Prisma.ProductCategoryUpdateWithoutSubcategoriesInput>, Prisma.ProductCategoryUncheckedUpdateWithoutSubcategoriesInput>;
473
+ };
474
+ export type ProductCategoryUncheckedUpdateManyWithoutParentCategoryNestedInput = {
475
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutParentCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput> | Prisma.ProductCategoryCreateWithoutParentCategoryInput[] | Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput[];
476
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutParentCategoryInput | Prisma.ProductCategoryCreateOrConnectWithoutParentCategoryInput[];
477
+ upsert?: Prisma.ProductCategoryUpsertWithWhereUniqueWithoutParentCategoryInput | Prisma.ProductCategoryUpsertWithWhereUniqueWithoutParentCategoryInput[];
478
+ createMany?: Prisma.ProductCategoryCreateManyParentCategoryInputEnvelope;
479
+ set?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
480
+ disconnect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
481
+ delete?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
482
+ connect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
483
+ update?: Prisma.ProductCategoryUpdateWithWhereUniqueWithoutParentCategoryInput | Prisma.ProductCategoryUpdateWithWhereUniqueWithoutParentCategoryInput[];
484
+ updateMany?: Prisma.ProductCategoryUpdateManyWithWhereWithoutParentCategoryInput | Prisma.ProductCategoryUpdateManyWithWhereWithoutParentCategoryInput[];
485
+ deleteMany?: Prisma.ProductCategoryScalarWhereInput | Prisma.ProductCategoryScalarWhereInput[];
486
+ };
487
+ export type ProductCategoryCreateNestedManyWithoutTaxCategoryInput = {
488
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutTaxCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput> | Prisma.ProductCategoryCreateWithoutTaxCategoryInput[] | Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput[];
489
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutTaxCategoryInput | Prisma.ProductCategoryCreateOrConnectWithoutTaxCategoryInput[];
490
+ createMany?: Prisma.ProductCategoryCreateManyTaxCategoryInputEnvelope;
491
+ connect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
492
+ };
493
+ export type ProductCategoryUncheckedCreateNestedManyWithoutTaxCategoryInput = {
494
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutTaxCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput> | Prisma.ProductCategoryCreateWithoutTaxCategoryInput[] | Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput[];
495
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutTaxCategoryInput | Prisma.ProductCategoryCreateOrConnectWithoutTaxCategoryInput[];
496
+ createMany?: Prisma.ProductCategoryCreateManyTaxCategoryInputEnvelope;
497
+ connect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
498
+ };
499
+ export type ProductCategoryUpdateManyWithoutTaxCategoryNestedInput = {
500
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutTaxCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput> | Prisma.ProductCategoryCreateWithoutTaxCategoryInput[] | Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput[];
501
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutTaxCategoryInput | Prisma.ProductCategoryCreateOrConnectWithoutTaxCategoryInput[];
502
+ upsert?: Prisma.ProductCategoryUpsertWithWhereUniqueWithoutTaxCategoryInput | Prisma.ProductCategoryUpsertWithWhereUniqueWithoutTaxCategoryInput[];
503
+ createMany?: Prisma.ProductCategoryCreateManyTaxCategoryInputEnvelope;
504
+ set?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
505
+ disconnect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
506
+ delete?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
507
+ connect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
508
+ update?: Prisma.ProductCategoryUpdateWithWhereUniqueWithoutTaxCategoryInput | Prisma.ProductCategoryUpdateWithWhereUniqueWithoutTaxCategoryInput[];
509
+ updateMany?: Prisma.ProductCategoryUpdateManyWithWhereWithoutTaxCategoryInput | Prisma.ProductCategoryUpdateManyWithWhereWithoutTaxCategoryInput[];
510
+ deleteMany?: Prisma.ProductCategoryScalarWhereInput | Prisma.ProductCategoryScalarWhereInput[];
511
+ };
512
+ export type ProductCategoryUncheckedUpdateManyWithoutTaxCategoryNestedInput = {
513
+ create?: Prisma.XOR<Prisma.ProductCategoryCreateWithoutTaxCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput> | Prisma.ProductCategoryCreateWithoutTaxCategoryInput[] | Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput[];
514
+ connectOrCreate?: Prisma.ProductCategoryCreateOrConnectWithoutTaxCategoryInput | Prisma.ProductCategoryCreateOrConnectWithoutTaxCategoryInput[];
515
+ upsert?: Prisma.ProductCategoryUpsertWithWhereUniqueWithoutTaxCategoryInput | Prisma.ProductCategoryUpsertWithWhereUniqueWithoutTaxCategoryInput[];
516
+ createMany?: Prisma.ProductCategoryCreateManyTaxCategoryInputEnvelope;
517
+ set?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
518
+ disconnect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
519
+ delete?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
520
+ connect?: Prisma.ProductCategoryWhereUniqueInput | Prisma.ProductCategoryWhereUniqueInput[];
521
+ update?: Prisma.ProductCategoryUpdateWithWhereUniqueWithoutTaxCategoryInput | Prisma.ProductCategoryUpdateWithWhereUniqueWithoutTaxCategoryInput[];
522
+ updateMany?: Prisma.ProductCategoryUpdateManyWithWhereWithoutTaxCategoryInput | Prisma.ProductCategoryUpdateManyWithWhereWithoutTaxCategoryInput[];
523
+ deleteMany?: Prisma.ProductCategoryScalarWhereInput | Prisma.ProductCategoryScalarWhereInput[];
524
+ };
525
+ export type ProductCategoryCreateWithoutIngredientsInput = {
526
+ id?: bigint | number;
527
+ name: string;
528
+ displayName?: string | null;
529
+ restriction: $Enums.RestrictionType;
530
+ products?: Prisma.ProductCreateNestedManyWithoutCategoryInput;
531
+ subcategories?: Prisma.ProductCategoryCreateNestedManyWithoutParentCategoryInput;
532
+ parentCategory?: Prisma.ProductCategoryCreateNestedOneWithoutSubcategoriesInput;
533
+ taxCategory?: Prisma.TaxCategoryCreateNestedOneWithoutProductCategoryInput;
534
+ productListing?: Prisma.ProductListingCreateNestedManyWithoutCategoryInput;
535
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutCategoryInput;
536
+ };
537
+ export type ProductCategoryUncheckedCreateWithoutIngredientsInput = {
538
+ id?: bigint | number;
539
+ name: string;
540
+ displayName?: string | null;
541
+ restriction: $Enums.RestrictionType;
542
+ taxCategoryId: bigint | number;
543
+ parentCategoryId?: bigint | number | null;
544
+ products?: Prisma.ProductUncheckedCreateNestedManyWithoutCategoryInput;
545
+ subcategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutParentCategoryInput;
546
+ productListing?: Prisma.ProductListingUncheckedCreateNestedManyWithoutCategoryInput;
547
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutCategoryInput;
548
+ };
549
+ export type ProductCategoryCreateOrConnectWithoutIngredientsInput = {
550
+ where: Prisma.ProductCategoryWhereUniqueInput;
551
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutIngredientsInput, Prisma.ProductCategoryUncheckedCreateWithoutIngredientsInput>;
552
+ };
553
+ export type ProductCategoryUpsertWithoutIngredientsInput = {
554
+ update: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutIngredientsInput, Prisma.ProductCategoryUncheckedUpdateWithoutIngredientsInput>;
555
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutIngredientsInput, Prisma.ProductCategoryUncheckedCreateWithoutIngredientsInput>;
556
+ where?: Prisma.ProductCategoryWhereInput;
557
+ };
558
+ export type ProductCategoryUpdateToOneWithWhereWithoutIngredientsInput = {
559
+ where?: Prisma.ProductCategoryWhereInput;
560
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutIngredientsInput, Prisma.ProductCategoryUncheckedUpdateWithoutIngredientsInput>;
561
+ };
562
+ export type ProductCategoryUpdateWithoutIngredientsInput = {
563
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
564
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
565
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
566
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
567
+ products?: Prisma.ProductUpdateManyWithoutCategoryNestedInput;
568
+ subcategories?: Prisma.ProductCategoryUpdateManyWithoutParentCategoryNestedInput;
569
+ parentCategory?: Prisma.ProductCategoryUpdateOneWithoutSubcategoriesNestedInput;
570
+ taxCategory?: Prisma.TaxCategoryUpdateOneWithoutProductCategoryNestedInput;
571
+ productListing?: Prisma.ProductListingUpdateManyWithoutCategoryNestedInput;
572
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutCategoryNestedInput;
573
+ };
574
+ export type ProductCategoryUncheckedUpdateWithoutIngredientsInput = {
575
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
576
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
577
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
578
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
579
+ taxCategoryId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
580
+ parentCategoryId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
581
+ products?: Prisma.ProductUncheckedUpdateManyWithoutCategoryNestedInput;
582
+ subcategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutParentCategoryNestedInput;
583
+ productListing?: Prisma.ProductListingUncheckedUpdateManyWithoutCategoryNestedInput;
584
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutCategoryNestedInput;
585
+ };
586
+ export type ProductCategoryCreateWithoutProductListingInput = {
587
+ id?: bigint | number;
588
+ name: string;
589
+ displayName?: string | null;
590
+ restriction: $Enums.RestrictionType;
591
+ products?: Prisma.ProductCreateNestedManyWithoutCategoryInput;
592
+ ingredients?: Prisma.IngredientCreateNestedManyWithoutCategoryInput;
593
+ subcategories?: Prisma.ProductCategoryCreateNestedManyWithoutParentCategoryInput;
594
+ parentCategory?: Prisma.ProductCategoryCreateNestedOneWithoutSubcategoriesInput;
595
+ taxCategory?: Prisma.TaxCategoryCreateNestedOneWithoutProductCategoryInput;
596
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutCategoryInput;
597
+ };
598
+ export type ProductCategoryUncheckedCreateWithoutProductListingInput = {
599
+ id?: bigint | number;
600
+ name: string;
601
+ displayName?: string | null;
602
+ restriction: $Enums.RestrictionType;
603
+ taxCategoryId: bigint | number;
604
+ parentCategoryId?: bigint | number | null;
605
+ products?: Prisma.ProductUncheckedCreateNestedManyWithoutCategoryInput;
606
+ ingredients?: Prisma.IngredientUncheckedCreateNestedManyWithoutCategoryInput;
607
+ subcategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutParentCategoryInput;
608
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutCategoryInput;
609
+ };
610
+ export type ProductCategoryCreateOrConnectWithoutProductListingInput = {
611
+ where: Prisma.ProductCategoryWhereUniqueInput;
612
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductListingInput, Prisma.ProductCategoryUncheckedCreateWithoutProductListingInput>;
613
+ };
614
+ export type ProductCategoryUpsertWithoutProductListingInput = {
615
+ update: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutProductListingInput, Prisma.ProductCategoryUncheckedUpdateWithoutProductListingInput>;
616
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductListingInput, Prisma.ProductCategoryUncheckedCreateWithoutProductListingInput>;
617
+ where?: Prisma.ProductCategoryWhereInput;
618
+ };
619
+ export type ProductCategoryUpdateToOneWithWhereWithoutProductListingInput = {
620
+ where?: Prisma.ProductCategoryWhereInput;
621
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutProductListingInput, Prisma.ProductCategoryUncheckedUpdateWithoutProductListingInput>;
622
+ };
623
+ export type ProductCategoryUpdateWithoutProductListingInput = {
624
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
625
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
626
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
627
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
628
+ products?: Prisma.ProductUpdateManyWithoutCategoryNestedInput;
629
+ ingredients?: Prisma.IngredientUpdateManyWithoutCategoryNestedInput;
630
+ subcategories?: Prisma.ProductCategoryUpdateManyWithoutParentCategoryNestedInput;
631
+ parentCategory?: Prisma.ProductCategoryUpdateOneWithoutSubcategoriesNestedInput;
632
+ taxCategory?: Prisma.TaxCategoryUpdateOneWithoutProductCategoryNestedInput;
633
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutCategoryNestedInput;
634
+ };
635
+ export type ProductCategoryUncheckedUpdateWithoutProductListingInput = {
636
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
637
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
638
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
639
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
640
+ taxCategoryId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
641
+ parentCategoryId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
642
+ products?: Prisma.ProductUncheckedUpdateManyWithoutCategoryNestedInput;
643
+ ingredients?: Prisma.IngredientUncheckedUpdateManyWithoutCategoryNestedInput;
644
+ subcategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutParentCategoryNestedInput;
645
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutCategoryNestedInput;
646
+ };
647
+ export type ProductCategoryCreateWithoutProductsInput = {
648
+ id?: bigint | number;
649
+ name: string;
650
+ displayName?: string | null;
651
+ restriction: $Enums.RestrictionType;
652
+ ingredients?: Prisma.IngredientCreateNestedManyWithoutCategoryInput;
653
+ subcategories?: Prisma.ProductCategoryCreateNestedManyWithoutParentCategoryInput;
654
+ parentCategory?: Prisma.ProductCategoryCreateNestedOneWithoutSubcategoriesInput;
655
+ taxCategory?: Prisma.TaxCategoryCreateNestedOneWithoutProductCategoryInput;
656
+ productListing?: Prisma.ProductListingCreateNestedManyWithoutCategoryInput;
657
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutCategoryInput;
658
+ };
659
+ export type ProductCategoryUncheckedCreateWithoutProductsInput = {
660
+ id?: bigint | number;
661
+ name: string;
662
+ displayName?: string | null;
663
+ restriction: $Enums.RestrictionType;
664
+ taxCategoryId: bigint | number;
665
+ parentCategoryId?: bigint | number | null;
666
+ ingredients?: Prisma.IngredientUncheckedCreateNestedManyWithoutCategoryInput;
667
+ subcategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutParentCategoryInput;
668
+ productListing?: Prisma.ProductListingUncheckedCreateNestedManyWithoutCategoryInput;
669
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutCategoryInput;
670
+ };
671
+ export type ProductCategoryCreateOrConnectWithoutProductsInput = {
672
+ where: Prisma.ProductCategoryWhereUniqueInput;
673
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductsInput, Prisma.ProductCategoryUncheckedCreateWithoutProductsInput>;
674
+ };
675
+ export type ProductCategoryUpsertWithoutProductsInput = {
676
+ update: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutProductsInput, Prisma.ProductCategoryUncheckedUpdateWithoutProductsInput>;
677
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductsInput, Prisma.ProductCategoryUncheckedCreateWithoutProductsInput>;
678
+ where?: Prisma.ProductCategoryWhereInput;
679
+ };
680
+ export type ProductCategoryUpdateToOneWithWhereWithoutProductsInput = {
681
+ where?: Prisma.ProductCategoryWhereInput;
682
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutProductsInput, Prisma.ProductCategoryUncheckedUpdateWithoutProductsInput>;
683
+ };
684
+ export type ProductCategoryUpdateWithoutProductsInput = {
685
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
686
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
687
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
688
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
689
+ ingredients?: Prisma.IngredientUpdateManyWithoutCategoryNestedInput;
690
+ subcategories?: Prisma.ProductCategoryUpdateManyWithoutParentCategoryNestedInput;
691
+ parentCategory?: Prisma.ProductCategoryUpdateOneWithoutSubcategoriesNestedInput;
692
+ taxCategory?: Prisma.TaxCategoryUpdateOneWithoutProductCategoryNestedInput;
693
+ productListing?: Prisma.ProductListingUpdateManyWithoutCategoryNestedInput;
694
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutCategoryNestedInput;
695
+ };
696
+ export type ProductCategoryUncheckedUpdateWithoutProductsInput = {
697
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
698
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
699
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
700
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
701
+ taxCategoryId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
702
+ parentCategoryId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
703
+ ingredients?: Prisma.IngredientUncheckedUpdateManyWithoutCategoryNestedInput;
704
+ subcategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutParentCategoryNestedInput;
705
+ productListing?: Prisma.ProductListingUncheckedUpdateManyWithoutCategoryNestedInput;
706
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutCategoryNestedInput;
707
+ };
708
+ export type ProductCategoryCreateWithoutProductCategoryToTagsInput = {
709
+ id?: bigint | number;
710
+ name: string;
711
+ displayName?: string | null;
712
+ restriction: $Enums.RestrictionType;
713
+ products?: Prisma.ProductCreateNestedManyWithoutCategoryInput;
714
+ ingredients?: Prisma.IngredientCreateNestedManyWithoutCategoryInput;
715
+ subcategories?: Prisma.ProductCategoryCreateNestedManyWithoutParentCategoryInput;
716
+ parentCategory?: Prisma.ProductCategoryCreateNestedOneWithoutSubcategoriesInput;
717
+ taxCategory?: Prisma.TaxCategoryCreateNestedOneWithoutProductCategoryInput;
718
+ productListing?: Prisma.ProductListingCreateNestedManyWithoutCategoryInput;
719
+ };
720
+ export type ProductCategoryUncheckedCreateWithoutProductCategoryToTagsInput = {
721
+ id?: bigint | number;
722
+ name: string;
723
+ displayName?: string | null;
724
+ restriction: $Enums.RestrictionType;
725
+ taxCategoryId: bigint | number;
726
+ parentCategoryId?: bigint | number | null;
727
+ products?: Prisma.ProductUncheckedCreateNestedManyWithoutCategoryInput;
728
+ ingredients?: Prisma.IngredientUncheckedCreateNestedManyWithoutCategoryInput;
729
+ subcategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutParentCategoryInput;
730
+ productListing?: Prisma.ProductListingUncheckedCreateNestedManyWithoutCategoryInput;
731
+ };
732
+ export type ProductCategoryCreateOrConnectWithoutProductCategoryToTagsInput = {
733
+ where: Prisma.ProductCategoryWhereUniqueInput;
734
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductCategoryToTagsInput, Prisma.ProductCategoryUncheckedCreateWithoutProductCategoryToTagsInput>;
735
+ };
736
+ export type ProductCategoryUpsertWithoutProductCategoryToTagsInput = {
737
+ update: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutProductCategoryToTagsInput, Prisma.ProductCategoryUncheckedUpdateWithoutProductCategoryToTagsInput>;
738
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutProductCategoryToTagsInput, Prisma.ProductCategoryUncheckedCreateWithoutProductCategoryToTagsInput>;
739
+ where?: Prisma.ProductCategoryWhereInput;
740
+ };
741
+ export type ProductCategoryUpdateToOneWithWhereWithoutProductCategoryToTagsInput = {
742
+ where?: Prisma.ProductCategoryWhereInput;
743
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutProductCategoryToTagsInput, Prisma.ProductCategoryUncheckedUpdateWithoutProductCategoryToTagsInput>;
744
+ };
745
+ export type ProductCategoryUpdateWithoutProductCategoryToTagsInput = {
746
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
747
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
748
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
749
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
750
+ products?: Prisma.ProductUpdateManyWithoutCategoryNestedInput;
751
+ ingredients?: Prisma.IngredientUpdateManyWithoutCategoryNestedInput;
752
+ subcategories?: Prisma.ProductCategoryUpdateManyWithoutParentCategoryNestedInput;
753
+ parentCategory?: Prisma.ProductCategoryUpdateOneWithoutSubcategoriesNestedInput;
754
+ taxCategory?: Prisma.TaxCategoryUpdateOneWithoutProductCategoryNestedInput;
755
+ productListing?: Prisma.ProductListingUpdateManyWithoutCategoryNestedInput;
756
+ };
757
+ export type ProductCategoryUncheckedUpdateWithoutProductCategoryToTagsInput = {
758
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
759
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
760
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
761
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
762
+ taxCategoryId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
763
+ parentCategoryId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
764
+ products?: Prisma.ProductUncheckedUpdateManyWithoutCategoryNestedInput;
765
+ ingredients?: Prisma.IngredientUncheckedUpdateManyWithoutCategoryNestedInput;
766
+ subcategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutParentCategoryNestedInput;
767
+ productListing?: Prisma.ProductListingUncheckedUpdateManyWithoutCategoryNestedInput;
768
+ };
769
+ export type ProductCategoryCreateWithoutParentCategoryInput = {
770
+ id?: bigint | number;
771
+ name: string;
772
+ displayName?: string | null;
773
+ restriction: $Enums.RestrictionType;
774
+ products?: Prisma.ProductCreateNestedManyWithoutCategoryInput;
775
+ ingredients?: Prisma.IngredientCreateNestedManyWithoutCategoryInput;
776
+ subcategories?: Prisma.ProductCategoryCreateNestedManyWithoutParentCategoryInput;
777
+ taxCategory?: Prisma.TaxCategoryCreateNestedOneWithoutProductCategoryInput;
778
+ productListing?: Prisma.ProductListingCreateNestedManyWithoutCategoryInput;
779
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutCategoryInput;
780
+ };
781
+ export type ProductCategoryUncheckedCreateWithoutParentCategoryInput = {
782
+ id?: bigint | number;
783
+ name: string;
784
+ displayName?: string | null;
785
+ restriction: $Enums.RestrictionType;
786
+ taxCategoryId: bigint | number;
787
+ products?: Prisma.ProductUncheckedCreateNestedManyWithoutCategoryInput;
788
+ ingredients?: Prisma.IngredientUncheckedCreateNestedManyWithoutCategoryInput;
789
+ subcategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutParentCategoryInput;
790
+ productListing?: Prisma.ProductListingUncheckedCreateNestedManyWithoutCategoryInput;
791
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutCategoryInput;
792
+ };
793
+ export type ProductCategoryCreateOrConnectWithoutParentCategoryInput = {
794
+ where: Prisma.ProductCategoryWhereUniqueInput;
795
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutParentCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput>;
796
+ };
797
+ export type ProductCategoryCreateManyParentCategoryInputEnvelope = {
798
+ data: Prisma.ProductCategoryCreateManyParentCategoryInput | Prisma.ProductCategoryCreateManyParentCategoryInput[];
799
+ skipDuplicates?: boolean;
800
+ };
801
+ export type ProductCategoryCreateWithoutSubcategoriesInput = {
802
+ id?: bigint | number;
803
+ name: string;
804
+ displayName?: string | null;
805
+ restriction: $Enums.RestrictionType;
806
+ products?: Prisma.ProductCreateNestedManyWithoutCategoryInput;
807
+ ingredients?: Prisma.IngredientCreateNestedManyWithoutCategoryInput;
808
+ parentCategory?: Prisma.ProductCategoryCreateNestedOneWithoutSubcategoriesInput;
809
+ taxCategory?: Prisma.TaxCategoryCreateNestedOneWithoutProductCategoryInput;
810
+ productListing?: Prisma.ProductListingCreateNestedManyWithoutCategoryInput;
811
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutCategoryInput;
812
+ };
813
+ export type ProductCategoryUncheckedCreateWithoutSubcategoriesInput = {
814
+ id?: bigint | number;
815
+ name: string;
816
+ displayName?: string | null;
817
+ restriction: $Enums.RestrictionType;
818
+ taxCategoryId: bigint | number;
819
+ parentCategoryId?: bigint | number | null;
820
+ products?: Prisma.ProductUncheckedCreateNestedManyWithoutCategoryInput;
821
+ ingredients?: Prisma.IngredientUncheckedCreateNestedManyWithoutCategoryInput;
822
+ productListing?: Prisma.ProductListingUncheckedCreateNestedManyWithoutCategoryInput;
823
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutCategoryInput;
824
+ };
825
+ export type ProductCategoryCreateOrConnectWithoutSubcategoriesInput = {
826
+ where: Prisma.ProductCategoryWhereUniqueInput;
827
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutSubcategoriesInput, Prisma.ProductCategoryUncheckedCreateWithoutSubcategoriesInput>;
828
+ };
829
+ export type ProductCategoryUpsertWithWhereUniqueWithoutParentCategoryInput = {
830
+ where: Prisma.ProductCategoryWhereUniqueInput;
831
+ update: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutParentCategoryInput, Prisma.ProductCategoryUncheckedUpdateWithoutParentCategoryInput>;
832
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutParentCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutParentCategoryInput>;
833
+ };
834
+ export type ProductCategoryUpdateWithWhereUniqueWithoutParentCategoryInput = {
835
+ where: Prisma.ProductCategoryWhereUniqueInput;
836
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutParentCategoryInput, Prisma.ProductCategoryUncheckedUpdateWithoutParentCategoryInput>;
837
+ };
838
+ export type ProductCategoryUpdateManyWithWhereWithoutParentCategoryInput = {
839
+ where: Prisma.ProductCategoryScalarWhereInput;
840
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateManyMutationInput, Prisma.ProductCategoryUncheckedUpdateManyWithoutParentCategoryInput>;
841
+ };
842
+ export type ProductCategoryScalarWhereInput = {
843
+ AND?: Prisma.ProductCategoryScalarWhereInput | Prisma.ProductCategoryScalarWhereInput[];
844
+ OR?: Prisma.ProductCategoryScalarWhereInput[];
845
+ NOT?: Prisma.ProductCategoryScalarWhereInput | Prisma.ProductCategoryScalarWhereInput[];
846
+ id?: Prisma.BigIntFilter<"ProductCategory"> | bigint | number;
847
+ name?: Prisma.StringFilter<"ProductCategory"> | string;
848
+ displayName?: Prisma.StringNullableFilter<"ProductCategory"> | string | null;
849
+ restriction?: Prisma.EnumRestrictionTypeFilter<"ProductCategory"> | $Enums.RestrictionType;
850
+ taxCategoryId?: Prisma.BigIntFilter<"ProductCategory"> | bigint | number;
851
+ parentCategoryId?: Prisma.BigIntNullableFilter<"ProductCategory"> | bigint | number | null;
852
+ };
853
+ export type ProductCategoryUpsertWithoutSubcategoriesInput = {
854
+ update: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutSubcategoriesInput, Prisma.ProductCategoryUncheckedUpdateWithoutSubcategoriesInput>;
855
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutSubcategoriesInput, Prisma.ProductCategoryUncheckedCreateWithoutSubcategoriesInput>;
856
+ where?: Prisma.ProductCategoryWhereInput;
857
+ };
858
+ export type ProductCategoryUpdateToOneWithWhereWithoutSubcategoriesInput = {
859
+ where?: Prisma.ProductCategoryWhereInput;
860
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutSubcategoriesInput, Prisma.ProductCategoryUncheckedUpdateWithoutSubcategoriesInput>;
861
+ };
862
+ export type ProductCategoryUpdateWithoutSubcategoriesInput = {
863
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
864
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
865
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
866
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
867
+ products?: Prisma.ProductUpdateManyWithoutCategoryNestedInput;
868
+ ingredients?: Prisma.IngredientUpdateManyWithoutCategoryNestedInput;
869
+ parentCategory?: Prisma.ProductCategoryUpdateOneWithoutSubcategoriesNestedInput;
870
+ taxCategory?: Prisma.TaxCategoryUpdateOneWithoutProductCategoryNestedInput;
871
+ productListing?: Prisma.ProductListingUpdateManyWithoutCategoryNestedInput;
872
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutCategoryNestedInput;
873
+ };
874
+ export type ProductCategoryUncheckedUpdateWithoutSubcategoriesInput = {
875
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
876
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
877
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
878
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
879
+ taxCategoryId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
880
+ parentCategoryId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
881
+ products?: Prisma.ProductUncheckedUpdateManyWithoutCategoryNestedInput;
882
+ ingredients?: Prisma.IngredientUncheckedUpdateManyWithoutCategoryNestedInput;
883
+ productListing?: Prisma.ProductListingUncheckedUpdateManyWithoutCategoryNestedInput;
884
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutCategoryNestedInput;
885
+ };
886
+ export type ProductCategoryCreateWithoutTaxCategoryInput = {
887
+ id?: bigint | number;
888
+ name: string;
889
+ displayName?: string | null;
890
+ restriction: $Enums.RestrictionType;
891
+ products?: Prisma.ProductCreateNestedManyWithoutCategoryInput;
892
+ ingredients?: Prisma.IngredientCreateNestedManyWithoutCategoryInput;
893
+ subcategories?: Prisma.ProductCategoryCreateNestedManyWithoutParentCategoryInput;
894
+ parentCategory?: Prisma.ProductCategoryCreateNestedOneWithoutSubcategoriesInput;
895
+ productListing?: Prisma.ProductListingCreateNestedManyWithoutCategoryInput;
896
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutCategoryInput;
897
+ };
898
+ export type ProductCategoryUncheckedCreateWithoutTaxCategoryInput = {
899
+ id?: bigint | number;
900
+ name: string;
901
+ displayName?: string | null;
902
+ restriction: $Enums.RestrictionType;
903
+ parentCategoryId?: bigint | number | null;
904
+ products?: Prisma.ProductUncheckedCreateNestedManyWithoutCategoryInput;
905
+ ingredients?: Prisma.IngredientUncheckedCreateNestedManyWithoutCategoryInput;
906
+ subcategories?: Prisma.ProductCategoryUncheckedCreateNestedManyWithoutParentCategoryInput;
907
+ productListing?: Prisma.ProductListingUncheckedCreateNestedManyWithoutCategoryInput;
908
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutCategoryInput;
909
+ };
910
+ export type ProductCategoryCreateOrConnectWithoutTaxCategoryInput = {
911
+ where: Prisma.ProductCategoryWhereUniqueInput;
912
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutTaxCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput>;
913
+ };
914
+ export type ProductCategoryCreateManyTaxCategoryInputEnvelope = {
915
+ data: Prisma.ProductCategoryCreateManyTaxCategoryInput | Prisma.ProductCategoryCreateManyTaxCategoryInput[];
916
+ skipDuplicates?: boolean;
917
+ };
918
+ export type ProductCategoryUpsertWithWhereUniqueWithoutTaxCategoryInput = {
919
+ where: Prisma.ProductCategoryWhereUniqueInput;
920
+ update: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutTaxCategoryInput, Prisma.ProductCategoryUncheckedUpdateWithoutTaxCategoryInput>;
921
+ create: Prisma.XOR<Prisma.ProductCategoryCreateWithoutTaxCategoryInput, Prisma.ProductCategoryUncheckedCreateWithoutTaxCategoryInput>;
922
+ };
923
+ export type ProductCategoryUpdateWithWhereUniqueWithoutTaxCategoryInput = {
924
+ where: Prisma.ProductCategoryWhereUniqueInput;
925
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateWithoutTaxCategoryInput, Prisma.ProductCategoryUncheckedUpdateWithoutTaxCategoryInput>;
926
+ };
927
+ export type ProductCategoryUpdateManyWithWhereWithoutTaxCategoryInput = {
928
+ where: Prisma.ProductCategoryScalarWhereInput;
929
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateManyMutationInput, Prisma.ProductCategoryUncheckedUpdateManyWithoutTaxCategoryInput>;
930
+ };
931
+ export type ProductCategoryCreateManyParentCategoryInput = {
932
+ id?: bigint | number;
933
+ name: string;
934
+ displayName?: string | null;
935
+ restriction: $Enums.RestrictionType;
936
+ taxCategoryId: bigint | number;
937
+ };
938
+ export type ProductCategoryUpdateWithoutParentCategoryInput = {
939
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
940
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
941
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
942
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
943
+ products?: Prisma.ProductUpdateManyWithoutCategoryNestedInput;
944
+ ingredients?: Prisma.IngredientUpdateManyWithoutCategoryNestedInput;
945
+ subcategories?: Prisma.ProductCategoryUpdateManyWithoutParentCategoryNestedInput;
946
+ taxCategory?: Prisma.TaxCategoryUpdateOneWithoutProductCategoryNestedInput;
947
+ productListing?: Prisma.ProductListingUpdateManyWithoutCategoryNestedInput;
948
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutCategoryNestedInput;
949
+ };
950
+ export type ProductCategoryUncheckedUpdateWithoutParentCategoryInput = {
951
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
952
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
953
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
954
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
955
+ taxCategoryId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
956
+ products?: Prisma.ProductUncheckedUpdateManyWithoutCategoryNestedInput;
957
+ ingredients?: Prisma.IngredientUncheckedUpdateManyWithoutCategoryNestedInput;
958
+ subcategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutParentCategoryNestedInput;
959
+ productListing?: Prisma.ProductListingUncheckedUpdateManyWithoutCategoryNestedInput;
960
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutCategoryNestedInput;
961
+ };
962
+ export type ProductCategoryUncheckedUpdateManyWithoutParentCategoryInput = {
963
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
964
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
965
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
966
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
967
+ taxCategoryId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
968
+ };
969
+ export type ProductCategoryCreateManyTaxCategoryInput = {
970
+ id?: bigint | number;
971
+ name: string;
972
+ displayName?: string | null;
973
+ restriction: $Enums.RestrictionType;
974
+ parentCategoryId?: bigint | number | null;
975
+ };
976
+ export type ProductCategoryUpdateWithoutTaxCategoryInput = {
977
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
978
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
979
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
980
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
981
+ products?: Prisma.ProductUpdateManyWithoutCategoryNestedInput;
982
+ ingredients?: Prisma.IngredientUpdateManyWithoutCategoryNestedInput;
983
+ subcategories?: Prisma.ProductCategoryUpdateManyWithoutParentCategoryNestedInput;
984
+ parentCategory?: Prisma.ProductCategoryUpdateOneWithoutSubcategoriesNestedInput;
985
+ productListing?: Prisma.ProductListingUpdateManyWithoutCategoryNestedInput;
986
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutCategoryNestedInput;
987
+ };
988
+ export type ProductCategoryUncheckedUpdateWithoutTaxCategoryInput = {
989
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
990
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
991
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
992
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
993
+ parentCategoryId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
994
+ products?: Prisma.ProductUncheckedUpdateManyWithoutCategoryNestedInput;
995
+ ingredients?: Prisma.IngredientUncheckedUpdateManyWithoutCategoryNestedInput;
996
+ subcategories?: Prisma.ProductCategoryUncheckedUpdateManyWithoutParentCategoryNestedInput;
997
+ productListing?: Prisma.ProductListingUncheckedUpdateManyWithoutCategoryNestedInput;
998
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutCategoryNestedInput;
999
+ };
1000
+ export type ProductCategoryUncheckedUpdateManyWithoutTaxCategoryInput = {
1001
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1002
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1003
+ displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1004
+ restriction?: Prisma.EnumRestrictionTypeFieldUpdateOperationsInput | $Enums.RestrictionType;
1005
+ parentCategoryId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1006
+ };
1007
+ /**
1008
+ * Count Type ProductCategoryCountOutputType
1009
+ */
1010
+ export type ProductCategoryCountOutputType = {
1011
+ products: number;
1012
+ ingredients: number;
1013
+ subcategories: number;
1014
+ productListing: number;
1015
+ productCategoryToTags: number;
1016
+ };
1017
+ export type ProductCategoryCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1018
+ products?: boolean | ProductCategoryCountOutputTypeCountProductsArgs;
1019
+ ingredients?: boolean | ProductCategoryCountOutputTypeCountIngredientsArgs;
1020
+ subcategories?: boolean | ProductCategoryCountOutputTypeCountSubcategoriesArgs;
1021
+ productListing?: boolean | ProductCategoryCountOutputTypeCountProductListingArgs;
1022
+ productCategoryToTags?: boolean | ProductCategoryCountOutputTypeCountProductCategoryToTagsArgs;
1023
+ };
1024
+ /**
1025
+ * ProductCategoryCountOutputType without action
1026
+ */
1027
+ export type ProductCategoryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1028
+ /**
1029
+ * Select specific fields to fetch from the ProductCategoryCountOutputType
1030
+ */
1031
+ select?: Prisma.ProductCategoryCountOutputTypeSelect<ExtArgs> | null;
1032
+ };
1033
+ /**
1034
+ * ProductCategoryCountOutputType without action
1035
+ */
1036
+ export type ProductCategoryCountOutputTypeCountProductsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1037
+ where?: Prisma.ProductWhereInput;
1038
+ };
1039
+ /**
1040
+ * ProductCategoryCountOutputType without action
1041
+ */
1042
+ export type ProductCategoryCountOutputTypeCountIngredientsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1043
+ where?: Prisma.IngredientWhereInput;
1044
+ };
1045
+ /**
1046
+ * ProductCategoryCountOutputType without action
1047
+ */
1048
+ export type ProductCategoryCountOutputTypeCountSubcategoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1049
+ where?: Prisma.ProductCategoryWhereInput;
1050
+ };
1051
+ /**
1052
+ * ProductCategoryCountOutputType without action
1053
+ */
1054
+ export type ProductCategoryCountOutputTypeCountProductListingArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1055
+ where?: Prisma.ProductListingWhereInput;
1056
+ };
1057
+ /**
1058
+ * ProductCategoryCountOutputType without action
1059
+ */
1060
+ export type ProductCategoryCountOutputTypeCountProductCategoryToTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1061
+ where?: Prisma.ProductCategoryToTagWhereInput;
1062
+ };
1063
+ export type ProductCategorySelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1064
+ id?: boolean;
1065
+ name?: boolean;
1066
+ displayName?: boolean;
1067
+ restriction?: boolean;
1068
+ taxCategoryId?: boolean;
1069
+ parentCategoryId?: boolean;
1070
+ products?: boolean | Prisma.ProductCategory$productsArgs<ExtArgs>;
1071
+ ingredients?: boolean | Prisma.ProductCategory$ingredientsArgs<ExtArgs>;
1072
+ subcategories?: boolean | Prisma.ProductCategory$subcategoriesArgs<ExtArgs>;
1073
+ parentCategory?: boolean | Prisma.ProductCategory$parentCategoryArgs<ExtArgs>;
1074
+ taxCategory?: boolean | Prisma.ProductCategory$taxCategoryArgs<ExtArgs>;
1075
+ productListing?: boolean | Prisma.ProductCategory$productListingArgs<ExtArgs>;
1076
+ productCategoryToTags?: boolean | Prisma.ProductCategory$productCategoryToTagsArgs<ExtArgs>;
1077
+ _count?: boolean | Prisma.ProductCategoryCountOutputTypeDefaultArgs<ExtArgs>;
1078
+ }, ExtArgs["result"]["productCategory"]>;
1079
+ export type ProductCategorySelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1080
+ id?: boolean;
1081
+ name?: boolean;
1082
+ displayName?: boolean;
1083
+ restriction?: boolean;
1084
+ taxCategoryId?: boolean;
1085
+ parentCategoryId?: boolean;
1086
+ parentCategory?: boolean | Prisma.ProductCategory$parentCategoryArgs<ExtArgs>;
1087
+ taxCategory?: boolean | Prisma.ProductCategory$taxCategoryArgs<ExtArgs>;
1088
+ }, ExtArgs["result"]["productCategory"]>;
1089
+ export type ProductCategorySelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1090
+ id?: boolean;
1091
+ name?: boolean;
1092
+ displayName?: boolean;
1093
+ restriction?: boolean;
1094
+ taxCategoryId?: boolean;
1095
+ parentCategoryId?: boolean;
1096
+ parentCategory?: boolean | Prisma.ProductCategory$parentCategoryArgs<ExtArgs>;
1097
+ taxCategory?: boolean | Prisma.ProductCategory$taxCategoryArgs<ExtArgs>;
1098
+ }, ExtArgs["result"]["productCategory"]>;
1099
+ export type ProductCategorySelectScalar = {
1100
+ id?: boolean;
1101
+ name?: boolean;
1102
+ displayName?: boolean;
1103
+ restriction?: boolean;
1104
+ taxCategoryId?: boolean;
1105
+ parentCategoryId?: boolean;
1106
+ };
1107
+ export type ProductCategoryOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "displayName" | "restriction" | "taxCategoryId" | "parentCategoryId", ExtArgs["result"]["productCategory"]>;
1108
+ export type ProductCategoryInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1109
+ products?: boolean | Prisma.ProductCategory$productsArgs<ExtArgs>;
1110
+ ingredients?: boolean | Prisma.ProductCategory$ingredientsArgs<ExtArgs>;
1111
+ subcategories?: boolean | Prisma.ProductCategory$subcategoriesArgs<ExtArgs>;
1112
+ parentCategory?: boolean | Prisma.ProductCategory$parentCategoryArgs<ExtArgs>;
1113
+ taxCategory?: boolean | Prisma.ProductCategory$taxCategoryArgs<ExtArgs>;
1114
+ productListing?: boolean | Prisma.ProductCategory$productListingArgs<ExtArgs>;
1115
+ productCategoryToTags?: boolean | Prisma.ProductCategory$productCategoryToTagsArgs<ExtArgs>;
1116
+ _count?: boolean | Prisma.ProductCategoryCountOutputTypeDefaultArgs<ExtArgs>;
1117
+ };
1118
+ export type ProductCategoryIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1119
+ parentCategory?: boolean | Prisma.ProductCategory$parentCategoryArgs<ExtArgs>;
1120
+ taxCategory?: boolean | Prisma.ProductCategory$taxCategoryArgs<ExtArgs>;
1121
+ };
1122
+ export type ProductCategoryIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1123
+ parentCategory?: boolean | Prisma.ProductCategory$parentCategoryArgs<ExtArgs>;
1124
+ taxCategory?: boolean | Prisma.ProductCategory$taxCategoryArgs<ExtArgs>;
1125
+ };
1126
+ export type $ProductCategoryPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1127
+ name: "ProductCategory";
1128
+ objects: {
1129
+ products: Prisma.$ProductPayload<ExtArgs>[];
1130
+ ingredients: Prisma.$IngredientPayload<ExtArgs>[];
1131
+ subcategories: Prisma.$ProductCategoryPayload<ExtArgs>[];
1132
+ parentCategory: Prisma.$ProductCategoryPayload<ExtArgs> | null;
1133
+ taxCategory: Prisma.$TaxCategoryPayload<ExtArgs> | null;
1134
+ productListing: Prisma.$ProductListingPayload<ExtArgs>[];
1135
+ productCategoryToTags: Prisma.$ProductCategoryToTagPayload<ExtArgs>[];
1136
+ };
1137
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1138
+ id: bigint;
1139
+ name: string;
1140
+ displayName: string | null;
1141
+ restriction: $Enums.RestrictionType;
1142
+ taxCategoryId: bigint;
1143
+ parentCategoryId: bigint | null;
1144
+ }, ExtArgs["result"]["productCategory"]>;
1145
+ composites: {};
1146
+ };
1147
+ export type ProductCategoryGetPayload<S extends boolean | null | undefined | ProductCategoryDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload, S>;
1148
+ export type ProductCategoryCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProductCategoryFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1149
+ select?: ProductCategoryCountAggregateInputType | true;
1150
+ };
1151
+ export interface ProductCategoryDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1152
+ [K: symbol]: {
1153
+ types: Prisma.TypeMap<ExtArgs>['model']['ProductCategory'];
1154
+ meta: {
1155
+ name: 'ProductCategory';
1156
+ };
1157
+ };
1158
+ /**
1159
+ * Find zero or one ProductCategory that matches the filter.
1160
+ * @param {ProductCategoryFindUniqueArgs} args - Arguments to find a ProductCategory
1161
+ * @example
1162
+ * // Get one ProductCategory
1163
+ * const productCategory = await prisma.productCategory.findUnique({
1164
+ * where: {
1165
+ * // ... provide filter here
1166
+ * }
1167
+ * })
1168
+ */
1169
+ findUnique<T extends ProductCategoryFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductCategoryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1170
+ /**
1171
+ * Find one ProductCategory that matches the filter or throw an error with `error.code='P2025'`
1172
+ * if no matches were found.
1173
+ * @param {ProductCategoryFindUniqueOrThrowArgs} args - Arguments to find a ProductCategory
1174
+ * @example
1175
+ * // Get one ProductCategory
1176
+ * const productCategory = await prisma.productCategory.findUniqueOrThrow({
1177
+ * where: {
1178
+ * // ... provide filter here
1179
+ * }
1180
+ * })
1181
+ */
1182
+ findUniqueOrThrow<T extends ProductCategoryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductCategoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1183
+ /**
1184
+ * Find the first ProductCategory that matches the filter.
1185
+ * Note, that providing `undefined` is treated as the value not being there.
1186
+ * Read more here: https://pris.ly/d/null-undefined
1187
+ * @param {ProductCategoryFindFirstArgs} args - Arguments to find a ProductCategory
1188
+ * @example
1189
+ * // Get one ProductCategory
1190
+ * const productCategory = await prisma.productCategory.findFirst({
1191
+ * where: {
1192
+ * // ... provide filter here
1193
+ * }
1194
+ * })
1195
+ */
1196
+ findFirst<T extends ProductCategoryFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductCategoryFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1197
+ /**
1198
+ * Find the first ProductCategory that matches the filter or
1199
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1200
+ * Note, that providing `undefined` is treated as the value not being there.
1201
+ * Read more here: https://pris.ly/d/null-undefined
1202
+ * @param {ProductCategoryFindFirstOrThrowArgs} args - Arguments to find a ProductCategory
1203
+ * @example
1204
+ * // Get one ProductCategory
1205
+ * const productCategory = await prisma.productCategory.findFirstOrThrow({
1206
+ * where: {
1207
+ * // ... provide filter here
1208
+ * }
1209
+ * })
1210
+ */
1211
+ findFirstOrThrow<T extends ProductCategoryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductCategoryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1212
+ /**
1213
+ * Find zero or more ProductCategories that matches the filter.
1214
+ * Note, that providing `undefined` is treated as the value not being there.
1215
+ * Read more here: https://pris.ly/d/null-undefined
1216
+ * @param {ProductCategoryFindManyArgs} args - Arguments to filter and select certain fields only.
1217
+ * @example
1218
+ * // Get all ProductCategories
1219
+ * const productCategories = await prisma.productCategory.findMany()
1220
+ *
1221
+ * // Get first 10 ProductCategories
1222
+ * const productCategories = await prisma.productCategory.findMany({ take: 10 })
1223
+ *
1224
+ * // Only select the `id`
1225
+ * const productCategoryWithIdOnly = await prisma.productCategory.findMany({ select: { id: true } })
1226
+ *
1227
+ */
1228
+ findMany<T extends ProductCategoryFindManyArgs>(args?: Prisma.SelectSubset<T, ProductCategoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1229
+ /**
1230
+ * Create a ProductCategory.
1231
+ * @param {ProductCategoryCreateArgs} args - Arguments to create a ProductCategory.
1232
+ * @example
1233
+ * // Create one ProductCategory
1234
+ * const ProductCategory = await prisma.productCategory.create({
1235
+ * data: {
1236
+ * // ... data to create a ProductCategory
1237
+ * }
1238
+ * })
1239
+ *
1240
+ */
1241
+ create<T extends ProductCategoryCreateArgs>(args: Prisma.SelectSubset<T, ProductCategoryCreateArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1242
+ /**
1243
+ * Create many ProductCategories.
1244
+ * @param {ProductCategoryCreateManyArgs} args - Arguments to create many ProductCategories.
1245
+ * @example
1246
+ * // Create many ProductCategories
1247
+ * const productCategory = await prisma.productCategory.createMany({
1248
+ * data: [
1249
+ * // ... provide data here
1250
+ * ]
1251
+ * })
1252
+ *
1253
+ */
1254
+ createMany<T extends ProductCategoryCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductCategoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1255
+ /**
1256
+ * Create many ProductCategories and returns the data saved in the database.
1257
+ * @param {ProductCategoryCreateManyAndReturnArgs} args - Arguments to create many ProductCategories.
1258
+ * @example
1259
+ * // Create many ProductCategories
1260
+ * const productCategory = await prisma.productCategory.createManyAndReturn({
1261
+ * data: [
1262
+ * // ... provide data here
1263
+ * ]
1264
+ * })
1265
+ *
1266
+ * // Create many ProductCategories and only return the `id`
1267
+ * const productCategoryWithIdOnly = await prisma.productCategory.createManyAndReturn({
1268
+ * select: { id: true },
1269
+ * data: [
1270
+ * // ... provide data here
1271
+ * ]
1272
+ * })
1273
+ * Note, that providing `undefined` is treated as the value not being there.
1274
+ * Read more here: https://pris.ly/d/null-undefined
1275
+ *
1276
+ */
1277
+ createManyAndReturn<T extends ProductCategoryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductCategoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1278
+ /**
1279
+ * Delete a ProductCategory.
1280
+ * @param {ProductCategoryDeleteArgs} args - Arguments to delete one ProductCategory.
1281
+ * @example
1282
+ * // Delete one ProductCategory
1283
+ * const ProductCategory = await prisma.productCategory.delete({
1284
+ * where: {
1285
+ * // ... filter to delete one ProductCategory
1286
+ * }
1287
+ * })
1288
+ *
1289
+ */
1290
+ delete<T extends ProductCategoryDeleteArgs>(args: Prisma.SelectSubset<T, ProductCategoryDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1291
+ /**
1292
+ * Update one ProductCategory.
1293
+ * @param {ProductCategoryUpdateArgs} args - Arguments to update one ProductCategory.
1294
+ * @example
1295
+ * // Update one ProductCategory
1296
+ * const productCategory = await prisma.productCategory.update({
1297
+ * where: {
1298
+ * // ... provide filter here
1299
+ * },
1300
+ * data: {
1301
+ * // ... provide data here
1302
+ * }
1303
+ * })
1304
+ *
1305
+ */
1306
+ update<T extends ProductCategoryUpdateArgs>(args: Prisma.SelectSubset<T, ProductCategoryUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1307
+ /**
1308
+ * Delete zero or more ProductCategories.
1309
+ * @param {ProductCategoryDeleteManyArgs} args - Arguments to filter ProductCategories to delete.
1310
+ * @example
1311
+ * // Delete a few ProductCategories
1312
+ * const { count } = await prisma.productCategory.deleteMany({
1313
+ * where: {
1314
+ * // ... provide filter here
1315
+ * }
1316
+ * })
1317
+ *
1318
+ */
1319
+ deleteMany<T extends ProductCategoryDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductCategoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1320
+ /**
1321
+ * Update zero or more ProductCategories.
1322
+ * Note, that providing `undefined` is treated as the value not being there.
1323
+ * Read more here: https://pris.ly/d/null-undefined
1324
+ * @param {ProductCategoryUpdateManyArgs} args - Arguments to update one or more rows.
1325
+ * @example
1326
+ * // Update many ProductCategories
1327
+ * const productCategory = await prisma.productCategory.updateMany({
1328
+ * where: {
1329
+ * // ... provide filter here
1330
+ * },
1331
+ * data: {
1332
+ * // ... provide data here
1333
+ * }
1334
+ * })
1335
+ *
1336
+ */
1337
+ updateMany<T extends ProductCategoryUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductCategoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1338
+ /**
1339
+ * Update zero or more ProductCategories and returns the data updated in the database.
1340
+ * @param {ProductCategoryUpdateManyAndReturnArgs} args - Arguments to update many ProductCategories.
1341
+ * @example
1342
+ * // Update many ProductCategories
1343
+ * const productCategory = await prisma.productCategory.updateManyAndReturn({
1344
+ * where: {
1345
+ * // ... provide filter here
1346
+ * },
1347
+ * data: [
1348
+ * // ... provide data here
1349
+ * ]
1350
+ * })
1351
+ *
1352
+ * // Update zero or more ProductCategories and only return the `id`
1353
+ * const productCategoryWithIdOnly = await prisma.productCategory.updateManyAndReturn({
1354
+ * select: { id: true },
1355
+ * where: {
1356
+ * // ... provide filter here
1357
+ * },
1358
+ * data: [
1359
+ * // ... provide data here
1360
+ * ]
1361
+ * })
1362
+ * Note, that providing `undefined` is treated as the value not being there.
1363
+ * Read more here: https://pris.ly/d/null-undefined
1364
+ *
1365
+ */
1366
+ updateManyAndReturn<T extends ProductCategoryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductCategoryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1367
+ /**
1368
+ * Create or update one ProductCategory.
1369
+ * @param {ProductCategoryUpsertArgs} args - Arguments to update or create a ProductCategory.
1370
+ * @example
1371
+ * // Update or create a ProductCategory
1372
+ * const productCategory = await prisma.productCategory.upsert({
1373
+ * create: {
1374
+ * // ... data to create a ProductCategory
1375
+ * },
1376
+ * update: {
1377
+ * // ... in case it already exists, update
1378
+ * },
1379
+ * where: {
1380
+ * // ... the filter for the ProductCategory we want to update
1381
+ * }
1382
+ * })
1383
+ */
1384
+ upsert<T extends ProductCategoryUpsertArgs>(args: Prisma.SelectSubset<T, ProductCategoryUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1385
+ /**
1386
+ * Count the number of ProductCategories.
1387
+ * Note, that providing `undefined` is treated as the value not being there.
1388
+ * Read more here: https://pris.ly/d/null-undefined
1389
+ * @param {ProductCategoryCountArgs} args - Arguments to filter ProductCategories to count.
1390
+ * @example
1391
+ * // Count the number of ProductCategories
1392
+ * const count = await prisma.productCategory.count({
1393
+ * where: {
1394
+ * // ... the filter for the ProductCategories we want to count
1395
+ * }
1396
+ * })
1397
+ **/
1398
+ count<T extends ProductCategoryCountArgs>(args?: Prisma.Subset<T, ProductCategoryCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductCategoryCountAggregateOutputType> : number>;
1399
+ /**
1400
+ * Allows you to perform aggregations operations on a ProductCategory.
1401
+ * Note, that providing `undefined` is treated as the value not being there.
1402
+ * Read more here: https://pris.ly/d/null-undefined
1403
+ * @param {ProductCategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1404
+ * @example
1405
+ * // Ordered by age ascending
1406
+ * // Where email contains prisma.io
1407
+ * // Limited to the 10 users
1408
+ * const aggregations = await prisma.user.aggregate({
1409
+ * _avg: {
1410
+ * age: true,
1411
+ * },
1412
+ * where: {
1413
+ * email: {
1414
+ * contains: "prisma.io",
1415
+ * },
1416
+ * },
1417
+ * orderBy: {
1418
+ * age: "asc",
1419
+ * },
1420
+ * take: 10,
1421
+ * })
1422
+ **/
1423
+ aggregate<T extends ProductCategoryAggregateArgs>(args: Prisma.Subset<T, ProductCategoryAggregateArgs>): Prisma.PrismaPromise<GetProductCategoryAggregateType<T>>;
1424
+ /**
1425
+ * Group by ProductCategory.
1426
+ * Note, that providing `undefined` is treated as the value not being there.
1427
+ * Read more here: https://pris.ly/d/null-undefined
1428
+ * @param {ProductCategoryGroupByArgs} args - Group by arguments.
1429
+ * @example
1430
+ * // Group by city, order by createdAt, get count
1431
+ * const result = await prisma.user.groupBy({
1432
+ * by: ['city', 'createdAt'],
1433
+ * orderBy: {
1434
+ * createdAt: true
1435
+ * },
1436
+ * _count: {
1437
+ * _all: true
1438
+ * },
1439
+ * })
1440
+ *
1441
+ **/
1442
+ groupBy<T extends ProductCategoryGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1443
+ orderBy: ProductCategoryGroupByArgs['orderBy'];
1444
+ } : {
1445
+ orderBy?: ProductCategoryGroupByArgs['orderBy'];
1446
+ }, 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 ? {
1447
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1448
+ Error,
1449
+ 'Field ',
1450
+ P,
1451
+ ` in "having" needs to be provided in "by"`
1452
+ ];
1453
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1454
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1455
+ }[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 ? {} : {
1456
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1457
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1458
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1459
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductCategoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductCategoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1460
+ /**
1461
+ * Fields of the ProductCategory model
1462
+ */
1463
+ readonly fields: ProductCategoryFieldRefs;
1464
+ }
1465
+ /**
1466
+ * The delegate class that acts as a "Promise-like" for ProductCategory.
1467
+ * Why is this prefixed with `Prisma__`?
1468
+ * Because we want to prevent naming conflicts as mentioned in
1469
+ * https://github.com/prisma/prisma-client-js/issues/707
1470
+ */
1471
+ export interface Prisma__ProductCategoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1472
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1473
+ products<T extends Prisma.ProductCategory$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$productsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1474
+ ingredients<T extends Prisma.ProductCategory$ingredientsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$ingredientsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$IngredientPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1475
+ subcategories<T extends Prisma.ProductCategory$subcategoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$subcategoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1476
+ parentCategory<T extends Prisma.ProductCategory$parentCategoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$parentCategoryArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1477
+ taxCategory<T extends Prisma.ProductCategory$taxCategoryArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$taxCategoryArgs<ExtArgs>>): Prisma.Prisma__TaxCategoryClient<runtime.Types.Result.GetResult<Prisma.$TaxCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1478
+ productListing<T extends Prisma.ProductCategory$productListingArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$productListingArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductListingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1479
+ productCategoryToTags<T extends Prisma.ProductCategory$productCategoryToTagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$productCategoryToTagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryToTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1480
+ /**
1481
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1482
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1483
+ * @param onrejected The callback to execute when the Promise is rejected.
1484
+ * @returns A Promise for the completion of which ever callback is executed.
1485
+ */
1486
+ 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>;
1487
+ /**
1488
+ * Attaches a callback for only the rejection of the Promise.
1489
+ * @param onrejected The callback to execute when the Promise is rejected.
1490
+ * @returns A Promise for the completion of the callback.
1491
+ */
1492
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1493
+ /**
1494
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1495
+ * resolved value cannot be modified from the callback.
1496
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1497
+ * @returns A Promise for the completion of the callback.
1498
+ */
1499
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1500
+ }
1501
+ /**
1502
+ * Fields of the ProductCategory model
1503
+ */
1504
+ export interface ProductCategoryFieldRefs {
1505
+ readonly id: Prisma.FieldRef<"ProductCategory", 'BigInt'>;
1506
+ readonly name: Prisma.FieldRef<"ProductCategory", 'String'>;
1507
+ readonly displayName: Prisma.FieldRef<"ProductCategory", 'String'>;
1508
+ readonly restriction: Prisma.FieldRef<"ProductCategory", 'RestrictionType'>;
1509
+ readonly taxCategoryId: Prisma.FieldRef<"ProductCategory", 'BigInt'>;
1510
+ readonly parentCategoryId: Prisma.FieldRef<"ProductCategory", 'BigInt'>;
1511
+ }
1512
+ /**
1513
+ * ProductCategory findUnique
1514
+ */
1515
+ export type ProductCategoryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1516
+ /**
1517
+ * Select specific fields to fetch from the ProductCategory
1518
+ */
1519
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1520
+ /**
1521
+ * Omit specific fields from the ProductCategory
1522
+ */
1523
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1524
+ /**
1525
+ * Choose, which related nodes to fetch as well
1526
+ */
1527
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1528
+ /**
1529
+ * Filter, which ProductCategory to fetch.
1530
+ */
1531
+ where: Prisma.ProductCategoryWhereUniqueInput;
1532
+ };
1533
+ /**
1534
+ * ProductCategory findUniqueOrThrow
1535
+ */
1536
+ export type ProductCategoryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1537
+ /**
1538
+ * Select specific fields to fetch from the ProductCategory
1539
+ */
1540
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1541
+ /**
1542
+ * Omit specific fields from the ProductCategory
1543
+ */
1544
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1545
+ /**
1546
+ * Choose, which related nodes to fetch as well
1547
+ */
1548
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1549
+ /**
1550
+ * Filter, which ProductCategory to fetch.
1551
+ */
1552
+ where: Prisma.ProductCategoryWhereUniqueInput;
1553
+ };
1554
+ /**
1555
+ * ProductCategory findFirst
1556
+ */
1557
+ export type ProductCategoryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1558
+ /**
1559
+ * Select specific fields to fetch from the ProductCategory
1560
+ */
1561
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1562
+ /**
1563
+ * Omit specific fields from the ProductCategory
1564
+ */
1565
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1566
+ /**
1567
+ * Choose, which related nodes to fetch as well
1568
+ */
1569
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1570
+ /**
1571
+ * Filter, which ProductCategory to fetch.
1572
+ */
1573
+ where?: Prisma.ProductCategoryWhereInput;
1574
+ /**
1575
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1576
+ *
1577
+ * Determine the order of ProductCategories to fetch.
1578
+ */
1579
+ orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
1580
+ /**
1581
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1582
+ *
1583
+ * Sets the position for searching for ProductCategories.
1584
+ */
1585
+ cursor?: Prisma.ProductCategoryWhereUniqueInput;
1586
+ /**
1587
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1588
+ *
1589
+ * Take `±n` ProductCategories from the position of the cursor.
1590
+ */
1591
+ take?: number;
1592
+ /**
1593
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1594
+ *
1595
+ * Skip the first `n` ProductCategories.
1596
+ */
1597
+ skip?: number;
1598
+ /**
1599
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1600
+ *
1601
+ * Filter by unique combinations of ProductCategories.
1602
+ */
1603
+ distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
1604
+ };
1605
+ /**
1606
+ * ProductCategory findFirstOrThrow
1607
+ */
1608
+ export type ProductCategoryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1609
+ /**
1610
+ * Select specific fields to fetch from the ProductCategory
1611
+ */
1612
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1613
+ /**
1614
+ * Omit specific fields from the ProductCategory
1615
+ */
1616
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1617
+ /**
1618
+ * Choose, which related nodes to fetch as well
1619
+ */
1620
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1621
+ /**
1622
+ * Filter, which ProductCategory to fetch.
1623
+ */
1624
+ where?: Prisma.ProductCategoryWhereInput;
1625
+ /**
1626
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1627
+ *
1628
+ * Determine the order of ProductCategories to fetch.
1629
+ */
1630
+ orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
1631
+ /**
1632
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1633
+ *
1634
+ * Sets the position for searching for ProductCategories.
1635
+ */
1636
+ cursor?: Prisma.ProductCategoryWhereUniqueInput;
1637
+ /**
1638
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1639
+ *
1640
+ * Take `±n` ProductCategories from the position of the cursor.
1641
+ */
1642
+ take?: number;
1643
+ /**
1644
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1645
+ *
1646
+ * Skip the first `n` ProductCategories.
1647
+ */
1648
+ skip?: number;
1649
+ /**
1650
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1651
+ *
1652
+ * Filter by unique combinations of ProductCategories.
1653
+ */
1654
+ distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
1655
+ };
1656
+ /**
1657
+ * ProductCategory findMany
1658
+ */
1659
+ export type ProductCategoryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1660
+ /**
1661
+ * Select specific fields to fetch from the ProductCategory
1662
+ */
1663
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1664
+ /**
1665
+ * Omit specific fields from the ProductCategory
1666
+ */
1667
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1668
+ /**
1669
+ * Choose, which related nodes to fetch as well
1670
+ */
1671
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1672
+ /**
1673
+ * Filter, which ProductCategories to fetch.
1674
+ */
1675
+ where?: Prisma.ProductCategoryWhereInput;
1676
+ /**
1677
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1678
+ *
1679
+ * Determine the order of ProductCategories to fetch.
1680
+ */
1681
+ orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
1682
+ /**
1683
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1684
+ *
1685
+ * Sets the position for listing ProductCategories.
1686
+ */
1687
+ cursor?: Prisma.ProductCategoryWhereUniqueInput;
1688
+ /**
1689
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1690
+ *
1691
+ * Take `±n` ProductCategories from the position of the cursor.
1692
+ */
1693
+ take?: number;
1694
+ /**
1695
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1696
+ *
1697
+ * Skip the first `n` ProductCategories.
1698
+ */
1699
+ skip?: number;
1700
+ distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
1701
+ };
1702
+ /**
1703
+ * ProductCategory create
1704
+ */
1705
+ export type ProductCategoryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1706
+ /**
1707
+ * Select specific fields to fetch from the ProductCategory
1708
+ */
1709
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1710
+ /**
1711
+ * Omit specific fields from the ProductCategory
1712
+ */
1713
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1714
+ /**
1715
+ * Choose, which related nodes to fetch as well
1716
+ */
1717
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1718
+ /**
1719
+ * The data needed to create a ProductCategory.
1720
+ */
1721
+ data: Prisma.XOR<Prisma.ProductCategoryCreateInput, Prisma.ProductCategoryUncheckedCreateInput>;
1722
+ };
1723
+ /**
1724
+ * ProductCategory createMany
1725
+ */
1726
+ export type ProductCategoryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1727
+ /**
1728
+ * The data used to create many ProductCategories.
1729
+ */
1730
+ data: Prisma.ProductCategoryCreateManyInput | Prisma.ProductCategoryCreateManyInput[];
1731
+ skipDuplicates?: boolean;
1732
+ };
1733
+ /**
1734
+ * ProductCategory createManyAndReturn
1735
+ */
1736
+ export type ProductCategoryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1737
+ /**
1738
+ * Select specific fields to fetch from the ProductCategory
1739
+ */
1740
+ select?: Prisma.ProductCategorySelectCreateManyAndReturn<ExtArgs> | null;
1741
+ /**
1742
+ * Omit specific fields from the ProductCategory
1743
+ */
1744
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1745
+ /**
1746
+ * The data used to create many ProductCategories.
1747
+ */
1748
+ data: Prisma.ProductCategoryCreateManyInput | Prisma.ProductCategoryCreateManyInput[];
1749
+ skipDuplicates?: boolean;
1750
+ /**
1751
+ * Choose, which related nodes to fetch as well
1752
+ */
1753
+ include?: Prisma.ProductCategoryIncludeCreateManyAndReturn<ExtArgs> | null;
1754
+ };
1755
+ /**
1756
+ * ProductCategory update
1757
+ */
1758
+ export type ProductCategoryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1759
+ /**
1760
+ * Select specific fields to fetch from the ProductCategory
1761
+ */
1762
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1763
+ /**
1764
+ * Omit specific fields from the ProductCategory
1765
+ */
1766
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1767
+ /**
1768
+ * Choose, which related nodes to fetch as well
1769
+ */
1770
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1771
+ /**
1772
+ * The data needed to update a ProductCategory.
1773
+ */
1774
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateInput, Prisma.ProductCategoryUncheckedUpdateInput>;
1775
+ /**
1776
+ * Choose, which ProductCategory to update.
1777
+ */
1778
+ where: Prisma.ProductCategoryWhereUniqueInput;
1779
+ };
1780
+ /**
1781
+ * ProductCategory updateMany
1782
+ */
1783
+ export type ProductCategoryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1784
+ /**
1785
+ * The data used to update ProductCategories.
1786
+ */
1787
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateManyMutationInput, Prisma.ProductCategoryUncheckedUpdateManyInput>;
1788
+ /**
1789
+ * Filter which ProductCategories to update
1790
+ */
1791
+ where?: Prisma.ProductCategoryWhereInput;
1792
+ /**
1793
+ * Limit how many ProductCategories to update.
1794
+ */
1795
+ limit?: number;
1796
+ };
1797
+ /**
1798
+ * ProductCategory updateManyAndReturn
1799
+ */
1800
+ export type ProductCategoryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1801
+ /**
1802
+ * Select specific fields to fetch from the ProductCategory
1803
+ */
1804
+ select?: Prisma.ProductCategorySelectUpdateManyAndReturn<ExtArgs> | null;
1805
+ /**
1806
+ * Omit specific fields from the ProductCategory
1807
+ */
1808
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1809
+ /**
1810
+ * The data used to update ProductCategories.
1811
+ */
1812
+ data: Prisma.XOR<Prisma.ProductCategoryUpdateManyMutationInput, Prisma.ProductCategoryUncheckedUpdateManyInput>;
1813
+ /**
1814
+ * Filter which ProductCategories to update
1815
+ */
1816
+ where?: Prisma.ProductCategoryWhereInput;
1817
+ /**
1818
+ * Limit how many ProductCategories to update.
1819
+ */
1820
+ limit?: number;
1821
+ /**
1822
+ * Choose, which related nodes to fetch as well
1823
+ */
1824
+ include?: Prisma.ProductCategoryIncludeUpdateManyAndReturn<ExtArgs> | null;
1825
+ };
1826
+ /**
1827
+ * ProductCategory upsert
1828
+ */
1829
+ export type ProductCategoryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1830
+ /**
1831
+ * Select specific fields to fetch from the ProductCategory
1832
+ */
1833
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1834
+ /**
1835
+ * Omit specific fields from the ProductCategory
1836
+ */
1837
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1838
+ /**
1839
+ * Choose, which related nodes to fetch as well
1840
+ */
1841
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1842
+ /**
1843
+ * The filter to search for the ProductCategory to update in case it exists.
1844
+ */
1845
+ where: Prisma.ProductCategoryWhereUniqueInput;
1846
+ /**
1847
+ * In case the ProductCategory found by the `where` argument doesn't exist, create a new ProductCategory with this data.
1848
+ */
1849
+ create: Prisma.XOR<Prisma.ProductCategoryCreateInput, Prisma.ProductCategoryUncheckedCreateInput>;
1850
+ /**
1851
+ * In case the ProductCategory was found with the provided `where` argument, update it with this data.
1852
+ */
1853
+ update: Prisma.XOR<Prisma.ProductCategoryUpdateInput, Prisma.ProductCategoryUncheckedUpdateInput>;
1854
+ };
1855
+ /**
1856
+ * ProductCategory delete
1857
+ */
1858
+ export type ProductCategoryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1859
+ /**
1860
+ * Select specific fields to fetch from the ProductCategory
1861
+ */
1862
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1863
+ /**
1864
+ * Omit specific fields from the ProductCategory
1865
+ */
1866
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1867
+ /**
1868
+ * Choose, which related nodes to fetch as well
1869
+ */
1870
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1871
+ /**
1872
+ * Filter which ProductCategory to delete.
1873
+ */
1874
+ where: Prisma.ProductCategoryWhereUniqueInput;
1875
+ };
1876
+ /**
1877
+ * ProductCategory deleteMany
1878
+ */
1879
+ export type ProductCategoryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1880
+ /**
1881
+ * Filter which ProductCategories to delete
1882
+ */
1883
+ where?: Prisma.ProductCategoryWhereInput;
1884
+ /**
1885
+ * Limit how many ProductCategories to delete.
1886
+ */
1887
+ limit?: number;
1888
+ };
1889
+ /**
1890
+ * ProductCategory.products
1891
+ */
1892
+ export type ProductCategory$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1893
+ /**
1894
+ * Select specific fields to fetch from the Product
1895
+ */
1896
+ select?: Prisma.ProductSelect<ExtArgs> | null;
1897
+ /**
1898
+ * Omit specific fields from the Product
1899
+ */
1900
+ omit?: Prisma.ProductOmit<ExtArgs> | null;
1901
+ /**
1902
+ * Choose, which related nodes to fetch as well
1903
+ */
1904
+ include?: Prisma.ProductInclude<ExtArgs> | null;
1905
+ where?: Prisma.ProductWhereInput;
1906
+ orderBy?: Prisma.ProductOrderByWithRelationInput | Prisma.ProductOrderByWithRelationInput[];
1907
+ cursor?: Prisma.ProductWhereUniqueInput;
1908
+ take?: number;
1909
+ skip?: number;
1910
+ distinct?: Prisma.ProductScalarFieldEnum | Prisma.ProductScalarFieldEnum[];
1911
+ };
1912
+ /**
1913
+ * ProductCategory.ingredients
1914
+ */
1915
+ export type ProductCategory$ingredientsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1916
+ /**
1917
+ * Select specific fields to fetch from the Ingredient
1918
+ */
1919
+ select?: Prisma.IngredientSelect<ExtArgs> | null;
1920
+ /**
1921
+ * Omit specific fields from the Ingredient
1922
+ */
1923
+ omit?: Prisma.IngredientOmit<ExtArgs> | null;
1924
+ /**
1925
+ * Choose, which related nodes to fetch as well
1926
+ */
1927
+ include?: Prisma.IngredientInclude<ExtArgs> | null;
1928
+ where?: Prisma.IngredientWhereInput;
1929
+ orderBy?: Prisma.IngredientOrderByWithRelationInput | Prisma.IngredientOrderByWithRelationInput[];
1930
+ cursor?: Prisma.IngredientWhereUniqueInput;
1931
+ take?: number;
1932
+ skip?: number;
1933
+ distinct?: Prisma.IngredientScalarFieldEnum | Prisma.IngredientScalarFieldEnum[];
1934
+ };
1935
+ /**
1936
+ * ProductCategory.subcategories
1937
+ */
1938
+ export type ProductCategory$subcategoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1939
+ /**
1940
+ * Select specific fields to fetch from the ProductCategory
1941
+ */
1942
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1943
+ /**
1944
+ * Omit specific fields from the ProductCategory
1945
+ */
1946
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1947
+ /**
1948
+ * Choose, which related nodes to fetch as well
1949
+ */
1950
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1951
+ where?: Prisma.ProductCategoryWhereInput;
1952
+ orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
1953
+ cursor?: Prisma.ProductCategoryWhereUniqueInput;
1954
+ take?: number;
1955
+ skip?: number;
1956
+ distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
1957
+ };
1958
+ /**
1959
+ * ProductCategory.parentCategory
1960
+ */
1961
+ export type ProductCategory$parentCategoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1962
+ /**
1963
+ * Select specific fields to fetch from the ProductCategory
1964
+ */
1965
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1966
+ /**
1967
+ * Omit specific fields from the ProductCategory
1968
+ */
1969
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1970
+ /**
1971
+ * Choose, which related nodes to fetch as well
1972
+ */
1973
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1974
+ where?: Prisma.ProductCategoryWhereInput;
1975
+ };
1976
+ /**
1977
+ * ProductCategory.taxCategory
1978
+ */
1979
+ export type ProductCategory$taxCategoryArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1980
+ /**
1981
+ * Select specific fields to fetch from the TaxCategory
1982
+ */
1983
+ select?: Prisma.TaxCategorySelect<ExtArgs> | null;
1984
+ /**
1985
+ * Omit specific fields from the TaxCategory
1986
+ */
1987
+ omit?: Prisma.TaxCategoryOmit<ExtArgs> | null;
1988
+ /**
1989
+ * Choose, which related nodes to fetch as well
1990
+ */
1991
+ include?: Prisma.TaxCategoryInclude<ExtArgs> | null;
1992
+ where?: Prisma.TaxCategoryWhereInput;
1993
+ };
1994
+ /**
1995
+ * ProductCategory.productListing
1996
+ */
1997
+ export type ProductCategory$productListingArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1998
+ /**
1999
+ * Select specific fields to fetch from the ProductListing
2000
+ */
2001
+ select?: Prisma.ProductListingSelect<ExtArgs> | null;
2002
+ /**
2003
+ * Omit specific fields from the ProductListing
2004
+ */
2005
+ omit?: Prisma.ProductListingOmit<ExtArgs> | null;
2006
+ /**
2007
+ * Choose, which related nodes to fetch as well
2008
+ */
2009
+ include?: Prisma.ProductListingInclude<ExtArgs> | null;
2010
+ where?: Prisma.ProductListingWhereInput;
2011
+ orderBy?: Prisma.ProductListingOrderByWithRelationInput | Prisma.ProductListingOrderByWithRelationInput[];
2012
+ cursor?: Prisma.ProductListingWhereUniqueInput;
2013
+ take?: number;
2014
+ skip?: number;
2015
+ distinct?: Prisma.ProductListingScalarFieldEnum | Prisma.ProductListingScalarFieldEnum[];
2016
+ };
2017
+ /**
2018
+ * ProductCategory.productCategoryToTags
2019
+ */
2020
+ export type ProductCategory$productCategoryToTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2021
+ /**
2022
+ * Select specific fields to fetch from the ProductCategoryToTag
2023
+ */
2024
+ select?: Prisma.ProductCategoryToTagSelect<ExtArgs> | null;
2025
+ /**
2026
+ * Omit specific fields from the ProductCategoryToTag
2027
+ */
2028
+ omit?: Prisma.ProductCategoryToTagOmit<ExtArgs> | null;
2029
+ /**
2030
+ * Choose, which related nodes to fetch as well
2031
+ */
2032
+ include?: Prisma.ProductCategoryToTagInclude<ExtArgs> | null;
2033
+ where?: Prisma.ProductCategoryToTagWhereInput;
2034
+ orderBy?: Prisma.ProductCategoryToTagOrderByWithRelationInput | Prisma.ProductCategoryToTagOrderByWithRelationInput[];
2035
+ cursor?: Prisma.ProductCategoryToTagWhereUniqueInput;
2036
+ take?: number;
2037
+ skip?: number;
2038
+ distinct?: Prisma.ProductCategoryToTagScalarFieldEnum | Prisma.ProductCategoryToTagScalarFieldEnum[];
2039
+ };
2040
+ /**
2041
+ * ProductCategory without action
2042
+ */
2043
+ export type ProductCategoryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2044
+ /**
2045
+ * Select specific fields to fetch from the ProductCategory
2046
+ */
2047
+ select?: Prisma.ProductCategorySelect<ExtArgs> | null;
2048
+ /**
2049
+ * Omit specific fields from the ProductCategory
2050
+ */
2051
+ omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
2052
+ /**
2053
+ * Choose, which related nodes to fetch as well
2054
+ */
2055
+ include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
2056
+ };
2057
+ export {};