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

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 +3 -2
@@ -0,0 +1,1948 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model CartLine
5
+ *
6
+ */
7
+ export type CartLineModel = runtime.Types.Result.DefaultSelection<Prisma.$CartLinePayload>;
8
+ export type AggregateCartLine = {
9
+ _count: CartLineCountAggregateOutputType | null;
10
+ _avg: CartLineAvgAggregateOutputType | null;
11
+ _sum: CartLineSumAggregateOutputType | null;
12
+ _min: CartLineMinAggregateOutputType | null;
13
+ _max: CartLineMaxAggregateOutputType | null;
14
+ };
15
+ export type CartLineAvgAggregateOutputType = {
16
+ id: number | null;
17
+ quantity: number | null;
18
+ productVariantId: number | null;
19
+ cartId: number | null;
20
+ discountCodeId: number | null;
21
+ discountCodeRedemptionId: number | null;
22
+ };
23
+ export type CartLineSumAggregateOutputType = {
24
+ id: bigint | null;
25
+ quantity: number | null;
26
+ productVariantId: bigint | null;
27
+ cartId: bigint | null;
28
+ discountCodeId: bigint | null;
29
+ discountCodeRedemptionId: bigint | null;
30
+ };
31
+ export type CartLineMinAggregateOutputType = {
32
+ id: bigint | null;
33
+ quantity: number | null;
34
+ productVariantId: bigint | null;
35
+ cartId: bigint | null;
36
+ createdAt: Date | null;
37
+ updatedAt: Date | null;
38
+ discountCodeId: bigint | null;
39
+ discountCodeRedemptionId: bigint | null;
40
+ };
41
+ export type CartLineMaxAggregateOutputType = {
42
+ id: bigint | null;
43
+ quantity: number | null;
44
+ productVariantId: bigint | null;
45
+ cartId: bigint | null;
46
+ createdAt: Date | null;
47
+ updatedAt: Date | null;
48
+ discountCodeId: bigint | null;
49
+ discountCodeRedemptionId: bigint | null;
50
+ };
51
+ export type CartLineCountAggregateOutputType = {
52
+ id: number;
53
+ quantity: number;
54
+ productVariantId: number;
55
+ cartId: number;
56
+ createdAt: number;
57
+ updatedAt: number;
58
+ discountCodeId: number;
59
+ discountCodeRedemptionId: number;
60
+ cost: PrismaJson.CartLineCost;
61
+ _all: number;
62
+ };
63
+ export type CartLineAvgAggregateInputType = {
64
+ id?: true;
65
+ quantity?: true;
66
+ productVariantId?: true;
67
+ cartId?: true;
68
+ discountCodeId?: true;
69
+ discountCodeRedemptionId?: true;
70
+ };
71
+ export type CartLineSumAggregateInputType = {
72
+ id?: true;
73
+ quantity?: true;
74
+ productVariantId?: true;
75
+ cartId?: true;
76
+ discountCodeId?: true;
77
+ discountCodeRedemptionId?: true;
78
+ };
79
+ export type CartLineMinAggregateInputType = {
80
+ id?: true;
81
+ quantity?: true;
82
+ productVariantId?: true;
83
+ cartId?: true;
84
+ createdAt?: true;
85
+ updatedAt?: true;
86
+ discountCodeId?: true;
87
+ discountCodeRedemptionId?: true;
88
+ };
89
+ export type CartLineMaxAggregateInputType = {
90
+ id?: true;
91
+ quantity?: true;
92
+ productVariantId?: true;
93
+ cartId?: true;
94
+ createdAt?: true;
95
+ updatedAt?: true;
96
+ discountCodeId?: true;
97
+ discountCodeRedemptionId?: true;
98
+ };
99
+ export type CartLineCountAggregateInputType = {
100
+ id?: true;
101
+ quantity?: true;
102
+ productVariantId?: true;
103
+ cartId?: true;
104
+ createdAt?: true;
105
+ updatedAt?: true;
106
+ discountCodeId?: true;
107
+ discountCodeRedemptionId?: true;
108
+ cost?: true;
109
+ _all?: true;
110
+ };
111
+ export type CartLineAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
112
+ /**
113
+ * Filter which CartLine to aggregate.
114
+ */
115
+ where?: Prisma.CartLineWhereInput;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
118
+ *
119
+ * Determine the order of CartLines to fetch.
120
+ */
121
+ orderBy?: Prisma.CartLineOrderByWithRelationInput | Prisma.CartLineOrderByWithRelationInput[];
122
+ /**
123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
124
+ *
125
+ * Sets the start position
126
+ */
127
+ cursor?: Prisma.CartLineWhereUniqueInput;
128
+ /**
129
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
130
+ *
131
+ * Take `±n` CartLines from the position of the cursor.
132
+ */
133
+ take?: number;
134
+ /**
135
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
136
+ *
137
+ * Skip the first `n` CartLines.
138
+ */
139
+ skip?: number;
140
+ /**
141
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
142
+ *
143
+ * Count returned CartLines
144
+ **/
145
+ _count?: true | CartLineCountAggregateInputType;
146
+ /**
147
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
148
+ *
149
+ * Select which fields to average
150
+ **/
151
+ _avg?: CartLineAvgAggregateInputType;
152
+ /**
153
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
154
+ *
155
+ * Select which fields to sum
156
+ **/
157
+ _sum?: CartLineSumAggregateInputType;
158
+ /**
159
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
160
+ *
161
+ * Select which fields to find the minimum value
162
+ **/
163
+ _min?: CartLineMinAggregateInputType;
164
+ /**
165
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
166
+ *
167
+ * Select which fields to find the maximum value
168
+ **/
169
+ _max?: CartLineMaxAggregateInputType;
170
+ };
171
+ export type GetCartLineAggregateType<T extends CartLineAggregateArgs> = {
172
+ [P in keyof T & keyof AggregateCartLine]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCartLine[P]> : Prisma.GetScalarType<T[P], AggregateCartLine[P]>;
173
+ };
174
+ export type CartLineGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
175
+ where?: Prisma.CartLineWhereInput;
176
+ orderBy?: Prisma.CartLineOrderByWithAggregationInput | Prisma.CartLineOrderByWithAggregationInput[];
177
+ by: Prisma.CartLineScalarFieldEnum[] | Prisma.CartLineScalarFieldEnum;
178
+ having?: Prisma.CartLineScalarWhereWithAggregatesInput;
179
+ take?: number;
180
+ skip?: number;
181
+ _count?: CartLineCountAggregateInputType | true;
182
+ _avg?: CartLineAvgAggregateInputType;
183
+ _sum?: CartLineSumAggregateInputType;
184
+ _min?: CartLineMinAggregateInputType;
185
+ _max?: CartLineMaxAggregateInputType;
186
+ };
187
+ export type CartLineGroupByOutputType = {
188
+ id: bigint;
189
+ quantity: number;
190
+ productVariantId: bigint;
191
+ cartId: bigint;
192
+ createdAt: Date;
193
+ updatedAt: Date;
194
+ discountCodeId: bigint | null;
195
+ discountCodeRedemptionId: bigint | null;
196
+ cost: PrismaJson.CartLineCost;
197
+ _count: CartLineCountAggregateOutputType | null;
198
+ _avg: CartLineAvgAggregateOutputType | null;
199
+ _sum: CartLineSumAggregateOutputType | null;
200
+ _min: CartLineMinAggregateOutputType | null;
201
+ _max: CartLineMaxAggregateOutputType | null;
202
+ };
203
+ type GetCartLineGroupByPayload<T extends CartLineGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<CartLineGroupByOutputType, T['by']> & {
204
+ [P in ((keyof T) & (keyof CartLineGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], CartLineGroupByOutputType[P]> : Prisma.GetScalarType<T[P], CartLineGroupByOutputType[P]>;
205
+ }>>;
206
+ export type CartLineWhereInput = {
207
+ AND?: Prisma.CartLineWhereInput | Prisma.CartLineWhereInput[];
208
+ OR?: Prisma.CartLineWhereInput[];
209
+ NOT?: Prisma.CartLineWhereInput | Prisma.CartLineWhereInput[];
210
+ id?: Prisma.BigIntFilter<"CartLine"> | bigint | number;
211
+ quantity?: Prisma.IntFilter<"CartLine"> | number;
212
+ productVariantId?: Prisma.BigIntFilter<"CartLine"> | bigint | number;
213
+ cartId?: Prisma.BigIntFilter<"CartLine"> | bigint | number;
214
+ createdAt?: Prisma.DateTimeFilter<"CartLine"> | Date | string;
215
+ updatedAt?: Prisma.DateTimeFilter<"CartLine"> | Date | string;
216
+ discountCodeId?: Prisma.BigIntNullableFilter<"CartLine"> | bigint | number | null;
217
+ discountCodeRedemptionId?: Prisma.BigIntNullableFilter<"CartLine"> | bigint | number | null;
218
+ cost?: Prisma.JsonFilter<"CartLine">;
219
+ cart?: Prisma.XOR<Prisma.CartScalarRelationFilter, Prisma.CartWhereInput>;
220
+ merchandise?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
221
+ discountCode?: Prisma.XOR<Prisma.DiscountCodeNullableScalarRelationFilter, Prisma.DiscountCodeWhereInput> | null;
222
+ discountCodeRedemption?: Prisma.XOR<Prisma.DiscountCodeRedemptionNullableScalarRelationFilter, Prisma.DiscountCodeRedemptionWhereInput> | null;
223
+ cartLineModifier?: Prisma.CartLineModifierListRelationFilter;
224
+ };
225
+ export type CartLineOrderByWithRelationInput = {
226
+ id?: Prisma.SortOrder;
227
+ quantity?: Prisma.SortOrder;
228
+ productVariantId?: Prisma.SortOrder;
229
+ cartId?: Prisma.SortOrder;
230
+ createdAt?: Prisma.SortOrder;
231
+ updatedAt?: Prisma.SortOrder;
232
+ discountCodeId?: Prisma.SortOrderInput | Prisma.SortOrder;
233
+ discountCodeRedemptionId?: Prisma.SortOrderInput | Prisma.SortOrder;
234
+ cost?: Prisma.SortOrder;
235
+ cart?: Prisma.CartOrderByWithRelationInput;
236
+ merchandise?: Prisma.ProductVariantOrderByWithRelationInput;
237
+ discountCode?: Prisma.DiscountCodeOrderByWithRelationInput;
238
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionOrderByWithRelationInput;
239
+ cartLineModifier?: Prisma.CartLineModifierOrderByRelationAggregateInput;
240
+ };
241
+ export type CartLineWhereUniqueInput = Prisma.AtLeast<{
242
+ id?: bigint | number;
243
+ AND?: Prisma.CartLineWhereInput | Prisma.CartLineWhereInput[];
244
+ OR?: Prisma.CartLineWhereInput[];
245
+ NOT?: Prisma.CartLineWhereInput | Prisma.CartLineWhereInput[];
246
+ quantity?: Prisma.IntFilter<"CartLine"> | number;
247
+ productVariantId?: Prisma.BigIntFilter<"CartLine"> | bigint | number;
248
+ cartId?: Prisma.BigIntFilter<"CartLine"> | bigint | number;
249
+ createdAt?: Prisma.DateTimeFilter<"CartLine"> | Date | string;
250
+ updatedAt?: Prisma.DateTimeFilter<"CartLine"> | Date | string;
251
+ discountCodeId?: Prisma.BigIntNullableFilter<"CartLine"> | bigint | number | null;
252
+ discountCodeRedemptionId?: Prisma.BigIntNullableFilter<"CartLine"> | bigint | number | null;
253
+ cost?: Prisma.JsonFilter<"CartLine">;
254
+ cart?: Prisma.XOR<Prisma.CartScalarRelationFilter, Prisma.CartWhereInput>;
255
+ merchandise?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
256
+ discountCode?: Prisma.XOR<Prisma.DiscountCodeNullableScalarRelationFilter, Prisma.DiscountCodeWhereInput> | null;
257
+ discountCodeRedemption?: Prisma.XOR<Prisma.DiscountCodeRedemptionNullableScalarRelationFilter, Prisma.DiscountCodeRedemptionWhereInput> | null;
258
+ cartLineModifier?: Prisma.CartLineModifierListRelationFilter;
259
+ }, "id">;
260
+ export type CartLineOrderByWithAggregationInput = {
261
+ id?: Prisma.SortOrder;
262
+ quantity?: Prisma.SortOrder;
263
+ productVariantId?: Prisma.SortOrder;
264
+ cartId?: Prisma.SortOrder;
265
+ createdAt?: Prisma.SortOrder;
266
+ updatedAt?: Prisma.SortOrder;
267
+ discountCodeId?: Prisma.SortOrderInput | Prisma.SortOrder;
268
+ discountCodeRedemptionId?: Prisma.SortOrderInput | Prisma.SortOrder;
269
+ cost?: Prisma.SortOrder;
270
+ _count?: Prisma.CartLineCountOrderByAggregateInput;
271
+ _avg?: Prisma.CartLineAvgOrderByAggregateInput;
272
+ _max?: Prisma.CartLineMaxOrderByAggregateInput;
273
+ _min?: Prisma.CartLineMinOrderByAggregateInput;
274
+ _sum?: Prisma.CartLineSumOrderByAggregateInput;
275
+ };
276
+ export type CartLineScalarWhereWithAggregatesInput = {
277
+ AND?: Prisma.CartLineScalarWhereWithAggregatesInput | Prisma.CartLineScalarWhereWithAggregatesInput[];
278
+ OR?: Prisma.CartLineScalarWhereWithAggregatesInput[];
279
+ NOT?: Prisma.CartLineScalarWhereWithAggregatesInput | Prisma.CartLineScalarWhereWithAggregatesInput[];
280
+ id?: Prisma.BigIntWithAggregatesFilter<"CartLine"> | bigint | number;
281
+ quantity?: Prisma.IntWithAggregatesFilter<"CartLine"> | number;
282
+ productVariantId?: Prisma.BigIntWithAggregatesFilter<"CartLine"> | bigint | number;
283
+ cartId?: Prisma.BigIntWithAggregatesFilter<"CartLine"> | bigint | number;
284
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"CartLine"> | Date | string;
285
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"CartLine"> | Date | string;
286
+ discountCodeId?: Prisma.BigIntNullableWithAggregatesFilter<"CartLine"> | bigint | number | null;
287
+ discountCodeRedemptionId?: Prisma.BigIntNullableWithAggregatesFilter<"CartLine"> | bigint | number | null;
288
+ cost?: Prisma.JsonWithAggregatesFilter<"CartLine">;
289
+ };
290
+ export type CartLineCreateInput = {
291
+ id?: bigint | number;
292
+ quantity: number;
293
+ createdAt?: Date | string;
294
+ updatedAt?: Date | string;
295
+ cost: PrismaJson.CartLineCost;
296
+ cart: Prisma.CartCreateNestedOneWithoutCartLinesInput;
297
+ merchandise: Prisma.ProductVariantCreateNestedOneWithoutCartLinesInput;
298
+ discountCode?: Prisma.DiscountCodeCreateNestedOneWithoutCartLineInput;
299
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionCreateNestedOneWithoutCartLineInput;
300
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutCartLineInput;
301
+ };
302
+ export type CartLineUncheckedCreateInput = {
303
+ id?: bigint | number;
304
+ quantity: number;
305
+ productVariantId: bigint | number;
306
+ cartId: bigint | number;
307
+ createdAt?: Date | string;
308
+ updatedAt?: Date | string;
309
+ discountCodeId?: bigint | number | null;
310
+ discountCodeRedemptionId?: bigint | number | null;
311
+ cost: PrismaJson.CartLineCost;
312
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutCartLineInput;
313
+ };
314
+ export type CartLineUpdateInput = {
315
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
316
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
317
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
318
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
319
+ cost?: PrismaJson.CartLineCost;
320
+ cart?: Prisma.CartUpdateOneRequiredWithoutCartLinesNestedInput;
321
+ merchandise?: Prisma.ProductVariantUpdateOneRequiredWithoutCartLinesNestedInput;
322
+ discountCode?: Prisma.DiscountCodeUpdateOneWithoutCartLineNestedInput;
323
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionUpdateOneWithoutCartLineNestedInput;
324
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutCartLineNestedInput;
325
+ };
326
+ export type CartLineUncheckedUpdateInput = {
327
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
328
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
329
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
330
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
331
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
332
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
333
+ discountCodeId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
334
+ discountCodeRedemptionId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
335
+ cost?: PrismaJson.CartLineCost;
336
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutCartLineNestedInput;
337
+ };
338
+ export type CartLineCreateManyInput = {
339
+ id?: bigint | number;
340
+ quantity: number;
341
+ productVariantId: bigint | number;
342
+ cartId: bigint | number;
343
+ createdAt?: Date | string;
344
+ updatedAt?: Date | string;
345
+ discountCodeId?: bigint | number | null;
346
+ discountCodeRedemptionId?: bigint | number | null;
347
+ cost: PrismaJson.CartLineCost;
348
+ };
349
+ export type CartLineUpdateManyMutationInput = {
350
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
351
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
352
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
353
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
354
+ cost?: PrismaJson.CartLineCost;
355
+ };
356
+ export type CartLineUncheckedUpdateManyInput = {
357
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
358
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
359
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
360
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
361
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
362
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
363
+ discountCodeId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
364
+ discountCodeRedemptionId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
365
+ cost?: PrismaJson.CartLineCost;
366
+ };
367
+ export type CartLineScalarRelationFilter = {
368
+ is?: Prisma.CartLineWhereInput;
369
+ isNot?: Prisma.CartLineWhereInput;
370
+ };
371
+ export type CartLineCountOrderByAggregateInput = {
372
+ id?: Prisma.SortOrder;
373
+ quantity?: Prisma.SortOrder;
374
+ productVariantId?: Prisma.SortOrder;
375
+ cartId?: Prisma.SortOrder;
376
+ createdAt?: Prisma.SortOrder;
377
+ updatedAt?: Prisma.SortOrder;
378
+ discountCodeId?: Prisma.SortOrder;
379
+ discountCodeRedemptionId?: Prisma.SortOrder;
380
+ cost?: Prisma.SortOrder;
381
+ };
382
+ export type CartLineAvgOrderByAggregateInput = {
383
+ id?: Prisma.SortOrder;
384
+ quantity?: Prisma.SortOrder;
385
+ productVariantId?: Prisma.SortOrder;
386
+ cartId?: Prisma.SortOrder;
387
+ discountCodeId?: Prisma.SortOrder;
388
+ discountCodeRedemptionId?: Prisma.SortOrder;
389
+ };
390
+ export type CartLineMaxOrderByAggregateInput = {
391
+ id?: Prisma.SortOrder;
392
+ quantity?: Prisma.SortOrder;
393
+ productVariantId?: Prisma.SortOrder;
394
+ cartId?: Prisma.SortOrder;
395
+ createdAt?: Prisma.SortOrder;
396
+ updatedAt?: Prisma.SortOrder;
397
+ discountCodeId?: Prisma.SortOrder;
398
+ discountCodeRedemptionId?: Prisma.SortOrder;
399
+ };
400
+ export type CartLineMinOrderByAggregateInput = {
401
+ id?: Prisma.SortOrder;
402
+ quantity?: Prisma.SortOrder;
403
+ productVariantId?: Prisma.SortOrder;
404
+ cartId?: Prisma.SortOrder;
405
+ createdAt?: Prisma.SortOrder;
406
+ updatedAt?: Prisma.SortOrder;
407
+ discountCodeId?: Prisma.SortOrder;
408
+ discountCodeRedemptionId?: Prisma.SortOrder;
409
+ };
410
+ export type CartLineSumOrderByAggregateInput = {
411
+ id?: Prisma.SortOrder;
412
+ quantity?: Prisma.SortOrder;
413
+ productVariantId?: Prisma.SortOrder;
414
+ cartId?: Prisma.SortOrder;
415
+ discountCodeId?: Prisma.SortOrder;
416
+ discountCodeRedemptionId?: Prisma.SortOrder;
417
+ };
418
+ export type CartLineListRelationFilter = {
419
+ every?: Prisma.CartLineWhereInput;
420
+ some?: Prisma.CartLineWhereInput;
421
+ none?: Prisma.CartLineWhereInput;
422
+ };
423
+ export type CartLineOrderByRelationAggregateInput = {
424
+ _count?: Prisma.SortOrder;
425
+ };
426
+ export type CartLineCreateNestedOneWithoutCartLineModifierInput = {
427
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutCartLineModifierInput, Prisma.CartLineUncheckedCreateWithoutCartLineModifierInput>;
428
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutCartLineModifierInput;
429
+ connect?: Prisma.CartLineWhereUniqueInput;
430
+ };
431
+ export type CartLineUpdateOneRequiredWithoutCartLineModifierNestedInput = {
432
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutCartLineModifierInput, Prisma.CartLineUncheckedCreateWithoutCartLineModifierInput>;
433
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutCartLineModifierInput;
434
+ upsert?: Prisma.CartLineUpsertWithoutCartLineModifierInput;
435
+ connect?: Prisma.CartLineWhereUniqueInput;
436
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CartLineUpdateToOneWithWhereWithoutCartLineModifierInput, Prisma.CartLineUpdateWithoutCartLineModifierInput>, Prisma.CartLineUncheckedUpdateWithoutCartLineModifierInput>;
437
+ };
438
+ export type CartLineCreateNestedManyWithoutCartInput = {
439
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutCartInput, Prisma.CartLineUncheckedCreateWithoutCartInput> | Prisma.CartLineCreateWithoutCartInput[] | Prisma.CartLineUncheckedCreateWithoutCartInput[];
440
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutCartInput | Prisma.CartLineCreateOrConnectWithoutCartInput[];
441
+ createMany?: Prisma.CartLineCreateManyCartInputEnvelope;
442
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
443
+ };
444
+ export type CartLineUncheckedCreateNestedManyWithoutCartInput = {
445
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutCartInput, Prisma.CartLineUncheckedCreateWithoutCartInput> | Prisma.CartLineCreateWithoutCartInput[] | Prisma.CartLineUncheckedCreateWithoutCartInput[];
446
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutCartInput | Prisma.CartLineCreateOrConnectWithoutCartInput[];
447
+ createMany?: Prisma.CartLineCreateManyCartInputEnvelope;
448
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
449
+ };
450
+ export type CartLineUpdateManyWithoutCartNestedInput = {
451
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutCartInput, Prisma.CartLineUncheckedCreateWithoutCartInput> | Prisma.CartLineCreateWithoutCartInput[] | Prisma.CartLineUncheckedCreateWithoutCartInput[];
452
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutCartInput | Prisma.CartLineCreateOrConnectWithoutCartInput[];
453
+ upsert?: Prisma.CartLineUpsertWithWhereUniqueWithoutCartInput | Prisma.CartLineUpsertWithWhereUniqueWithoutCartInput[];
454
+ createMany?: Prisma.CartLineCreateManyCartInputEnvelope;
455
+ set?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
456
+ disconnect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
457
+ delete?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
458
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
459
+ update?: Prisma.CartLineUpdateWithWhereUniqueWithoutCartInput | Prisma.CartLineUpdateWithWhereUniqueWithoutCartInput[];
460
+ updateMany?: Prisma.CartLineUpdateManyWithWhereWithoutCartInput | Prisma.CartLineUpdateManyWithWhereWithoutCartInput[];
461
+ deleteMany?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
462
+ };
463
+ export type CartLineUncheckedUpdateManyWithoutCartNestedInput = {
464
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutCartInput, Prisma.CartLineUncheckedCreateWithoutCartInput> | Prisma.CartLineCreateWithoutCartInput[] | Prisma.CartLineUncheckedCreateWithoutCartInput[];
465
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutCartInput | Prisma.CartLineCreateOrConnectWithoutCartInput[];
466
+ upsert?: Prisma.CartLineUpsertWithWhereUniqueWithoutCartInput | Prisma.CartLineUpsertWithWhereUniqueWithoutCartInput[];
467
+ createMany?: Prisma.CartLineCreateManyCartInputEnvelope;
468
+ set?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
469
+ disconnect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
470
+ delete?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
471
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
472
+ update?: Prisma.CartLineUpdateWithWhereUniqueWithoutCartInput | Prisma.CartLineUpdateWithWhereUniqueWithoutCartInput[];
473
+ updateMany?: Prisma.CartLineUpdateManyWithWhereWithoutCartInput | Prisma.CartLineUpdateManyWithWhereWithoutCartInput[];
474
+ deleteMany?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
475
+ };
476
+ export type CartLineCreateNestedManyWithoutDiscountCodeRedemptionInput = {
477
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput> | Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput[] | Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput[];
478
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutDiscountCodeRedemptionInput | Prisma.CartLineCreateOrConnectWithoutDiscountCodeRedemptionInput[];
479
+ createMany?: Prisma.CartLineCreateManyDiscountCodeRedemptionInputEnvelope;
480
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
481
+ };
482
+ export type CartLineUncheckedCreateNestedManyWithoutDiscountCodeRedemptionInput = {
483
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput> | Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput[] | Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput[];
484
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutDiscountCodeRedemptionInput | Prisma.CartLineCreateOrConnectWithoutDiscountCodeRedemptionInput[];
485
+ createMany?: Prisma.CartLineCreateManyDiscountCodeRedemptionInputEnvelope;
486
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
487
+ };
488
+ export type CartLineUpdateManyWithoutDiscountCodeRedemptionNestedInput = {
489
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput> | Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput[] | Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput[];
490
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutDiscountCodeRedemptionInput | Prisma.CartLineCreateOrConnectWithoutDiscountCodeRedemptionInput[];
491
+ upsert?: Prisma.CartLineUpsertWithWhereUniqueWithoutDiscountCodeRedemptionInput | Prisma.CartLineUpsertWithWhereUniqueWithoutDiscountCodeRedemptionInput[];
492
+ createMany?: Prisma.CartLineCreateManyDiscountCodeRedemptionInputEnvelope;
493
+ set?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
494
+ disconnect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
495
+ delete?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
496
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
497
+ update?: Prisma.CartLineUpdateWithWhereUniqueWithoutDiscountCodeRedemptionInput | Prisma.CartLineUpdateWithWhereUniqueWithoutDiscountCodeRedemptionInput[];
498
+ updateMany?: Prisma.CartLineUpdateManyWithWhereWithoutDiscountCodeRedemptionInput | Prisma.CartLineUpdateManyWithWhereWithoutDiscountCodeRedemptionInput[];
499
+ deleteMany?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
500
+ };
501
+ export type CartLineUncheckedUpdateManyWithoutDiscountCodeRedemptionNestedInput = {
502
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput> | Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput[] | Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput[];
503
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutDiscountCodeRedemptionInput | Prisma.CartLineCreateOrConnectWithoutDiscountCodeRedemptionInput[];
504
+ upsert?: Prisma.CartLineUpsertWithWhereUniqueWithoutDiscountCodeRedemptionInput | Prisma.CartLineUpsertWithWhereUniqueWithoutDiscountCodeRedemptionInput[];
505
+ createMany?: Prisma.CartLineCreateManyDiscountCodeRedemptionInputEnvelope;
506
+ set?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
507
+ disconnect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
508
+ delete?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
509
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
510
+ update?: Prisma.CartLineUpdateWithWhereUniqueWithoutDiscountCodeRedemptionInput | Prisma.CartLineUpdateWithWhereUniqueWithoutDiscountCodeRedemptionInput[];
511
+ updateMany?: Prisma.CartLineUpdateManyWithWhereWithoutDiscountCodeRedemptionInput | Prisma.CartLineUpdateManyWithWhereWithoutDiscountCodeRedemptionInput[];
512
+ deleteMany?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
513
+ };
514
+ export type CartLineCreateNestedManyWithoutDiscountCodeInput = {
515
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput> | Prisma.CartLineCreateWithoutDiscountCodeInput[] | Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput[];
516
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutDiscountCodeInput | Prisma.CartLineCreateOrConnectWithoutDiscountCodeInput[];
517
+ createMany?: Prisma.CartLineCreateManyDiscountCodeInputEnvelope;
518
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
519
+ };
520
+ export type CartLineUncheckedCreateNestedManyWithoutDiscountCodeInput = {
521
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput> | Prisma.CartLineCreateWithoutDiscountCodeInput[] | Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput[];
522
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutDiscountCodeInput | Prisma.CartLineCreateOrConnectWithoutDiscountCodeInput[];
523
+ createMany?: Prisma.CartLineCreateManyDiscountCodeInputEnvelope;
524
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
525
+ };
526
+ export type CartLineUpdateManyWithoutDiscountCodeNestedInput = {
527
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput> | Prisma.CartLineCreateWithoutDiscountCodeInput[] | Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput[];
528
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutDiscountCodeInput | Prisma.CartLineCreateOrConnectWithoutDiscountCodeInput[];
529
+ upsert?: Prisma.CartLineUpsertWithWhereUniqueWithoutDiscountCodeInput | Prisma.CartLineUpsertWithWhereUniqueWithoutDiscountCodeInput[];
530
+ createMany?: Prisma.CartLineCreateManyDiscountCodeInputEnvelope;
531
+ set?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
532
+ disconnect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
533
+ delete?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
534
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
535
+ update?: Prisma.CartLineUpdateWithWhereUniqueWithoutDiscountCodeInput | Prisma.CartLineUpdateWithWhereUniqueWithoutDiscountCodeInput[];
536
+ updateMany?: Prisma.CartLineUpdateManyWithWhereWithoutDiscountCodeInput | Prisma.CartLineUpdateManyWithWhereWithoutDiscountCodeInput[];
537
+ deleteMany?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
538
+ };
539
+ export type CartLineUncheckedUpdateManyWithoutDiscountCodeNestedInput = {
540
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput> | Prisma.CartLineCreateWithoutDiscountCodeInput[] | Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput[];
541
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutDiscountCodeInput | Prisma.CartLineCreateOrConnectWithoutDiscountCodeInput[];
542
+ upsert?: Prisma.CartLineUpsertWithWhereUniqueWithoutDiscountCodeInput | Prisma.CartLineUpsertWithWhereUniqueWithoutDiscountCodeInput[];
543
+ createMany?: Prisma.CartLineCreateManyDiscountCodeInputEnvelope;
544
+ set?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
545
+ disconnect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
546
+ delete?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
547
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
548
+ update?: Prisma.CartLineUpdateWithWhereUniqueWithoutDiscountCodeInput | Prisma.CartLineUpdateWithWhereUniqueWithoutDiscountCodeInput[];
549
+ updateMany?: Prisma.CartLineUpdateManyWithWhereWithoutDiscountCodeInput | Prisma.CartLineUpdateManyWithWhereWithoutDiscountCodeInput[];
550
+ deleteMany?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
551
+ };
552
+ export type CartLineCreateNestedManyWithoutMerchandiseInput = {
553
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutMerchandiseInput, Prisma.CartLineUncheckedCreateWithoutMerchandiseInput> | Prisma.CartLineCreateWithoutMerchandiseInput[] | Prisma.CartLineUncheckedCreateWithoutMerchandiseInput[];
554
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutMerchandiseInput | Prisma.CartLineCreateOrConnectWithoutMerchandiseInput[];
555
+ createMany?: Prisma.CartLineCreateManyMerchandiseInputEnvelope;
556
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
557
+ };
558
+ export type CartLineUncheckedCreateNestedManyWithoutMerchandiseInput = {
559
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutMerchandiseInput, Prisma.CartLineUncheckedCreateWithoutMerchandiseInput> | Prisma.CartLineCreateWithoutMerchandiseInput[] | Prisma.CartLineUncheckedCreateWithoutMerchandiseInput[];
560
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutMerchandiseInput | Prisma.CartLineCreateOrConnectWithoutMerchandiseInput[];
561
+ createMany?: Prisma.CartLineCreateManyMerchandiseInputEnvelope;
562
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
563
+ };
564
+ export type CartLineUpdateManyWithoutMerchandiseNestedInput = {
565
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutMerchandiseInput, Prisma.CartLineUncheckedCreateWithoutMerchandiseInput> | Prisma.CartLineCreateWithoutMerchandiseInput[] | Prisma.CartLineUncheckedCreateWithoutMerchandiseInput[];
566
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutMerchandiseInput | Prisma.CartLineCreateOrConnectWithoutMerchandiseInput[];
567
+ upsert?: Prisma.CartLineUpsertWithWhereUniqueWithoutMerchandiseInput | Prisma.CartLineUpsertWithWhereUniqueWithoutMerchandiseInput[];
568
+ createMany?: Prisma.CartLineCreateManyMerchandiseInputEnvelope;
569
+ set?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
570
+ disconnect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
571
+ delete?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
572
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
573
+ update?: Prisma.CartLineUpdateWithWhereUniqueWithoutMerchandiseInput | Prisma.CartLineUpdateWithWhereUniqueWithoutMerchandiseInput[];
574
+ updateMany?: Prisma.CartLineUpdateManyWithWhereWithoutMerchandiseInput | Prisma.CartLineUpdateManyWithWhereWithoutMerchandiseInput[];
575
+ deleteMany?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
576
+ };
577
+ export type CartLineUncheckedUpdateManyWithoutMerchandiseNestedInput = {
578
+ create?: Prisma.XOR<Prisma.CartLineCreateWithoutMerchandiseInput, Prisma.CartLineUncheckedCreateWithoutMerchandiseInput> | Prisma.CartLineCreateWithoutMerchandiseInput[] | Prisma.CartLineUncheckedCreateWithoutMerchandiseInput[];
579
+ connectOrCreate?: Prisma.CartLineCreateOrConnectWithoutMerchandiseInput | Prisma.CartLineCreateOrConnectWithoutMerchandiseInput[];
580
+ upsert?: Prisma.CartLineUpsertWithWhereUniqueWithoutMerchandiseInput | Prisma.CartLineUpsertWithWhereUniqueWithoutMerchandiseInput[];
581
+ createMany?: Prisma.CartLineCreateManyMerchandiseInputEnvelope;
582
+ set?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
583
+ disconnect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
584
+ delete?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
585
+ connect?: Prisma.CartLineWhereUniqueInput | Prisma.CartLineWhereUniqueInput[];
586
+ update?: Prisma.CartLineUpdateWithWhereUniqueWithoutMerchandiseInput | Prisma.CartLineUpdateWithWhereUniqueWithoutMerchandiseInput[];
587
+ updateMany?: Prisma.CartLineUpdateManyWithWhereWithoutMerchandiseInput | Prisma.CartLineUpdateManyWithWhereWithoutMerchandiseInput[];
588
+ deleteMany?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
589
+ };
590
+ export type CartLineCreateWithoutCartLineModifierInput = {
591
+ id?: bigint | number;
592
+ quantity: number;
593
+ createdAt?: Date | string;
594
+ updatedAt?: Date | string;
595
+ cost: PrismaJson.CartLineCost;
596
+ cart: Prisma.CartCreateNestedOneWithoutCartLinesInput;
597
+ merchandise: Prisma.ProductVariantCreateNestedOneWithoutCartLinesInput;
598
+ discountCode?: Prisma.DiscountCodeCreateNestedOneWithoutCartLineInput;
599
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionCreateNestedOneWithoutCartLineInput;
600
+ };
601
+ export type CartLineUncheckedCreateWithoutCartLineModifierInput = {
602
+ id?: bigint | number;
603
+ quantity: number;
604
+ productVariantId: bigint | number;
605
+ cartId: bigint | number;
606
+ createdAt?: Date | string;
607
+ updatedAt?: Date | string;
608
+ discountCodeId?: bigint | number | null;
609
+ discountCodeRedemptionId?: bigint | number | null;
610
+ cost: PrismaJson.CartLineCost;
611
+ };
612
+ export type CartLineCreateOrConnectWithoutCartLineModifierInput = {
613
+ where: Prisma.CartLineWhereUniqueInput;
614
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutCartLineModifierInput, Prisma.CartLineUncheckedCreateWithoutCartLineModifierInput>;
615
+ };
616
+ export type CartLineUpsertWithoutCartLineModifierInput = {
617
+ update: Prisma.XOR<Prisma.CartLineUpdateWithoutCartLineModifierInput, Prisma.CartLineUncheckedUpdateWithoutCartLineModifierInput>;
618
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutCartLineModifierInput, Prisma.CartLineUncheckedCreateWithoutCartLineModifierInput>;
619
+ where?: Prisma.CartLineWhereInput;
620
+ };
621
+ export type CartLineUpdateToOneWithWhereWithoutCartLineModifierInput = {
622
+ where?: Prisma.CartLineWhereInput;
623
+ data: Prisma.XOR<Prisma.CartLineUpdateWithoutCartLineModifierInput, Prisma.CartLineUncheckedUpdateWithoutCartLineModifierInput>;
624
+ };
625
+ export type CartLineUpdateWithoutCartLineModifierInput = {
626
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
627
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
628
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
629
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
630
+ cost?: PrismaJson.CartLineCost;
631
+ cart?: Prisma.CartUpdateOneRequiredWithoutCartLinesNestedInput;
632
+ merchandise?: Prisma.ProductVariantUpdateOneRequiredWithoutCartLinesNestedInput;
633
+ discountCode?: Prisma.DiscountCodeUpdateOneWithoutCartLineNestedInput;
634
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionUpdateOneWithoutCartLineNestedInput;
635
+ };
636
+ export type CartLineUncheckedUpdateWithoutCartLineModifierInput = {
637
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
638
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
639
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
640
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
641
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
642
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
643
+ discountCodeId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
644
+ discountCodeRedemptionId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
645
+ cost?: PrismaJson.CartLineCost;
646
+ };
647
+ export type CartLineCreateWithoutCartInput = {
648
+ id?: bigint | number;
649
+ quantity: number;
650
+ createdAt?: Date | string;
651
+ updatedAt?: Date | string;
652
+ cost: PrismaJson.CartLineCost;
653
+ merchandise: Prisma.ProductVariantCreateNestedOneWithoutCartLinesInput;
654
+ discountCode?: Prisma.DiscountCodeCreateNestedOneWithoutCartLineInput;
655
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionCreateNestedOneWithoutCartLineInput;
656
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutCartLineInput;
657
+ };
658
+ export type CartLineUncheckedCreateWithoutCartInput = {
659
+ id?: bigint | number;
660
+ quantity: number;
661
+ productVariantId: bigint | number;
662
+ createdAt?: Date | string;
663
+ updatedAt?: Date | string;
664
+ discountCodeId?: bigint | number | null;
665
+ discountCodeRedemptionId?: bigint | number | null;
666
+ cost: PrismaJson.CartLineCost;
667
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutCartLineInput;
668
+ };
669
+ export type CartLineCreateOrConnectWithoutCartInput = {
670
+ where: Prisma.CartLineWhereUniqueInput;
671
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutCartInput, Prisma.CartLineUncheckedCreateWithoutCartInput>;
672
+ };
673
+ export type CartLineCreateManyCartInputEnvelope = {
674
+ data: Prisma.CartLineCreateManyCartInput | Prisma.CartLineCreateManyCartInput[];
675
+ skipDuplicates?: boolean;
676
+ };
677
+ export type CartLineUpsertWithWhereUniqueWithoutCartInput = {
678
+ where: Prisma.CartLineWhereUniqueInput;
679
+ update: Prisma.XOR<Prisma.CartLineUpdateWithoutCartInput, Prisma.CartLineUncheckedUpdateWithoutCartInput>;
680
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutCartInput, Prisma.CartLineUncheckedCreateWithoutCartInput>;
681
+ };
682
+ export type CartLineUpdateWithWhereUniqueWithoutCartInput = {
683
+ where: Prisma.CartLineWhereUniqueInput;
684
+ data: Prisma.XOR<Prisma.CartLineUpdateWithoutCartInput, Prisma.CartLineUncheckedUpdateWithoutCartInput>;
685
+ };
686
+ export type CartLineUpdateManyWithWhereWithoutCartInput = {
687
+ where: Prisma.CartLineScalarWhereInput;
688
+ data: Prisma.XOR<Prisma.CartLineUpdateManyMutationInput, Prisma.CartLineUncheckedUpdateManyWithoutCartInput>;
689
+ };
690
+ export type CartLineScalarWhereInput = {
691
+ AND?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
692
+ OR?: Prisma.CartLineScalarWhereInput[];
693
+ NOT?: Prisma.CartLineScalarWhereInput | Prisma.CartLineScalarWhereInput[];
694
+ id?: Prisma.BigIntFilter<"CartLine"> | bigint | number;
695
+ quantity?: Prisma.IntFilter<"CartLine"> | number;
696
+ productVariantId?: Prisma.BigIntFilter<"CartLine"> | bigint | number;
697
+ cartId?: Prisma.BigIntFilter<"CartLine"> | bigint | number;
698
+ createdAt?: Prisma.DateTimeFilter<"CartLine"> | Date | string;
699
+ updatedAt?: Prisma.DateTimeFilter<"CartLine"> | Date | string;
700
+ discountCodeId?: Prisma.BigIntNullableFilter<"CartLine"> | bigint | number | null;
701
+ discountCodeRedemptionId?: Prisma.BigIntNullableFilter<"CartLine"> | bigint | number | null;
702
+ cost?: Prisma.JsonFilter<"CartLine">;
703
+ };
704
+ export type CartLineCreateWithoutDiscountCodeRedemptionInput = {
705
+ id?: bigint | number;
706
+ quantity: number;
707
+ createdAt?: Date | string;
708
+ updatedAt?: Date | string;
709
+ cost: PrismaJson.CartLineCost;
710
+ cart: Prisma.CartCreateNestedOneWithoutCartLinesInput;
711
+ merchandise: Prisma.ProductVariantCreateNestedOneWithoutCartLinesInput;
712
+ discountCode?: Prisma.DiscountCodeCreateNestedOneWithoutCartLineInput;
713
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutCartLineInput;
714
+ };
715
+ export type CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput = {
716
+ id?: bigint | number;
717
+ quantity: number;
718
+ productVariantId: bigint | number;
719
+ cartId: bigint | number;
720
+ createdAt?: Date | string;
721
+ updatedAt?: Date | string;
722
+ discountCodeId?: bigint | number | null;
723
+ cost: PrismaJson.CartLineCost;
724
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutCartLineInput;
725
+ };
726
+ export type CartLineCreateOrConnectWithoutDiscountCodeRedemptionInput = {
727
+ where: Prisma.CartLineWhereUniqueInput;
728
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput>;
729
+ };
730
+ export type CartLineCreateManyDiscountCodeRedemptionInputEnvelope = {
731
+ data: Prisma.CartLineCreateManyDiscountCodeRedemptionInput | Prisma.CartLineCreateManyDiscountCodeRedemptionInput[];
732
+ skipDuplicates?: boolean;
733
+ };
734
+ export type CartLineUpsertWithWhereUniqueWithoutDiscountCodeRedemptionInput = {
735
+ where: Prisma.CartLineWhereUniqueInput;
736
+ update: Prisma.XOR<Prisma.CartLineUpdateWithoutDiscountCodeRedemptionInput, Prisma.CartLineUncheckedUpdateWithoutDiscountCodeRedemptionInput>;
737
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeRedemptionInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeRedemptionInput>;
738
+ };
739
+ export type CartLineUpdateWithWhereUniqueWithoutDiscountCodeRedemptionInput = {
740
+ where: Prisma.CartLineWhereUniqueInput;
741
+ data: Prisma.XOR<Prisma.CartLineUpdateWithoutDiscountCodeRedemptionInput, Prisma.CartLineUncheckedUpdateWithoutDiscountCodeRedemptionInput>;
742
+ };
743
+ export type CartLineUpdateManyWithWhereWithoutDiscountCodeRedemptionInput = {
744
+ where: Prisma.CartLineScalarWhereInput;
745
+ data: Prisma.XOR<Prisma.CartLineUpdateManyMutationInput, Prisma.CartLineUncheckedUpdateManyWithoutDiscountCodeRedemptionInput>;
746
+ };
747
+ export type CartLineCreateWithoutDiscountCodeInput = {
748
+ id?: bigint | number;
749
+ quantity: number;
750
+ createdAt?: Date | string;
751
+ updatedAt?: Date | string;
752
+ cost: PrismaJson.CartLineCost;
753
+ cart: Prisma.CartCreateNestedOneWithoutCartLinesInput;
754
+ merchandise: Prisma.ProductVariantCreateNestedOneWithoutCartLinesInput;
755
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionCreateNestedOneWithoutCartLineInput;
756
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutCartLineInput;
757
+ };
758
+ export type CartLineUncheckedCreateWithoutDiscountCodeInput = {
759
+ id?: bigint | number;
760
+ quantity: number;
761
+ productVariantId: bigint | number;
762
+ cartId: bigint | number;
763
+ createdAt?: Date | string;
764
+ updatedAt?: Date | string;
765
+ discountCodeRedemptionId?: bigint | number | null;
766
+ cost: PrismaJson.CartLineCost;
767
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutCartLineInput;
768
+ };
769
+ export type CartLineCreateOrConnectWithoutDiscountCodeInput = {
770
+ where: Prisma.CartLineWhereUniqueInput;
771
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput>;
772
+ };
773
+ export type CartLineCreateManyDiscountCodeInputEnvelope = {
774
+ data: Prisma.CartLineCreateManyDiscountCodeInput | Prisma.CartLineCreateManyDiscountCodeInput[];
775
+ skipDuplicates?: boolean;
776
+ };
777
+ export type CartLineUpsertWithWhereUniqueWithoutDiscountCodeInput = {
778
+ where: Prisma.CartLineWhereUniqueInput;
779
+ update: Prisma.XOR<Prisma.CartLineUpdateWithoutDiscountCodeInput, Prisma.CartLineUncheckedUpdateWithoutDiscountCodeInput>;
780
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutDiscountCodeInput, Prisma.CartLineUncheckedCreateWithoutDiscountCodeInput>;
781
+ };
782
+ export type CartLineUpdateWithWhereUniqueWithoutDiscountCodeInput = {
783
+ where: Prisma.CartLineWhereUniqueInput;
784
+ data: Prisma.XOR<Prisma.CartLineUpdateWithoutDiscountCodeInput, Prisma.CartLineUncheckedUpdateWithoutDiscountCodeInput>;
785
+ };
786
+ export type CartLineUpdateManyWithWhereWithoutDiscountCodeInput = {
787
+ where: Prisma.CartLineScalarWhereInput;
788
+ data: Prisma.XOR<Prisma.CartLineUpdateManyMutationInput, Prisma.CartLineUncheckedUpdateManyWithoutDiscountCodeInput>;
789
+ };
790
+ export type CartLineCreateWithoutMerchandiseInput = {
791
+ id?: bigint | number;
792
+ quantity: number;
793
+ createdAt?: Date | string;
794
+ updatedAt?: Date | string;
795
+ cost: PrismaJson.CartLineCost;
796
+ cart: Prisma.CartCreateNestedOneWithoutCartLinesInput;
797
+ discountCode?: Prisma.DiscountCodeCreateNestedOneWithoutCartLineInput;
798
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionCreateNestedOneWithoutCartLineInput;
799
+ cartLineModifier?: Prisma.CartLineModifierCreateNestedManyWithoutCartLineInput;
800
+ };
801
+ export type CartLineUncheckedCreateWithoutMerchandiseInput = {
802
+ id?: bigint | number;
803
+ quantity: number;
804
+ cartId: bigint | number;
805
+ createdAt?: Date | string;
806
+ updatedAt?: Date | string;
807
+ discountCodeId?: bigint | number | null;
808
+ discountCodeRedemptionId?: bigint | number | null;
809
+ cost: PrismaJson.CartLineCost;
810
+ cartLineModifier?: Prisma.CartLineModifierUncheckedCreateNestedManyWithoutCartLineInput;
811
+ };
812
+ export type CartLineCreateOrConnectWithoutMerchandiseInput = {
813
+ where: Prisma.CartLineWhereUniqueInput;
814
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutMerchandiseInput, Prisma.CartLineUncheckedCreateWithoutMerchandiseInput>;
815
+ };
816
+ export type CartLineCreateManyMerchandiseInputEnvelope = {
817
+ data: Prisma.CartLineCreateManyMerchandiseInput | Prisma.CartLineCreateManyMerchandiseInput[];
818
+ skipDuplicates?: boolean;
819
+ };
820
+ export type CartLineUpsertWithWhereUniqueWithoutMerchandiseInput = {
821
+ where: Prisma.CartLineWhereUniqueInput;
822
+ update: Prisma.XOR<Prisma.CartLineUpdateWithoutMerchandiseInput, Prisma.CartLineUncheckedUpdateWithoutMerchandiseInput>;
823
+ create: Prisma.XOR<Prisma.CartLineCreateWithoutMerchandiseInput, Prisma.CartLineUncheckedCreateWithoutMerchandiseInput>;
824
+ };
825
+ export type CartLineUpdateWithWhereUniqueWithoutMerchandiseInput = {
826
+ where: Prisma.CartLineWhereUniqueInput;
827
+ data: Prisma.XOR<Prisma.CartLineUpdateWithoutMerchandiseInput, Prisma.CartLineUncheckedUpdateWithoutMerchandiseInput>;
828
+ };
829
+ export type CartLineUpdateManyWithWhereWithoutMerchandiseInput = {
830
+ where: Prisma.CartLineScalarWhereInput;
831
+ data: Prisma.XOR<Prisma.CartLineUpdateManyMutationInput, Prisma.CartLineUncheckedUpdateManyWithoutMerchandiseInput>;
832
+ };
833
+ export type CartLineCreateManyCartInput = {
834
+ id?: bigint | number;
835
+ quantity: number;
836
+ productVariantId: bigint | number;
837
+ createdAt?: Date | string;
838
+ updatedAt?: Date | string;
839
+ discountCodeId?: bigint | number | null;
840
+ discountCodeRedemptionId?: bigint | number | null;
841
+ cost: PrismaJson.CartLineCost;
842
+ };
843
+ export type CartLineUpdateWithoutCartInput = {
844
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
845
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
846
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
847
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
848
+ cost?: PrismaJson.CartLineCost;
849
+ merchandise?: Prisma.ProductVariantUpdateOneRequiredWithoutCartLinesNestedInput;
850
+ discountCode?: Prisma.DiscountCodeUpdateOneWithoutCartLineNestedInput;
851
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionUpdateOneWithoutCartLineNestedInput;
852
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutCartLineNestedInput;
853
+ };
854
+ export type CartLineUncheckedUpdateWithoutCartInput = {
855
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
856
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
857
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
858
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
859
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
860
+ discountCodeId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
861
+ discountCodeRedemptionId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
862
+ cost?: PrismaJson.CartLineCost;
863
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutCartLineNestedInput;
864
+ };
865
+ export type CartLineUncheckedUpdateManyWithoutCartInput = {
866
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
867
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
868
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
869
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
870
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
871
+ discountCodeId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
872
+ discountCodeRedemptionId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
873
+ cost?: PrismaJson.CartLineCost;
874
+ };
875
+ export type CartLineCreateManyDiscountCodeRedemptionInput = {
876
+ id?: bigint | number;
877
+ quantity: number;
878
+ productVariantId: bigint | number;
879
+ cartId: bigint | number;
880
+ createdAt?: Date | string;
881
+ updatedAt?: Date | string;
882
+ discountCodeId?: bigint | number | null;
883
+ cost: PrismaJson.CartLineCost;
884
+ };
885
+ export type CartLineUpdateWithoutDiscountCodeRedemptionInput = {
886
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
887
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
888
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
889
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
890
+ cost?: PrismaJson.CartLineCost;
891
+ cart?: Prisma.CartUpdateOneRequiredWithoutCartLinesNestedInput;
892
+ merchandise?: Prisma.ProductVariantUpdateOneRequiredWithoutCartLinesNestedInput;
893
+ discountCode?: Prisma.DiscountCodeUpdateOneWithoutCartLineNestedInput;
894
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutCartLineNestedInput;
895
+ };
896
+ export type CartLineUncheckedUpdateWithoutDiscountCodeRedemptionInput = {
897
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
898
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
899
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
900
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
901
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
902
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
903
+ discountCodeId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
904
+ cost?: PrismaJson.CartLineCost;
905
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutCartLineNestedInput;
906
+ };
907
+ export type CartLineUncheckedUpdateManyWithoutDiscountCodeRedemptionInput = {
908
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
909
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
910
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
911
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
912
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
913
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
914
+ discountCodeId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
915
+ cost?: PrismaJson.CartLineCost;
916
+ };
917
+ export type CartLineCreateManyDiscountCodeInput = {
918
+ id?: bigint | number;
919
+ quantity: number;
920
+ productVariantId: bigint | number;
921
+ cartId: bigint | number;
922
+ createdAt?: Date | string;
923
+ updatedAt?: Date | string;
924
+ discountCodeRedemptionId?: bigint | number | null;
925
+ cost: PrismaJson.CartLineCost;
926
+ };
927
+ export type CartLineUpdateWithoutDiscountCodeInput = {
928
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
929
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
930
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
931
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
932
+ cost?: PrismaJson.CartLineCost;
933
+ cart?: Prisma.CartUpdateOneRequiredWithoutCartLinesNestedInput;
934
+ merchandise?: Prisma.ProductVariantUpdateOneRequiredWithoutCartLinesNestedInput;
935
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionUpdateOneWithoutCartLineNestedInput;
936
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutCartLineNestedInput;
937
+ };
938
+ export type CartLineUncheckedUpdateWithoutDiscountCodeInput = {
939
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
940
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
941
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
942
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
943
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
944
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
945
+ discountCodeRedemptionId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
946
+ cost?: PrismaJson.CartLineCost;
947
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutCartLineNestedInput;
948
+ };
949
+ export type CartLineUncheckedUpdateManyWithoutDiscountCodeInput = {
950
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
951
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
952
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
953
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
954
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
955
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
956
+ discountCodeRedemptionId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
957
+ cost?: PrismaJson.CartLineCost;
958
+ };
959
+ export type CartLineCreateManyMerchandiseInput = {
960
+ id?: bigint | number;
961
+ quantity: number;
962
+ cartId: bigint | number;
963
+ createdAt?: Date | string;
964
+ updatedAt?: Date | string;
965
+ discountCodeId?: bigint | number | null;
966
+ discountCodeRedemptionId?: bigint | number | null;
967
+ cost: PrismaJson.CartLineCost;
968
+ };
969
+ export type CartLineUpdateWithoutMerchandiseInput = {
970
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
971
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
972
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
973
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
974
+ cost?: PrismaJson.CartLineCost;
975
+ cart?: Prisma.CartUpdateOneRequiredWithoutCartLinesNestedInput;
976
+ discountCode?: Prisma.DiscountCodeUpdateOneWithoutCartLineNestedInput;
977
+ discountCodeRedemption?: Prisma.DiscountCodeRedemptionUpdateOneWithoutCartLineNestedInput;
978
+ cartLineModifier?: Prisma.CartLineModifierUpdateManyWithoutCartLineNestedInput;
979
+ };
980
+ export type CartLineUncheckedUpdateWithoutMerchandiseInput = {
981
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
982
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
983
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
984
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
985
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
986
+ discountCodeId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
987
+ discountCodeRedemptionId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
988
+ cost?: PrismaJson.CartLineCost;
989
+ cartLineModifier?: Prisma.CartLineModifierUncheckedUpdateManyWithoutCartLineNestedInput;
990
+ };
991
+ export type CartLineUncheckedUpdateManyWithoutMerchandiseInput = {
992
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
993
+ quantity?: Prisma.IntFieldUpdateOperationsInput | number;
994
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
995
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
996
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
997
+ discountCodeId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
998
+ discountCodeRedemptionId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
999
+ cost?: PrismaJson.CartLineCost;
1000
+ };
1001
+ /**
1002
+ * Count Type CartLineCountOutputType
1003
+ */
1004
+ export type CartLineCountOutputType = {
1005
+ cartLineModifier: number;
1006
+ };
1007
+ export type CartLineCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1008
+ cartLineModifier?: boolean | CartLineCountOutputTypeCountCartLineModifierArgs;
1009
+ };
1010
+ /**
1011
+ * CartLineCountOutputType without action
1012
+ */
1013
+ export type CartLineCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1014
+ /**
1015
+ * Select specific fields to fetch from the CartLineCountOutputType
1016
+ */
1017
+ select?: Prisma.CartLineCountOutputTypeSelect<ExtArgs> | null;
1018
+ };
1019
+ /**
1020
+ * CartLineCountOutputType without action
1021
+ */
1022
+ export type CartLineCountOutputTypeCountCartLineModifierArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1023
+ where?: Prisma.CartLineModifierWhereInput;
1024
+ };
1025
+ export type CartLineSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1026
+ id?: boolean;
1027
+ quantity?: boolean;
1028
+ productVariantId?: boolean;
1029
+ cartId?: boolean;
1030
+ createdAt?: boolean;
1031
+ updatedAt?: boolean;
1032
+ discountCodeId?: boolean;
1033
+ discountCodeRedemptionId?: boolean;
1034
+ cost?: boolean;
1035
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
1036
+ merchandise?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1037
+ discountCode?: boolean | Prisma.CartLine$discountCodeArgs<ExtArgs>;
1038
+ discountCodeRedemption?: boolean | Prisma.CartLine$discountCodeRedemptionArgs<ExtArgs>;
1039
+ cartLineModifier?: boolean | Prisma.CartLine$cartLineModifierArgs<ExtArgs>;
1040
+ _count?: boolean | Prisma.CartLineCountOutputTypeDefaultArgs<ExtArgs>;
1041
+ }, ExtArgs["result"]["cartLine"]>;
1042
+ export type CartLineSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1043
+ id?: boolean;
1044
+ quantity?: boolean;
1045
+ productVariantId?: boolean;
1046
+ cartId?: boolean;
1047
+ createdAt?: boolean;
1048
+ updatedAt?: boolean;
1049
+ discountCodeId?: boolean;
1050
+ discountCodeRedemptionId?: boolean;
1051
+ cost?: boolean;
1052
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
1053
+ merchandise?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1054
+ discountCode?: boolean | Prisma.CartLine$discountCodeArgs<ExtArgs>;
1055
+ discountCodeRedemption?: boolean | Prisma.CartLine$discountCodeRedemptionArgs<ExtArgs>;
1056
+ }, ExtArgs["result"]["cartLine"]>;
1057
+ export type CartLineSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1058
+ id?: boolean;
1059
+ quantity?: boolean;
1060
+ productVariantId?: boolean;
1061
+ cartId?: boolean;
1062
+ createdAt?: boolean;
1063
+ updatedAt?: boolean;
1064
+ discountCodeId?: boolean;
1065
+ discountCodeRedemptionId?: boolean;
1066
+ cost?: boolean;
1067
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
1068
+ merchandise?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1069
+ discountCode?: boolean | Prisma.CartLine$discountCodeArgs<ExtArgs>;
1070
+ discountCodeRedemption?: boolean | Prisma.CartLine$discountCodeRedemptionArgs<ExtArgs>;
1071
+ }, ExtArgs["result"]["cartLine"]>;
1072
+ export type CartLineSelectScalar = {
1073
+ id?: boolean;
1074
+ quantity?: boolean;
1075
+ productVariantId?: boolean;
1076
+ cartId?: boolean;
1077
+ createdAt?: boolean;
1078
+ updatedAt?: boolean;
1079
+ discountCodeId?: boolean;
1080
+ discountCodeRedemptionId?: boolean;
1081
+ cost?: boolean;
1082
+ };
1083
+ export type CartLineOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "quantity" | "productVariantId" | "cartId" | "createdAt" | "updatedAt" | "discountCodeId" | "discountCodeRedemptionId" | "cost", ExtArgs["result"]["cartLine"]>;
1084
+ export type CartLineInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1085
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
1086
+ merchandise?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1087
+ discountCode?: boolean | Prisma.CartLine$discountCodeArgs<ExtArgs>;
1088
+ discountCodeRedemption?: boolean | Prisma.CartLine$discountCodeRedemptionArgs<ExtArgs>;
1089
+ cartLineModifier?: boolean | Prisma.CartLine$cartLineModifierArgs<ExtArgs>;
1090
+ _count?: boolean | Prisma.CartLineCountOutputTypeDefaultArgs<ExtArgs>;
1091
+ };
1092
+ export type CartLineIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1093
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
1094
+ merchandise?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1095
+ discountCode?: boolean | Prisma.CartLine$discountCodeArgs<ExtArgs>;
1096
+ discountCodeRedemption?: boolean | Prisma.CartLine$discountCodeRedemptionArgs<ExtArgs>;
1097
+ };
1098
+ export type CartLineIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1099
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
1100
+ merchandise?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1101
+ discountCode?: boolean | Prisma.CartLine$discountCodeArgs<ExtArgs>;
1102
+ discountCodeRedemption?: boolean | Prisma.CartLine$discountCodeRedemptionArgs<ExtArgs>;
1103
+ };
1104
+ export type $CartLinePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1105
+ name: "CartLine";
1106
+ objects: {
1107
+ cart: Prisma.$CartPayload<ExtArgs>;
1108
+ merchandise: Prisma.$ProductVariantPayload<ExtArgs>;
1109
+ discountCode: Prisma.$DiscountCodePayload<ExtArgs> | null;
1110
+ discountCodeRedemption: Prisma.$DiscountCodeRedemptionPayload<ExtArgs> | null;
1111
+ cartLineModifier: Prisma.$CartLineModifierPayload<ExtArgs>[];
1112
+ };
1113
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1114
+ id: bigint;
1115
+ quantity: number;
1116
+ productVariantId: bigint;
1117
+ cartId: bigint;
1118
+ createdAt: Date;
1119
+ updatedAt: Date;
1120
+ discountCodeId: bigint | null;
1121
+ discountCodeRedemptionId: bigint | null;
1122
+ /**
1123
+ * [CartLineCost]
1124
+ */
1125
+ cost: PrismaJson.CartLineCost;
1126
+ }, ExtArgs["result"]["cartLine"]>;
1127
+ composites: {};
1128
+ };
1129
+ export type CartLineGetPayload<S extends boolean | null | undefined | CartLineDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CartLinePayload, S>;
1130
+ export type CartLineCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<CartLineFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1131
+ select?: CartLineCountAggregateInputType | true;
1132
+ };
1133
+ export interface CartLineDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1134
+ [K: symbol]: {
1135
+ types: Prisma.TypeMap<ExtArgs>['model']['CartLine'];
1136
+ meta: {
1137
+ name: 'CartLine';
1138
+ };
1139
+ };
1140
+ /**
1141
+ * Find zero or one CartLine that matches the filter.
1142
+ * @param {CartLineFindUniqueArgs} args - Arguments to find a CartLine
1143
+ * @example
1144
+ * // Get one CartLine
1145
+ * const cartLine = await prisma.cartLine.findUnique({
1146
+ * where: {
1147
+ * // ... provide filter here
1148
+ * }
1149
+ * })
1150
+ */
1151
+ findUnique<T extends CartLineFindUniqueArgs>(args: Prisma.SelectSubset<T, CartLineFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CartLineClient<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1152
+ /**
1153
+ * Find one CartLine that matches the filter or throw an error with `error.code='P2025'`
1154
+ * if no matches were found.
1155
+ * @param {CartLineFindUniqueOrThrowArgs} args - Arguments to find a CartLine
1156
+ * @example
1157
+ * // Get one CartLine
1158
+ * const cartLine = await prisma.cartLine.findUniqueOrThrow({
1159
+ * where: {
1160
+ * // ... provide filter here
1161
+ * }
1162
+ * })
1163
+ */
1164
+ findUniqueOrThrow<T extends CartLineFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CartLineFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CartLineClient<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1165
+ /**
1166
+ * Find the first CartLine that matches the filter.
1167
+ * Note, that providing `undefined` is treated as the value not being there.
1168
+ * Read more here: https://pris.ly/d/null-undefined
1169
+ * @param {CartLineFindFirstArgs} args - Arguments to find a CartLine
1170
+ * @example
1171
+ * // Get one CartLine
1172
+ * const cartLine = await prisma.cartLine.findFirst({
1173
+ * where: {
1174
+ * // ... provide filter here
1175
+ * }
1176
+ * })
1177
+ */
1178
+ findFirst<T extends CartLineFindFirstArgs>(args?: Prisma.SelectSubset<T, CartLineFindFirstArgs<ExtArgs>>): Prisma.Prisma__CartLineClient<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1179
+ /**
1180
+ * Find the first CartLine that matches the filter or
1181
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1182
+ * Note, that providing `undefined` is treated as the value not being there.
1183
+ * Read more here: https://pris.ly/d/null-undefined
1184
+ * @param {CartLineFindFirstOrThrowArgs} args - Arguments to find a CartLine
1185
+ * @example
1186
+ * // Get one CartLine
1187
+ * const cartLine = await prisma.cartLine.findFirstOrThrow({
1188
+ * where: {
1189
+ * // ... provide filter here
1190
+ * }
1191
+ * })
1192
+ */
1193
+ findFirstOrThrow<T extends CartLineFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CartLineFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CartLineClient<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1194
+ /**
1195
+ * Find zero or more CartLines that matches the filter.
1196
+ * Note, that providing `undefined` is treated as the value not being there.
1197
+ * Read more here: https://pris.ly/d/null-undefined
1198
+ * @param {CartLineFindManyArgs} args - Arguments to filter and select certain fields only.
1199
+ * @example
1200
+ * // Get all CartLines
1201
+ * const cartLines = await prisma.cartLine.findMany()
1202
+ *
1203
+ * // Get first 10 CartLines
1204
+ * const cartLines = await prisma.cartLine.findMany({ take: 10 })
1205
+ *
1206
+ * // Only select the `id`
1207
+ * const cartLineWithIdOnly = await prisma.cartLine.findMany({ select: { id: true } })
1208
+ *
1209
+ */
1210
+ findMany<T extends CartLineFindManyArgs>(args?: Prisma.SelectSubset<T, CartLineFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1211
+ /**
1212
+ * Create a CartLine.
1213
+ * @param {CartLineCreateArgs} args - Arguments to create a CartLine.
1214
+ * @example
1215
+ * // Create one CartLine
1216
+ * const CartLine = await prisma.cartLine.create({
1217
+ * data: {
1218
+ * // ... data to create a CartLine
1219
+ * }
1220
+ * })
1221
+ *
1222
+ */
1223
+ create<T extends CartLineCreateArgs>(args: Prisma.SelectSubset<T, CartLineCreateArgs<ExtArgs>>): Prisma.Prisma__CartLineClient<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1224
+ /**
1225
+ * Create many CartLines.
1226
+ * @param {CartLineCreateManyArgs} args - Arguments to create many CartLines.
1227
+ * @example
1228
+ * // Create many CartLines
1229
+ * const cartLine = await prisma.cartLine.createMany({
1230
+ * data: [
1231
+ * // ... provide data here
1232
+ * ]
1233
+ * })
1234
+ *
1235
+ */
1236
+ createMany<T extends CartLineCreateManyArgs>(args?: Prisma.SelectSubset<T, CartLineCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1237
+ /**
1238
+ * Create many CartLines and returns the data saved in the database.
1239
+ * @param {CartLineCreateManyAndReturnArgs} args - Arguments to create many CartLines.
1240
+ * @example
1241
+ * // Create many CartLines
1242
+ * const cartLine = await prisma.cartLine.createManyAndReturn({
1243
+ * data: [
1244
+ * // ... provide data here
1245
+ * ]
1246
+ * })
1247
+ *
1248
+ * // Create many CartLines and only return the `id`
1249
+ * const cartLineWithIdOnly = await prisma.cartLine.createManyAndReturn({
1250
+ * select: { id: true },
1251
+ * data: [
1252
+ * // ... provide data here
1253
+ * ]
1254
+ * })
1255
+ * Note, that providing `undefined` is treated as the value not being there.
1256
+ * Read more here: https://pris.ly/d/null-undefined
1257
+ *
1258
+ */
1259
+ createManyAndReturn<T extends CartLineCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CartLineCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1260
+ /**
1261
+ * Delete a CartLine.
1262
+ * @param {CartLineDeleteArgs} args - Arguments to delete one CartLine.
1263
+ * @example
1264
+ * // Delete one CartLine
1265
+ * const CartLine = await prisma.cartLine.delete({
1266
+ * where: {
1267
+ * // ... filter to delete one CartLine
1268
+ * }
1269
+ * })
1270
+ *
1271
+ */
1272
+ delete<T extends CartLineDeleteArgs>(args: Prisma.SelectSubset<T, CartLineDeleteArgs<ExtArgs>>): Prisma.Prisma__CartLineClient<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1273
+ /**
1274
+ * Update one CartLine.
1275
+ * @param {CartLineUpdateArgs} args - Arguments to update one CartLine.
1276
+ * @example
1277
+ * // Update one CartLine
1278
+ * const cartLine = await prisma.cartLine.update({
1279
+ * where: {
1280
+ * // ... provide filter here
1281
+ * },
1282
+ * data: {
1283
+ * // ... provide data here
1284
+ * }
1285
+ * })
1286
+ *
1287
+ */
1288
+ update<T extends CartLineUpdateArgs>(args: Prisma.SelectSubset<T, CartLineUpdateArgs<ExtArgs>>): Prisma.Prisma__CartLineClient<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1289
+ /**
1290
+ * Delete zero or more CartLines.
1291
+ * @param {CartLineDeleteManyArgs} args - Arguments to filter CartLines to delete.
1292
+ * @example
1293
+ * // Delete a few CartLines
1294
+ * const { count } = await prisma.cartLine.deleteMany({
1295
+ * where: {
1296
+ * // ... provide filter here
1297
+ * }
1298
+ * })
1299
+ *
1300
+ */
1301
+ deleteMany<T extends CartLineDeleteManyArgs>(args?: Prisma.SelectSubset<T, CartLineDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1302
+ /**
1303
+ * Update zero or more CartLines.
1304
+ * Note, that providing `undefined` is treated as the value not being there.
1305
+ * Read more here: https://pris.ly/d/null-undefined
1306
+ * @param {CartLineUpdateManyArgs} args - Arguments to update one or more rows.
1307
+ * @example
1308
+ * // Update many CartLines
1309
+ * const cartLine = await prisma.cartLine.updateMany({
1310
+ * where: {
1311
+ * // ... provide filter here
1312
+ * },
1313
+ * data: {
1314
+ * // ... provide data here
1315
+ * }
1316
+ * })
1317
+ *
1318
+ */
1319
+ updateMany<T extends CartLineUpdateManyArgs>(args: Prisma.SelectSubset<T, CartLineUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1320
+ /**
1321
+ * Update zero or more CartLines and returns the data updated in the database.
1322
+ * @param {CartLineUpdateManyAndReturnArgs} args - Arguments to update many CartLines.
1323
+ * @example
1324
+ * // Update many CartLines
1325
+ * const cartLine = await prisma.cartLine.updateManyAndReturn({
1326
+ * where: {
1327
+ * // ... provide filter here
1328
+ * },
1329
+ * data: [
1330
+ * // ... provide data here
1331
+ * ]
1332
+ * })
1333
+ *
1334
+ * // Update zero or more CartLines and only return the `id`
1335
+ * const cartLineWithIdOnly = await prisma.cartLine.updateManyAndReturn({
1336
+ * select: { id: true },
1337
+ * where: {
1338
+ * // ... provide filter here
1339
+ * },
1340
+ * data: [
1341
+ * // ... provide data here
1342
+ * ]
1343
+ * })
1344
+ * Note, that providing `undefined` is treated as the value not being there.
1345
+ * Read more here: https://pris.ly/d/null-undefined
1346
+ *
1347
+ */
1348
+ updateManyAndReturn<T extends CartLineUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CartLineUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1349
+ /**
1350
+ * Create or update one CartLine.
1351
+ * @param {CartLineUpsertArgs} args - Arguments to update or create a CartLine.
1352
+ * @example
1353
+ * // Update or create a CartLine
1354
+ * const cartLine = await prisma.cartLine.upsert({
1355
+ * create: {
1356
+ * // ... data to create a CartLine
1357
+ * },
1358
+ * update: {
1359
+ * // ... in case it already exists, update
1360
+ * },
1361
+ * where: {
1362
+ * // ... the filter for the CartLine we want to update
1363
+ * }
1364
+ * })
1365
+ */
1366
+ upsert<T extends CartLineUpsertArgs>(args: Prisma.SelectSubset<T, CartLineUpsertArgs<ExtArgs>>): Prisma.Prisma__CartLineClient<runtime.Types.Result.GetResult<Prisma.$CartLinePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1367
+ /**
1368
+ * Count the number of CartLines.
1369
+ * Note, that providing `undefined` is treated as the value not being there.
1370
+ * Read more here: https://pris.ly/d/null-undefined
1371
+ * @param {CartLineCountArgs} args - Arguments to filter CartLines to count.
1372
+ * @example
1373
+ * // Count the number of CartLines
1374
+ * const count = await prisma.cartLine.count({
1375
+ * where: {
1376
+ * // ... the filter for the CartLines we want to count
1377
+ * }
1378
+ * })
1379
+ **/
1380
+ count<T extends CartLineCountArgs>(args?: Prisma.Subset<T, CartLineCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], CartLineCountAggregateOutputType> : number>;
1381
+ /**
1382
+ * Allows you to perform aggregations operations on a CartLine.
1383
+ * Note, that providing `undefined` is treated as the value not being there.
1384
+ * Read more here: https://pris.ly/d/null-undefined
1385
+ * @param {CartLineAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1386
+ * @example
1387
+ * // Ordered by age ascending
1388
+ * // Where email contains prisma.io
1389
+ * // Limited to the 10 users
1390
+ * const aggregations = await prisma.user.aggregate({
1391
+ * _avg: {
1392
+ * age: true,
1393
+ * },
1394
+ * where: {
1395
+ * email: {
1396
+ * contains: "prisma.io",
1397
+ * },
1398
+ * },
1399
+ * orderBy: {
1400
+ * age: "asc",
1401
+ * },
1402
+ * take: 10,
1403
+ * })
1404
+ **/
1405
+ aggregate<T extends CartLineAggregateArgs>(args: Prisma.Subset<T, CartLineAggregateArgs>): Prisma.PrismaPromise<GetCartLineAggregateType<T>>;
1406
+ /**
1407
+ * Group by CartLine.
1408
+ * Note, that providing `undefined` is treated as the value not being there.
1409
+ * Read more here: https://pris.ly/d/null-undefined
1410
+ * @param {CartLineGroupByArgs} args - Group by arguments.
1411
+ * @example
1412
+ * // Group by city, order by createdAt, get count
1413
+ * const result = await prisma.user.groupBy({
1414
+ * by: ['city', 'createdAt'],
1415
+ * orderBy: {
1416
+ * createdAt: true
1417
+ * },
1418
+ * _count: {
1419
+ * _all: true
1420
+ * },
1421
+ * })
1422
+ *
1423
+ **/
1424
+ groupBy<T extends CartLineGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1425
+ orderBy: CartLineGroupByArgs['orderBy'];
1426
+ } : {
1427
+ orderBy?: CartLineGroupByArgs['orderBy'];
1428
+ }, 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 ? {
1429
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1430
+ Error,
1431
+ 'Field ',
1432
+ P,
1433
+ ` in "having" needs to be provided in "by"`
1434
+ ];
1435
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1436
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1437
+ }[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 ? {} : {
1438
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1439
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1440
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1441
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, CartLineGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCartLineGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1442
+ /**
1443
+ * Fields of the CartLine model
1444
+ */
1445
+ readonly fields: CartLineFieldRefs;
1446
+ }
1447
+ /**
1448
+ * The delegate class that acts as a "Promise-like" for CartLine.
1449
+ * Why is this prefixed with `Prisma__`?
1450
+ * Because we want to prevent naming conflicts as mentioned in
1451
+ * https://github.com/prisma/prisma-client-js/issues/707
1452
+ */
1453
+ export interface Prisma__CartLineClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1454
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1455
+ cart<T extends Prisma.CartDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CartDefaultArgs<ExtArgs>>): Prisma.Prisma__CartClient<runtime.Types.Result.GetResult<Prisma.$CartPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1456
+ merchandise<T extends Prisma.ProductVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductVariantClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1457
+ discountCode<T extends Prisma.CartLine$discountCodeArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CartLine$discountCodeArgs<ExtArgs>>): Prisma.Prisma__DiscountCodeClient<runtime.Types.Result.GetResult<Prisma.$DiscountCodePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1458
+ discountCodeRedemption<T extends Prisma.CartLine$discountCodeRedemptionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CartLine$discountCodeRedemptionArgs<ExtArgs>>): Prisma.Prisma__DiscountCodeRedemptionClient<runtime.Types.Result.GetResult<Prisma.$DiscountCodeRedemptionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1459
+ cartLineModifier<T extends Prisma.CartLine$cartLineModifierArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CartLine$cartLineModifierArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CartLineModifierPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1460
+ /**
1461
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1462
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1463
+ * @param onrejected The callback to execute when the Promise is rejected.
1464
+ * @returns A Promise for the completion of which ever callback is executed.
1465
+ */
1466
+ 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>;
1467
+ /**
1468
+ * Attaches a callback for only the rejection of the Promise.
1469
+ * @param onrejected The callback to execute when the Promise is rejected.
1470
+ * @returns A Promise for the completion of the callback.
1471
+ */
1472
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1473
+ /**
1474
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1475
+ * resolved value cannot be modified from the callback.
1476
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1477
+ * @returns A Promise for the completion of the callback.
1478
+ */
1479
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1480
+ }
1481
+ /**
1482
+ * Fields of the CartLine model
1483
+ */
1484
+ export interface CartLineFieldRefs {
1485
+ readonly id: Prisma.FieldRef<"CartLine", 'BigInt'>;
1486
+ readonly quantity: Prisma.FieldRef<"CartLine", 'Int'>;
1487
+ readonly productVariantId: Prisma.FieldRef<"CartLine", 'BigInt'>;
1488
+ readonly cartId: Prisma.FieldRef<"CartLine", 'BigInt'>;
1489
+ readonly createdAt: Prisma.FieldRef<"CartLine", 'DateTime'>;
1490
+ readonly updatedAt: Prisma.FieldRef<"CartLine", 'DateTime'>;
1491
+ readonly discountCodeId: Prisma.FieldRef<"CartLine", 'BigInt'>;
1492
+ readonly discountCodeRedemptionId: Prisma.FieldRef<"CartLine", 'BigInt'>;
1493
+ readonly cost: Prisma.FieldRef<"CartLine", 'Json'>;
1494
+ }
1495
+ /**
1496
+ * CartLine findUnique
1497
+ */
1498
+ export type CartLineFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1499
+ /**
1500
+ * Select specific fields to fetch from the CartLine
1501
+ */
1502
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1503
+ /**
1504
+ * Omit specific fields from the CartLine
1505
+ */
1506
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1507
+ /**
1508
+ * Choose, which related nodes to fetch as well
1509
+ */
1510
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1511
+ /**
1512
+ * Filter, which CartLine to fetch.
1513
+ */
1514
+ where: Prisma.CartLineWhereUniqueInput;
1515
+ };
1516
+ /**
1517
+ * CartLine findUniqueOrThrow
1518
+ */
1519
+ export type CartLineFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1520
+ /**
1521
+ * Select specific fields to fetch from the CartLine
1522
+ */
1523
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1524
+ /**
1525
+ * Omit specific fields from the CartLine
1526
+ */
1527
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1528
+ /**
1529
+ * Choose, which related nodes to fetch as well
1530
+ */
1531
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1532
+ /**
1533
+ * Filter, which CartLine to fetch.
1534
+ */
1535
+ where: Prisma.CartLineWhereUniqueInput;
1536
+ };
1537
+ /**
1538
+ * CartLine findFirst
1539
+ */
1540
+ export type CartLineFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1541
+ /**
1542
+ * Select specific fields to fetch from the CartLine
1543
+ */
1544
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1545
+ /**
1546
+ * Omit specific fields from the CartLine
1547
+ */
1548
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1549
+ /**
1550
+ * Choose, which related nodes to fetch as well
1551
+ */
1552
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1553
+ /**
1554
+ * Filter, which CartLine to fetch.
1555
+ */
1556
+ where?: Prisma.CartLineWhereInput;
1557
+ /**
1558
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1559
+ *
1560
+ * Determine the order of CartLines to fetch.
1561
+ */
1562
+ orderBy?: Prisma.CartLineOrderByWithRelationInput | Prisma.CartLineOrderByWithRelationInput[];
1563
+ /**
1564
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1565
+ *
1566
+ * Sets the position for searching for CartLines.
1567
+ */
1568
+ cursor?: Prisma.CartLineWhereUniqueInput;
1569
+ /**
1570
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1571
+ *
1572
+ * Take `±n` CartLines from the position of the cursor.
1573
+ */
1574
+ take?: number;
1575
+ /**
1576
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1577
+ *
1578
+ * Skip the first `n` CartLines.
1579
+ */
1580
+ skip?: number;
1581
+ /**
1582
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1583
+ *
1584
+ * Filter by unique combinations of CartLines.
1585
+ */
1586
+ distinct?: Prisma.CartLineScalarFieldEnum | Prisma.CartLineScalarFieldEnum[];
1587
+ };
1588
+ /**
1589
+ * CartLine findFirstOrThrow
1590
+ */
1591
+ export type CartLineFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1592
+ /**
1593
+ * Select specific fields to fetch from the CartLine
1594
+ */
1595
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1596
+ /**
1597
+ * Omit specific fields from the CartLine
1598
+ */
1599
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1600
+ /**
1601
+ * Choose, which related nodes to fetch as well
1602
+ */
1603
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1604
+ /**
1605
+ * Filter, which CartLine to fetch.
1606
+ */
1607
+ where?: Prisma.CartLineWhereInput;
1608
+ /**
1609
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1610
+ *
1611
+ * Determine the order of CartLines to fetch.
1612
+ */
1613
+ orderBy?: Prisma.CartLineOrderByWithRelationInput | Prisma.CartLineOrderByWithRelationInput[];
1614
+ /**
1615
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1616
+ *
1617
+ * Sets the position for searching for CartLines.
1618
+ */
1619
+ cursor?: Prisma.CartLineWhereUniqueInput;
1620
+ /**
1621
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1622
+ *
1623
+ * Take `±n` CartLines from the position of the cursor.
1624
+ */
1625
+ take?: number;
1626
+ /**
1627
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1628
+ *
1629
+ * Skip the first `n` CartLines.
1630
+ */
1631
+ skip?: number;
1632
+ /**
1633
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1634
+ *
1635
+ * Filter by unique combinations of CartLines.
1636
+ */
1637
+ distinct?: Prisma.CartLineScalarFieldEnum | Prisma.CartLineScalarFieldEnum[];
1638
+ };
1639
+ /**
1640
+ * CartLine findMany
1641
+ */
1642
+ export type CartLineFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1643
+ /**
1644
+ * Select specific fields to fetch from the CartLine
1645
+ */
1646
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1647
+ /**
1648
+ * Omit specific fields from the CartLine
1649
+ */
1650
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1651
+ /**
1652
+ * Choose, which related nodes to fetch as well
1653
+ */
1654
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1655
+ /**
1656
+ * Filter, which CartLines to fetch.
1657
+ */
1658
+ where?: Prisma.CartLineWhereInput;
1659
+ /**
1660
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1661
+ *
1662
+ * Determine the order of CartLines to fetch.
1663
+ */
1664
+ orderBy?: Prisma.CartLineOrderByWithRelationInput | Prisma.CartLineOrderByWithRelationInput[];
1665
+ /**
1666
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1667
+ *
1668
+ * Sets the position for listing CartLines.
1669
+ */
1670
+ cursor?: Prisma.CartLineWhereUniqueInput;
1671
+ /**
1672
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1673
+ *
1674
+ * Take `±n` CartLines from the position of the cursor.
1675
+ */
1676
+ take?: number;
1677
+ /**
1678
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1679
+ *
1680
+ * Skip the first `n` CartLines.
1681
+ */
1682
+ skip?: number;
1683
+ distinct?: Prisma.CartLineScalarFieldEnum | Prisma.CartLineScalarFieldEnum[];
1684
+ };
1685
+ /**
1686
+ * CartLine create
1687
+ */
1688
+ export type CartLineCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1689
+ /**
1690
+ * Select specific fields to fetch from the CartLine
1691
+ */
1692
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1693
+ /**
1694
+ * Omit specific fields from the CartLine
1695
+ */
1696
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1697
+ /**
1698
+ * Choose, which related nodes to fetch as well
1699
+ */
1700
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1701
+ /**
1702
+ * The data needed to create a CartLine.
1703
+ */
1704
+ data: Prisma.XOR<Prisma.CartLineCreateInput, Prisma.CartLineUncheckedCreateInput>;
1705
+ };
1706
+ /**
1707
+ * CartLine createMany
1708
+ */
1709
+ export type CartLineCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1710
+ /**
1711
+ * The data used to create many CartLines.
1712
+ */
1713
+ data: Prisma.CartLineCreateManyInput | Prisma.CartLineCreateManyInput[];
1714
+ skipDuplicates?: boolean;
1715
+ };
1716
+ /**
1717
+ * CartLine createManyAndReturn
1718
+ */
1719
+ export type CartLineCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1720
+ /**
1721
+ * Select specific fields to fetch from the CartLine
1722
+ */
1723
+ select?: Prisma.CartLineSelectCreateManyAndReturn<ExtArgs> | null;
1724
+ /**
1725
+ * Omit specific fields from the CartLine
1726
+ */
1727
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1728
+ /**
1729
+ * The data used to create many CartLines.
1730
+ */
1731
+ data: Prisma.CartLineCreateManyInput | Prisma.CartLineCreateManyInput[];
1732
+ skipDuplicates?: boolean;
1733
+ /**
1734
+ * Choose, which related nodes to fetch as well
1735
+ */
1736
+ include?: Prisma.CartLineIncludeCreateManyAndReturn<ExtArgs> | null;
1737
+ };
1738
+ /**
1739
+ * CartLine update
1740
+ */
1741
+ export type CartLineUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1742
+ /**
1743
+ * Select specific fields to fetch from the CartLine
1744
+ */
1745
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1746
+ /**
1747
+ * Omit specific fields from the CartLine
1748
+ */
1749
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1750
+ /**
1751
+ * Choose, which related nodes to fetch as well
1752
+ */
1753
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1754
+ /**
1755
+ * The data needed to update a CartLine.
1756
+ */
1757
+ data: Prisma.XOR<Prisma.CartLineUpdateInput, Prisma.CartLineUncheckedUpdateInput>;
1758
+ /**
1759
+ * Choose, which CartLine to update.
1760
+ */
1761
+ where: Prisma.CartLineWhereUniqueInput;
1762
+ };
1763
+ /**
1764
+ * CartLine updateMany
1765
+ */
1766
+ export type CartLineUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1767
+ /**
1768
+ * The data used to update CartLines.
1769
+ */
1770
+ data: Prisma.XOR<Prisma.CartLineUpdateManyMutationInput, Prisma.CartLineUncheckedUpdateManyInput>;
1771
+ /**
1772
+ * Filter which CartLines to update
1773
+ */
1774
+ where?: Prisma.CartLineWhereInput;
1775
+ /**
1776
+ * Limit how many CartLines to update.
1777
+ */
1778
+ limit?: number;
1779
+ };
1780
+ /**
1781
+ * CartLine updateManyAndReturn
1782
+ */
1783
+ export type CartLineUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1784
+ /**
1785
+ * Select specific fields to fetch from the CartLine
1786
+ */
1787
+ select?: Prisma.CartLineSelectUpdateManyAndReturn<ExtArgs> | null;
1788
+ /**
1789
+ * Omit specific fields from the CartLine
1790
+ */
1791
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1792
+ /**
1793
+ * The data used to update CartLines.
1794
+ */
1795
+ data: Prisma.XOR<Prisma.CartLineUpdateManyMutationInput, Prisma.CartLineUncheckedUpdateManyInput>;
1796
+ /**
1797
+ * Filter which CartLines to update
1798
+ */
1799
+ where?: Prisma.CartLineWhereInput;
1800
+ /**
1801
+ * Limit how many CartLines to update.
1802
+ */
1803
+ limit?: number;
1804
+ /**
1805
+ * Choose, which related nodes to fetch as well
1806
+ */
1807
+ include?: Prisma.CartLineIncludeUpdateManyAndReturn<ExtArgs> | null;
1808
+ };
1809
+ /**
1810
+ * CartLine upsert
1811
+ */
1812
+ export type CartLineUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1813
+ /**
1814
+ * Select specific fields to fetch from the CartLine
1815
+ */
1816
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1817
+ /**
1818
+ * Omit specific fields from the CartLine
1819
+ */
1820
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1821
+ /**
1822
+ * Choose, which related nodes to fetch as well
1823
+ */
1824
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1825
+ /**
1826
+ * The filter to search for the CartLine to update in case it exists.
1827
+ */
1828
+ where: Prisma.CartLineWhereUniqueInput;
1829
+ /**
1830
+ * In case the CartLine found by the `where` argument doesn't exist, create a new CartLine with this data.
1831
+ */
1832
+ create: Prisma.XOR<Prisma.CartLineCreateInput, Prisma.CartLineUncheckedCreateInput>;
1833
+ /**
1834
+ * In case the CartLine was found with the provided `where` argument, update it with this data.
1835
+ */
1836
+ update: Prisma.XOR<Prisma.CartLineUpdateInput, Prisma.CartLineUncheckedUpdateInput>;
1837
+ };
1838
+ /**
1839
+ * CartLine delete
1840
+ */
1841
+ export type CartLineDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1842
+ /**
1843
+ * Select specific fields to fetch from the CartLine
1844
+ */
1845
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1846
+ /**
1847
+ * Omit specific fields from the CartLine
1848
+ */
1849
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1850
+ /**
1851
+ * Choose, which related nodes to fetch as well
1852
+ */
1853
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1854
+ /**
1855
+ * Filter which CartLine to delete.
1856
+ */
1857
+ where: Prisma.CartLineWhereUniqueInput;
1858
+ };
1859
+ /**
1860
+ * CartLine deleteMany
1861
+ */
1862
+ export type CartLineDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1863
+ /**
1864
+ * Filter which CartLines to delete
1865
+ */
1866
+ where?: Prisma.CartLineWhereInput;
1867
+ /**
1868
+ * Limit how many CartLines to delete.
1869
+ */
1870
+ limit?: number;
1871
+ };
1872
+ /**
1873
+ * CartLine.discountCode
1874
+ */
1875
+ export type CartLine$discountCodeArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1876
+ /**
1877
+ * Select specific fields to fetch from the DiscountCode
1878
+ */
1879
+ select?: Prisma.DiscountCodeSelect<ExtArgs> | null;
1880
+ /**
1881
+ * Omit specific fields from the DiscountCode
1882
+ */
1883
+ omit?: Prisma.DiscountCodeOmit<ExtArgs> | null;
1884
+ /**
1885
+ * Choose, which related nodes to fetch as well
1886
+ */
1887
+ include?: Prisma.DiscountCodeInclude<ExtArgs> | null;
1888
+ where?: Prisma.DiscountCodeWhereInput;
1889
+ };
1890
+ /**
1891
+ * CartLine.discountCodeRedemption
1892
+ */
1893
+ export type CartLine$discountCodeRedemptionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1894
+ /**
1895
+ * Select specific fields to fetch from the DiscountCodeRedemption
1896
+ */
1897
+ select?: Prisma.DiscountCodeRedemptionSelect<ExtArgs> | null;
1898
+ /**
1899
+ * Omit specific fields from the DiscountCodeRedemption
1900
+ */
1901
+ omit?: Prisma.DiscountCodeRedemptionOmit<ExtArgs> | null;
1902
+ /**
1903
+ * Choose, which related nodes to fetch as well
1904
+ */
1905
+ include?: Prisma.DiscountCodeRedemptionInclude<ExtArgs> | null;
1906
+ where?: Prisma.DiscountCodeRedemptionWhereInput;
1907
+ };
1908
+ /**
1909
+ * CartLine.cartLineModifier
1910
+ */
1911
+ export type CartLine$cartLineModifierArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1912
+ /**
1913
+ * Select specific fields to fetch from the CartLineModifier
1914
+ */
1915
+ select?: Prisma.CartLineModifierSelect<ExtArgs> | null;
1916
+ /**
1917
+ * Omit specific fields from the CartLineModifier
1918
+ */
1919
+ omit?: Prisma.CartLineModifierOmit<ExtArgs> | null;
1920
+ /**
1921
+ * Choose, which related nodes to fetch as well
1922
+ */
1923
+ include?: Prisma.CartLineModifierInclude<ExtArgs> | null;
1924
+ where?: Prisma.CartLineModifierWhereInput;
1925
+ orderBy?: Prisma.CartLineModifierOrderByWithRelationInput | Prisma.CartLineModifierOrderByWithRelationInput[];
1926
+ cursor?: Prisma.CartLineModifierWhereUniqueInput;
1927
+ take?: number;
1928
+ skip?: number;
1929
+ distinct?: Prisma.CartLineModifierScalarFieldEnum | Prisma.CartLineModifierScalarFieldEnum[];
1930
+ };
1931
+ /**
1932
+ * CartLine without action
1933
+ */
1934
+ export type CartLineDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1935
+ /**
1936
+ * Select specific fields to fetch from the CartLine
1937
+ */
1938
+ select?: Prisma.CartLineSelect<ExtArgs> | null;
1939
+ /**
1940
+ * Omit specific fields from the CartLine
1941
+ */
1942
+ omit?: Prisma.CartLineOmit<ExtArgs> | null;
1943
+ /**
1944
+ * Choose, which related nodes to fetch as well
1945
+ */
1946
+ include?: Prisma.CartLineInclude<ExtArgs> | null;
1947
+ };
1948
+ export {};