@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,2597 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model Modifier
5
+ *
6
+ */
7
+ export type ModifierModel = runtime.Types.Result.DefaultSelection<Prisma.$ModifierPayload>;
8
+ export type AggregateModifier = {
9
+ _count: ModifierCountAggregateOutputType | null;
10
+ _avg: ModifierAvgAggregateOutputType | null;
11
+ _sum: ModifierSumAggregateOutputType | null;
12
+ _min: ModifierMinAggregateOutputType | null;
13
+ _max: ModifierMaxAggregateOutputType | null;
14
+ };
15
+ export type ModifierAvgAggregateOutputType = {
16
+ id: number | null;
17
+ price: runtime.Decimal | null;
18
+ productVariantId: number | null;
19
+ mediaId: number | null;
20
+ };
21
+ export type ModifierSumAggregateOutputType = {
22
+ id: bigint | null;
23
+ price: runtime.Decimal | null;
24
+ productVariantId: bigint | null;
25
+ mediaId: bigint | null;
26
+ };
27
+ export type ModifierMinAggregateOutputType = {
28
+ id: bigint | null;
29
+ name: string | null;
30
+ price: runtime.Decimal | null;
31
+ description: string | null;
32
+ createdAt: Date | null;
33
+ updatedAt: Date | null;
34
+ deletedAt: Date | null;
35
+ productVariantId: bigint | null;
36
+ mediaId: bigint | null;
37
+ matchVariantPrice: boolean | null;
38
+ platformId: string | null;
39
+ };
40
+ export type ModifierMaxAggregateOutputType = {
41
+ id: bigint | null;
42
+ name: string | null;
43
+ price: runtime.Decimal | null;
44
+ description: string | null;
45
+ createdAt: Date | null;
46
+ updatedAt: Date | null;
47
+ deletedAt: Date | null;
48
+ productVariantId: bigint | null;
49
+ mediaId: bigint | null;
50
+ matchVariantPrice: boolean | null;
51
+ platformId: string | null;
52
+ };
53
+ export type ModifierCountAggregateOutputType = {
54
+ id: number;
55
+ name: number;
56
+ price: number;
57
+ description: number;
58
+ attributes: number;
59
+ createdAt: number;
60
+ updatedAt: number;
61
+ deletedAt: number;
62
+ productVariantId: number;
63
+ mediaId: number;
64
+ matchVariantPrice: number;
65
+ platformId: number;
66
+ _all: number;
67
+ };
68
+ export type ModifierAvgAggregateInputType = {
69
+ id?: true;
70
+ price?: true;
71
+ productVariantId?: true;
72
+ mediaId?: true;
73
+ };
74
+ export type ModifierSumAggregateInputType = {
75
+ id?: true;
76
+ price?: true;
77
+ productVariantId?: true;
78
+ mediaId?: true;
79
+ };
80
+ export type ModifierMinAggregateInputType = {
81
+ id?: true;
82
+ name?: true;
83
+ price?: true;
84
+ description?: true;
85
+ createdAt?: true;
86
+ updatedAt?: true;
87
+ deletedAt?: true;
88
+ productVariantId?: true;
89
+ mediaId?: true;
90
+ matchVariantPrice?: true;
91
+ platformId?: true;
92
+ };
93
+ export type ModifierMaxAggregateInputType = {
94
+ id?: true;
95
+ name?: true;
96
+ price?: true;
97
+ description?: true;
98
+ createdAt?: true;
99
+ updatedAt?: true;
100
+ deletedAt?: true;
101
+ productVariantId?: true;
102
+ mediaId?: true;
103
+ matchVariantPrice?: true;
104
+ platformId?: true;
105
+ };
106
+ export type ModifierCountAggregateInputType = {
107
+ id?: true;
108
+ name?: true;
109
+ price?: true;
110
+ description?: true;
111
+ attributes?: true;
112
+ createdAt?: true;
113
+ updatedAt?: true;
114
+ deletedAt?: true;
115
+ productVariantId?: true;
116
+ mediaId?: true;
117
+ matchVariantPrice?: true;
118
+ platformId?: true;
119
+ _all?: true;
120
+ };
121
+ export type ModifierAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
122
+ /**
123
+ * Filter which Modifier to aggregate.
124
+ */
125
+ where?: Prisma.ModifierWhereInput;
126
+ /**
127
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
128
+ *
129
+ * Determine the order of Modifiers to fetch.
130
+ */
131
+ orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
132
+ /**
133
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
134
+ *
135
+ * Sets the start position
136
+ */
137
+ cursor?: Prisma.ModifierWhereUniqueInput;
138
+ /**
139
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
140
+ *
141
+ * Take `±n` Modifiers from the position of the cursor.
142
+ */
143
+ take?: number;
144
+ /**
145
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
146
+ *
147
+ * Skip the first `n` Modifiers.
148
+ */
149
+ skip?: number;
150
+ /**
151
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
152
+ *
153
+ * Count returned Modifiers
154
+ **/
155
+ _count?: true | ModifierCountAggregateInputType;
156
+ /**
157
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
158
+ *
159
+ * Select which fields to average
160
+ **/
161
+ _avg?: ModifierAvgAggregateInputType;
162
+ /**
163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
164
+ *
165
+ * Select which fields to sum
166
+ **/
167
+ _sum?: ModifierSumAggregateInputType;
168
+ /**
169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
170
+ *
171
+ * Select which fields to find the minimum value
172
+ **/
173
+ _min?: ModifierMinAggregateInputType;
174
+ /**
175
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
176
+ *
177
+ * Select which fields to find the maximum value
178
+ **/
179
+ _max?: ModifierMaxAggregateInputType;
180
+ };
181
+ export type GetModifierAggregateType<T extends ModifierAggregateArgs> = {
182
+ [P in keyof T & keyof AggregateModifier]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateModifier[P]> : Prisma.GetScalarType<T[P], AggregateModifier[P]>;
183
+ };
184
+ export type ModifierGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
185
+ where?: Prisma.ModifierWhereInput;
186
+ orderBy?: Prisma.ModifierOrderByWithAggregationInput | Prisma.ModifierOrderByWithAggregationInput[];
187
+ by: Prisma.ModifierScalarFieldEnum[] | Prisma.ModifierScalarFieldEnum;
188
+ having?: Prisma.ModifierScalarWhereWithAggregatesInput;
189
+ take?: number;
190
+ skip?: number;
191
+ _count?: ModifierCountAggregateInputType | true;
192
+ _avg?: ModifierAvgAggregateInputType;
193
+ _sum?: ModifierSumAggregateInputType;
194
+ _min?: ModifierMinAggregateInputType;
195
+ _max?: ModifierMaxAggregateInputType;
196
+ };
197
+ export type ModifierGroupByOutputType = {
198
+ id: bigint;
199
+ name: string;
200
+ price: runtime.Decimal | null;
201
+ description: string | null;
202
+ attributes: unknown | null;
203
+ createdAt: Date;
204
+ updatedAt: Date;
205
+ deletedAt: Date | null;
206
+ productVariantId: bigint | null;
207
+ mediaId: bigint | null;
208
+ matchVariantPrice: boolean;
209
+ platformId: string | null;
210
+ _count: ModifierCountAggregateOutputType | null;
211
+ _avg: ModifierAvgAggregateOutputType | null;
212
+ _sum: ModifierSumAggregateOutputType | null;
213
+ _min: ModifierMinAggregateOutputType | null;
214
+ _max: ModifierMaxAggregateOutputType | null;
215
+ };
216
+ type GetModifierGroupByPayload<T extends ModifierGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ModifierGroupByOutputType, T['by']> & {
217
+ [P in ((keyof T) & (keyof ModifierGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ModifierGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ModifierGroupByOutputType[P]>;
218
+ }>>;
219
+ export type ModifierWhereInput = {
220
+ AND?: Prisma.ModifierWhereInput | Prisma.ModifierWhereInput[];
221
+ OR?: Prisma.ModifierWhereInput[];
222
+ NOT?: Prisma.ModifierWhereInput | Prisma.ModifierWhereInput[];
223
+ id?: Prisma.BigIntFilter<"Modifier"> | bigint | number;
224
+ name?: Prisma.StringFilter<"Modifier"> | string;
225
+ price?: Prisma.DecimalNullableFilter<"Modifier"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
226
+ description?: Prisma.StringNullableFilter<"Modifier"> | string | null;
227
+ attributes?: Prisma.JsonNullableFilter<"Modifier">;
228
+ createdAt?: Prisma.DateTimeFilter<"Modifier"> | Date | string;
229
+ updatedAt?: Prisma.DateTimeFilter<"Modifier"> | Date | string;
230
+ deletedAt?: Prisma.DateTimeNullableFilter<"Modifier"> | Date | string | null;
231
+ productVariantId?: Prisma.BigIntNullableFilter<"Modifier"> | bigint | number | null;
232
+ mediaId?: Prisma.BigIntNullableFilter<"Modifier"> | bigint | number | null;
233
+ matchVariantPrice?: Prisma.BoolFilter<"Modifier"> | boolean;
234
+ platformId?: Prisma.StringNullableFilter<"Modifier"> | string | null;
235
+ productVariant?: Prisma.XOR<Prisma.ProductVariantNullableScalarRelationFilter, Prisma.ProductVariantWhereInput> | null;
236
+ modifierOption?: Prisma.ModifierOptionListRelationFilter;
237
+ cartLineModifier?: Prisma.CartLineModifierListRelationFilter;
238
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierListRelationFilter;
239
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionListRelationFilter;
240
+ media?: Prisma.XOR<Prisma.MediaNullableScalarRelationFilter, Prisma.MediaWhereInput> | null;
241
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupListRelationFilter;
242
+ platform?: Prisma.XOR<Prisma.PlatformNullableScalarRelationFilter, Prisma.PlatformWhereInput> | null;
243
+ };
244
+ export type ModifierOrderByWithRelationInput = {
245
+ id?: Prisma.SortOrder;
246
+ name?: Prisma.SortOrder;
247
+ price?: Prisma.SortOrderInput | Prisma.SortOrder;
248
+ description?: Prisma.SortOrderInput | Prisma.SortOrder;
249
+ attributes?: Prisma.SortOrderInput | Prisma.SortOrder;
250
+ createdAt?: Prisma.SortOrder;
251
+ updatedAt?: Prisma.SortOrder;
252
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
253
+ productVariantId?: Prisma.SortOrderInput | Prisma.SortOrder;
254
+ mediaId?: Prisma.SortOrderInput | Prisma.SortOrder;
255
+ matchVariantPrice?: Prisma.SortOrder;
256
+ platformId?: Prisma.SortOrderInput | Prisma.SortOrder;
257
+ productVariant?: Prisma.ProductVariantOrderByWithRelationInput;
258
+ modifierOption?: Prisma.ModifierOptionOrderByRelationAggregateInput;
259
+ cartLineModifier?: Prisma.CartLineModifierOrderByRelationAggregateInput;
260
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierOrderByRelationAggregateInput;
261
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionOrderByRelationAggregateInput;
262
+ media?: Prisma.MediaOrderByWithRelationInput;
263
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupOrderByRelationAggregateInput;
264
+ platform?: Prisma.PlatformOrderByWithRelationInput;
265
+ _relevance?: Prisma.ModifierOrderByRelevanceInput;
266
+ };
267
+ export type ModifierWhereUniqueInput = Prisma.AtLeast<{
268
+ id?: bigint | number;
269
+ AND?: Prisma.ModifierWhereInput | Prisma.ModifierWhereInput[];
270
+ OR?: Prisma.ModifierWhereInput[];
271
+ NOT?: Prisma.ModifierWhereInput | Prisma.ModifierWhereInput[];
272
+ name?: Prisma.StringFilter<"Modifier"> | string;
273
+ price?: Prisma.DecimalNullableFilter<"Modifier"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
274
+ description?: Prisma.StringNullableFilter<"Modifier"> | string | null;
275
+ attributes?: Prisma.JsonNullableFilter<"Modifier">;
276
+ createdAt?: Prisma.DateTimeFilter<"Modifier"> | Date | string;
277
+ updatedAt?: Prisma.DateTimeFilter<"Modifier"> | Date | string;
278
+ deletedAt?: Prisma.DateTimeNullableFilter<"Modifier"> | Date | string | null;
279
+ productVariantId?: Prisma.BigIntNullableFilter<"Modifier"> | bigint | number | null;
280
+ mediaId?: Prisma.BigIntNullableFilter<"Modifier"> | bigint | number | null;
281
+ matchVariantPrice?: Prisma.BoolFilter<"Modifier"> | boolean;
282
+ platformId?: Prisma.StringNullableFilter<"Modifier"> | string | null;
283
+ productVariant?: Prisma.XOR<Prisma.ProductVariantNullableScalarRelationFilter, Prisma.ProductVariantWhereInput> | null;
284
+ modifierOption?: Prisma.ModifierOptionListRelationFilter;
285
+ cartLineModifier?: Prisma.CartLineModifierListRelationFilter;
286
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierListRelationFilter;
287
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionListRelationFilter;
288
+ media?: Prisma.XOR<Prisma.MediaNullableScalarRelationFilter, Prisma.MediaWhereInput> | null;
289
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupListRelationFilter;
290
+ platform?: Prisma.XOR<Prisma.PlatformNullableScalarRelationFilter, Prisma.PlatformWhereInput> | null;
291
+ }, "id">;
292
+ export type ModifierOrderByWithAggregationInput = {
293
+ id?: Prisma.SortOrder;
294
+ name?: Prisma.SortOrder;
295
+ price?: Prisma.SortOrderInput | Prisma.SortOrder;
296
+ description?: Prisma.SortOrderInput | Prisma.SortOrder;
297
+ attributes?: Prisma.SortOrderInput | Prisma.SortOrder;
298
+ createdAt?: Prisma.SortOrder;
299
+ updatedAt?: Prisma.SortOrder;
300
+ deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
301
+ productVariantId?: Prisma.SortOrderInput | Prisma.SortOrder;
302
+ mediaId?: Prisma.SortOrderInput | Prisma.SortOrder;
303
+ matchVariantPrice?: Prisma.SortOrder;
304
+ platformId?: Prisma.SortOrderInput | Prisma.SortOrder;
305
+ _count?: Prisma.ModifierCountOrderByAggregateInput;
306
+ _avg?: Prisma.ModifierAvgOrderByAggregateInput;
307
+ _max?: Prisma.ModifierMaxOrderByAggregateInput;
308
+ _min?: Prisma.ModifierMinOrderByAggregateInput;
309
+ _sum?: Prisma.ModifierSumOrderByAggregateInput;
310
+ };
311
+ export type ModifierScalarWhereWithAggregatesInput = {
312
+ AND?: Prisma.ModifierScalarWhereWithAggregatesInput | Prisma.ModifierScalarWhereWithAggregatesInput[];
313
+ OR?: Prisma.ModifierScalarWhereWithAggregatesInput[];
314
+ NOT?: Prisma.ModifierScalarWhereWithAggregatesInput | Prisma.ModifierScalarWhereWithAggregatesInput[];
315
+ id?: Prisma.BigIntWithAggregatesFilter<"Modifier"> | bigint | number;
316
+ name?: Prisma.StringWithAggregatesFilter<"Modifier"> | string;
317
+ price?: Prisma.DecimalNullableWithAggregatesFilter<"Modifier"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
318
+ description?: Prisma.StringNullableWithAggregatesFilter<"Modifier"> | string | null;
319
+ attributes?: Prisma.JsonNullableWithAggregatesFilter<"Modifier">;
320
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Modifier"> | Date | string;
321
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Modifier"> | Date | string;
322
+ deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Modifier"> | Date | string | null;
323
+ productVariantId?: Prisma.BigIntNullableWithAggregatesFilter<"Modifier"> | bigint | number | null;
324
+ mediaId?: Prisma.BigIntNullableWithAggregatesFilter<"Modifier"> | bigint | number | null;
325
+ matchVariantPrice?: Prisma.BoolWithAggregatesFilter<"Modifier"> | boolean;
326
+ platformId?: Prisma.StringNullableWithAggregatesFilter<"Modifier"> | string | null;
327
+ };
328
+ export type ModifierCreateInput = {
329
+ id?: bigint | number;
330
+ name: string;
331
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
332
+ description?: string | null;
333
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
334
+ createdAt?: Date | string;
335
+ updatedAt?: Date | string;
336
+ deletedAt?: Date | string | null;
337
+ matchVariantPrice?: boolean;
338
+ productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierInput;
339
+ modifierOption?: Prisma.ModifierOptionCreateNestedManyWithoutModifierInput;
340
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutModifierInput;
341
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutModifierInput;
342
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierInput;
343
+ media?: Prisma.MediaCreateNestedOneWithoutModifiersInput;
344
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupCreateNestedManyWithoutModifierInput;
345
+ platform?: Prisma.PlatformCreateNestedOneWithoutModifiersInput;
346
+ };
347
+ export type ModifierUncheckedCreateInput = {
348
+ id?: bigint | number;
349
+ name: string;
350
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
351
+ description?: string | null;
352
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
353
+ createdAt?: Date | string;
354
+ updatedAt?: Date | string;
355
+ deletedAt?: Date | string | null;
356
+ productVariantId?: bigint | number | null;
357
+ mediaId?: bigint | number | null;
358
+ matchVariantPrice?: boolean;
359
+ platformId?: string | null;
360
+ modifierOption?: Prisma.ModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
361
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutModifierInput;
362
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutModifierInput;
363
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
364
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedCreateNestedManyWithoutModifierInput;
365
+ };
366
+ export type ModifierUpdateInput = {
367
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
368
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
369
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
370
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
371
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
372
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
373
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
374
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
375
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
376
+ productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierNestedInput;
377
+ modifierOption?: Prisma.ModifierOptionUpdateManyWithoutModifierNestedInput;
378
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutModifierNestedInput;
379
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutModifierNestedInput;
380
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierNestedInput;
381
+ media?: Prisma.MediaUpdateOneWithoutModifiersNestedInput;
382
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUpdateManyWithoutModifierNestedInput;
383
+ platform?: Prisma.PlatformUpdateOneWithoutModifiersNestedInput;
384
+ };
385
+ export type ModifierUncheckedUpdateInput = {
386
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
387
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
388
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
389
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
390
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
391
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
392
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
393
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
394
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
395
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
396
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
397
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
398
+ modifierOption?: Prisma.ModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
399
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutModifierNestedInput;
400
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutModifierNestedInput;
401
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
402
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedUpdateManyWithoutModifierNestedInput;
403
+ };
404
+ export type ModifierCreateManyInput = {
405
+ id?: bigint | number;
406
+ name: string;
407
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
408
+ description?: string | null;
409
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
410
+ createdAt?: Date | string;
411
+ updatedAt?: Date | string;
412
+ deletedAt?: Date | string | null;
413
+ productVariantId?: bigint | number | null;
414
+ mediaId?: bigint | number | null;
415
+ matchVariantPrice?: boolean;
416
+ platformId?: string | null;
417
+ };
418
+ export type ModifierUpdateManyMutationInput = {
419
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
420
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
421
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
422
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
423
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
424
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
425
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
426
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
427
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
428
+ };
429
+ export type ModifierUncheckedUpdateManyInput = {
430
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
431
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
432
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
433
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
434
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
435
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
436
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
437
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
438
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
439
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
440
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
441
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
442
+ };
443
+ export type ModifierScalarRelationFilter = {
444
+ is?: Prisma.ModifierWhereInput;
445
+ isNot?: Prisma.ModifierWhereInput;
446
+ };
447
+ export type ModifierListRelationFilter = {
448
+ every?: Prisma.ModifierWhereInput;
449
+ some?: Prisma.ModifierWhereInput;
450
+ none?: Prisma.ModifierWhereInput;
451
+ };
452
+ export type ModifierOrderByRelationAggregateInput = {
453
+ _count?: Prisma.SortOrder;
454
+ };
455
+ export type ModifierOrderByRelevanceInput = {
456
+ fields: Prisma.ModifierOrderByRelevanceFieldEnum | Prisma.ModifierOrderByRelevanceFieldEnum[];
457
+ sort: Prisma.SortOrder;
458
+ search: string;
459
+ };
460
+ export type ModifierCountOrderByAggregateInput = {
461
+ id?: Prisma.SortOrder;
462
+ name?: Prisma.SortOrder;
463
+ price?: Prisma.SortOrder;
464
+ description?: Prisma.SortOrder;
465
+ attributes?: Prisma.SortOrder;
466
+ createdAt?: Prisma.SortOrder;
467
+ updatedAt?: Prisma.SortOrder;
468
+ deletedAt?: Prisma.SortOrder;
469
+ productVariantId?: Prisma.SortOrder;
470
+ mediaId?: Prisma.SortOrder;
471
+ matchVariantPrice?: Prisma.SortOrder;
472
+ platformId?: Prisma.SortOrder;
473
+ };
474
+ export type ModifierAvgOrderByAggregateInput = {
475
+ id?: Prisma.SortOrder;
476
+ price?: Prisma.SortOrder;
477
+ productVariantId?: Prisma.SortOrder;
478
+ mediaId?: Prisma.SortOrder;
479
+ };
480
+ export type ModifierMaxOrderByAggregateInput = {
481
+ id?: Prisma.SortOrder;
482
+ name?: Prisma.SortOrder;
483
+ price?: Prisma.SortOrder;
484
+ description?: Prisma.SortOrder;
485
+ createdAt?: Prisma.SortOrder;
486
+ updatedAt?: Prisma.SortOrder;
487
+ deletedAt?: Prisma.SortOrder;
488
+ productVariantId?: Prisma.SortOrder;
489
+ mediaId?: Prisma.SortOrder;
490
+ matchVariantPrice?: Prisma.SortOrder;
491
+ platformId?: Prisma.SortOrder;
492
+ };
493
+ export type ModifierMinOrderByAggregateInput = {
494
+ id?: Prisma.SortOrder;
495
+ name?: Prisma.SortOrder;
496
+ price?: Prisma.SortOrder;
497
+ description?: Prisma.SortOrder;
498
+ createdAt?: Prisma.SortOrder;
499
+ updatedAt?: Prisma.SortOrder;
500
+ deletedAt?: Prisma.SortOrder;
501
+ productVariantId?: Prisma.SortOrder;
502
+ mediaId?: Prisma.SortOrder;
503
+ matchVariantPrice?: Prisma.SortOrder;
504
+ platformId?: Prisma.SortOrder;
505
+ };
506
+ export type ModifierSumOrderByAggregateInput = {
507
+ id?: Prisma.SortOrder;
508
+ price?: Prisma.SortOrder;
509
+ productVariantId?: Prisma.SortOrder;
510
+ mediaId?: Prisma.SortOrder;
511
+ };
512
+ export type ModifierCreateNestedOneWithoutCartLineModifierInput = {
513
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutCartLineModifierInput, Prisma.ModifierUncheckedCreateWithoutCartLineModifierInput>;
514
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutCartLineModifierInput;
515
+ connect?: Prisma.ModifierWhereUniqueInput;
516
+ };
517
+ export type ModifierUpdateOneRequiredWithoutCartLineModifierNestedInput = {
518
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutCartLineModifierInput, Prisma.ModifierUncheckedCreateWithoutCartLineModifierInput>;
519
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutCartLineModifierInput;
520
+ upsert?: Prisma.ModifierUpsertWithoutCartLineModifierInput;
521
+ connect?: Prisma.ModifierWhereUniqueInput;
522
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ModifierUpdateToOneWithWhereWithoutCartLineModifierInput, Prisma.ModifierUpdateWithoutCartLineModifierInput>, Prisma.ModifierUncheckedUpdateWithoutCartLineModifierInput>;
523
+ };
524
+ export type ModifierCreateNestedOneWithoutCheckoutLineModifierOptionInput = {
525
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierUncheckedCreateWithoutCheckoutLineModifierOptionInput>;
526
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutCheckoutLineModifierOptionInput;
527
+ connect?: Prisma.ModifierWhereUniqueInput;
528
+ };
529
+ export type ModifierUpdateOneRequiredWithoutCheckoutLineModifierOptionNestedInput = {
530
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierUncheckedCreateWithoutCheckoutLineModifierOptionInput>;
531
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutCheckoutLineModifierOptionInput;
532
+ upsert?: Prisma.ModifierUpsertWithoutCheckoutLineModifierOptionInput;
533
+ connect?: Prisma.ModifierWhereUniqueInput;
534
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ModifierUpdateToOneWithWhereWithoutCheckoutLineModifierOptionInput, Prisma.ModifierUpdateWithoutCheckoutLineModifierOptionInput>, Prisma.ModifierUncheckedUpdateWithoutCheckoutLineModifierOptionInput>;
535
+ };
536
+ export type ModifierCreateNestedOneWithoutCheckoutLinesModifierInput = {
537
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutCheckoutLinesModifierInput, Prisma.ModifierUncheckedCreateWithoutCheckoutLinesModifierInput>;
538
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutCheckoutLinesModifierInput;
539
+ connect?: Prisma.ModifierWhereUniqueInput;
540
+ };
541
+ export type ModifierUpdateOneRequiredWithoutCheckoutLinesModifierNestedInput = {
542
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutCheckoutLinesModifierInput, Prisma.ModifierUncheckedCreateWithoutCheckoutLinesModifierInput>;
543
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutCheckoutLinesModifierInput;
544
+ upsert?: Prisma.ModifierUpsertWithoutCheckoutLinesModifierInput;
545
+ connect?: Prisma.ModifierWhereUniqueInput;
546
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ModifierUpdateToOneWithWhereWithoutCheckoutLinesModifierInput, Prisma.ModifierUpdateWithoutCheckoutLinesModifierInput>, Prisma.ModifierUncheckedUpdateWithoutCheckoutLinesModifierInput>;
547
+ };
548
+ export type ModifierCreateNestedManyWithoutMediaInput = {
549
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutMediaInput, Prisma.ModifierUncheckedCreateWithoutMediaInput> | Prisma.ModifierCreateWithoutMediaInput[] | Prisma.ModifierUncheckedCreateWithoutMediaInput[];
550
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutMediaInput | Prisma.ModifierCreateOrConnectWithoutMediaInput[];
551
+ createMany?: Prisma.ModifierCreateManyMediaInputEnvelope;
552
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
553
+ };
554
+ export type ModifierUncheckedCreateNestedManyWithoutMediaInput = {
555
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutMediaInput, Prisma.ModifierUncheckedCreateWithoutMediaInput> | Prisma.ModifierCreateWithoutMediaInput[] | Prisma.ModifierUncheckedCreateWithoutMediaInput[];
556
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutMediaInput | Prisma.ModifierCreateOrConnectWithoutMediaInput[];
557
+ createMany?: Prisma.ModifierCreateManyMediaInputEnvelope;
558
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
559
+ };
560
+ export type ModifierUpdateManyWithoutMediaNestedInput = {
561
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutMediaInput, Prisma.ModifierUncheckedCreateWithoutMediaInput> | Prisma.ModifierCreateWithoutMediaInput[] | Prisma.ModifierUncheckedCreateWithoutMediaInput[];
562
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutMediaInput | Prisma.ModifierCreateOrConnectWithoutMediaInput[];
563
+ upsert?: Prisma.ModifierUpsertWithWhereUniqueWithoutMediaInput | Prisma.ModifierUpsertWithWhereUniqueWithoutMediaInput[];
564
+ createMany?: Prisma.ModifierCreateManyMediaInputEnvelope;
565
+ set?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
566
+ disconnect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
567
+ delete?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
568
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
569
+ update?: Prisma.ModifierUpdateWithWhereUniqueWithoutMediaInput | Prisma.ModifierUpdateWithWhereUniqueWithoutMediaInput[];
570
+ updateMany?: Prisma.ModifierUpdateManyWithWhereWithoutMediaInput | Prisma.ModifierUpdateManyWithWhereWithoutMediaInput[];
571
+ deleteMany?: Prisma.ModifierScalarWhereInput | Prisma.ModifierScalarWhereInput[];
572
+ };
573
+ export type ModifierUncheckedUpdateManyWithoutMediaNestedInput = {
574
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutMediaInput, Prisma.ModifierUncheckedCreateWithoutMediaInput> | Prisma.ModifierCreateWithoutMediaInput[] | Prisma.ModifierUncheckedCreateWithoutMediaInput[];
575
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutMediaInput | Prisma.ModifierCreateOrConnectWithoutMediaInput[];
576
+ upsert?: Prisma.ModifierUpsertWithWhereUniqueWithoutMediaInput | Prisma.ModifierUpsertWithWhereUniqueWithoutMediaInput[];
577
+ createMany?: Prisma.ModifierCreateManyMediaInputEnvelope;
578
+ set?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
579
+ disconnect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
580
+ delete?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
581
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
582
+ update?: Prisma.ModifierUpdateWithWhereUniqueWithoutMediaInput | Prisma.ModifierUpdateWithWhereUniqueWithoutMediaInput[];
583
+ updateMany?: Prisma.ModifierUpdateManyWithWhereWithoutMediaInput | Prisma.ModifierUpdateManyWithWhereWithoutMediaInput[];
584
+ deleteMany?: Prisma.ModifierScalarWhereInput | Prisma.ModifierScalarWhereInput[];
585
+ };
586
+ export type ModifierCreateNestedOneWithoutModifierOptionInput = {
587
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutModifierOptionInput, Prisma.ModifierUncheckedCreateWithoutModifierOptionInput>;
588
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutModifierOptionInput;
589
+ connect?: Prisma.ModifierWhereUniqueInput;
590
+ };
591
+ export type ModifierUpdateOneRequiredWithoutModifierOptionNestedInput = {
592
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutModifierOptionInput, Prisma.ModifierUncheckedCreateWithoutModifierOptionInput>;
593
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutModifierOptionInput;
594
+ upsert?: Prisma.ModifierUpsertWithoutModifierOptionInput;
595
+ connect?: Prisma.ModifierWhereUniqueInput;
596
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ModifierUpdateToOneWithWhereWithoutModifierOptionInput, Prisma.ModifierUpdateWithoutModifierOptionInput>, Prisma.ModifierUncheckedUpdateWithoutModifierOptionInput>;
597
+ };
598
+ export type ModifierCreateNestedOneWithoutModifierToModifierGroupInput = {
599
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutModifierToModifierGroupInput, Prisma.ModifierUncheckedCreateWithoutModifierToModifierGroupInput>;
600
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutModifierToModifierGroupInput;
601
+ connect?: Prisma.ModifierWhereUniqueInput;
602
+ };
603
+ export type ModifierUpdateOneRequiredWithoutModifierToModifierGroupNestedInput = {
604
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutModifierToModifierGroupInput, Prisma.ModifierUncheckedCreateWithoutModifierToModifierGroupInput>;
605
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutModifierToModifierGroupInput;
606
+ upsert?: Prisma.ModifierUpsertWithoutModifierToModifierGroupInput;
607
+ connect?: Prisma.ModifierWhereUniqueInput;
608
+ update?: Prisma.XOR<Prisma.XOR<Prisma.ModifierUpdateToOneWithWhereWithoutModifierToModifierGroupInput, Prisma.ModifierUpdateWithoutModifierToModifierGroupInput>, Prisma.ModifierUncheckedUpdateWithoutModifierToModifierGroupInput>;
609
+ };
610
+ export type ModifierCreateNestedManyWithoutPlatformInput = {
611
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutPlatformInput, Prisma.ModifierUncheckedCreateWithoutPlatformInput> | Prisma.ModifierCreateWithoutPlatformInput[] | Prisma.ModifierUncheckedCreateWithoutPlatformInput[];
612
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutPlatformInput | Prisma.ModifierCreateOrConnectWithoutPlatformInput[];
613
+ createMany?: Prisma.ModifierCreateManyPlatformInputEnvelope;
614
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
615
+ };
616
+ export type ModifierUncheckedCreateNestedManyWithoutPlatformInput = {
617
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutPlatformInput, Prisma.ModifierUncheckedCreateWithoutPlatformInput> | Prisma.ModifierCreateWithoutPlatformInput[] | Prisma.ModifierUncheckedCreateWithoutPlatformInput[];
618
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutPlatformInput | Prisma.ModifierCreateOrConnectWithoutPlatformInput[];
619
+ createMany?: Prisma.ModifierCreateManyPlatformInputEnvelope;
620
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
621
+ };
622
+ export type ModifierUpdateManyWithoutPlatformNestedInput = {
623
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutPlatformInput, Prisma.ModifierUncheckedCreateWithoutPlatformInput> | Prisma.ModifierCreateWithoutPlatformInput[] | Prisma.ModifierUncheckedCreateWithoutPlatformInput[];
624
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutPlatformInput | Prisma.ModifierCreateOrConnectWithoutPlatformInput[];
625
+ upsert?: Prisma.ModifierUpsertWithWhereUniqueWithoutPlatformInput | Prisma.ModifierUpsertWithWhereUniqueWithoutPlatformInput[];
626
+ createMany?: Prisma.ModifierCreateManyPlatformInputEnvelope;
627
+ set?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
628
+ disconnect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
629
+ delete?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
630
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
631
+ update?: Prisma.ModifierUpdateWithWhereUniqueWithoutPlatformInput | Prisma.ModifierUpdateWithWhereUniqueWithoutPlatformInput[];
632
+ updateMany?: Prisma.ModifierUpdateManyWithWhereWithoutPlatformInput | Prisma.ModifierUpdateManyWithWhereWithoutPlatformInput[];
633
+ deleteMany?: Prisma.ModifierScalarWhereInput | Prisma.ModifierScalarWhereInput[];
634
+ };
635
+ export type ModifierUncheckedUpdateManyWithoutPlatformNestedInput = {
636
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutPlatformInput, Prisma.ModifierUncheckedCreateWithoutPlatformInput> | Prisma.ModifierCreateWithoutPlatformInput[] | Prisma.ModifierUncheckedCreateWithoutPlatformInput[];
637
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutPlatformInput | Prisma.ModifierCreateOrConnectWithoutPlatformInput[];
638
+ upsert?: Prisma.ModifierUpsertWithWhereUniqueWithoutPlatformInput | Prisma.ModifierUpsertWithWhereUniqueWithoutPlatformInput[];
639
+ createMany?: Prisma.ModifierCreateManyPlatformInputEnvelope;
640
+ set?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
641
+ disconnect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
642
+ delete?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
643
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
644
+ update?: Prisma.ModifierUpdateWithWhereUniqueWithoutPlatformInput | Prisma.ModifierUpdateWithWhereUniqueWithoutPlatformInput[];
645
+ updateMany?: Prisma.ModifierUpdateManyWithWhereWithoutPlatformInput | Prisma.ModifierUpdateManyWithWhereWithoutPlatformInput[];
646
+ deleteMany?: Prisma.ModifierScalarWhereInput | Prisma.ModifierScalarWhereInput[];
647
+ };
648
+ export type ModifierCreateNestedManyWithoutProductVariantInput = {
649
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutProductVariantInput, Prisma.ModifierUncheckedCreateWithoutProductVariantInput> | Prisma.ModifierCreateWithoutProductVariantInput[] | Prisma.ModifierUncheckedCreateWithoutProductVariantInput[];
650
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutProductVariantInput | Prisma.ModifierCreateOrConnectWithoutProductVariantInput[];
651
+ createMany?: Prisma.ModifierCreateManyProductVariantInputEnvelope;
652
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
653
+ };
654
+ export type ModifierUncheckedCreateNestedManyWithoutProductVariantInput = {
655
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutProductVariantInput, Prisma.ModifierUncheckedCreateWithoutProductVariantInput> | Prisma.ModifierCreateWithoutProductVariantInput[] | Prisma.ModifierUncheckedCreateWithoutProductVariantInput[];
656
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutProductVariantInput | Prisma.ModifierCreateOrConnectWithoutProductVariantInput[];
657
+ createMany?: Prisma.ModifierCreateManyProductVariantInputEnvelope;
658
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
659
+ };
660
+ export type ModifierUpdateManyWithoutProductVariantNestedInput = {
661
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutProductVariantInput, Prisma.ModifierUncheckedCreateWithoutProductVariantInput> | Prisma.ModifierCreateWithoutProductVariantInput[] | Prisma.ModifierUncheckedCreateWithoutProductVariantInput[];
662
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutProductVariantInput | Prisma.ModifierCreateOrConnectWithoutProductVariantInput[];
663
+ upsert?: Prisma.ModifierUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ModifierUpsertWithWhereUniqueWithoutProductVariantInput[];
664
+ createMany?: Prisma.ModifierCreateManyProductVariantInputEnvelope;
665
+ set?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
666
+ disconnect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
667
+ delete?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
668
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
669
+ update?: Prisma.ModifierUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ModifierUpdateWithWhereUniqueWithoutProductVariantInput[];
670
+ updateMany?: Prisma.ModifierUpdateManyWithWhereWithoutProductVariantInput | Prisma.ModifierUpdateManyWithWhereWithoutProductVariantInput[];
671
+ deleteMany?: Prisma.ModifierScalarWhereInput | Prisma.ModifierScalarWhereInput[];
672
+ };
673
+ export type ModifierUncheckedUpdateManyWithoutProductVariantNestedInput = {
674
+ create?: Prisma.XOR<Prisma.ModifierCreateWithoutProductVariantInput, Prisma.ModifierUncheckedCreateWithoutProductVariantInput> | Prisma.ModifierCreateWithoutProductVariantInput[] | Prisma.ModifierUncheckedCreateWithoutProductVariantInput[];
675
+ connectOrCreate?: Prisma.ModifierCreateOrConnectWithoutProductVariantInput | Prisma.ModifierCreateOrConnectWithoutProductVariantInput[];
676
+ upsert?: Prisma.ModifierUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ModifierUpsertWithWhereUniqueWithoutProductVariantInput[];
677
+ createMany?: Prisma.ModifierCreateManyProductVariantInputEnvelope;
678
+ set?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
679
+ disconnect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
680
+ delete?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
681
+ connect?: Prisma.ModifierWhereUniqueInput | Prisma.ModifierWhereUniqueInput[];
682
+ update?: Prisma.ModifierUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ModifierUpdateWithWhereUniqueWithoutProductVariantInput[];
683
+ updateMany?: Prisma.ModifierUpdateManyWithWhereWithoutProductVariantInput | Prisma.ModifierUpdateManyWithWhereWithoutProductVariantInput[];
684
+ deleteMany?: Prisma.ModifierScalarWhereInput | Prisma.ModifierScalarWhereInput[];
685
+ };
686
+ export type ModifierCreateWithoutCartLineModifierInput = {
687
+ id?: bigint | number;
688
+ name: string;
689
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
690
+ description?: string | null;
691
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
692
+ createdAt?: Date | string;
693
+ updatedAt?: Date | string;
694
+ deletedAt?: Date | string | null;
695
+ matchVariantPrice?: boolean;
696
+ productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierInput;
697
+ modifierOption?: Prisma.ModifierOptionCreateNestedManyWithoutModifierInput;
698
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutModifierInput;
699
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierInput;
700
+ media?: Prisma.MediaCreateNestedOneWithoutModifiersInput;
701
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupCreateNestedManyWithoutModifierInput;
702
+ platform?: Prisma.PlatformCreateNestedOneWithoutModifiersInput;
703
+ };
704
+ export type ModifierUncheckedCreateWithoutCartLineModifierInput = {
705
+ id?: bigint | number;
706
+ name: string;
707
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
708
+ description?: string | null;
709
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
710
+ createdAt?: Date | string;
711
+ updatedAt?: Date | string;
712
+ deletedAt?: Date | string | null;
713
+ productVariantId?: bigint | number | null;
714
+ mediaId?: bigint | number | null;
715
+ matchVariantPrice?: boolean;
716
+ platformId?: string | null;
717
+ modifierOption?: Prisma.ModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
718
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutModifierInput;
719
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
720
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedCreateNestedManyWithoutModifierInput;
721
+ };
722
+ export type ModifierCreateOrConnectWithoutCartLineModifierInput = {
723
+ where: Prisma.ModifierWhereUniqueInput;
724
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutCartLineModifierInput, Prisma.ModifierUncheckedCreateWithoutCartLineModifierInput>;
725
+ };
726
+ export type ModifierUpsertWithoutCartLineModifierInput = {
727
+ update: Prisma.XOR<Prisma.ModifierUpdateWithoutCartLineModifierInput, Prisma.ModifierUncheckedUpdateWithoutCartLineModifierInput>;
728
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutCartLineModifierInput, Prisma.ModifierUncheckedCreateWithoutCartLineModifierInput>;
729
+ where?: Prisma.ModifierWhereInput;
730
+ };
731
+ export type ModifierUpdateToOneWithWhereWithoutCartLineModifierInput = {
732
+ where?: Prisma.ModifierWhereInput;
733
+ data: Prisma.XOR<Prisma.ModifierUpdateWithoutCartLineModifierInput, Prisma.ModifierUncheckedUpdateWithoutCartLineModifierInput>;
734
+ };
735
+ export type ModifierUpdateWithoutCartLineModifierInput = {
736
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
737
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
738
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
739
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
740
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
741
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
742
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
743
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
744
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
745
+ productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierNestedInput;
746
+ modifierOption?: Prisma.ModifierOptionUpdateManyWithoutModifierNestedInput;
747
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutModifierNestedInput;
748
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierNestedInput;
749
+ media?: Prisma.MediaUpdateOneWithoutModifiersNestedInput;
750
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUpdateManyWithoutModifierNestedInput;
751
+ platform?: Prisma.PlatformUpdateOneWithoutModifiersNestedInput;
752
+ };
753
+ export type ModifierUncheckedUpdateWithoutCartLineModifierInput = {
754
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
755
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
756
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
757
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
758
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
759
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
760
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
761
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
762
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
763
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
764
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
765
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
766
+ modifierOption?: Prisma.ModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
767
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutModifierNestedInput;
768
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
769
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedUpdateManyWithoutModifierNestedInput;
770
+ };
771
+ export type ModifierCreateWithoutCheckoutLineModifierOptionInput = {
772
+ id?: bigint | number;
773
+ name: string;
774
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
775
+ description?: string | null;
776
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
777
+ createdAt?: Date | string;
778
+ updatedAt?: Date | string;
779
+ deletedAt?: Date | string | null;
780
+ matchVariantPrice?: boolean;
781
+ productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierInput;
782
+ modifierOption?: Prisma.ModifierOptionCreateNestedManyWithoutModifierInput;
783
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutModifierInput;
784
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutModifierInput;
785
+ media?: Prisma.MediaCreateNestedOneWithoutModifiersInput;
786
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupCreateNestedManyWithoutModifierInput;
787
+ platform?: Prisma.PlatformCreateNestedOneWithoutModifiersInput;
788
+ };
789
+ export type ModifierUncheckedCreateWithoutCheckoutLineModifierOptionInput = {
790
+ id?: bigint | number;
791
+ name: string;
792
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
793
+ description?: string | null;
794
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
795
+ createdAt?: Date | string;
796
+ updatedAt?: Date | string;
797
+ deletedAt?: Date | string | null;
798
+ productVariantId?: bigint | number | null;
799
+ mediaId?: bigint | number | null;
800
+ matchVariantPrice?: boolean;
801
+ platformId?: string | null;
802
+ modifierOption?: Prisma.ModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
803
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutModifierInput;
804
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutModifierInput;
805
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedCreateNestedManyWithoutModifierInput;
806
+ };
807
+ export type ModifierCreateOrConnectWithoutCheckoutLineModifierOptionInput = {
808
+ where: Prisma.ModifierWhereUniqueInput;
809
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierUncheckedCreateWithoutCheckoutLineModifierOptionInput>;
810
+ };
811
+ export type ModifierUpsertWithoutCheckoutLineModifierOptionInput = {
812
+ update: Prisma.XOR<Prisma.ModifierUpdateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierUncheckedUpdateWithoutCheckoutLineModifierOptionInput>;
813
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierUncheckedCreateWithoutCheckoutLineModifierOptionInput>;
814
+ where?: Prisma.ModifierWhereInput;
815
+ };
816
+ export type ModifierUpdateToOneWithWhereWithoutCheckoutLineModifierOptionInput = {
817
+ where?: Prisma.ModifierWhereInput;
818
+ data: Prisma.XOR<Prisma.ModifierUpdateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierUncheckedUpdateWithoutCheckoutLineModifierOptionInput>;
819
+ };
820
+ export type ModifierUpdateWithoutCheckoutLineModifierOptionInput = {
821
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
822
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
823
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
824
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
825
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
826
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
827
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
828
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
829
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
830
+ productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierNestedInput;
831
+ modifierOption?: Prisma.ModifierOptionUpdateManyWithoutModifierNestedInput;
832
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutModifierNestedInput;
833
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutModifierNestedInput;
834
+ media?: Prisma.MediaUpdateOneWithoutModifiersNestedInput;
835
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUpdateManyWithoutModifierNestedInput;
836
+ platform?: Prisma.PlatformUpdateOneWithoutModifiersNestedInput;
837
+ };
838
+ export type ModifierUncheckedUpdateWithoutCheckoutLineModifierOptionInput = {
839
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
840
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
841
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
842
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
843
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
844
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
845
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
846
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
847
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
848
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
849
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
850
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
851
+ modifierOption?: Prisma.ModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
852
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutModifierNestedInput;
853
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutModifierNestedInput;
854
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedUpdateManyWithoutModifierNestedInput;
855
+ };
856
+ export type ModifierCreateWithoutCheckoutLinesModifierInput = {
857
+ id?: bigint | number;
858
+ name: string;
859
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
860
+ description?: string | null;
861
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
862
+ createdAt?: Date | string;
863
+ updatedAt?: Date | string;
864
+ deletedAt?: Date | string | null;
865
+ matchVariantPrice?: boolean;
866
+ productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierInput;
867
+ modifierOption?: Prisma.ModifierOptionCreateNestedManyWithoutModifierInput;
868
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutModifierInput;
869
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierInput;
870
+ media?: Prisma.MediaCreateNestedOneWithoutModifiersInput;
871
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupCreateNestedManyWithoutModifierInput;
872
+ platform?: Prisma.PlatformCreateNestedOneWithoutModifiersInput;
873
+ };
874
+ export type ModifierUncheckedCreateWithoutCheckoutLinesModifierInput = {
875
+ id?: bigint | number;
876
+ name: string;
877
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
878
+ description?: string | null;
879
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
880
+ createdAt?: Date | string;
881
+ updatedAt?: Date | string;
882
+ deletedAt?: Date | string | null;
883
+ productVariantId?: bigint | number | null;
884
+ mediaId?: bigint | number | null;
885
+ matchVariantPrice?: boolean;
886
+ platformId?: string | null;
887
+ modifierOption?: Prisma.ModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
888
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutModifierInput;
889
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
890
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedCreateNestedManyWithoutModifierInput;
891
+ };
892
+ export type ModifierCreateOrConnectWithoutCheckoutLinesModifierInput = {
893
+ where: Prisma.ModifierWhereUniqueInput;
894
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutCheckoutLinesModifierInput, Prisma.ModifierUncheckedCreateWithoutCheckoutLinesModifierInput>;
895
+ };
896
+ export type ModifierUpsertWithoutCheckoutLinesModifierInput = {
897
+ update: Prisma.XOR<Prisma.ModifierUpdateWithoutCheckoutLinesModifierInput, Prisma.ModifierUncheckedUpdateWithoutCheckoutLinesModifierInput>;
898
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutCheckoutLinesModifierInput, Prisma.ModifierUncheckedCreateWithoutCheckoutLinesModifierInput>;
899
+ where?: Prisma.ModifierWhereInput;
900
+ };
901
+ export type ModifierUpdateToOneWithWhereWithoutCheckoutLinesModifierInput = {
902
+ where?: Prisma.ModifierWhereInput;
903
+ data: Prisma.XOR<Prisma.ModifierUpdateWithoutCheckoutLinesModifierInput, Prisma.ModifierUncheckedUpdateWithoutCheckoutLinesModifierInput>;
904
+ };
905
+ export type ModifierUpdateWithoutCheckoutLinesModifierInput = {
906
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
907
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
908
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
909
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
910
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
911
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
912
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
913
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
914
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
915
+ productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierNestedInput;
916
+ modifierOption?: Prisma.ModifierOptionUpdateManyWithoutModifierNestedInput;
917
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutModifierNestedInput;
918
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierNestedInput;
919
+ media?: Prisma.MediaUpdateOneWithoutModifiersNestedInput;
920
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUpdateManyWithoutModifierNestedInput;
921
+ platform?: Prisma.PlatformUpdateOneWithoutModifiersNestedInput;
922
+ };
923
+ export type ModifierUncheckedUpdateWithoutCheckoutLinesModifierInput = {
924
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
925
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
926
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
927
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
928
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
929
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
930
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
931
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
932
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
933
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
934
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
935
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
936
+ modifierOption?: Prisma.ModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
937
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutModifierNestedInput;
938
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
939
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedUpdateManyWithoutModifierNestedInput;
940
+ };
941
+ export type ModifierCreateWithoutMediaInput = {
942
+ id?: bigint | number;
943
+ name: string;
944
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
945
+ description?: string | null;
946
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
947
+ createdAt?: Date | string;
948
+ updatedAt?: Date | string;
949
+ deletedAt?: Date | string | null;
950
+ matchVariantPrice?: boolean;
951
+ productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierInput;
952
+ modifierOption?: Prisma.ModifierOptionCreateNestedManyWithoutModifierInput;
953
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutModifierInput;
954
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutModifierInput;
955
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierInput;
956
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupCreateNestedManyWithoutModifierInput;
957
+ platform?: Prisma.PlatformCreateNestedOneWithoutModifiersInput;
958
+ };
959
+ export type ModifierUncheckedCreateWithoutMediaInput = {
960
+ id?: bigint | number;
961
+ name: string;
962
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
963
+ description?: string | null;
964
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
965
+ createdAt?: Date | string;
966
+ updatedAt?: Date | string;
967
+ deletedAt?: Date | string | null;
968
+ productVariantId?: bigint | number | null;
969
+ matchVariantPrice?: boolean;
970
+ platformId?: string | null;
971
+ modifierOption?: Prisma.ModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
972
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutModifierInput;
973
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutModifierInput;
974
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
975
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedCreateNestedManyWithoutModifierInput;
976
+ };
977
+ export type ModifierCreateOrConnectWithoutMediaInput = {
978
+ where: Prisma.ModifierWhereUniqueInput;
979
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutMediaInput, Prisma.ModifierUncheckedCreateWithoutMediaInput>;
980
+ };
981
+ export type ModifierCreateManyMediaInputEnvelope = {
982
+ data: Prisma.ModifierCreateManyMediaInput | Prisma.ModifierCreateManyMediaInput[];
983
+ skipDuplicates?: boolean;
984
+ };
985
+ export type ModifierUpsertWithWhereUniqueWithoutMediaInput = {
986
+ where: Prisma.ModifierWhereUniqueInput;
987
+ update: Prisma.XOR<Prisma.ModifierUpdateWithoutMediaInput, Prisma.ModifierUncheckedUpdateWithoutMediaInput>;
988
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutMediaInput, Prisma.ModifierUncheckedCreateWithoutMediaInput>;
989
+ };
990
+ export type ModifierUpdateWithWhereUniqueWithoutMediaInput = {
991
+ where: Prisma.ModifierWhereUniqueInput;
992
+ data: Prisma.XOR<Prisma.ModifierUpdateWithoutMediaInput, Prisma.ModifierUncheckedUpdateWithoutMediaInput>;
993
+ };
994
+ export type ModifierUpdateManyWithWhereWithoutMediaInput = {
995
+ where: Prisma.ModifierScalarWhereInput;
996
+ data: Prisma.XOR<Prisma.ModifierUpdateManyMutationInput, Prisma.ModifierUncheckedUpdateManyWithoutMediaInput>;
997
+ };
998
+ export type ModifierScalarWhereInput = {
999
+ AND?: Prisma.ModifierScalarWhereInput | Prisma.ModifierScalarWhereInput[];
1000
+ OR?: Prisma.ModifierScalarWhereInput[];
1001
+ NOT?: Prisma.ModifierScalarWhereInput | Prisma.ModifierScalarWhereInput[];
1002
+ id?: Prisma.BigIntFilter<"Modifier"> | bigint | number;
1003
+ name?: Prisma.StringFilter<"Modifier"> | string;
1004
+ price?: Prisma.DecimalNullableFilter<"Modifier"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1005
+ description?: Prisma.StringNullableFilter<"Modifier"> | string | null;
1006
+ attributes?: Prisma.JsonNullableFilter<"Modifier">;
1007
+ createdAt?: Prisma.DateTimeFilter<"Modifier"> | Date | string;
1008
+ updatedAt?: Prisma.DateTimeFilter<"Modifier"> | Date | string;
1009
+ deletedAt?: Prisma.DateTimeNullableFilter<"Modifier"> | Date | string | null;
1010
+ productVariantId?: Prisma.BigIntNullableFilter<"Modifier"> | bigint | number | null;
1011
+ mediaId?: Prisma.BigIntNullableFilter<"Modifier"> | bigint | number | null;
1012
+ matchVariantPrice?: Prisma.BoolFilter<"Modifier"> | boolean;
1013
+ platformId?: Prisma.StringNullableFilter<"Modifier"> | string | null;
1014
+ };
1015
+ export type ModifierCreateWithoutModifierOptionInput = {
1016
+ id?: bigint | number;
1017
+ name: string;
1018
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1019
+ description?: string | null;
1020
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1021
+ createdAt?: Date | string;
1022
+ updatedAt?: Date | string;
1023
+ deletedAt?: Date | string | null;
1024
+ matchVariantPrice?: boolean;
1025
+ productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierInput;
1026
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutModifierInput;
1027
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutModifierInput;
1028
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierInput;
1029
+ media?: Prisma.MediaCreateNestedOneWithoutModifiersInput;
1030
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupCreateNestedManyWithoutModifierInput;
1031
+ platform?: Prisma.PlatformCreateNestedOneWithoutModifiersInput;
1032
+ };
1033
+ export type ModifierUncheckedCreateWithoutModifierOptionInput = {
1034
+ id?: bigint | number;
1035
+ name: string;
1036
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1037
+ description?: string | null;
1038
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1039
+ createdAt?: Date | string;
1040
+ updatedAt?: Date | string;
1041
+ deletedAt?: Date | string | null;
1042
+ productVariantId?: bigint | number | null;
1043
+ mediaId?: bigint | number | null;
1044
+ matchVariantPrice?: boolean;
1045
+ platformId?: string | null;
1046
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutModifierInput;
1047
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutModifierInput;
1048
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
1049
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedCreateNestedManyWithoutModifierInput;
1050
+ };
1051
+ export type ModifierCreateOrConnectWithoutModifierOptionInput = {
1052
+ where: Prisma.ModifierWhereUniqueInput;
1053
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutModifierOptionInput, Prisma.ModifierUncheckedCreateWithoutModifierOptionInput>;
1054
+ };
1055
+ export type ModifierUpsertWithoutModifierOptionInput = {
1056
+ update: Prisma.XOR<Prisma.ModifierUpdateWithoutModifierOptionInput, Prisma.ModifierUncheckedUpdateWithoutModifierOptionInput>;
1057
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutModifierOptionInput, Prisma.ModifierUncheckedCreateWithoutModifierOptionInput>;
1058
+ where?: Prisma.ModifierWhereInput;
1059
+ };
1060
+ export type ModifierUpdateToOneWithWhereWithoutModifierOptionInput = {
1061
+ where?: Prisma.ModifierWhereInput;
1062
+ data: Prisma.XOR<Prisma.ModifierUpdateWithoutModifierOptionInput, Prisma.ModifierUncheckedUpdateWithoutModifierOptionInput>;
1063
+ };
1064
+ export type ModifierUpdateWithoutModifierOptionInput = {
1065
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1066
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1067
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1068
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1069
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1070
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1071
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1072
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1073
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1074
+ productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierNestedInput;
1075
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutModifierNestedInput;
1076
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutModifierNestedInput;
1077
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierNestedInput;
1078
+ media?: Prisma.MediaUpdateOneWithoutModifiersNestedInput;
1079
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUpdateManyWithoutModifierNestedInput;
1080
+ platform?: Prisma.PlatformUpdateOneWithoutModifiersNestedInput;
1081
+ };
1082
+ export type ModifierUncheckedUpdateWithoutModifierOptionInput = {
1083
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1084
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1085
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1086
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1087
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1088
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1089
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1090
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1091
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1092
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1093
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1094
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1095
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutModifierNestedInput;
1096
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutModifierNestedInput;
1097
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
1098
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedUpdateManyWithoutModifierNestedInput;
1099
+ };
1100
+ export type ModifierCreateWithoutModifierToModifierGroupInput = {
1101
+ id?: bigint | number;
1102
+ name: string;
1103
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1104
+ description?: string | null;
1105
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1106
+ createdAt?: Date | string;
1107
+ updatedAt?: Date | string;
1108
+ deletedAt?: Date | string | null;
1109
+ matchVariantPrice?: boolean;
1110
+ productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierInput;
1111
+ modifierOption?: Prisma.ModifierOptionCreateNestedManyWithoutModifierInput;
1112
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutModifierInput;
1113
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutModifierInput;
1114
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierInput;
1115
+ media?: Prisma.MediaCreateNestedOneWithoutModifiersInput;
1116
+ platform?: Prisma.PlatformCreateNestedOneWithoutModifiersInput;
1117
+ };
1118
+ export type ModifierUncheckedCreateWithoutModifierToModifierGroupInput = {
1119
+ id?: bigint | number;
1120
+ name: string;
1121
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1122
+ description?: string | null;
1123
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1124
+ createdAt?: Date | string;
1125
+ updatedAt?: Date | string;
1126
+ deletedAt?: Date | string | null;
1127
+ productVariantId?: bigint | number | null;
1128
+ mediaId?: bigint | number | null;
1129
+ matchVariantPrice?: boolean;
1130
+ platformId?: string | null;
1131
+ modifierOption?: Prisma.ModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
1132
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutModifierInput;
1133
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutModifierInput;
1134
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
1135
+ };
1136
+ export type ModifierCreateOrConnectWithoutModifierToModifierGroupInput = {
1137
+ where: Prisma.ModifierWhereUniqueInput;
1138
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutModifierToModifierGroupInput, Prisma.ModifierUncheckedCreateWithoutModifierToModifierGroupInput>;
1139
+ };
1140
+ export type ModifierUpsertWithoutModifierToModifierGroupInput = {
1141
+ update: Prisma.XOR<Prisma.ModifierUpdateWithoutModifierToModifierGroupInput, Prisma.ModifierUncheckedUpdateWithoutModifierToModifierGroupInput>;
1142
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutModifierToModifierGroupInput, Prisma.ModifierUncheckedCreateWithoutModifierToModifierGroupInput>;
1143
+ where?: Prisma.ModifierWhereInput;
1144
+ };
1145
+ export type ModifierUpdateToOneWithWhereWithoutModifierToModifierGroupInput = {
1146
+ where?: Prisma.ModifierWhereInput;
1147
+ data: Prisma.XOR<Prisma.ModifierUpdateWithoutModifierToModifierGroupInput, Prisma.ModifierUncheckedUpdateWithoutModifierToModifierGroupInput>;
1148
+ };
1149
+ export type ModifierUpdateWithoutModifierToModifierGroupInput = {
1150
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1151
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1152
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1153
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1154
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1155
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1156
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1157
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1158
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1159
+ productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierNestedInput;
1160
+ modifierOption?: Prisma.ModifierOptionUpdateManyWithoutModifierNestedInput;
1161
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutModifierNestedInput;
1162
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutModifierNestedInput;
1163
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierNestedInput;
1164
+ media?: Prisma.MediaUpdateOneWithoutModifiersNestedInput;
1165
+ platform?: Prisma.PlatformUpdateOneWithoutModifiersNestedInput;
1166
+ };
1167
+ export type ModifierUncheckedUpdateWithoutModifierToModifierGroupInput = {
1168
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1169
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1170
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1171
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1172
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1173
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1174
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1175
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1176
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1177
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1178
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1179
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1180
+ modifierOption?: Prisma.ModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
1181
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutModifierNestedInput;
1182
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutModifierNestedInput;
1183
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
1184
+ };
1185
+ export type ModifierCreateWithoutPlatformInput = {
1186
+ id?: bigint | number;
1187
+ name: string;
1188
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1189
+ description?: string | null;
1190
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1191
+ createdAt?: Date | string;
1192
+ updatedAt?: Date | string;
1193
+ deletedAt?: Date | string | null;
1194
+ matchVariantPrice?: boolean;
1195
+ productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierInput;
1196
+ modifierOption?: Prisma.ModifierOptionCreateNestedManyWithoutModifierInput;
1197
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutModifierInput;
1198
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutModifierInput;
1199
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierInput;
1200
+ media?: Prisma.MediaCreateNestedOneWithoutModifiersInput;
1201
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupCreateNestedManyWithoutModifierInput;
1202
+ };
1203
+ export type ModifierUncheckedCreateWithoutPlatformInput = {
1204
+ id?: bigint | number;
1205
+ name: string;
1206
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1207
+ description?: string | null;
1208
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1209
+ createdAt?: Date | string;
1210
+ updatedAt?: Date | string;
1211
+ deletedAt?: Date | string | null;
1212
+ productVariantId?: bigint | number | null;
1213
+ mediaId?: bigint | number | null;
1214
+ matchVariantPrice?: boolean;
1215
+ modifierOption?: Prisma.ModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
1216
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutModifierInput;
1217
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutModifierInput;
1218
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
1219
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedCreateNestedManyWithoutModifierInput;
1220
+ };
1221
+ export type ModifierCreateOrConnectWithoutPlatformInput = {
1222
+ where: Prisma.ModifierWhereUniqueInput;
1223
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutPlatformInput, Prisma.ModifierUncheckedCreateWithoutPlatformInput>;
1224
+ };
1225
+ export type ModifierCreateManyPlatformInputEnvelope = {
1226
+ data: Prisma.ModifierCreateManyPlatformInput | Prisma.ModifierCreateManyPlatformInput[];
1227
+ skipDuplicates?: boolean;
1228
+ };
1229
+ export type ModifierUpsertWithWhereUniqueWithoutPlatformInput = {
1230
+ where: Prisma.ModifierWhereUniqueInput;
1231
+ update: Prisma.XOR<Prisma.ModifierUpdateWithoutPlatformInput, Prisma.ModifierUncheckedUpdateWithoutPlatformInput>;
1232
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutPlatformInput, Prisma.ModifierUncheckedCreateWithoutPlatformInput>;
1233
+ };
1234
+ export type ModifierUpdateWithWhereUniqueWithoutPlatformInput = {
1235
+ where: Prisma.ModifierWhereUniqueInput;
1236
+ data: Prisma.XOR<Prisma.ModifierUpdateWithoutPlatformInput, Prisma.ModifierUncheckedUpdateWithoutPlatformInput>;
1237
+ };
1238
+ export type ModifierUpdateManyWithWhereWithoutPlatformInput = {
1239
+ where: Prisma.ModifierScalarWhereInput;
1240
+ data: Prisma.XOR<Prisma.ModifierUpdateManyMutationInput, Prisma.ModifierUncheckedUpdateManyWithoutPlatformInput>;
1241
+ };
1242
+ export type ModifierCreateWithoutProductVariantInput = {
1243
+ id?: bigint | number;
1244
+ name: string;
1245
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1246
+ description?: string | null;
1247
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1248
+ createdAt?: Date | string;
1249
+ updatedAt?: Date | string;
1250
+ deletedAt?: Date | string | null;
1251
+ matchVariantPrice?: boolean;
1252
+ modifierOption?: Prisma.ModifierOptionCreateNestedManyWithoutModifierInput;
1253
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutModifierInput;
1254
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierCreateNestedManyWithoutModifierInput;
1255
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierInput;
1256
+ media?: Prisma.MediaCreateNestedOneWithoutModifiersInput;
1257
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupCreateNestedManyWithoutModifierInput;
1258
+ platform?: Prisma.PlatformCreateNestedOneWithoutModifiersInput;
1259
+ };
1260
+ export type ModifierUncheckedCreateWithoutProductVariantInput = {
1261
+ id?: bigint | number;
1262
+ name: string;
1263
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1264
+ description?: string | null;
1265
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1266
+ createdAt?: Date | string;
1267
+ updatedAt?: Date | string;
1268
+ deletedAt?: Date | string | null;
1269
+ mediaId?: bigint | number | null;
1270
+ matchVariantPrice?: boolean;
1271
+ platformId?: string | null;
1272
+ modifierOption?: Prisma.ModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
1273
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutModifierInput;
1274
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedCreateNestedManyWithoutModifierInput;
1275
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierInput;
1276
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedCreateNestedManyWithoutModifierInput;
1277
+ };
1278
+ export type ModifierCreateOrConnectWithoutProductVariantInput = {
1279
+ where: Prisma.ModifierWhereUniqueInput;
1280
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutProductVariantInput, Prisma.ModifierUncheckedCreateWithoutProductVariantInput>;
1281
+ };
1282
+ export type ModifierCreateManyProductVariantInputEnvelope = {
1283
+ data: Prisma.ModifierCreateManyProductVariantInput | Prisma.ModifierCreateManyProductVariantInput[];
1284
+ skipDuplicates?: boolean;
1285
+ };
1286
+ export type ModifierUpsertWithWhereUniqueWithoutProductVariantInput = {
1287
+ where: Prisma.ModifierWhereUniqueInput;
1288
+ update: Prisma.XOR<Prisma.ModifierUpdateWithoutProductVariantInput, Prisma.ModifierUncheckedUpdateWithoutProductVariantInput>;
1289
+ create: Prisma.XOR<Prisma.ModifierCreateWithoutProductVariantInput, Prisma.ModifierUncheckedCreateWithoutProductVariantInput>;
1290
+ };
1291
+ export type ModifierUpdateWithWhereUniqueWithoutProductVariantInput = {
1292
+ where: Prisma.ModifierWhereUniqueInput;
1293
+ data: Prisma.XOR<Prisma.ModifierUpdateWithoutProductVariantInput, Prisma.ModifierUncheckedUpdateWithoutProductVariantInput>;
1294
+ };
1295
+ export type ModifierUpdateManyWithWhereWithoutProductVariantInput = {
1296
+ where: Prisma.ModifierScalarWhereInput;
1297
+ data: Prisma.XOR<Prisma.ModifierUpdateManyMutationInput, Prisma.ModifierUncheckedUpdateManyWithoutProductVariantInput>;
1298
+ };
1299
+ export type ModifierCreateManyMediaInput = {
1300
+ id?: bigint | number;
1301
+ name: string;
1302
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1303
+ description?: string | null;
1304
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1305
+ createdAt?: Date | string;
1306
+ updatedAt?: Date | string;
1307
+ deletedAt?: Date | string | null;
1308
+ productVariantId?: bigint | number | null;
1309
+ matchVariantPrice?: boolean;
1310
+ platformId?: string | null;
1311
+ };
1312
+ export type ModifierUpdateWithoutMediaInput = {
1313
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1314
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1315
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1316
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1317
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1318
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1319
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1320
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1321
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1322
+ productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierNestedInput;
1323
+ modifierOption?: Prisma.ModifierOptionUpdateManyWithoutModifierNestedInput;
1324
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutModifierNestedInput;
1325
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutModifierNestedInput;
1326
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierNestedInput;
1327
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUpdateManyWithoutModifierNestedInput;
1328
+ platform?: Prisma.PlatformUpdateOneWithoutModifiersNestedInput;
1329
+ };
1330
+ export type ModifierUncheckedUpdateWithoutMediaInput = {
1331
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1332
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1333
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1334
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1335
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1336
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1337
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1338
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1339
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1340
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1341
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1342
+ modifierOption?: Prisma.ModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
1343
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutModifierNestedInput;
1344
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutModifierNestedInput;
1345
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
1346
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedUpdateManyWithoutModifierNestedInput;
1347
+ };
1348
+ export type ModifierUncheckedUpdateManyWithoutMediaInput = {
1349
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1350
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1351
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1352
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1353
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1354
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1355
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1356
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1357
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1358
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1359
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1360
+ };
1361
+ export type ModifierCreateManyPlatformInput = {
1362
+ id?: bigint | number;
1363
+ name: string;
1364
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1365
+ description?: string | null;
1366
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1367
+ createdAt?: Date | string;
1368
+ updatedAt?: Date | string;
1369
+ deletedAt?: Date | string | null;
1370
+ productVariantId?: bigint | number | null;
1371
+ mediaId?: bigint | number | null;
1372
+ matchVariantPrice?: boolean;
1373
+ };
1374
+ export type ModifierUpdateWithoutPlatformInput = {
1375
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1376
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1377
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1378
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1379
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1380
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1381
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1382
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1383
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1384
+ productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierNestedInput;
1385
+ modifierOption?: Prisma.ModifierOptionUpdateManyWithoutModifierNestedInput;
1386
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutModifierNestedInput;
1387
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutModifierNestedInput;
1388
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierNestedInput;
1389
+ media?: Prisma.MediaUpdateOneWithoutModifiersNestedInput;
1390
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUpdateManyWithoutModifierNestedInput;
1391
+ };
1392
+ export type ModifierUncheckedUpdateWithoutPlatformInput = {
1393
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1394
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1395
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1396
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1397
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1398
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1399
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1400
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1401
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1402
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1403
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1404
+ modifierOption?: Prisma.ModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
1405
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutModifierNestedInput;
1406
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutModifierNestedInput;
1407
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
1408
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedUpdateManyWithoutModifierNestedInput;
1409
+ };
1410
+ export type ModifierUncheckedUpdateManyWithoutPlatformInput = {
1411
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1412
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1413
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1414
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1415
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1416
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1417
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1418
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1419
+ productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1420
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1421
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1422
+ };
1423
+ export type ModifierCreateManyProductVariantInput = {
1424
+ id?: bigint | number;
1425
+ name: string;
1426
+ price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1427
+ description?: string | null;
1428
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1429
+ createdAt?: Date | string;
1430
+ updatedAt?: Date | string;
1431
+ deletedAt?: Date | string | null;
1432
+ mediaId?: bigint | number | null;
1433
+ matchVariantPrice?: boolean;
1434
+ platformId?: string | null;
1435
+ };
1436
+ export type ModifierUpdateWithoutProductVariantInput = {
1437
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1438
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1439
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1440
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1441
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1442
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1443
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1444
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1445
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1446
+ modifierOption?: Prisma.ModifierOptionUpdateManyWithoutModifierNestedInput;
1447
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutModifierNestedInput;
1448
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUpdateManyWithoutModifierNestedInput;
1449
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierNestedInput;
1450
+ media?: Prisma.MediaUpdateOneWithoutModifiersNestedInput;
1451
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUpdateManyWithoutModifierNestedInput;
1452
+ platform?: Prisma.PlatformUpdateOneWithoutModifiersNestedInput;
1453
+ };
1454
+ export type ModifierUncheckedUpdateWithoutProductVariantInput = {
1455
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1456
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1457
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1458
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1459
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1460
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1461
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1462
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1463
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1464
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1465
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1466
+ modifierOption?: Prisma.ModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
1467
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutModifierNestedInput;
1468
+ CheckoutLinesModifier?: Prisma.CheckoutLinesModifierUncheckedUpdateManyWithoutModifierNestedInput;
1469
+ CheckoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierNestedInput;
1470
+ modifierToModifierGroup?: Prisma.ModifierToModifierGroupUncheckedUpdateManyWithoutModifierNestedInput;
1471
+ };
1472
+ export type ModifierUncheckedUpdateManyWithoutProductVariantInput = {
1473
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1474
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
1475
+ price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
1476
+ description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1477
+ attributes?: unknown | Prisma.NullableJsonNullValueInput;
1478
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1479
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1480
+ deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1481
+ mediaId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1482
+ matchVariantPrice?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1483
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1484
+ };
1485
+ /**
1486
+ * Count Type ModifierCountOutputType
1487
+ */
1488
+ export type ModifierCountOutputType = {
1489
+ modifierOption: number;
1490
+ cartLineModifier: number;
1491
+ CheckoutLinesModifier: number;
1492
+ CheckoutLineModifierOption: number;
1493
+ modifierToModifierGroup: number;
1494
+ };
1495
+ export type ModifierCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1496
+ modifierOption?: boolean | ModifierCountOutputTypeCountModifierOptionArgs;
1497
+ cartLineModifier?: boolean | ModifierCountOutputTypeCountCartLineModifierArgs;
1498
+ CheckoutLinesModifier?: boolean | ModifierCountOutputTypeCountCheckoutLinesModifierArgs;
1499
+ CheckoutLineModifierOption?: boolean | ModifierCountOutputTypeCountCheckoutLineModifierOptionArgs;
1500
+ modifierToModifierGroup?: boolean | ModifierCountOutputTypeCountModifierToModifierGroupArgs;
1501
+ };
1502
+ /**
1503
+ * ModifierCountOutputType without action
1504
+ */
1505
+ export type ModifierCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1506
+ /**
1507
+ * Select specific fields to fetch from the ModifierCountOutputType
1508
+ */
1509
+ select?: Prisma.ModifierCountOutputTypeSelect<ExtArgs> | null;
1510
+ };
1511
+ /**
1512
+ * ModifierCountOutputType without action
1513
+ */
1514
+ export type ModifierCountOutputTypeCountModifierOptionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1515
+ where?: Prisma.ModifierOptionWhereInput;
1516
+ };
1517
+ /**
1518
+ * ModifierCountOutputType without action
1519
+ */
1520
+ export type ModifierCountOutputTypeCountCartLineModifierArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1521
+ where?: Prisma.CartLineModifierWhereInput;
1522
+ };
1523
+ /**
1524
+ * ModifierCountOutputType without action
1525
+ */
1526
+ export type ModifierCountOutputTypeCountCheckoutLinesModifierArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1527
+ where?: Prisma.CheckoutLinesModifierWhereInput;
1528
+ };
1529
+ /**
1530
+ * ModifierCountOutputType without action
1531
+ */
1532
+ export type ModifierCountOutputTypeCountCheckoutLineModifierOptionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1533
+ where?: Prisma.CheckoutLineModifierOptionWhereInput;
1534
+ };
1535
+ /**
1536
+ * ModifierCountOutputType without action
1537
+ */
1538
+ export type ModifierCountOutputTypeCountModifierToModifierGroupArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1539
+ where?: Prisma.ModifierToModifierGroupWhereInput;
1540
+ };
1541
+ export type ModifierSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1542
+ id?: boolean;
1543
+ name?: boolean;
1544
+ price?: boolean;
1545
+ description?: boolean;
1546
+ attributes?: boolean;
1547
+ createdAt?: boolean;
1548
+ updatedAt?: boolean;
1549
+ deletedAt?: boolean;
1550
+ productVariantId?: boolean;
1551
+ mediaId?: boolean;
1552
+ matchVariantPrice?: boolean;
1553
+ platformId?: boolean;
1554
+ productVariant?: boolean | Prisma.Modifier$productVariantArgs<ExtArgs>;
1555
+ modifierOption?: boolean | Prisma.Modifier$modifierOptionArgs<ExtArgs>;
1556
+ cartLineModifier?: boolean | Prisma.Modifier$cartLineModifierArgs<ExtArgs>;
1557
+ CheckoutLinesModifier?: boolean | Prisma.Modifier$CheckoutLinesModifierArgs<ExtArgs>;
1558
+ CheckoutLineModifierOption?: boolean | Prisma.Modifier$CheckoutLineModifierOptionArgs<ExtArgs>;
1559
+ media?: boolean | Prisma.Modifier$mediaArgs<ExtArgs>;
1560
+ modifierToModifierGroup?: boolean | Prisma.Modifier$modifierToModifierGroupArgs<ExtArgs>;
1561
+ platform?: boolean | Prisma.Modifier$platformArgs<ExtArgs>;
1562
+ _count?: boolean | Prisma.ModifierCountOutputTypeDefaultArgs<ExtArgs>;
1563
+ }, ExtArgs["result"]["modifier"]>;
1564
+ export type ModifierSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1565
+ id?: boolean;
1566
+ name?: boolean;
1567
+ price?: boolean;
1568
+ description?: boolean;
1569
+ attributes?: boolean;
1570
+ createdAt?: boolean;
1571
+ updatedAt?: boolean;
1572
+ deletedAt?: boolean;
1573
+ productVariantId?: boolean;
1574
+ mediaId?: boolean;
1575
+ matchVariantPrice?: boolean;
1576
+ platformId?: boolean;
1577
+ productVariant?: boolean | Prisma.Modifier$productVariantArgs<ExtArgs>;
1578
+ media?: boolean | Prisma.Modifier$mediaArgs<ExtArgs>;
1579
+ platform?: boolean | Prisma.Modifier$platformArgs<ExtArgs>;
1580
+ }, ExtArgs["result"]["modifier"]>;
1581
+ export type ModifierSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1582
+ id?: boolean;
1583
+ name?: boolean;
1584
+ price?: boolean;
1585
+ description?: boolean;
1586
+ attributes?: boolean;
1587
+ createdAt?: boolean;
1588
+ updatedAt?: boolean;
1589
+ deletedAt?: boolean;
1590
+ productVariantId?: boolean;
1591
+ mediaId?: boolean;
1592
+ matchVariantPrice?: boolean;
1593
+ platformId?: boolean;
1594
+ productVariant?: boolean | Prisma.Modifier$productVariantArgs<ExtArgs>;
1595
+ media?: boolean | Prisma.Modifier$mediaArgs<ExtArgs>;
1596
+ platform?: boolean | Prisma.Modifier$platformArgs<ExtArgs>;
1597
+ }, ExtArgs["result"]["modifier"]>;
1598
+ export type ModifierSelectScalar = {
1599
+ id?: boolean;
1600
+ name?: boolean;
1601
+ price?: boolean;
1602
+ description?: boolean;
1603
+ attributes?: boolean;
1604
+ createdAt?: boolean;
1605
+ updatedAt?: boolean;
1606
+ deletedAt?: boolean;
1607
+ productVariantId?: boolean;
1608
+ mediaId?: boolean;
1609
+ matchVariantPrice?: boolean;
1610
+ platformId?: boolean;
1611
+ };
1612
+ export type ModifierOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "name" | "price" | "description" | "attributes" | "createdAt" | "updatedAt" | "deletedAt" | "productVariantId" | "mediaId" | "matchVariantPrice" | "platformId", ExtArgs["result"]["modifier"]>;
1613
+ export type ModifierInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1614
+ productVariant?: boolean | Prisma.Modifier$productVariantArgs<ExtArgs>;
1615
+ modifierOption?: boolean | Prisma.Modifier$modifierOptionArgs<ExtArgs>;
1616
+ cartLineModifier?: boolean | Prisma.Modifier$cartLineModifierArgs<ExtArgs>;
1617
+ CheckoutLinesModifier?: boolean | Prisma.Modifier$CheckoutLinesModifierArgs<ExtArgs>;
1618
+ CheckoutLineModifierOption?: boolean | Prisma.Modifier$CheckoutLineModifierOptionArgs<ExtArgs>;
1619
+ media?: boolean | Prisma.Modifier$mediaArgs<ExtArgs>;
1620
+ modifierToModifierGroup?: boolean | Prisma.Modifier$modifierToModifierGroupArgs<ExtArgs>;
1621
+ platform?: boolean | Prisma.Modifier$platformArgs<ExtArgs>;
1622
+ _count?: boolean | Prisma.ModifierCountOutputTypeDefaultArgs<ExtArgs>;
1623
+ };
1624
+ export type ModifierIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1625
+ productVariant?: boolean | Prisma.Modifier$productVariantArgs<ExtArgs>;
1626
+ media?: boolean | Prisma.Modifier$mediaArgs<ExtArgs>;
1627
+ platform?: boolean | Prisma.Modifier$platformArgs<ExtArgs>;
1628
+ };
1629
+ export type ModifierIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1630
+ productVariant?: boolean | Prisma.Modifier$productVariantArgs<ExtArgs>;
1631
+ media?: boolean | Prisma.Modifier$mediaArgs<ExtArgs>;
1632
+ platform?: boolean | Prisma.Modifier$platformArgs<ExtArgs>;
1633
+ };
1634
+ export type $ModifierPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1635
+ name: "Modifier";
1636
+ objects: {
1637
+ productVariant: Prisma.$ProductVariantPayload<ExtArgs> | null;
1638
+ modifierOption: Prisma.$ModifierOptionPayload<ExtArgs>[];
1639
+ cartLineModifier: Prisma.$CartLineModifierPayload<ExtArgs>[];
1640
+ CheckoutLinesModifier: Prisma.$CheckoutLinesModifierPayload<ExtArgs>[];
1641
+ CheckoutLineModifierOption: Prisma.$CheckoutLineModifierOptionPayload<ExtArgs>[];
1642
+ media: Prisma.$MediaPayload<ExtArgs> | null;
1643
+ modifierToModifierGroup: Prisma.$ModifierToModifierGroupPayload<ExtArgs>[];
1644
+ platform: Prisma.$PlatformPayload<ExtArgs> | null;
1645
+ };
1646
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1647
+ id: bigint;
1648
+ name: string;
1649
+ price: runtime.Decimal | null;
1650
+ description: string | null;
1651
+ attributes: unknown | null;
1652
+ createdAt: Date;
1653
+ updatedAt: Date;
1654
+ deletedAt: Date | null;
1655
+ productVariantId: bigint | null;
1656
+ mediaId: bigint | null;
1657
+ matchVariantPrice: boolean;
1658
+ platformId: string | null;
1659
+ }, ExtArgs["result"]["modifier"]>;
1660
+ composites: {};
1661
+ };
1662
+ export type ModifierGetPayload<S extends boolean | null | undefined | ModifierDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ModifierPayload, S>;
1663
+ export type ModifierCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ModifierFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1664
+ select?: ModifierCountAggregateInputType | true;
1665
+ };
1666
+ export interface ModifierDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1667
+ [K: symbol]: {
1668
+ types: Prisma.TypeMap<ExtArgs>['model']['Modifier'];
1669
+ meta: {
1670
+ name: 'Modifier';
1671
+ };
1672
+ };
1673
+ /**
1674
+ * Find zero or one Modifier that matches the filter.
1675
+ * @param {ModifierFindUniqueArgs} args - Arguments to find a Modifier
1676
+ * @example
1677
+ * // Get one Modifier
1678
+ * const modifier = await prisma.modifier.findUnique({
1679
+ * where: {
1680
+ * // ... provide filter here
1681
+ * }
1682
+ * })
1683
+ */
1684
+ findUnique<T extends ModifierFindUniqueArgs>(args: Prisma.SelectSubset<T, ModifierFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1685
+ /**
1686
+ * Find one Modifier that matches the filter or throw an error with `error.code='P2025'`
1687
+ * if no matches were found.
1688
+ * @param {ModifierFindUniqueOrThrowArgs} args - Arguments to find a Modifier
1689
+ * @example
1690
+ * // Get one Modifier
1691
+ * const modifier = await prisma.modifier.findUniqueOrThrow({
1692
+ * where: {
1693
+ * // ... provide filter here
1694
+ * }
1695
+ * })
1696
+ */
1697
+ findUniqueOrThrow<T extends ModifierFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ModifierFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1698
+ /**
1699
+ * Find the first Modifier that matches the filter.
1700
+ * Note, that providing `undefined` is treated as the value not being there.
1701
+ * Read more here: https://pris.ly/d/null-undefined
1702
+ * @param {ModifierFindFirstArgs} args - Arguments to find a Modifier
1703
+ * @example
1704
+ * // Get one Modifier
1705
+ * const modifier = await prisma.modifier.findFirst({
1706
+ * where: {
1707
+ * // ... provide filter here
1708
+ * }
1709
+ * })
1710
+ */
1711
+ findFirst<T extends ModifierFindFirstArgs>(args?: Prisma.SelectSubset<T, ModifierFindFirstArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1712
+ /**
1713
+ * Find the first Modifier that matches the filter or
1714
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1715
+ * Note, that providing `undefined` is treated as the value not being there.
1716
+ * Read more here: https://pris.ly/d/null-undefined
1717
+ * @param {ModifierFindFirstOrThrowArgs} args - Arguments to find a Modifier
1718
+ * @example
1719
+ * // Get one Modifier
1720
+ * const modifier = await prisma.modifier.findFirstOrThrow({
1721
+ * where: {
1722
+ * // ... provide filter here
1723
+ * }
1724
+ * })
1725
+ */
1726
+ findFirstOrThrow<T extends ModifierFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ModifierFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1727
+ /**
1728
+ * Find zero or more Modifiers that matches the filter.
1729
+ * Note, that providing `undefined` is treated as the value not being there.
1730
+ * Read more here: https://pris.ly/d/null-undefined
1731
+ * @param {ModifierFindManyArgs} args - Arguments to filter and select certain fields only.
1732
+ * @example
1733
+ * // Get all Modifiers
1734
+ * const modifiers = await prisma.modifier.findMany()
1735
+ *
1736
+ * // Get first 10 Modifiers
1737
+ * const modifiers = await prisma.modifier.findMany({ take: 10 })
1738
+ *
1739
+ * // Only select the `id`
1740
+ * const modifierWithIdOnly = await prisma.modifier.findMany({ select: { id: true } })
1741
+ *
1742
+ */
1743
+ findMany<T extends ModifierFindManyArgs>(args?: Prisma.SelectSubset<T, ModifierFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1744
+ /**
1745
+ * Create a Modifier.
1746
+ * @param {ModifierCreateArgs} args - Arguments to create a Modifier.
1747
+ * @example
1748
+ * // Create one Modifier
1749
+ * const Modifier = await prisma.modifier.create({
1750
+ * data: {
1751
+ * // ... data to create a Modifier
1752
+ * }
1753
+ * })
1754
+ *
1755
+ */
1756
+ create<T extends ModifierCreateArgs>(args: Prisma.SelectSubset<T, ModifierCreateArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1757
+ /**
1758
+ * Create many Modifiers.
1759
+ * @param {ModifierCreateManyArgs} args - Arguments to create many Modifiers.
1760
+ * @example
1761
+ * // Create many Modifiers
1762
+ * const modifier = await prisma.modifier.createMany({
1763
+ * data: [
1764
+ * // ... provide data here
1765
+ * ]
1766
+ * })
1767
+ *
1768
+ */
1769
+ createMany<T extends ModifierCreateManyArgs>(args?: Prisma.SelectSubset<T, ModifierCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1770
+ /**
1771
+ * Create many Modifiers and returns the data saved in the database.
1772
+ * @param {ModifierCreateManyAndReturnArgs} args - Arguments to create many Modifiers.
1773
+ * @example
1774
+ * // Create many Modifiers
1775
+ * const modifier = await prisma.modifier.createManyAndReturn({
1776
+ * data: [
1777
+ * // ... provide data here
1778
+ * ]
1779
+ * })
1780
+ *
1781
+ * // Create many Modifiers and only return the `id`
1782
+ * const modifierWithIdOnly = await prisma.modifier.createManyAndReturn({
1783
+ * select: { id: true },
1784
+ * data: [
1785
+ * // ... provide data here
1786
+ * ]
1787
+ * })
1788
+ * Note, that providing `undefined` is treated as the value not being there.
1789
+ * Read more here: https://pris.ly/d/null-undefined
1790
+ *
1791
+ */
1792
+ createManyAndReturn<T extends ModifierCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ModifierCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1793
+ /**
1794
+ * Delete a Modifier.
1795
+ * @param {ModifierDeleteArgs} args - Arguments to delete one Modifier.
1796
+ * @example
1797
+ * // Delete one Modifier
1798
+ * const Modifier = await prisma.modifier.delete({
1799
+ * where: {
1800
+ * // ... filter to delete one Modifier
1801
+ * }
1802
+ * })
1803
+ *
1804
+ */
1805
+ delete<T extends ModifierDeleteArgs>(args: Prisma.SelectSubset<T, ModifierDeleteArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1806
+ /**
1807
+ * Update one Modifier.
1808
+ * @param {ModifierUpdateArgs} args - Arguments to update one Modifier.
1809
+ * @example
1810
+ * // Update one Modifier
1811
+ * const modifier = await prisma.modifier.update({
1812
+ * where: {
1813
+ * // ... provide filter here
1814
+ * },
1815
+ * data: {
1816
+ * // ... provide data here
1817
+ * }
1818
+ * })
1819
+ *
1820
+ */
1821
+ update<T extends ModifierUpdateArgs>(args: Prisma.SelectSubset<T, ModifierUpdateArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1822
+ /**
1823
+ * Delete zero or more Modifiers.
1824
+ * @param {ModifierDeleteManyArgs} args - Arguments to filter Modifiers to delete.
1825
+ * @example
1826
+ * // Delete a few Modifiers
1827
+ * const { count } = await prisma.modifier.deleteMany({
1828
+ * where: {
1829
+ * // ... provide filter here
1830
+ * }
1831
+ * })
1832
+ *
1833
+ */
1834
+ deleteMany<T extends ModifierDeleteManyArgs>(args?: Prisma.SelectSubset<T, ModifierDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1835
+ /**
1836
+ * Update zero or more Modifiers.
1837
+ * Note, that providing `undefined` is treated as the value not being there.
1838
+ * Read more here: https://pris.ly/d/null-undefined
1839
+ * @param {ModifierUpdateManyArgs} args - Arguments to update one or more rows.
1840
+ * @example
1841
+ * // Update many Modifiers
1842
+ * const modifier = await prisma.modifier.updateMany({
1843
+ * where: {
1844
+ * // ... provide filter here
1845
+ * },
1846
+ * data: {
1847
+ * // ... provide data here
1848
+ * }
1849
+ * })
1850
+ *
1851
+ */
1852
+ updateMany<T extends ModifierUpdateManyArgs>(args: Prisma.SelectSubset<T, ModifierUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1853
+ /**
1854
+ * Update zero or more Modifiers and returns the data updated in the database.
1855
+ * @param {ModifierUpdateManyAndReturnArgs} args - Arguments to update many Modifiers.
1856
+ * @example
1857
+ * // Update many Modifiers
1858
+ * const modifier = await prisma.modifier.updateManyAndReturn({
1859
+ * where: {
1860
+ * // ... provide filter here
1861
+ * },
1862
+ * data: [
1863
+ * // ... provide data here
1864
+ * ]
1865
+ * })
1866
+ *
1867
+ * // Update zero or more Modifiers and only return the `id`
1868
+ * const modifierWithIdOnly = await prisma.modifier.updateManyAndReturn({
1869
+ * select: { id: true },
1870
+ * where: {
1871
+ * // ... provide filter here
1872
+ * },
1873
+ * data: [
1874
+ * // ... provide data here
1875
+ * ]
1876
+ * })
1877
+ * Note, that providing `undefined` is treated as the value not being there.
1878
+ * Read more here: https://pris.ly/d/null-undefined
1879
+ *
1880
+ */
1881
+ updateManyAndReturn<T extends ModifierUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ModifierUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1882
+ /**
1883
+ * Create or update one Modifier.
1884
+ * @param {ModifierUpsertArgs} args - Arguments to update or create a Modifier.
1885
+ * @example
1886
+ * // Update or create a Modifier
1887
+ * const modifier = await prisma.modifier.upsert({
1888
+ * create: {
1889
+ * // ... data to create a Modifier
1890
+ * },
1891
+ * update: {
1892
+ * // ... in case it already exists, update
1893
+ * },
1894
+ * where: {
1895
+ * // ... the filter for the Modifier we want to update
1896
+ * }
1897
+ * })
1898
+ */
1899
+ upsert<T extends ModifierUpsertArgs>(args: Prisma.SelectSubset<T, ModifierUpsertArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1900
+ /**
1901
+ * Count the number of Modifiers.
1902
+ * Note, that providing `undefined` is treated as the value not being there.
1903
+ * Read more here: https://pris.ly/d/null-undefined
1904
+ * @param {ModifierCountArgs} args - Arguments to filter Modifiers to count.
1905
+ * @example
1906
+ * // Count the number of Modifiers
1907
+ * const count = await prisma.modifier.count({
1908
+ * where: {
1909
+ * // ... the filter for the Modifiers we want to count
1910
+ * }
1911
+ * })
1912
+ **/
1913
+ count<T extends ModifierCountArgs>(args?: Prisma.Subset<T, ModifierCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ModifierCountAggregateOutputType> : number>;
1914
+ /**
1915
+ * Allows you to perform aggregations operations on a Modifier.
1916
+ * Note, that providing `undefined` is treated as the value not being there.
1917
+ * Read more here: https://pris.ly/d/null-undefined
1918
+ * @param {ModifierAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1919
+ * @example
1920
+ * // Ordered by age ascending
1921
+ * // Where email contains prisma.io
1922
+ * // Limited to the 10 users
1923
+ * const aggregations = await prisma.user.aggregate({
1924
+ * _avg: {
1925
+ * age: true,
1926
+ * },
1927
+ * where: {
1928
+ * email: {
1929
+ * contains: "prisma.io",
1930
+ * },
1931
+ * },
1932
+ * orderBy: {
1933
+ * age: "asc",
1934
+ * },
1935
+ * take: 10,
1936
+ * })
1937
+ **/
1938
+ aggregate<T extends ModifierAggregateArgs>(args: Prisma.Subset<T, ModifierAggregateArgs>): Prisma.PrismaPromise<GetModifierAggregateType<T>>;
1939
+ /**
1940
+ * Group by Modifier.
1941
+ * Note, that providing `undefined` is treated as the value not being there.
1942
+ * Read more here: https://pris.ly/d/null-undefined
1943
+ * @param {ModifierGroupByArgs} args - Group by arguments.
1944
+ * @example
1945
+ * // Group by city, order by createdAt, get count
1946
+ * const result = await prisma.user.groupBy({
1947
+ * by: ['city', 'createdAt'],
1948
+ * orderBy: {
1949
+ * createdAt: true
1950
+ * },
1951
+ * _count: {
1952
+ * _all: true
1953
+ * },
1954
+ * })
1955
+ *
1956
+ **/
1957
+ groupBy<T extends ModifierGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1958
+ orderBy: ModifierGroupByArgs['orderBy'];
1959
+ } : {
1960
+ orderBy?: ModifierGroupByArgs['orderBy'];
1961
+ }, 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 ? {
1962
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1963
+ Error,
1964
+ 'Field ',
1965
+ P,
1966
+ ` in "having" needs to be provided in "by"`
1967
+ ];
1968
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1969
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1970
+ }[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 ? {} : {
1971
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1972
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1973
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1974
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ModifierGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModifierGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1975
+ /**
1976
+ * Fields of the Modifier model
1977
+ */
1978
+ readonly fields: ModifierFieldRefs;
1979
+ }
1980
+ /**
1981
+ * The delegate class that acts as a "Promise-like" for Modifier.
1982
+ * Why is this prefixed with `Prisma__`?
1983
+ * Because we want to prevent naming conflicts as mentioned in
1984
+ * https://github.com/prisma/prisma-client-js/issues/707
1985
+ */
1986
+ export interface Prisma__ModifierClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1987
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1988
+ productVariant<T extends Prisma.Modifier$productVariantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Modifier$productVariantArgs<ExtArgs>>): Prisma.Prisma__ProductVariantClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1989
+ modifierOption<T extends Prisma.Modifier$modifierOptionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Modifier$modifierOptionArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1990
+ cartLineModifier<T extends Prisma.Modifier$cartLineModifierArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Modifier$cartLineModifierArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CartLineModifierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1991
+ CheckoutLinesModifier<T extends Prisma.Modifier$CheckoutLinesModifierArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Modifier$CheckoutLinesModifierArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutLinesModifierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1992
+ CheckoutLineModifierOption<T extends Prisma.Modifier$CheckoutLineModifierOptionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Modifier$CheckoutLineModifierOptionArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutLineModifierOptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1993
+ media<T extends Prisma.Modifier$mediaArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Modifier$mediaArgs<ExtArgs>>): Prisma.Prisma__MediaClient<runtime.Types.Result.GetResult<Prisma.$MediaPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1994
+ modifierToModifierGroup<T extends Prisma.Modifier$modifierToModifierGroupArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Modifier$modifierToModifierGroupArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierToModifierGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1995
+ platform<T extends Prisma.Modifier$platformArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Modifier$platformArgs<ExtArgs>>): Prisma.Prisma__PlatformClient<runtime.Types.Result.GetResult<Prisma.$PlatformPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1996
+ /**
1997
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1998
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1999
+ * @param onrejected The callback to execute when the Promise is rejected.
2000
+ * @returns A Promise for the completion of which ever callback is executed.
2001
+ */
2002
+ 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>;
2003
+ /**
2004
+ * Attaches a callback for only the rejection of the Promise.
2005
+ * @param onrejected The callback to execute when the Promise is rejected.
2006
+ * @returns A Promise for the completion of the callback.
2007
+ */
2008
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
2009
+ /**
2010
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2011
+ * resolved value cannot be modified from the callback.
2012
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2013
+ * @returns A Promise for the completion of the callback.
2014
+ */
2015
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
2016
+ }
2017
+ /**
2018
+ * Fields of the Modifier model
2019
+ */
2020
+ export interface ModifierFieldRefs {
2021
+ readonly id: Prisma.FieldRef<"Modifier", 'BigInt'>;
2022
+ readonly name: Prisma.FieldRef<"Modifier", 'String'>;
2023
+ readonly price: Prisma.FieldRef<"Modifier", 'Decimal'>;
2024
+ readonly description: Prisma.FieldRef<"Modifier", 'String'>;
2025
+ readonly attributes: Prisma.FieldRef<"Modifier", 'Json'>;
2026
+ readonly createdAt: Prisma.FieldRef<"Modifier", 'DateTime'>;
2027
+ readonly updatedAt: Prisma.FieldRef<"Modifier", 'DateTime'>;
2028
+ readonly deletedAt: Prisma.FieldRef<"Modifier", 'DateTime'>;
2029
+ readonly productVariantId: Prisma.FieldRef<"Modifier", 'BigInt'>;
2030
+ readonly mediaId: Prisma.FieldRef<"Modifier", 'BigInt'>;
2031
+ readonly matchVariantPrice: Prisma.FieldRef<"Modifier", 'Boolean'>;
2032
+ readonly platformId: Prisma.FieldRef<"Modifier", 'String'>;
2033
+ }
2034
+ /**
2035
+ * Modifier findUnique
2036
+ */
2037
+ export type ModifierFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2038
+ /**
2039
+ * Select specific fields to fetch from the Modifier
2040
+ */
2041
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2042
+ /**
2043
+ * Omit specific fields from the Modifier
2044
+ */
2045
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2046
+ /**
2047
+ * Choose, which related nodes to fetch as well
2048
+ */
2049
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2050
+ /**
2051
+ * Filter, which Modifier to fetch.
2052
+ */
2053
+ where: Prisma.ModifierWhereUniqueInput;
2054
+ };
2055
+ /**
2056
+ * Modifier findUniqueOrThrow
2057
+ */
2058
+ export type ModifierFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2059
+ /**
2060
+ * Select specific fields to fetch from the Modifier
2061
+ */
2062
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2063
+ /**
2064
+ * Omit specific fields from the Modifier
2065
+ */
2066
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2067
+ /**
2068
+ * Choose, which related nodes to fetch as well
2069
+ */
2070
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2071
+ /**
2072
+ * Filter, which Modifier to fetch.
2073
+ */
2074
+ where: Prisma.ModifierWhereUniqueInput;
2075
+ };
2076
+ /**
2077
+ * Modifier findFirst
2078
+ */
2079
+ export type ModifierFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2080
+ /**
2081
+ * Select specific fields to fetch from the Modifier
2082
+ */
2083
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2084
+ /**
2085
+ * Omit specific fields from the Modifier
2086
+ */
2087
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2088
+ /**
2089
+ * Choose, which related nodes to fetch as well
2090
+ */
2091
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2092
+ /**
2093
+ * Filter, which Modifier to fetch.
2094
+ */
2095
+ where?: Prisma.ModifierWhereInput;
2096
+ /**
2097
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2098
+ *
2099
+ * Determine the order of Modifiers to fetch.
2100
+ */
2101
+ orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
2102
+ /**
2103
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2104
+ *
2105
+ * Sets the position for searching for Modifiers.
2106
+ */
2107
+ cursor?: Prisma.ModifierWhereUniqueInput;
2108
+ /**
2109
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2110
+ *
2111
+ * Take `±n` Modifiers from the position of the cursor.
2112
+ */
2113
+ take?: number;
2114
+ /**
2115
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2116
+ *
2117
+ * Skip the first `n` Modifiers.
2118
+ */
2119
+ skip?: number;
2120
+ /**
2121
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2122
+ *
2123
+ * Filter by unique combinations of Modifiers.
2124
+ */
2125
+ distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
2126
+ };
2127
+ /**
2128
+ * Modifier findFirstOrThrow
2129
+ */
2130
+ export type ModifierFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2131
+ /**
2132
+ * Select specific fields to fetch from the Modifier
2133
+ */
2134
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2135
+ /**
2136
+ * Omit specific fields from the Modifier
2137
+ */
2138
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2139
+ /**
2140
+ * Choose, which related nodes to fetch as well
2141
+ */
2142
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2143
+ /**
2144
+ * Filter, which Modifier to fetch.
2145
+ */
2146
+ where?: Prisma.ModifierWhereInput;
2147
+ /**
2148
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2149
+ *
2150
+ * Determine the order of Modifiers to fetch.
2151
+ */
2152
+ orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
2153
+ /**
2154
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2155
+ *
2156
+ * Sets the position for searching for Modifiers.
2157
+ */
2158
+ cursor?: Prisma.ModifierWhereUniqueInput;
2159
+ /**
2160
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2161
+ *
2162
+ * Take `±n` Modifiers from the position of the cursor.
2163
+ */
2164
+ take?: number;
2165
+ /**
2166
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2167
+ *
2168
+ * Skip the first `n` Modifiers.
2169
+ */
2170
+ skip?: number;
2171
+ /**
2172
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2173
+ *
2174
+ * Filter by unique combinations of Modifiers.
2175
+ */
2176
+ distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
2177
+ };
2178
+ /**
2179
+ * Modifier findMany
2180
+ */
2181
+ export type ModifierFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2182
+ /**
2183
+ * Select specific fields to fetch from the Modifier
2184
+ */
2185
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2186
+ /**
2187
+ * Omit specific fields from the Modifier
2188
+ */
2189
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2190
+ /**
2191
+ * Choose, which related nodes to fetch as well
2192
+ */
2193
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2194
+ /**
2195
+ * Filter, which Modifiers to fetch.
2196
+ */
2197
+ where?: Prisma.ModifierWhereInput;
2198
+ /**
2199
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2200
+ *
2201
+ * Determine the order of Modifiers to fetch.
2202
+ */
2203
+ orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
2204
+ /**
2205
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2206
+ *
2207
+ * Sets the position for listing Modifiers.
2208
+ */
2209
+ cursor?: Prisma.ModifierWhereUniqueInput;
2210
+ /**
2211
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2212
+ *
2213
+ * Take `±n` Modifiers from the position of the cursor.
2214
+ */
2215
+ take?: number;
2216
+ /**
2217
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2218
+ *
2219
+ * Skip the first `n` Modifiers.
2220
+ */
2221
+ skip?: number;
2222
+ distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
2223
+ };
2224
+ /**
2225
+ * Modifier create
2226
+ */
2227
+ export type ModifierCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2228
+ /**
2229
+ * Select specific fields to fetch from the Modifier
2230
+ */
2231
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2232
+ /**
2233
+ * Omit specific fields from the Modifier
2234
+ */
2235
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2236
+ /**
2237
+ * Choose, which related nodes to fetch as well
2238
+ */
2239
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2240
+ /**
2241
+ * The data needed to create a Modifier.
2242
+ */
2243
+ data: Prisma.XOR<Prisma.ModifierCreateInput, Prisma.ModifierUncheckedCreateInput>;
2244
+ };
2245
+ /**
2246
+ * Modifier createMany
2247
+ */
2248
+ export type ModifierCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2249
+ /**
2250
+ * The data used to create many Modifiers.
2251
+ */
2252
+ data: Prisma.ModifierCreateManyInput | Prisma.ModifierCreateManyInput[];
2253
+ skipDuplicates?: boolean;
2254
+ };
2255
+ /**
2256
+ * Modifier createManyAndReturn
2257
+ */
2258
+ export type ModifierCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2259
+ /**
2260
+ * Select specific fields to fetch from the Modifier
2261
+ */
2262
+ select?: Prisma.ModifierSelectCreateManyAndReturn<ExtArgs> | null;
2263
+ /**
2264
+ * Omit specific fields from the Modifier
2265
+ */
2266
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2267
+ /**
2268
+ * The data used to create many Modifiers.
2269
+ */
2270
+ data: Prisma.ModifierCreateManyInput | Prisma.ModifierCreateManyInput[];
2271
+ skipDuplicates?: boolean;
2272
+ /**
2273
+ * Choose, which related nodes to fetch as well
2274
+ */
2275
+ include?: Prisma.ModifierIncludeCreateManyAndReturn<ExtArgs> | null;
2276
+ };
2277
+ /**
2278
+ * Modifier update
2279
+ */
2280
+ export type ModifierUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2281
+ /**
2282
+ * Select specific fields to fetch from the Modifier
2283
+ */
2284
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2285
+ /**
2286
+ * Omit specific fields from the Modifier
2287
+ */
2288
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2289
+ /**
2290
+ * Choose, which related nodes to fetch as well
2291
+ */
2292
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2293
+ /**
2294
+ * The data needed to update a Modifier.
2295
+ */
2296
+ data: Prisma.XOR<Prisma.ModifierUpdateInput, Prisma.ModifierUncheckedUpdateInput>;
2297
+ /**
2298
+ * Choose, which Modifier to update.
2299
+ */
2300
+ where: Prisma.ModifierWhereUniqueInput;
2301
+ };
2302
+ /**
2303
+ * Modifier updateMany
2304
+ */
2305
+ export type ModifierUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2306
+ /**
2307
+ * The data used to update Modifiers.
2308
+ */
2309
+ data: Prisma.XOR<Prisma.ModifierUpdateManyMutationInput, Prisma.ModifierUncheckedUpdateManyInput>;
2310
+ /**
2311
+ * Filter which Modifiers to update
2312
+ */
2313
+ where?: Prisma.ModifierWhereInput;
2314
+ /**
2315
+ * Limit how many Modifiers to update.
2316
+ */
2317
+ limit?: number;
2318
+ };
2319
+ /**
2320
+ * Modifier updateManyAndReturn
2321
+ */
2322
+ export type ModifierUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2323
+ /**
2324
+ * Select specific fields to fetch from the Modifier
2325
+ */
2326
+ select?: Prisma.ModifierSelectUpdateManyAndReturn<ExtArgs> | null;
2327
+ /**
2328
+ * Omit specific fields from the Modifier
2329
+ */
2330
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2331
+ /**
2332
+ * The data used to update Modifiers.
2333
+ */
2334
+ data: Prisma.XOR<Prisma.ModifierUpdateManyMutationInput, Prisma.ModifierUncheckedUpdateManyInput>;
2335
+ /**
2336
+ * Filter which Modifiers to update
2337
+ */
2338
+ where?: Prisma.ModifierWhereInput;
2339
+ /**
2340
+ * Limit how many Modifiers to update.
2341
+ */
2342
+ limit?: number;
2343
+ /**
2344
+ * Choose, which related nodes to fetch as well
2345
+ */
2346
+ include?: Prisma.ModifierIncludeUpdateManyAndReturn<ExtArgs> | null;
2347
+ };
2348
+ /**
2349
+ * Modifier upsert
2350
+ */
2351
+ export type ModifierUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2352
+ /**
2353
+ * Select specific fields to fetch from the Modifier
2354
+ */
2355
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2356
+ /**
2357
+ * Omit specific fields from the Modifier
2358
+ */
2359
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2360
+ /**
2361
+ * Choose, which related nodes to fetch as well
2362
+ */
2363
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2364
+ /**
2365
+ * The filter to search for the Modifier to update in case it exists.
2366
+ */
2367
+ where: Prisma.ModifierWhereUniqueInput;
2368
+ /**
2369
+ * In case the Modifier found by the `where` argument doesn't exist, create a new Modifier with this data.
2370
+ */
2371
+ create: Prisma.XOR<Prisma.ModifierCreateInput, Prisma.ModifierUncheckedCreateInput>;
2372
+ /**
2373
+ * In case the Modifier was found with the provided `where` argument, update it with this data.
2374
+ */
2375
+ update: Prisma.XOR<Prisma.ModifierUpdateInput, Prisma.ModifierUncheckedUpdateInput>;
2376
+ };
2377
+ /**
2378
+ * Modifier delete
2379
+ */
2380
+ export type ModifierDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2381
+ /**
2382
+ * Select specific fields to fetch from the Modifier
2383
+ */
2384
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2385
+ /**
2386
+ * Omit specific fields from the Modifier
2387
+ */
2388
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2389
+ /**
2390
+ * Choose, which related nodes to fetch as well
2391
+ */
2392
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2393
+ /**
2394
+ * Filter which Modifier to delete.
2395
+ */
2396
+ where: Prisma.ModifierWhereUniqueInput;
2397
+ };
2398
+ /**
2399
+ * Modifier deleteMany
2400
+ */
2401
+ export type ModifierDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2402
+ /**
2403
+ * Filter which Modifiers to delete
2404
+ */
2405
+ where?: Prisma.ModifierWhereInput;
2406
+ /**
2407
+ * Limit how many Modifiers to delete.
2408
+ */
2409
+ limit?: number;
2410
+ };
2411
+ /**
2412
+ * Modifier.productVariant
2413
+ */
2414
+ export type Modifier$productVariantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2415
+ /**
2416
+ * Select specific fields to fetch from the ProductVariant
2417
+ */
2418
+ select?: Prisma.ProductVariantSelect<ExtArgs> | null;
2419
+ /**
2420
+ * Omit specific fields from the ProductVariant
2421
+ */
2422
+ omit?: Prisma.ProductVariantOmit<ExtArgs> | null;
2423
+ /**
2424
+ * Choose, which related nodes to fetch as well
2425
+ */
2426
+ include?: Prisma.ProductVariantInclude<ExtArgs> | null;
2427
+ where?: Prisma.ProductVariantWhereInput;
2428
+ };
2429
+ /**
2430
+ * Modifier.modifierOption
2431
+ */
2432
+ export type Modifier$modifierOptionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2433
+ /**
2434
+ * Select specific fields to fetch from the ModifierOption
2435
+ */
2436
+ select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
2437
+ /**
2438
+ * Omit specific fields from the ModifierOption
2439
+ */
2440
+ omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
2441
+ /**
2442
+ * Choose, which related nodes to fetch as well
2443
+ */
2444
+ include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
2445
+ where?: Prisma.ModifierOptionWhereInput;
2446
+ orderBy?: Prisma.ModifierOptionOrderByWithRelationInput | Prisma.ModifierOptionOrderByWithRelationInput[];
2447
+ cursor?: Prisma.ModifierOptionWhereUniqueInput;
2448
+ take?: number;
2449
+ skip?: number;
2450
+ distinct?: Prisma.ModifierOptionScalarFieldEnum | Prisma.ModifierOptionScalarFieldEnum[];
2451
+ };
2452
+ /**
2453
+ * Modifier.cartLineModifier
2454
+ */
2455
+ export type Modifier$cartLineModifierArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2456
+ /**
2457
+ * Select specific fields to fetch from the CartLineModifier
2458
+ */
2459
+ select?: Prisma.CartLineModifierSelect<ExtArgs> | null;
2460
+ /**
2461
+ * Omit specific fields from the CartLineModifier
2462
+ */
2463
+ omit?: Prisma.CartLineModifierOmit<ExtArgs> | null;
2464
+ /**
2465
+ * Choose, which related nodes to fetch as well
2466
+ */
2467
+ include?: Prisma.CartLineModifierInclude<ExtArgs> | null;
2468
+ where?: Prisma.CartLineModifierWhereInput;
2469
+ orderBy?: Prisma.CartLineModifierOrderByWithRelationInput | Prisma.CartLineModifierOrderByWithRelationInput[];
2470
+ cursor?: Prisma.CartLineModifierWhereUniqueInput;
2471
+ take?: number;
2472
+ skip?: number;
2473
+ distinct?: Prisma.CartLineModifierScalarFieldEnum | Prisma.CartLineModifierScalarFieldEnum[];
2474
+ };
2475
+ /**
2476
+ * Modifier.CheckoutLinesModifier
2477
+ */
2478
+ export type Modifier$CheckoutLinesModifierArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2479
+ /**
2480
+ * Select specific fields to fetch from the CheckoutLinesModifier
2481
+ */
2482
+ select?: Prisma.CheckoutLinesModifierSelect<ExtArgs> | null;
2483
+ /**
2484
+ * Omit specific fields from the CheckoutLinesModifier
2485
+ */
2486
+ omit?: Prisma.CheckoutLinesModifierOmit<ExtArgs> | null;
2487
+ /**
2488
+ * Choose, which related nodes to fetch as well
2489
+ */
2490
+ include?: Prisma.CheckoutLinesModifierInclude<ExtArgs> | null;
2491
+ where?: Prisma.CheckoutLinesModifierWhereInput;
2492
+ orderBy?: Prisma.CheckoutLinesModifierOrderByWithRelationInput | Prisma.CheckoutLinesModifierOrderByWithRelationInput[];
2493
+ cursor?: Prisma.CheckoutLinesModifierWhereUniqueInput;
2494
+ take?: number;
2495
+ skip?: number;
2496
+ distinct?: Prisma.CheckoutLinesModifierScalarFieldEnum | Prisma.CheckoutLinesModifierScalarFieldEnum[];
2497
+ };
2498
+ /**
2499
+ * Modifier.CheckoutLineModifierOption
2500
+ */
2501
+ export type Modifier$CheckoutLineModifierOptionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2502
+ /**
2503
+ * Select specific fields to fetch from the CheckoutLineModifierOption
2504
+ */
2505
+ select?: Prisma.CheckoutLineModifierOptionSelect<ExtArgs> | null;
2506
+ /**
2507
+ * Omit specific fields from the CheckoutLineModifierOption
2508
+ */
2509
+ omit?: Prisma.CheckoutLineModifierOptionOmit<ExtArgs> | null;
2510
+ /**
2511
+ * Choose, which related nodes to fetch as well
2512
+ */
2513
+ include?: Prisma.CheckoutLineModifierOptionInclude<ExtArgs> | null;
2514
+ where?: Prisma.CheckoutLineModifierOptionWhereInput;
2515
+ orderBy?: Prisma.CheckoutLineModifierOptionOrderByWithRelationInput | Prisma.CheckoutLineModifierOptionOrderByWithRelationInput[];
2516
+ cursor?: Prisma.CheckoutLineModifierOptionWhereUniqueInput;
2517
+ take?: number;
2518
+ skip?: number;
2519
+ distinct?: Prisma.CheckoutLineModifierOptionScalarFieldEnum | Prisma.CheckoutLineModifierOptionScalarFieldEnum[];
2520
+ };
2521
+ /**
2522
+ * Modifier.media
2523
+ */
2524
+ export type Modifier$mediaArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2525
+ /**
2526
+ * Select specific fields to fetch from the Media
2527
+ */
2528
+ select?: Prisma.MediaSelect<ExtArgs> | null;
2529
+ /**
2530
+ * Omit specific fields from the Media
2531
+ */
2532
+ omit?: Prisma.MediaOmit<ExtArgs> | null;
2533
+ /**
2534
+ * Choose, which related nodes to fetch as well
2535
+ */
2536
+ include?: Prisma.MediaInclude<ExtArgs> | null;
2537
+ where?: Prisma.MediaWhereInput;
2538
+ };
2539
+ /**
2540
+ * Modifier.modifierToModifierGroup
2541
+ */
2542
+ export type Modifier$modifierToModifierGroupArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2543
+ /**
2544
+ * Select specific fields to fetch from the ModifierToModifierGroup
2545
+ */
2546
+ select?: Prisma.ModifierToModifierGroupSelect<ExtArgs> | null;
2547
+ /**
2548
+ * Omit specific fields from the ModifierToModifierGroup
2549
+ */
2550
+ omit?: Prisma.ModifierToModifierGroupOmit<ExtArgs> | null;
2551
+ /**
2552
+ * Choose, which related nodes to fetch as well
2553
+ */
2554
+ include?: Prisma.ModifierToModifierGroupInclude<ExtArgs> | null;
2555
+ where?: Prisma.ModifierToModifierGroupWhereInput;
2556
+ orderBy?: Prisma.ModifierToModifierGroupOrderByWithRelationInput | Prisma.ModifierToModifierGroupOrderByWithRelationInput[];
2557
+ cursor?: Prisma.ModifierToModifierGroupWhereUniqueInput;
2558
+ take?: number;
2559
+ skip?: number;
2560
+ distinct?: Prisma.ModifierToModifierGroupScalarFieldEnum | Prisma.ModifierToModifierGroupScalarFieldEnum[];
2561
+ };
2562
+ /**
2563
+ * Modifier.platform
2564
+ */
2565
+ export type Modifier$platformArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2566
+ /**
2567
+ * Select specific fields to fetch from the Platform
2568
+ */
2569
+ select?: Prisma.PlatformSelect<ExtArgs> | null;
2570
+ /**
2571
+ * Omit specific fields from the Platform
2572
+ */
2573
+ omit?: Prisma.PlatformOmit<ExtArgs> | null;
2574
+ /**
2575
+ * Choose, which related nodes to fetch as well
2576
+ */
2577
+ include?: Prisma.PlatformInclude<ExtArgs> | null;
2578
+ where?: Prisma.PlatformWhereInput;
2579
+ };
2580
+ /**
2581
+ * Modifier without action
2582
+ */
2583
+ export type ModifierDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2584
+ /**
2585
+ * Select specific fields to fetch from the Modifier
2586
+ */
2587
+ select?: Prisma.ModifierSelect<ExtArgs> | null;
2588
+ /**
2589
+ * Omit specific fields from the Modifier
2590
+ */
2591
+ omit?: Prisma.ModifierOmit<ExtArgs> | null;
2592
+ /**
2593
+ * Choose, which related nodes to fetch as well
2594
+ */
2595
+ include?: Prisma.ModifierInclude<ExtArgs> | null;
2596
+ };
2597
+ export {};