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