@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,1385 @@
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 ProductVarietal
6
+ *
7
+ */
8
+ export type ProductVarietalModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductVarietalPayload>;
9
+ export type AggregateProductVarietal = {
10
+ _count: ProductVarietalCountAggregateOutputType | null;
11
+ _avg: ProductVarietalAvgAggregateOutputType | null;
12
+ _sum: ProductVarietalSumAggregateOutputType | null;
13
+ _min: ProductVarietalMinAggregateOutputType | null;
14
+ _max: ProductVarietalMaxAggregateOutputType | null;
15
+ };
16
+ export type ProductVarietalAvgAggregateOutputType = {
17
+ id: number | null;
18
+ vintage: number | null;
19
+ packSize: number | null;
20
+ size: number | null;
21
+ productVariantId: number | null;
22
+ };
23
+ export type ProductVarietalSumAggregateOutputType = {
24
+ id: bigint | null;
25
+ vintage: number | null;
26
+ packSize: number | null;
27
+ size: number | null;
28
+ productVariantId: bigint | null;
29
+ };
30
+ export type ProductVarietalMinAggregateOutputType = {
31
+ id: bigint | null;
32
+ sku: string | null;
33
+ vintage: number | null;
34
+ packSize: number | null;
35
+ size: number | null;
36
+ uom: $Enums.UnitOfMeasurement | null;
37
+ region: string | null;
38
+ country: string | null;
39
+ productVariantId: bigint | null;
40
+ };
41
+ export type ProductVarietalMaxAggregateOutputType = {
42
+ id: bigint | null;
43
+ sku: string | null;
44
+ vintage: number | null;
45
+ packSize: number | null;
46
+ size: number | null;
47
+ uom: $Enums.UnitOfMeasurement | null;
48
+ region: string | null;
49
+ country: string | null;
50
+ productVariantId: bigint | null;
51
+ };
52
+ export type ProductVarietalCountAggregateOutputType = {
53
+ id: number;
54
+ sku: number;
55
+ vintage: number;
56
+ packSize: number;
57
+ size: number;
58
+ uom: number;
59
+ region: number;
60
+ country: number;
61
+ productVariantId: number;
62
+ _all: number;
63
+ };
64
+ export type ProductVarietalAvgAggregateInputType = {
65
+ id?: true;
66
+ vintage?: true;
67
+ packSize?: true;
68
+ size?: true;
69
+ productVariantId?: true;
70
+ };
71
+ export type ProductVarietalSumAggregateInputType = {
72
+ id?: true;
73
+ vintage?: true;
74
+ packSize?: true;
75
+ size?: true;
76
+ productVariantId?: true;
77
+ };
78
+ export type ProductVarietalMinAggregateInputType = {
79
+ id?: true;
80
+ sku?: true;
81
+ vintage?: true;
82
+ packSize?: true;
83
+ size?: true;
84
+ uom?: true;
85
+ region?: true;
86
+ country?: true;
87
+ productVariantId?: true;
88
+ };
89
+ export type ProductVarietalMaxAggregateInputType = {
90
+ id?: true;
91
+ sku?: true;
92
+ vintage?: true;
93
+ packSize?: true;
94
+ size?: true;
95
+ uom?: true;
96
+ region?: true;
97
+ country?: true;
98
+ productVariantId?: true;
99
+ };
100
+ export type ProductVarietalCountAggregateInputType = {
101
+ id?: true;
102
+ sku?: true;
103
+ vintage?: true;
104
+ packSize?: true;
105
+ size?: true;
106
+ uom?: true;
107
+ region?: true;
108
+ country?: true;
109
+ productVariantId?: true;
110
+ _all?: true;
111
+ };
112
+ export type ProductVarietalAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
113
+ /**
114
+ * Filter which ProductVarietal to aggregate.
115
+ */
116
+ where?: Prisma.ProductVarietalWhereInput;
117
+ /**
118
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
119
+ *
120
+ * Determine the order of ProductVarietals to fetch.
121
+ */
122
+ orderBy?: Prisma.ProductVarietalOrderByWithRelationInput | Prisma.ProductVarietalOrderByWithRelationInput[];
123
+ /**
124
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
125
+ *
126
+ * Sets the start position
127
+ */
128
+ cursor?: Prisma.ProductVarietalWhereUniqueInput;
129
+ /**
130
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
131
+ *
132
+ * Take `±n` ProductVarietals from the position of the cursor.
133
+ */
134
+ take?: number;
135
+ /**
136
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
137
+ *
138
+ * Skip the first `n` ProductVarietals.
139
+ */
140
+ skip?: number;
141
+ /**
142
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
143
+ *
144
+ * Count returned ProductVarietals
145
+ **/
146
+ _count?: true | ProductVarietalCountAggregateInputType;
147
+ /**
148
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
149
+ *
150
+ * Select which fields to average
151
+ **/
152
+ _avg?: ProductVarietalAvgAggregateInputType;
153
+ /**
154
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
155
+ *
156
+ * Select which fields to sum
157
+ **/
158
+ _sum?: ProductVarietalSumAggregateInputType;
159
+ /**
160
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
161
+ *
162
+ * Select which fields to find the minimum value
163
+ **/
164
+ _min?: ProductVarietalMinAggregateInputType;
165
+ /**
166
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
167
+ *
168
+ * Select which fields to find the maximum value
169
+ **/
170
+ _max?: ProductVarietalMaxAggregateInputType;
171
+ };
172
+ export type GetProductVarietalAggregateType<T extends ProductVarietalAggregateArgs> = {
173
+ [P in keyof T & keyof AggregateProductVarietal]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProductVarietal[P]> : Prisma.GetScalarType<T[P], AggregateProductVarietal[P]>;
174
+ };
175
+ export type ProductVarietalGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
176
+ where?: Prisma.ProductVarietalWhereInput;
177
+ orderBy?: Prisma.ProductVarietalOrderByWithAggregationInput | Prisma.ProductVarietalOrderByWithAggregationInput[];
178
+ by: Prisma.ProductVarietalScalarFieldEnum[] | Prisma.ProductVarietalScalarFieldEnum;
179
+ having?: Prisma.ProductVarietalScalarWhereWithAggregatesInput;
180
+ take?: number;
181
+ skip?: number;
182
+ _count?: ProductVarietalCountAggregateInputType | true;
183
+ _avg?: ProductVarietalAvgAggregateInputType;
184
+ _sum?: ProductVarietalSumAggregateInputType;
185
+ _min?: ProductVarietalMinAggregateInputType;
186
+ _max?: ProductVarietalMaxAggregateInputType;
187
+ };
188
+ export type ProductVarietalGroupByOutputType = {
189
+ id: bigint;
190
+ sku: string;
191
+ vintage: number;
192
+ packSize: number;
193
+ size: number;
194
+ uom: $Enums.UnitOfMeasurement;
195
+ region: string | null;
196
+ country: string | null;
197
+ productVariantId: bigint;
198
+ _count: ProductVarietalCountAggregateOutputType | null;
199
+ _avg: ProductVarietalAvgAggregateOutputType | null;
200
+ _sum: ProductVarietalSumAggregateOutputType | null;
201
+ _min: ProductVarietalMinAggregateOutputType | null;
202
+ _max: ProductVarietalMaxAggregateOutputType | null;
203
+ };
204
+ type GetProductVarietalGroupByPayload<T extends ProductVarietalGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProductVarietalGroupByOutputType, T['by']> & {
205
+ [P in ((keyof T) & (keyof ProductVarietalGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProductVarietalGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProductVarietalGroupByOutputType[P]>;
206
+ }>>;
207
+ export type ProductVarietalWhereInput = {
208
+ AND?: Prisma.ProductVarietalWhereInput | Prisma.ProductVarietalWhereInput[];
209
+ OR?: Prisma.ProductVarietalWhereInput[];
210
+ NOT?: Prisma.ProductVarietalWhereInput | Prisma.ProductVarietalWhereInput[];
211
+ id?: Prisma.BigIntFilter<"ProductVarietal"> | bigint | number;
212
+ sku?: Prisma.StringFilter<"ProductVarietal"> | string;
213
+ vintage?: Prisma.IntFilter<"ProductVarietal"> | number;
214
+ packSize?: Prisma.IntFilter<"ProductVarietal"> | number;
215
+ size?: Prisma.FloatFilter<"ProductVarietal"> | number;
216
+ uom?: Prisma.EnumUnitOfMeasurementFilter<"ProductVarietal"> | $Enums.UnitOfMeasurement;
217
+ region?: Prisma.StringNullableFilter<"ProductVarietal"> | string | null;
218
+ country?: Prisma.StringNullableFilter<"ProductVarietal"> | string | null;
219
+ productVariantId?: Prisma.BigIntFilter<"ProductVarietal"> | bigint | number;
220
+ productVariant?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
221
+ };
222
+ export type ProductVarietalOrderByWithRelationInput = {
223
+ id?: Prisma.SortOrder;
224
+ sku?: Prisma.SortOrder;
225
+ vintage?: Prisma.SortOrder;
226
+ packSize?: Prisma.SortOrder;
227
+ size?: Prisma.SortOrder;
228
+ uom?: Prisma.SortOrder;
229
+ region?: Prisma.SortOrderInput | Prisma.SortOrder;
230
+ country?: Prisma.SortOrderInput | Prisma.SortOrder;
231
+ productVariantId?: Prisma.SortOrder;
232
+ productVariant?: Prisma.ProductVariantOrderByWithRelationInput;
233
+ _relevance?: Prisma.ProductVarietalOrderByRelevanceInput;
234
+ };
235
+ export type ProductVarietalWhereUniqueInput = Prisma.AtLeast<{
236
+ id?: bigint | number;
237
+ sku_vintage?: Prisma.ProductVarietalSkuVintageCompoundUniqueInput;
238
+ AND?: Prisma.ProductVarietalWhereInput | Prisma.ProductVarietalWhereInput[];
239
+ OR?: Prisma.ProductVarietalWhereInput[];
240
+ NOT?: Prisma.ProductVarietalWhereInput | Prisma.ProductVarietalWhereInput[];
241
+ sku?: Prisma.StringFilter<"ProductVarietal"> | string;
242
+ vintage?: Prisma.IntFilter<"ProductVarietal"> | number;
243
+ packSize?: Prisma.IntFilter<"ProductVarietal"> | number;
244
+ size?: Prisma.FloatFilter<"ProductVarietal"> | number;
245
+ uom?: Prisma.EnumUnitOfMeasurementFilter<"ProductVarietal"> | $Enums.UnitOfMeasurement;
246
+ region?: Prisma.StringNullableFilter<"ProductVarietal"> | string | null;
247
+ country?: Prisma.StringNullableFilter<"ProductVarietal"> | string | null;
248
+ productVariantId?: Prisma.BigIntFilter<"ProductVarietal"> | bigint | number;
249
+ productVariant?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
250
+ }, "id" | "sku_vintage">;
251
+ export type ProductVarietalOrderByWithAggregationInput = {
252
+ id?: Prisma.SortOrder;
253
+ sku?: Prisma.SortOrder;
254
+ vintage?: Prisma.SortOrder;
255
+ packSize?: Prisma.SortOrder;
256
+ size?: Prisma.SortOrder;
257
+ uom?: Prisma.SortOrder;
258
+ region?: Prisma.SortOrderInput | Prisma.SortOrder;
259
+ country?: Prisma.SortOrderInput | Prisma.SortOrder;
260
+ productVariantId?: Prisma.SortOrder;
261
+ _count?: Prisma.ProductVarietalCountOrderByAggregateInput;
262
+ _avg?: Prisma.ProductVarietalAvgOrderByAggregateInput;
263
+ _max?: Prisma.ProductVarietalMaxOrderByAggregateInput;
264
+ _min?: Prisma.ProductVarietalMinOrderByAggregateInput;
265
+ _sum?: Prisma.ProductVarietalSumOrderByAggregateInput;
266
+ };
267
+ export type ProductVarietalScalarWhereWithAggregatesInput = {
268
+ AND?: Prisma.ProductVarietalScalarWhereWithAggregatesInput | Prisma.ProductVarietalScalarWhereWithAggregatesInput[];
269
+ OR?: Prisma.ProductVarietalScalarWhereWithAggregatesInput[];
270
+ NOT?: Prisma.ProductVarietalScalarWhereWithAggregatesInput | Prisma.ProductVarietalScalarWhereWithAggregatesInput[];
271
+ id?: Prisma.BigIntWithAggregatesFilter<"ProductVarietal"> | bigint | number;
272
+ sku?: Prisma.StringWithAggregatesFilter<"ProductVarietal"> | string;
273
+ vintage?: Prisma.IntWithAggregatesFilter<"ProductVarietal"> | number;
274
+ packSize?: Prisma.IntWithAggregatesFilter<"ProductVarietal"> | number;
275
+ size?: Prisma.FloatWithAggregatesFilter<"ProductVarietal"> | number;
276
+ uom?: Prisma.EnumUnitOfMeasurementWithAggregatesFilter<"ProductVarietal"> | $Enums.UnitOfMeasurement;
277
+ region?: Prisma.StringNullableWithAggregatesFilter<"ProductVarietal"> | string | null;
278
+ country?: Prisma.StringNullableWithAggregatesFilter<"ProductVarietal"> | string | null;
279
+ productVariantId?: Prisma.BigIntWithAggregatesFilter<"ProductVarietal"> | bigint | number;
280
+ };
281
+ export type ProductVarietalCreateInput = {
282
+ id?: bigint | number;
283
+ sku: string;
284
+ vintage: number;
285
+ packSize?: number;
286
+ size: number;
287
+ uom: $Enums.UnitOfMeasurement;
288
+ region?: string | null;
289
+ country?: string | null;
290
+ productVariant: Prisma.ProductVariantCreateNestedOneWithoutProductVarietalInput;
291
+ };
292
+ export type ProductVarietalUncheckedCreateInput = {
293
+ id?: bigint | number;
294
+ sku: string;
295
+ vintage: number;
296
+ packSize?: number;
297
+ size: number;
298
+ uom: $Enums.UnitOfMeasurement;
299
+ region?: string | null;
300
+ country?: string | null;
301
+ productVariantId: bigint | number;
302
+ };
303
+ export type ProductVarietalUpdateInput = {
304
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
305
+ sku?: Prisma.StringFieldUpdateOperationsInput | string;
306
+ vintage?: Prisma.IntFieldUpdateOperationsInput | number;
307
+ packSize?: Prisma.IntFieldUpdateOperationsInput | number;
308
+ size?: Prisma.FloatFieldUpdateOperationsInput | number;
309
+ uom?: Prisma.EnumUnitOfMeasurementFieldUpdateOperationsInput | $Enums.UnitOfMeasurement;
310
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
311
+ country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
312
+ productVariant?: Prisma.ProductVariantUpdateOneRequiredWithoutProductVarietalNestedInput;
313
+ };
314
+ export type ProductVarietalUncheckedUpdateInput = {
315
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
316
+ sku?: Prisma.StringFieldUpdateOperationsInput | string;
317
+ vintage?: Prisma.IntFieldUpdateOperationsInput | number;
318
+ packSize?: Prisma.IntFieldUpdateOperationsInput | number;
319
+ size?: Prisma.FloatFieldUpdateOperationsInput | number;
320
+ uom?: Prisma.EnumUnitOfMeasurementFieldUpdateOperationsInput | $Enums.UnitOfMeasurement;
321
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
322
+ country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
323
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
324
+ };
325
+ export type ProductVarietalCreateManyInput = {
326
+ id?: bigint | number;
327
+ sku: string;
328
+ vintage: number;
329
+ packSize?: number;
330
+ size: number;
331
+ uom: $Enums.UnitOfMeasurement;
332
+ region?: string | null;
333
+ country?: string | null;
334
+ productVariantId: bigint | number;
335
+ };
336
+ export type ProductVarietalUpdateManyMutationInput = {
337
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
338
+ sku?: Prisma.StringFieldUpdateOperationsInput | string;
339
+ vintage?: Prisma.IntFieldUpdateOperationsInput | number;
340
+ packSize?: Prisma.IntFieldUpdateOperationsInput | number;
341
+ size?: Prisma.FloatFieldUpdateOperationsInput | number;
342
+ uom?: Prisma.EnumUnitOfMeasurementFieldUpdateOperationsInput | $Enums.UnitOfMeasurement;
343
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
344
+ country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
345
+ };
346
+ export type ProductVarietalUncheckedUpdateManyInput = {
347
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
348
+ sku?: Prisma.StringFieldUpdateOperationsInput | string;
349
+ vintage?: Prisma.IntFieldUpdateOperationsInput | number;
350
+ packSize?: Prisma.IntFieldUpdateOperationsInput | number;
351
+ size?: Prisma.FloatFieldUpdateOperationsInput | number;
352
+ uom?: Prisma.EnumUnitOfMeasurementFieldUpdateOperationsInput | $Enums.UnitOfMeasurement;
353
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
354
+ country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
355
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
356
+ };
357
+ export type ProductVarietalListRelationFilter = {
358
+ every?: Prisma.ProductVarietalWhereInput;
359
+ some?: Prisma.ProductVarietalWhereInput;
360
+ none?: Prisma.ProductVarietalWhereInput;
361
+ };
362
+ export type ProductVarietalOrderByRelationAggregateInput = {
363
+ _count?: Prisma.SortOrder;
364
+ };
365
+ export type ProductVarietalOrderByRelevanceInput = {
366
+ fields: Prisma.ProductVarietalOrderByRelevanceFieldEnum | Prisma.ProductVarietalOrderByRelevanceFieldEnum[];
367
+ sort: Prisma.SortOrder;
368
+ search: string;
369
+ };
370
+ export type ProductVarietalSkuVintageCompoundUniqueInput = {
371
+ sku: string;
372
+ vintage: number;
373
+ };
374
+ export type ProductVarietalCountOrderByAggregateInput = {
375
+ id?: Prisma.SortOrder;
376
+ sku?: Prisma.SortOrder;
377
+ vintage?: Prisma.SortOrder;
378
+ packSize?: Prisma.SortOrder;
379
+ size?: Prisma.SortOrder;
380
+ uom?: Prisma.SortOrder;
381
+ region?: Prisma.SortOrder;
382
+ country?: Prisma.SortOrder;
383
+ productVariantId?: Prisma.SortOrder;
384
+ };
385
+ export type ProductVarietalAvgOrderByAggregateInput = {
386
+ id?: Prisma.SortOrder;
387
+ vintage?: Prisma.SortOrder;
388
+ packSize?: Prisma.SortOrder;
389
+ size?: Prisma.SortOrder;
390
+ productVariantId?: Prisma.SortOrder;
391
+ };
392
+ export type ProductVarietalMaxOrderByAggregateInput = {
393
+ id?: Prisma.SortOrder;
394
+ sku?: Prisma.SortOrder;
395
+ vintage?: Prisma.SortOrder;
396
+ packSize?: Prisma.SortOrder;
397
+ size?: Prisma.SortOrder;
398
+ uom?: Prisma.SortOrder;
399
+ region?: Prisma.SortOrder;
400
+ country?: Prisma.SortOrder;
401
+ productVariantId?: Prisma.SortOrder;
402
+ };
403
+ export type ProductVarietalMinOrderByAggregateInput = {
404
+ id?: Prisma.SortOrder;
405
+ sku?: Prisma.SortOrder;
406
+ vintage?: Prisma.SortOrder;
407
+ packSize?: Prisma.SortOrder;
408
+ size?: Prisma.SortOrder;
409
+ uom?: Prisma.SortOrder;
410
+ region?: Prisma.SortOrder;
411
+ country?: Prisma.SortOrder;
412
+ productVariantId?: Prisma.SortOrder;
413
+ };
414
+ export type ProductVarietalSumOrderByAggregateInput = {
415
+ id?: Prisma.SortOrder;
416
+ vintage?: Prisma.SortOrder;
417
+ packSize?: Prisma.SortOrder;
418
+ size?: Prisma.SortOrder;
419
+ productVariantId?: Prisma.SortOrder;
420
+ };
421
+ export type ProductVarietalCreateNestedManyWithoutProductVariantInput = {
422
+ create?: Prisma.XOR<Prisma.ProductVarietalCreateWithoutProductVariantInput, Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVarietalCreateWithoutProductVariantInput[] | Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput[];
423
+ connectOrCreate?: Prisma.ProductVarietalCreateOrConnectWithoutProductVariantInput | Prisma.ProductVarietalCreateOrConnectWithoutProductVariantInput[];
424
+ createMany?: Prisma.ProductVarietalCreateManyProductVariantInputEnvelope;
425
+ connect?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
426
+ };
427
+ export type ProductVarietalUncheckedCreateNestedManyWithoutProductVariantInput = {
428
+ create?: Prisma.XOR<Prisma.ProductVarietalCreateWithoutProductVariantInput, Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVarietalCreateWithoutProductVariantInput[] | Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput[];
429
+ connectOrCreate?: Prisma.ProductVarietalCreateOrConnectWithoutProductVariantInput | Prisma.ProductVarietalCreateOrConnectWithoutProductVariantInput[];
430
+ createMany?: Prisma.ProductVarietalCreateManyProductVariantInputEnvelope;
431
+ connect?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
432
+ };
433
+ export type ProductVarietalUpdateManyWithoutProductVariantNestedInput = {
434
+ create?: Prisma.XOR<Prisma.ProductVarietalCreateWithoutProductVariantInput, Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVarietalCreateWithoutProductVariantInput[] | Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput[];
435
+ connectOrCreate?: Prisma.ProductVarietalCreateOrConnectWithoutProductVariantInput | Prisma.ProductVarietalCreateOrConnectWithoutProductVariantInput[];
436
+ upsert?: Prisma.ProductVarietalUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVarietalUpsertWithWhereUniqueWithoutProductVariantInput[];
437
+ createMany?: Prisma.ProductVarietalCreateManyProductVariantInputEnvelope;
438
+ set?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
439
+ disconnect?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
440
+ delete?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
441
+ connect?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
442
+ update?: Prisma.ProductVarietalUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVarietalUpdateWithWhereUniqueWithoutProductVariantInput[];
443
+ updateMany?: Prisma.ProductVarietalUpdateManyWithWhereWithoutProductVariantInput | Prisma.ProductVarietalUpdateManyWithWhereWithoutProductVariantInput[];
444
+ deleteMany?: Prisma.ProductVarietalScalarWhereInput | Prisma.ProductVarietalScalarWhereInput[];
445
+ };
446
+ export type ProductVarietalUncheckedUpdateManyWithoutProductVariantNestedInput = {
447
+ create?: Prisma.XOR<Prisma.ProductVarietalCreateWithoutProductVariantInput, Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVarietalCreateWithoutProductVariantInput[] | Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput[];
448
+ connectOrCreate?: Prisma.ProductVarietalCreateOrConnectWithoutProductVariantInput | Prisma.ProductVarietalCreateOrConnectWithoutProductVariantInput[];
449
+ upsert?: Prisma.ProductVarietalUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVarietalUpsertWithWhereUniqueWithoutProductVariantInput[];
450
+ createMany?: Prisma.ProductVarietalCreateManyProductVariantInputEnvelope;
451
+ set?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
452
+ disconnect?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
453
+ delete?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
454
+ connect?: Prisma.ProductVarietalWhereUniqueInput | Prisma.ProductVarietalWhereUniqueInput[];
455
+ update?: Prisma.ProductVarietalUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVarietalUpdateWithWhereUniqueWithoutProductVariantInput[];
456
+ updateMany?: Prisma.ProductVarietalUpdateManyWithWhereWithoutProductVariantInput | Prisma.ProductVarietalUpdateManyWithWhereWithoutProductVariantInput[];
457
+ deleteMany?: Prisma.ProductVarietalScalarWhereInput | Prisma.ProductVarietalScalarWhereInput[];
458
+ };
459
+ export type ProductVarietalCreateWithoutProductVariantInput = {
460
+ id?: bigint | number;
461
+ sku: string;
462
+ vintage: number;
463
+ packSize?: number;
464
+ size: number;
465
+ uom: $Enums.UnitOfMeasurement;
466
+ region?: string | null;
467
+ country?: string | null;
468
+ };
469
+ export type ProductVarietalUncheckedCreateWithoutProductVariantInput = {
470
+ id?: bigint | number;
471
+ sku: string;
472
+ vintage: number;
473
+ packSize?: number;
474
+ size: number;
475
+ uom: $Enums.UnitOfMeasurement;
476
+ region?: string | null;
477
+ country?: string | null;
478
+ };
479
+ export type ProductVarietalCreateOrConnectWithoutProductVariantInput = {
480
+ where: Prisma.ProductVarietalWhereUniqueInput;
481
+ create: Prisma.XOR<Prisma.ProductVarietalCreateWithoutProductVariantInput, Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput>;
482
+ };
483
+ export type ProductVarietalCreateManyProductVariantInputEnvelope = {
484
+ data: Prisma.ProductVarietalCreateManyProductVariantInput | Prisma.ProductVarietalCreateManyProductVariantInput[];
485
+ skipDuplicates?: boolean;
486
+ };
487
+ export type ProductVarietalUpsertWithWhereUniqueWithoutProductVariantInput = {
488
+ where: Prisma.ProductVarietalWhereUniqueInput;
489
+ update: Prisma.XOR<Prisma.ProductVarietalUpdateWithoutProductVariantInput, Prisma.ProductVarietalUncheckedUpdateWithoutProductVariantInput>;
490
+ create: Prisma.XOR<Prisma.ProductVarietalCreateWithoutProductVariantInput, Prisma.ProductVarietalUncheckedCreateWithoutProductVariantInput>;
491
+ };
492
+ export type ProductVarietalUpdateWithWhereUniqueWithoutProductVariantInput = {
493
+ where: Prisma.ProductVarietalWhereUniqueInput;
494
+ data: Prisma.XOR<Prisma.ProductVarietalUpdateWithoutProductVariantInput, Prisma.ProductVarietalUncheckedUpdateWithoutProductVariantInput>;
495
+ };
496
+ export type ProductVarietalUpdateManyWithWhereWithoutProductVariantInput = {
497
+ where: Prisma.ProductVarietalScalarWhereInput;
498
+ data: Prisma.XOR<Prisma.ProductVarietalUpdateManyMutationInput, Prisma.ProductVarietalUncheckedUpdateManyWithoutProductVariantInput>;
499
+ };
500
+ export type ProductVarietalScalarWhereInput = {
501
+ AND?: Prisma.ProductVarietalScalarWhereInput | Prisma.ProductVarietalScalarWhereInput[];
502
+ OR?: Prisma.ProductVarietalScalarWhereInput[];
503
+ NOT?: Prisma.ProductVarietalScalarWhereInput | Prisma.ProductVarietalScalarWhereInput[];
504
+ id?: Prisma.BigIntFilter<"ProductVarietal"> | bigint | number;
505
+ sku?: Prisma.StringFilter<"ProductVarietal"> | string;
506
+ vintage?: Prisma.IntFilter<"ProductVarietal"> | number;
507
+ packSize?: Prisma.IntFilter<"ProductVarietal"> | number;
508
+ size?: Prisma.FloatFilter<"ProductVarietal"> | number;
509
+ uom?: Prisma.EnumUnitOfMeasurementFilter<"ProductVarietal"> | $Enums.UnitOfMeasurement;
510
+ region?: Prisma.StringNullableFilter<"ProductVarietal"> | string | null;
511
+ country?: Prisma.StringNullableFilter<"ProductVarietal"> | string | null;
512
+ productVariantId?: Prisma.BigIntFilter<"ProductVarietal"> | bigint | number;
513
+ };
514
+ export type ProductVarietalCreateManyProductVariantInput = {
515
+ id?: bigint | number;
516
+ sku: string;
517
+ vintage: number;
518
+ packSize?: number;
519
+ size: number;
520
+ uom: $Enums.UnitOfMeasurement;
521
+ region?: string | null;
522
+ country?: string | null;
523
+ };
524
+ export type ProductVarietalUpdateWithoutProductVariantInput = {
525
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
526
+ sku?: Prisma.StringFieldUpdateOperationsInput | string;
527
+ vintage?: Prisma.IntFieldUpdateOperationsInput | number;
528
+ packSize?: Prisma.IntFieldUpdateOperationsInput | number;
529
+ size?: Prisma.FloatFieldUpdateOperationsInput | number;
530
+ uom?: Prisma.EnumUnitOfMeasurementFieldUpdateOperationsInput | $Enums.UnitOfMeasurement;
531
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
532
+ country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
533
+ };
534
+ export type ProductVarietalUncheckedUpdateWithoutProductVariantInput = {
535
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
536
+ sku?: Prisma.StringFieldUpdateOperationsInput | string;
537
+ vintage?: Prisma.IntFieldUpdateOperationsInput | number;
538
+ packSize?: Prisma.IntFieldUpdateOperationsInput | number;
539
+ size?: Prisma.FloatFieldUpdateOperationsInput | number;
540
+ uom?: Prisma.EnumUnitOfMeasurementFieldUpdateOperationsInput | $Enums.UnitOfMeasurement;
541
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
542
+ country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
543
+ };
544
+ export type ProductVarietalUncheckedUpdateManyWithoutProductVariantInput = {
545
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
546
+ sku?: Prisma.StringFieldUpdateOperationsInput | string;
547
+ vintage?: Prisma.IntFieldUpdateOperationsInput | number;
548
+ packSize?: Prisma.IntFieldUpdateOperationsInput | number;
549
+ size?: Prisma.FloatFieldUpdateOperationsInput | number;
550
+ uom?: Prisma.EnumUnitOfMeasurementFieldUpdateOperationsInput | $Enums.UnitOfMeasurement;
551
+ region?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
552
+ country?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
553
+ };
554
+ export type ProductVarietalSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
555
+ id?: boolean;
556
+ sku?: boolean;
557
+ vintage?: boolean;
558
+ packSize?: boolean;
559
+ size?: boolean;
560
+ uom?: boolean;
561
+ region?: boolean;
562
+ country?: boolean;
563
+ productVariantId?: boolean;
564
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
565
+ }, ExtArgs["result"]["productVarietal"]>;
566
+ export type ProductVarietalSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
567
+ id?: boolean;
568
+ sku?: boolean;
569
+ vintage?: boolean;
570
+ packSize?: boolean;
571
+ size?: boolean;
572
+ uom?: boolean;
573
+ region?: boolean;
574
+ country?: boolean;
575
+ productVariantId?: boolean;
576
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
577
+ }, ExtArgs["result"]["productVarietal"]>;
578
+ export type ProductVarietalSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
579
+ id?: boolean;
580
+ sku?: boolean;
581
+ vintage?: boolean;
582
+ packSize?: boolean;
583
+ size?: boolean;
584
+ uom?: boolean;
585
+ region?: boolean;
586
+ country?: boolean;
587
+ productVariantId?: boolean;
588
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
589
+ }, ExtArgs["result"]["productVarietal"]>;
590
+ export type ProductVarietalSelectScalar = {
591
+ id?: boolean;
592
+ sku?: boolean;
593
+ vintage?: boolean;
594
+ packSize?: boolean;
595
+ size?: boolean;
596
+ uom?: boolean;
597
+ region?: boolean;
598
+ country?: boolean;
599
+ productVariantId?: boolean;
600
+ };
601
+ export type ProductVarietalOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "sku" | "vintage" | "packSize" | "size" | "uom" | "region" | "country" | "productVariantId", ExtArgs["result"]["productVarietal"]>;
602
+ export type ProductVarietalInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
603
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
604
+ };
605
+ export type ProductVarietalIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
606
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
607
+ };
608
+ export type ProductVarietalIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
609
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
610
+ };
611
+ export type $ProductVarietalPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
612
+ name: "ProductVarietal";
613
+ objects: {
614
+ productVariant: Prisma.$ProductVariantPayload<ExtArgs>;
615
+ };
616
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
617
+ id: bigint;
618
+ sku: string;
619
+ vintage: number;
620
+ packSize: number;
621
+ size: number;
622
+ uom: $Enums.UnitOfMeasurement;
623
+ region: string | null;
624
+ country: string | null;
625
+ productVariantId: bigint;
626
+ }, ExtArgs["result"]["productVarietal"]>;
627
+ composites: {};
628
+ };
629
+ export type ProductVarietalGetPayload<S extends boolean | null | undefined | ProductVarietalDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload, S>;
630
+ export type ProductVarietalCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProductVarietalFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
631
+ select?: ProductVarietalCountAggregateInputType | true;
632
+ };
633
+ export interface ProductVarietalDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
634
+ [K: symbol]: {
635
+ types: Prisma.TypeMap<ExtArgs>['model']['ProductVarietal'];
636
+ meta: {
637
+ name: 'ProductVarietal';
638
+ };
639
+ };
640
+ /**
641
+ * Find zero or one ProductVarietal that matches the filter.
642
+ * @param {ProductVarietalFindUniqueArgs} args - Arguments to find a ProductVarietal
643
+ * @example
644
+ * // Get one ProductVarietal
645
+ * const productVarietal = await prisma.productVarietal.findUnique({
646
+ * where: {
647
+ * // ... provide filter here
648
+ * }
649
+ * })
650
+ */
651
+ findUnique<T extends ProductVarietalFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductVarietalFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductVarietalClient<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
652
+ /**
653
+ * Find one ProductVarietal that matches the filter or throw an error with `error.code='P2025'`
654
+ * if no matches were found.
655
+ * @param {ProductVarietalFindUniqueOrThrowArgs} args - Arguments to find a ProductVarietal
656
+ * @example
657
+ * // Get one ProductVarietal
658
+ * const productVarietal = await prisma.productVarietal.findUniqueOrThrow({
659
+ * where: {
660
+ * // ... provide filter here
661
+ * }
662
+ * })
663
+ */
664
+ findUniqueOrThrow<T extends ProductVarietalFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductVarietalFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductVarietalClient<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
665
+ /**
666
+ * Find the first ProductVarietal that matches the filter.
667
+ * Note, that providing `undefined` is treated as the value not being there.
668
+ * Read more here: https://pris.ly/d/null-undefined
669
+ * @param {ProductVarietalFindFirstArgs} args - Arguments to find a ProductVarietal
670
+ * @example
671
+ * // Get one ProductVarietal
672
+ * const productVarietal = await prisma.productVarietal.findFirst({
673
+ * where: {
674
+ * // ... provide filter here
675
+ * }
676
+ * })
677
+ */
678
+ findFirst<T extends ProductVarietalFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductVarietalFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductVarietalClient<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
679
+ /**
680
+ * Find the first ProductVarietal that matches the filter or
681
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
682
+ * Note, that providing `undefined` is treated as the value not being there.
683
+ * Read more here: https://pris.ly/d/null-undefined
684
+ * @param {ProductVarietalFindFirstOrThrowArgs} args - Arguments to find a ProductVarietal
685
+ * @example
686
+ * // Get one ProductVarietal
687
+ * const productVarietal = await prisma.productVarietal.findFirstOrThrow({
688
+ * where: {
689
+ * // ... provide filter here
690
+ * }
691
+ * })
692
+ */
693
+ findFirstOrThrow<T extends ProductVarietalFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductVarietalFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductVarietalClient<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
694
+ /**
695
+ * Find zero or more ProductVarietals that matches the filter.
696
+ * Note, that providing `undefined` is treated as the value not being there.
697
+ * Read more here: https://pris.ly/d/null-undefined
698
+ * @param {ProductVarietalFindManyArgs} args - Arguments to filter and select certain fields only.
699
+ * @example
700
+ * // Get all ProductVarietals
701
+ * const productVarietals = await prisma.productVarietal.findMany()
702
+ *
703
+ * // Get first 10 ProductVarietals
704
+ * const productVarietals = await prisma.productVarietal.findMany({ take: 10 })
705
+ *
706
+ * // Only select the `id`
707
+ * const productVarietalWithIdOnly = await prisma.productVarietal.findMany({ select: { id: true } })
708
+ *
709
+ */
710
+ findMany<T extends ProductVarietalFindManyArgs>(args?: Prisma.SelectSubset<T, ProductVarietalFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
711
+ /**
712
+ * Create a ProductVarietal.
713
+ * @param {ProductVarietalCreateArgs} args - Arguments to create a ProductVarietal.
714
+ * @example
715
+ * // Create one ProductVarietal
716
+ * const ProductVarietal = await prisma.productVarietal.create({
717
+ * data: {
718
+ * // ... data to create a ProductVarietal
719
+ * }
720
+ * })
721
+ *
722
+ */
723
+ create<T extends ProductVarietalCreateArgs>(args: Prisma.SelectSubset<T, ProductVarietalCreateArgs<ExtArgs>>): Prisma.Prisma__ProductVarietalClient<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
724
+ /**
725
+ * Create many ProductVarietals.
726
+ * @param {ProductVarietalCreateManyArgs} args - Arguments to create many ProductVarietals.
727
+ * @example
728
+ * // Create many ProductVarietals
729
+ * const productVarietal = await prisma.productVarietal.createMany({
730
+ * data: [
731
+ * // ... provide data here
732
+ * ]
733
+ * })
734
+ *
735
+ */
736
+ createMany<T extends ProductVarietalCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductVarietalCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
737
+ /**
738
+ * Create many ProductVarietals and returns the data saved in the database.
739
+ * @param {ProductVarietalCreateManyAndReturnArgs} args - Arguments to create many ProductVarietals.
740
+ * @example
741
+ * // Create many ProductVarietals
742
+ * const productVarietal = await prisma.productVarietal.createManyAndReturn({
743
+ * data: [
744
+ * // ... provide data here
745
+ * ]
746
+ * })
747
+ *
748
+ * // Create many ProductVarietals and only return the `id`
749
+ * const productVarietalWithIdOnly = await prisma.productVarietal.createManyAndReturn({
750
+ * select: { id: true },
751
+ * data: [
752
+ * // ... provide data here
753
+ * ]
754
+ * })
755
+ * Note, that providing `undefined` is treated as the value not being there.
756
+ * Read more here: https://pris.ly/d/null-undefined
757
+ *
758
+ */
759
+ createManyAndReturn<T extends ProductVarietalCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductVarietalCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
760
+ /**
761
+ * Delete a ProductVarietal.
762
+ * @param {ProductVarietalDeleteArgs} args - Arguments to delete one ProductVarietal.
763
+ * @example
764
+ * // Delete one ProductVarietal
765
+ * const ProductVarietal = await prisma.productVarietal.delete({
766
+ * where: {
767
+ * // ... filter to delete one ProductVarietal
768
+ * }
769
+ * })
770
+ *
771
+ */
772
+ delete<T extends ProductVarietalDeleteArgs>(args: Prisma.SelectSubset<T, ProductVarietalDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductVarietalClient<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
773
+ /**
774
+ * Update one ProductVarietal.
775
+ * @param {ProductVarietalUpdateArgs} args - Arguments to update one ProductVarietal.
776
+ * @example
777
+ * // Update one ProductVarietal
778
+ * const productVarietal = await prisma.productVarietal.update({
779
+ * where: {
780
+ * // ... provide filter here
781
+ * },
782
+ * data: {
783
+ * // ... provide data here
784
+ * }
785
+ * })
786
+ *
787
+ */
788
+ update<T extends ProductVarietalUpdateArgs>(args: Prisma.SelectSubset<T, ProductVarietalUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductVarietalClient<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
789
+ /**
790
+ * Delete zero or more ProductVarietals.
791
+ * @param {ProductVarietalDeleteManyArgs} args - Arguments to filter ProductVarietals to delete.
792
+ * @example
793
+ * // Delete a few ProductVarietals
794
+ * const { count } = await prisma.productVarietal.deleteMany({
795
+ * where: {
796
+ * // ... provide filter here
797
+ * }
798
+ * })
799
+ *
800
+ */
801
+ deleteMany<T extends ProductVarietalDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductVarietalDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
802
+ /**
803
+ * Update zero or more ProductVarietals.
804
+ * Note, that providing `undefined` is treated as the value not being there.
805
+ * Read more here: https://pris.ly/d/null-undefined
806
+ * @param {ProductVarietalUpdateManyArgs} args - Arguments to update one or more rows.
807
+ * @example
808
+ * // Update many ProductVarietals
809
+ * const productVarietal = await prisma.productVarietal.updateMany({
810
+ * where: {
811
+ * // ... provide filter here
812
+ * },
813
+ * data: {
814
+ * // ... provide data here
815
+ * }
816
+ * })
817
+ *
818
+ */
819
+ updateMany<T extends ProductVarietalUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductVarietalUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
820
+ /**
821
+ * Update zero or more ProductVarietals and returns the data updated in the database.
822
+ * @param {ProductVarietalUpdateManyAndReturnArgs} args - Arguments to update many ProductVarietals.
823
+ * @example
824
+ * // Update many ProductVarietals
825
+ * const productVarietal = await prisma.productVarietal.updateManyAndReturn({
826
+ * where: {
827
+ * // ... provide filter here
828
+ * },
829
+ * data: [
830
+ * // ... provide data here
831
+ * ]
832
+ * })
833
+ *
834
+ * // Update zero or more ProductVarietals and only return the `id`
835
+ * const productVarietalWithIdOnly = await prisma.productVarietal.updateManyAndReturn({
836
+ * select: { id: true },
837
+ * where: {
838
+ * // ... provide filter here
839
+ * },
840
+ * data: [
841
+ * // ... provide data here
842
+ * ]
843
+ * })
844
+ * Note, that providing `undefined` is treated as the value not being there.
845
+ * Read more here: https://pris.ly/d/null-undefined
846
+ *
847
+ */
848
+ updateManyAndReturn<T extends ProductVarietalUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductVarietalUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
849
+ /**
850
+ * Create or update one ProductVarietal.
851
+ * @param {ProductVarietalUpsertArgs} args - Arguments to update or create a ProductVarietal.
852
+ * @example
853
+ * // Update or create a ProductVarietal
854
+ * const productVarietal = await prisma.productVarietal.upsert({
855
+ * create: {
856
+ * // ... data to create a ProductVarietal
857
+ * },
858
+ * update: {
859
+ * // ... in case it already exists, update
860
+ * },
861
+ * where: {
862
+ * // ... the filter for the ProductVarietal we want to update
863
+ * }
864
+ * })
865
+ */
866
+ upsert<T extends ProductVarietalUpsertArgs>(args: Prisma.SelectSubset<T, ProductVarietalUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductVarietalClient<runtime.Types.Result.GetResult<Prisma.$ProductVarietalPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
867
+ /**
868
+ * Count the number of ProductVarietals.
869
+ * Note, that providing `undefined` is treated as the value not being there.
870
+ * Read more here: https://pris.ly/d/null-undefined
871
+ * @param {ProductVarietalCountArgs} args - Arguments to filter ProductVarietals to count.
872
+ * @example
873
+ * // Count the number of ProductVarietals
874
+ * const count = await prisma.productVarietal.count({
875
+ * where: {
876
+ * // ... the filter for the ProductVarietals we want to count
877
+ * }
878
+ * })
879
+ **/
880
+ count<T extends ProductVarietalCountArgs>(args?: Prisma.Subset<T, ProductVarietalCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductVarietalCountAggregateOutputType> : number>;
881
+ /**
882
+ * Allows you to perform aggregations operations on a ProductVarietal.
883
+ * Note, that providing `undefined` is treated as the value not being there.
884
+ * Read more here: https://pris.ly/d/null-undefined
885
+ * @param {ProductVarietalAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
886
+ * @example
887
+ * // Ordered by age ascending
888
+ * // Where email contains prisma.io
889
+ * // Limited to the 10 users
890
+ * const aggregations = await prisma.user.aggregate({
891
+ * _avg: {
892
+ * age: true,
893
+ * },
894
+ * where: {
895
+ * email: {
896
+ * contains: "prisma.io",
897
+ * },
898
+ * },
899
+ * orderBy: {
900
+ * age: "asc",
901
+ * },
902
+ * take: 10,
903
+ * })
904
+ **/
905
+ aggregate<T extends ProductVarietalAggregateArgs>(args: Prisma.Subset<T, ProductVarietalAggregateArgs>): Prisma.PrismaPromise<GetProductVarietalAggregateType<T>>;
906
+ /**
907
+ * Group by ProductVarietal.
908
+ * Note, that providing `undefined` is treated as the value not being there.
909
+ * Read more here: https://pris.ly/d/null-undefined
910
+ * @param {ProductVarietalGroupByArgs} args - Group by arguments.
911
+ * @example
912
+ * // Group by city, order by createdAt, get count
913
+ * const result = await prisma.user.groupBy({
914
+ * by: ['city', 'createdAt'],
915
+ * orderBy: {
916
+ * createdAt: true
917
+ * },
918
+ * _count: {
919
+ * _all: true
920
+ * },
921
+ * })
922
+ *
923
+ **/
924
+ groupBy<T extends ProductVarietalGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
925
+ orderBy: ProductVarietalGroupByArgs['orderBy'];
926
+ } : {
927
+ orderBy?: ProductVarietalGroupByArgs['orderBy'];
928
+ }, 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 ? {
929
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
930
+ Error,
931
+ 'Field ',
932
+ P,
933
+ ` in "having" needs to be provided in "by"`
934
+ ];
935
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
936
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
937
+ }[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 ? {} : {
938
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
939
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
940
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
941
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductVarietalGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductVarietalGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
942
+ /**
943
+ * Fields of the ProductVarietal model
944
+ */
945
+ readonly fields: ProductVarietalFieldRefs;
946
+ }
947
+ /**
948
+ * The delegate class that acts as a "Promise-like" for ProductVarietal.
949
+ * Why is this prefixed with `Prisma__`?
950
+ * Because we want to prevent naming conflicts as mentioned in
951
+ * https://github.com/prisma/prisma-client-js/issues/707
952
+ */
953
+ export interface Prisma__ProductVarietalClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
954
+ readonly [Symbol.toStringTag]: "PrismaPromise";
955
+ productVariant<T extends Prisma.ProductVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductVariantClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
956
+ /**
957
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
958
+ * @param onfulfilled The callback to execute when the Promise is resolved.
959
+ * @param onrejected The callback to execute when the Promise is rejected.
960
+ * @returns A Promise for the completion of which ever callback is executed.
961
+ */
962
+ 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>;
963
+ /**
964
+ * Attaches a callback for only the rejection of the Promise.
965
+ * @param onrejected The callback to execute when the Promise is rejected.
966
+ * @returns A Promise for the completion of the callback.
967
+ */
968
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
969
+ /**
970
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
971
+ * resolved value cannot be modified from the callback.
972
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
973
+ * @returns A Promise for the completion of the callback.
974
+ */
975
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
976
+ }
977
+ /**
978
+ * Fields of the ProductVarietal model
979
+ */
980
+ export interface ProductVarietalFieldRefs {
981
+ readonly id: Prisma.FieldRef<"ProductVarietal", 'BigInt'>;
982
+ readonly sku: Prisma.FieldRef<"ProductVarietal", 'String'>;
983
+ readonly vintage: Prisma.FieldRef<"ProductVarietal", 'Int'>;
984
+ readonly packSize: Prisma.FieldRef<"ProductVarietal", 'Int'>;
985
+ readonly size: Prisma.FieldRef<"ProductVarietal", 'Float'>;
986
+ readonly uom: Prisma.FieldRef<"ProductVarietal", 'UnitOfMeasurement'>;
987
+ readonly region: Prisma.FieldRef<"ProductVarietal", 'String'>;
988
+ readonly country: Prisma.FieldRef<"ProductVarietal", 'String'>;
989
+ readonly productVariantId: Prisma.FieldRef<"ProductVarietal", 'BigInt'>;
990
+ }
991
+ /**
992
+ * ProductVarietal findUnique
993
+ */
994
+ export type ProductVarietalFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
995
+ /**
996
+ * Select specific fields to fetch from the ProductVarietal
997
+ */
998
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
999
+ /**
1000
+ * Omit specific fields from the ProductVarietal
1001
+ */
1002
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1003
+ /**
1004
+ * Choose, which related nodes to fetch as well
1005
+ */
1006
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1007
+ /**
1008
+ * Filter, which ProductVarietal to fetch.
1009
+ */
1010
+ where: Prisma.ProductVarietalWhereUniqueInput;
1011
+ };
1012
+ /**
1013
+ * ProductVarietal findUniqueOrThrow
1014
+ */
1015
+ export type ProductVarietalFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1016
+ /**
1017
+ * Select specific fields to fetch from the ProductVarietal
1018
+ */
1019
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
1020
+ /**
1021
+ * Omit specific fields from the ProductVarietal
1022
+ */
1023
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1024
+ /**
1025
+ * Choose, which related nodes to fetch as well
1026
+ */
1027
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1028
+ /**
1029
+ * Filter, which ProductVarietal to fetch.
1030
+ */
1031
+ where: Prisma.ProductVarietalWhereUniqueInput;
1032
+ };
1033
+ /**
1034
+ * ProductVarietal findFirst
1035
+ */
1036
+ export type ProductVarietalFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1037
+ /**
1038
+ * Select specific fields to fetch from the ProductVarietal
1039
+ */
1040
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
1041
+ /**
1042
+ * Omit specific fields from the ProductVarietal
1043
+ */
1044
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1045
+ /**
1046
+ * Choose, which related nodes to fetch as well
1047
+ */
1048
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1049
+ /**
1050
+ * Filter, which ProductVarietal to fetch.
1051
+ */
1052
+ where?: Prisma.ProductVarietalWhereInput;
1053
+ /**
1054
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1055
+ *
1056
+ * Determine the order of ProductVarietals to fetch.
1057
+ */
1058
+ orderBy?: Prisma.ProductVarietalOrderByWithRelationInput | Prisma.ProductVarietalOrderByWithRelationInput[];
1059
+ /**
1060
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1061
+ *
1062
+ * Sets the position for searching for ProductVarietals.
1063
+ */
1064
+ cursor?: Prisma.ProductVarietalWhereUniqueInput;
1065
+ /**
1066
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1067
+ *
1068
+ * Take `±n` ProductVarietals from the position of the cursor.
1069
+ */
1070
+ take?: number;
1071
+ /**
1072
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1073
+ *
1074
+ * Skip the first `n` ProductVarietals.
1075
+ */
1076
+ skip?: number;
1077
+ /**
1078
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1079
+ *
1080
+ * Filter by unique combinations of ProductVarietals.
1081
+ */
1082
+ distinct?: Prisma.ProductVarietalScalarFieldEnum | Prisma.ProductVarietalScalarFieldEnum[];
1083
+ };
1084
+ /**
1085
+ * ProductVarietal findFirstOrThrow
1086
+ */
1087
+ export type ProductVarietalFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1088
+ /**
1089
+ * Select specific fields to fetch from the ProductVarietal
1090
+ */
1091
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
1092
+ /**
1093
+ * Omit specific fields from the ProductVarietal
1094
+ */
1095
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1096
+ /**
1097
+ * Choose, which related nodes to fetch as well
1098
+ */
1099
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1100
+ /**
1101
+ * Filter, which ProductVarietal to fetch.
1102
+ */
1103
+ where?: Prisma.ProductVarietalWhereInput;
1104
+ /**
1105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1106
+ *
1107
+ * Determine the order of ProductVarietals to fetch.
1108
+ */
1109
+ orderBy?: Prisma.ProductVarietalOrderByWithRelationInput | Prisma.ProductVarietalOrderByWithRelationInput[];
1110
+ /**
1111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1112
+ *
1113
+ * Sets the position for searching for ProductVarietals.
1114
+ */
1115
+ cursor?: Prisma.ProductVarietalWhereUniqueInput;
1116
+ /**
1117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1118
+ *
1119
+ * Take `±n` ProductVarietals from the position of the cursor.
1120
+ */
1121
+ take?: number;
1122
+ /**
1123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1124
+ *
1125
+ * Skip the first `n` ProductVarietals.
1126
+ */
1127
+ skip?: number;
1128
+ /**
1129
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1130
+ *
1131
+ * Filter by unique combinations of ProductVarietals.
1132
+ */
1133
+ distinct?: Prisma.ProductVarietalScalarFieldEnum | Prisma.ProductVarietalScalarFieldEnum[];
1134
+ };
1135
+ /**
1136
+ * ProductVarietal findMany
1137
+ */
1138
+ export type ProductVarietalFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1139
+ /**
1140
+ * Select specific fields to fetch from the ProductVarietal
1141
+ */
1142
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
1143
+ /**
1144
+ * Omit specific fields from the ProductVarietal
1145
+ */
1146
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1147
+ /**
1148
+ * Choose, which related nodes to fetch as well
1149
+ */
1150
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1151
+ /**
1152
+ * Filter, which ProductVarietals to fetch.
1153
+ */
1154
+ where?: Prisma.ProductVarietalWhereInput;
1155
+ /**
1156
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1157
+ *
1158
+ * Determine the order of ProductVarietals to fetch.
1159
+ */
1160
+ orderBy?: Prisma.ProductVarietalOrderByWithRelationInput | Prisma.ProductVarietalOrderByWithRelationInput[];
1161
+ /**
1162
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1163
+ *
1164
+ * Sets the position for listing ProductVarietals.
1165
+ */
1166
+ cursor?: Prisma.ProductVarietalWhereUniqueInput;
1167
+ /**
1168
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1169
+ *
1170
+ * Take `±n` ProductVarietals from the position of the cursor.
1171
+ */
1172
+ take?: number;
1173
+ /**
1174
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1175
+ *
1176
+ * Skip the first `n` ProductVarietals.
1177
+ */
1178
+ skip?: number;
1179
+ distinct?: Prisma.ProductVarietalScalarFieldEnum | Prisma.ProductVarietalScalarFieldEnum[];
1180
+ };
1181
+ /**
1182
+ * ProductVarietal create
1183
+ */
1184
+ export type ProductVarietalCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1185
+ /**
1186
+ * Select specific fields to fetch from the ProductVarietal
1187
+ */
1188
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
1189
+ /**
1190
+ * Omit specific fields from the ProductVarietal
1191
+ */
1192
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1193
+ /**
1194
+ * Choose, which related nodes to fetch as well
1195
+ */
1196
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1197
+ /**
1198
+ * The data needed to create a ProductVarietal.
1199
+ */
1200
+ data: Prisma.XOR<Prisma.ProductVarietalCreateInput, Prisma.ProductVarietalUncheckedCreateInput>;
1201
+ };
1202
+ /**
1203
+ * ProductVarietal createMany
1204
+ */
1205
+ export type ProductVarietalCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1206
+ /**
1207
+ * The data used to create many ProductVarietals.
1208
+ */
1209
+ data: Prisma.ProductVarietalCreateManyInput | Prisma.ProductVarietalCreateManyInput[];
1210
+ skipDuplicates?: boolean;
1211
+ };
1212
+ /**
1213
+ * ProductVarietal createManyAndReturn
1214
+ */
1215
+ export type ProductVarietalCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1216
+ /**
1217
+ * Select specific fields to fetch from the ProductVarietal
1218
+ */
1219
+ select?: Prisma.ProductVarietalSelectCreateManyAndReturn<ExtArgs> | null;
1220
+ /**
1221
+ * Omit specific fields from the ProductVarietal
1222
+ */
1223
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1224
+ /**
1225
+ * The data used to create many ProductVarietals.
1226
+ */
1227
+ data: Prisma.ProductVarietalCreateManyInput | Prisma.ProductVarietalCreateManyInput[];
1228
+ skipDuplicates?: boolean;
1229
+ /**
1230
+ * Choose, which related nodes to fetch as well
1231
+ */
1232
+ include?: Prisma.ProductVarietalIncludeCreateManyAndReturn<ExtArgs> | null;
1233
+ };
1234
+ /**
1235
+ * ProductVarietal update
1236
+ */
1237
+ export type ProductVarietalUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1238
+ /**
1239
+ * Select specific fields to fetch from the ProductVarietal
1240
+ */
1241
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
1242
+ /**
1243
+ * Omit specific fields from the ProductVarietal
1244
+ */
1245
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1246
+ /**
1247
+ * Choose, which related nodes to fetch as well
1248
+ */
1249
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1250
+ /**
1251
+ * The data needed to update a ProductVarietal.
1252
+ */
1253
+ data: Prisma.XOR<Prisma.ProductVarietalUpdateInput, Prisma.ProductVarietalUncheckedUpdateInput>;
1254
+ /**
1255
+ * Choose, which ProductVarietal to update.
1256
+ */
1257
+ where: Prisma.ProductVarietalWhereUniqueInput;
1258
+ };
1259
+ /**
1260
+ * ProductVarietal updateMany
1261
+ */
1262
+ export type ProductVarietalUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1263
+ /**
1264
+ * The data used to update ProductVarietals.
1265
+ */
1266
+ data: Prisma.XOR<Prisma.ProductVarietalUpdateManyMutationInput, Prisma.ProductVarietalUncheckedUpdateManyInput>;
1267
+ /**
1268
+ * Filter which ProductVarietals to update
1269
+ */
1270
+ where?: Prisma.ProductVarietalWhereInput;
1271
+ /**
1272
+ * Limit how many ProductVarietals to update.
1273
+ */
1274
+ limit?: number;
1275
+ };
1276
+ /**
1277
+ * ProductVarietal updateManyAndReturn
1278
+ */
1279
+ export type ProductVarietalUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1280
+ /**
1281
+ * Select specific fields to fetch from the ProductVarietal
1282
+ */
1283
+ select?: Prisma.ProductVarietalSelectUpdateManyAndReturn<ExtArgs> | null;
1284
+ /**
1285
+ * Omit specific fields from the ProductVarietal
1286
+ */
1287
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1288
+ /**
1289
+ * The data used to update ProductVarietals.
1290
+ */
1291
+ data: Prisma.XOR<Prisma.ProductVarietalUpdateManyMutationInput, Prisma.ProductVarietalUncheckedUpdateManyInput>;
1292
+ /**
1293
+ * Filter which ProductVarietals to update
1294
+ */
1295
+ where?: Prisma.ProductVarietalWhereInput;
1296
+ /**
1297
+ * Limit how many ProductVarietals to update.
1298
+ */
1299
+ limit?: number;
1300
+ /**
1301
+ * Choose, which related nodes to fetch as well
1302
+ */
1303
+ include?: Prisma.ProductVarietalIncludeUpdateManyAndReturn<ExtArgs> | null;
1304
+ };
1305
+ /**
1306
+ * ProductVarietal upsert
1307
+ */
1308
+ export type ProductVarietalUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1309
+ /**
1310
+ * Select specific fields to fetch from the ProductVarietal
1311
+ */
1312
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
1313
+ /**
1314
+ * Omit specific fields from the ProductVarietal
1315
+ */
1316
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1317
+ /**
1318
+ * Choose, which related nodes to fetch as well
1319
+ */
1320
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1321
+ /**
1322
+ * The filter to search for the ProductVarietal to update in case it exists.
1323
+ */
1324
+ where: Prisma.ProductVarietalWhereUniqueInput;
1325
+ /**
1326
+ * In case the ProductVarietal found by the `where` argument doesn't exist, create a new ProductVarietal with this data.
1327
+ */
1328
+ create: Prisma.XOR<Prisma.ProductVarietalCreateInput, Prisma.ProductVarietalUncheckedCreateInput>;
1329
+ /**
1330
+ * In case the ProductVarietal was found with the provided `where` argument, update it with this data.
1331
+ */
1332
+ update: Prisma.XOR<Prisma.ProductVarietalUpdateInput, Prisma.ProductVarietalUncheckedUpdateInput>;
1333
+ };
1334
+ /**
1335
+ * ProductVarietal delete
1336
+ */
1337
+ export type ProductVarietalDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1338
+ /**
1339
+ * Select specific fields to fetch from the ProductVarietal
1340
+ */
1341
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
1342
+ /**
1343
+ * Omit specific fields from the ProductVarietal
1344
+ */
1345
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1346
+ /**
1347
+ * Choose, which related nodes to fetch as well
1348
+ */
1349
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1350
+ /**
1351
+ * Filter which ProductVarietal to delete.
1352
+ */
1353
+ where: Prisma.ProductVarietalWhereUniqueInput;
1354
+ };
1355
+ /**
1356
+ * ProductVarietal deleteMany
1357
+ */
1358
+ export type ProductVarietalDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1359
+ /**
1360
+ * Filter which ProductVarietals to delete
1361
+ */
1362
+ where?: Prisma.ProductVarietalWhereInput;
1363
+ /**
1364
+ * Limit how many ProductVarietals to delete.
1365
+ */
1366
+ limit?: number;
1367
+ };
1368
+ /**
1369
+ * ProductVarietal without action
1370
+ */
1371
+ export type ProductVarietalDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1372
+ /**
1373
+ * Select specific fields to fetch from the ProductVarietal
1374
+ */
1375
+ select?: Prisma.ProductVarietalSelect<ExtArgs> | null;
1376
+ /**
1377
+ * Omit specific fields from the ProductVarietal
1378
+ */
1379
+ omit?: Prisma.ProductVarietalOmit<ExtArgs> | null;
1380
+ /**
1381
+ * Choose, which related nodes to fetch as well
1382
+ */
1383
+ include?: Prisma.ProductVarietalInclude<ExtArgs> | null;
1384
+ };
1385
+ export {};