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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (412) hide show
  1. package/lib/generated/prisma/browser.d.ts +514 -0
  2. package/lib/generated/prisma/browser.js +57 -0
  3. package/lib/generated/prisma/browser.js.map +1 -0
  4. package/lib/generated/prisma/client.d.ts +531 -0
  5. package/lib/generated/prisma/client.js +69 -0
  6. package/lib/generated/prisma/client.js.map +1 -0
  7. package/lib/generated/prisma/commonInputTypes.d.ts +1529 -0
  8. package/lib/generated/prisma/commonInputTypes.js +12 -0
  9. package/lib/generated/prisma/commonInputTypes.js.map +1 -0
  10. package/lib/generated/prisma/dmmf.d.ts +4085 -0
  11. package/lib/generated/prisma/dmmf.js +27551 -0
  12. package/lib/generated/prisma/dmmf.js.map +1 -0
  13. package/lib/generated/prisma/enums.d.ts +216 -0
  14. package/lib/generated/prisma/enums.js +205 -0
  15. package/lib/generated/prisma/enums.js.map +1 -0
  16. package/lib/generated/prisma/internal/class.d.ts +1237 -0
  17. package/lib/generated/prisma/internal/class.js +79 -0
  18. package/lib/generated/prisma/internal/class.js.map +1 -0
  19. package/lib/generated/prisma/internal/prismaNamespace.d.ts +10091 -0
  20. package/lib/generated/prisma/internal/prismaNamespace.js +1721 -0
  21. package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -0
  22. package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +1816 -0
  23. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +1692 -0
  24. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
  25. package/lib/generated/prisma/kysely-types.d.ts +1499 -0
  26. package/lib/generated/prisma/kysely-types.js +196 -0
  27. package/lib/generated/prisma/kysely-types.js.map +1 -0
  28. package/lib/generated/prisma/models/Address.d.ts +1339 -0
  29. package/lib/generated/prisma/models/Address.js +12 -0
  30. package/lib/generated/prisma/models/Address.js.map +1 -0
  31. package/lib/generated/prisma/models/Administrator.d.ts +1633 -0
  32. package/lib/generated/prisma/models/Administrator.js +12 -0
  33. package/lib/generated/prisma/models/Administrator.js.map +1 -0
  34. package/lib/generated/prisma/models/AdministratorToPlatform.d.ts +1208 -0
  35. package/lib/generated/prisma/models/AdministratorToPlatform.js +12 -0
  36. package/lib/generated/prisma/models/AdministratorToPlatform.js.map +1 -0
  37. package/lib/generated/prisma/models/AdministratorToStore.d.ts +1201 -0
  38. package/lib/generated/prisma/models/AdministratorToStore.js +12 -0
  39. package/lib/generated/prisma/models/AdministratorToStore.js.map +1 -0
  40. package/lib/generated/prisma/models/ApiToken.d.ts +1125 -0
  41. package/lib/generated/prisma/models/ApiToken.js +12 -0
  42. package/lib/generated/prisma/models/ApiToken.js.map +1 -0
  43. package/lib/generated/prisma/models/AwsBucket.d.ts +1435 -0
  44. package/lib/generated/prisma/models/AwsBucket.js +12 -0
  45. package/lib/generated/prisma/models/AwsBucket.js.map +1 -0
  46. package/lib/generated/prisma/models/Card.d.ts +1533 -0
  47. package/lib/generated/prisma/models/Card.js +12 -0
  48. package/lib/generated/prisma/models/Card.js.map +1 -0
  49. package/lib/generated/prisma/models/Cart.d.ts +2315 -0
  50. package/lib/generated/prisma/models/Cart.js +12 -0
  51. package/lib/generated/prisma/models/Cart.js.map +1 -0
  52. package/lib/generated/prisma/models/CartCost.d.ts +1368 -0
  53. package/lib/generated/prisma/models/CartCost.js +12 -0
  54. package/lib/generated/prisma/models/CartCost.js.map +1 -0
  55. package/lib/generated/prisma/models/CartLine.d.ts +1948 -0
  56. package/lib/generated/prisma/models/CartLine.js +12 -0
  57. package/lib/generated/prisma/models/CartLine.js.map +1 -0
  58. package/lib/generated/prisma/models/CartLineModifier.d.ts +2061 -0
  59. package/lib/generated/prisma/models/CartLineModifier.js +12 -0
  60. package/lib/generated/prisma/models/CartLineModifier.js.map +1 -0
  61. package/lib/generated/prisma/models/CartLineModifierOption.d.ts +1435 -0
  62. package/lib/generated/prisma/models/CartLineModifierOption.js +12 -0
  63. package/lib/generated/prisma/models/CartLineModifierOption.js.map +1 -0
  64. package/lib/generated/prisma/models/Checkout.d.ts +3989 -0
  65. package/lib/generated/prisma/models/Checkout.js +12 -0
  66. package/lib/generated/prisma/models/Checkout.js.map +1 -0
  67. package/lib/generated/prisma/models/CheckoutGroup.d.ts +2604 -0
  68. package/lib/generated/prisma/models/CheckoutGroup.js +12 -0
  69. package/lib/generated/prisma/models/CheckoutGroup.js.map +1 -0
  70. package/lib/generated/prisma/models/CheckoutLine.d.ts +1932 -0
  71. package/lib/generated/prisma/models/CheckoutLine.js +12 -0
  72. package/lib/generated/prisma/models/CheckoutLine.js.map +1 -0
  73. package/lib/generated/prisma/models/CheckoutLineModifierOption.d.ts +1702 -0
  74. package/lib/generated/prisma/models/CheckoutLineModifierOption.js +12 -0
  75. package/lib/generated/prisma/models/CheckoutLineModifierOption.js.map +1 -0
  76. package/lib/generated/prisma/models/CheckoutLinesModifier.d.ts +2124 -0
  77. package/lib/generated/prisma/models/CheckoutLinesModifier.js +12 -0
  78. package/lib/generated/prisma/models/CheckoutLinesModifier.js.map +1 -0
  79. package/lib/generated/prisma/models/Collection.d.ts +1961 -0
  80. package/lib/generated/prisma/models/Collection.js +12 -0
  81. package/lib/generated/prisma/models/Collection.js.map +1 -0
  82. package/lib/generated/prisma/models/CollectionToPlatform.d.ts +1313 -0
  83. package/lib/generated/prisma/models/CollectionToPlatform.js +12 -0
  84. package/lib/generated/prisma/models/CollectionToPlatform.js.map +1 -0
  85. package/lib/generated/prisma/models/CollectionToProduct.d.ts +1342 -0
  86. package/lib/generated/prisma/models/CollectionToProduct.js +12 -0
  87. package/lib/generated/prisma/models/CollectionToProduct.js.map +1 -0
  88. package/lib/generated/prisma/models/CollectionToProductVariant.d.ts +1201 -0
  89. package/lib/generated/prisma/models/CollectionToProductVariant.js +12 -0
  90. package/lib/generated/prisma/models/CollectionToProductVariant.js.map +1 -0
  91. package/lib/generated/prisma/models/Customer.d.ts +2964 -0
  92. package/lib/generated/prisma/models/Customer.js +12 -0
  93. package/lib/generated/prisma/models/Customer.js.map +1 -0
  94. package/lib/generated/prisma/models/CustomerGroup.d.ts +1167 -0
  95. package/lib/generated/prisma/models/CustomerGroup.js +12 -0
  96. package/lib/generated/prisma/models/CustomerGroup.js.map +1 -0
  97. package/lib/generated/prisma/models/CustomerToAddress.d.ts +1243 -0
  98. package/lib/generated/prisma/models/CustomerToAddress.js +12 -0
  99. package/lib/generated/prisma/models/CustomerToAddress.js.map +1 -0
  100. package/lib/generated/prisma/models/CustomerToCustomerGroup.d.ts +1201 -0
  101. package/lib/generated/prisma/models/CustomerToCustomerGroup.js +12 -0
  102. package/lib/generated/prisma/models/CustomerToCustomerGroup.js.map +1 -0
  103. package/lib/generated/prisma/models/DiscountCode.d.ts +3139 -0
  104. package/lib/generated/prisma/models/DiscountCode.js +12 -0
  105. package/lib/generated/prisma/models/DiscountCode.js.map +1 -0
  106. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.d.ts +1332 -0
  107. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js +12 -0
  108. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js.map +1 -0
  109. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.d.ts +1389 -0
  110. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js +12 -0
  111. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js.map +1 -0
  112. package/lib/generated/prisma/models/DiscountCodeRedemption.d.ts +1537 -0
  113. package/lib/generated/prisma/models/DiscountCodeRedemption.js +12 -0
  114. package/lib/generated/prisma/models/DiscountCodeRedemption.js.map +1 -0
  115. package/lib/generated/prisma/models/EventLog.d.ts +1295 -0
  116. package/lib/generated/prisma/models/EventLog.js +12 -0
  117. package/lib/generated/prisma/models/EventLog.js.map +1 -0
  118. package/lib/generated/prisma/models/Facet.d.ts +1266 -0
  119. package/lib/generated/prisma/models/Facet.js +12 -0
  120. package/lib/generated/prisma/models/Facet.js.map +1 -0
  121. package/lib/generated/prisma/models/FacetOption.d.ts +1342 -0
  122. package/lib/generated/prisma/models/FacetOption.js +12 -0
  123. package/lib/generated/prisma/models/FacetOption.js.map +1 -0
  124. package/lib/generated/prisma/models/FacetOptionToPlatform.d.ts +1201 -0
  125. package/lib/generated/prisma/models/FacetOptionToPlatform.js +12 -0
  126. package/lib/generated/prisma/models/FacetOptionToPlatform.js.map +1 -0
  127. package/lib/generated/prisma/models/FacetToPlatform.d.ts +1201 -0
  128. package/lib/generated/prisma/models/FacetToPlatform.js +12 -0
  129. package/lib/generated/prisma/models/FacetToPlatform.js.map +1 -0
  130. package/lib/generated/prisma/models/FeatureFlag.d.ts +1412 -0
  131. package/lib/generated/prisma/models/FeatureFlag.js +12 -0
  132. package/lib/generated/prisma/models/FeatureFlag.js.map +1 -0
  133. package/lib/generated/prisma/models/FirebaseAdminConfiguration.d.ts +1059 -0
  134. package/lib/generated/prisma/models/FirebaseAdminConfiguration.js +12 -0
  135. package/lib/generated/prisma/models/FirebaseAdminConfiguration.js.map +1 -0
  136. package/lib/generated/prisma/models/FlaggedPayment.d.ts +1065 -0
  137. package/lib/generated/prisma/models/FlaggedPayment.js +12 -0
  138. package/lib/generated/prisma/models/FlaggedPayment.js.map +1 -0
  139. package/lib/generated/prisma/models/FreeItemRule.d.ts +1021 -0
  140. package/lib/generated/prisma/models/FreeItemRule.js +12 -0
  141. package/lib/generated/prisma/models/FreeItemRule.js.map +1 -0
  142. package/lib/generated/prisma/models/FreeItemToCustomer.d.ts +993 -0
  143. package/lib/generated/prisma/models/FreeItemToCustomer.js +12 -0
  144. package/lib/generated/prisma/models/FreeItemToCustomer.js.map +1 -0
  145. package/lib/generated/prisma/models/FulfillmentFees.d.ts +1365 -0
  146. package/lib/generated/prisma/models/FulfillmentFees.js +12 -0
  147. package/lib/generated/prisma/models/FulfillmentFees.js.map +1 -0
  148. package/lib/generated/prisma/models/Ingredient.d.ts +1886 -0
  149. package/lib/generated/prisma/models/Ingredient.js +12 -0
  150. package/lib/generated/prisma/models/Ingredient.js.map +1 -0
  151. package/lib/generated/prisma/models/IngredientToProductVariant.d.ts +1561 -0
  152. package/lib/generated/prisma/models/IngredientToProductVariant.js +12 -0
  153. package/lib/generated/prisma/models/IngredientToProductVariant.js.map +1 -0
  154. package/lib/generated/prisma/models/IngredientToStore.d.ts +1507 -0
  155. package/lib/generated/prisma/models/IngredientToStore.js +12 -0
  156. package/lib/generated/prisma/models/IngredientToStore.js.map +1 -0
  157. package/lib/generated/prisma/models/ManualCollectionProduct.d.ts +1256 -0
  158. package/lib/generated/prisma/models/ManualCollectionProduct.js +12 -0
  159. package/lib/generated/prisma/models/ManualCollectionProduct.js.map +1 -0
  160. package/lib/generated/prisma/models/Media.d.ts +2127 -0
  161. package/lib/generated/prisma/models/Media.js +12 -0
  162. package/lib/generated/prisma/models/Media.js.map +1 -0
  163. package/lib/generated/prisma/models/Modifier.d.ts +2597 -0
  164. package/lib/generated/prisma/models/Modifier.js +12 -0
  165. package/lib/generated/prisma/models/Modifier.js.map +1 -0
  166. package/lib/generated/prisma/models/ModifierGroup.d.ts +2099 -0
  167. package/lib/generated/prisma/models/ModifierGroup.js +12 -0
  168. package/lib/generated/prisma/models/ModifierGroup.js.map +1 -0
  169. package/lib/generated/prisma/models/ModifierGroupToProduct.d.ts +1249 -0
  170. package/lib/generated/prisma/models/ModifierGroupToProduct.js +12 -0
  171. package/lib/generated/prisma/models/ModifierGroupToProduct.js.map +1 -0
  172. package/lib/generated/prisma/models/ModifierOption.d.ts +1838 -0
  173. package/lib/generated/prisma/models/ModifierOption.js +12 -0
  174. package/lib/generated/prisma/models/ModifierOption.js.map +1 -0
  175. package/lib/generated/prisma/models/ModifierToModifierGroup.d.ts +1343 -0
  176. package/lib/generated/prisma/models/ModifierToModifierGroup.js +12 -0
  177. package/lib/generated/prisma/models/ModifierToModifierGroup.js.map +1 -0
  178. package/lib/generated/prisma/models/NmiSecurityKey.d.ts +1087 -0
  179. package/lib/generated/prisma/models/NmiSecurityKey.js +12 -0
  180. package/lib/generated/prisma/models/NmiSecurityKey.js.map +1 -0
  181. package/lib/generated/prisma/models/OneTimeToken.d.ts +1115 -0
  182. package/lib/generated/prisma/models/OneTimeToken.js +12 -0
  183. package/lib/generated/prisma/models/OneTimeToken.js.map +1 -0
  184. package/lib/generated/prisma/models/Payment.d.ts +1560 -0
  185. package/lib/generated/prisma/models/Payment.js +12 -0
  186. package/lib/generated/prisma/models/Payment.js.map +1 -0
  187. package/lib/generated/prisma/models/Platform.d.ts +7442 -0
  188. package/lib/generated/prisma/models/Platform.js +12 -0
  189. package/lib/generated/prisma/models/Platform.js.map +1 -0
  190. package/lib/generated/prisma/models/PlatformAwsConfiguration.d.ts +1333 -0
  191. package/lib/generated/prisma/models/PlatformAwsConfiguration.js +12 -0
  192. package/lib/generated/prisma/models/PlatformAwsConfiguration.js.map +1 -0
  193. package/lib/generated/prisma/models/PlatformMailerMessage.d.ts +1299 -0
  194. package/lib/generated/prisma/models/PlatformMailerMessage.js +12 -0
  195. package/lib/generated/prisma/models/PlatformMailerMessage.js.map +1 -0
  196. package/lib/generated/prisma/models/PrepTime.d.ts +1420 -0
  197. package/lib/generated/prisma/models/PrepTime.js +12 -0
  198. package/lib/generated/prisma/models/PrepTime.js.map +1 -0
  199. package/lib/generated/prisma/models/Product.d.ts +2975 -0
  200. package/lib/generated/prisma/models/Product.js +12 -0
  201. package/lib/generated/prisma/models/Product.js.map +1 -0
  202. package/lib/generated/prisma/models/ProductCategory.d.ts +2057 -0
  203. package/lib/generated/prisma/models/ProductCategory.js +12 -0
  204. package/lib/generated/prisma/models/ProductCategory.js.map +1 -0
  205. package/lib/generated/prisma/models/ProductCategoryToTag.d.ts +1201 -0
  206. package/lib/generated/prisma/models/ProductCategoryToTag.js +12 -0
  207. package/lib/generated/prisma/models/ProductCategoryToTag.js.map +1 -0
  208. package/lib/generated/prisma/models/ProductListing.d.ts +1747 -0
  209. package/lib/generated/prisma/models/ProductListing.js +12 -0
  210. package/lib/generated/prisma/models/ProductListing.js.map +1 -0
  211. package/lib/generated/prisma/models/ProductToTag.d.ts +1201 -0
  212. package/lib/generated/prisma/models/ProductToTag.js +12 -0
  213. package/lib/generated/prisma/models/ProductToTag.js.map +1 -0
  214. package/lib/generated/prisma/models/ProductVariant.d.ts +6964 -0
  215. package/lib/generated/prisma/models/ProductVariant.js +12 -0
  216. package/lib/generated/prisma/models/ProductVariant.js.map +1 -0
  217. package/lib/generated/prisma/models/ProductVariantConfiguration.d.ts +1775 -0
  218. package/lib/generated/prisma/models/ProductVariantConfiguration.js +12 -0
  219. package/lib/generated/prisma/models/ProductVariantConfiguration.js.map +1 -0
  220. package/lib/generated/prisma/models/ProductVariantListing.d.ts +2152 -0
  221. package/lib/generated/prisma/models/ProductVariantListing.js +12 -0
  222. package/lib/generated/prisma/models/ProductVariantListing.js.map +1 -0
  223. package/lib/generated/prisma/models/ProductVariantListingToMedia.d.ts +1401 -0
  224. package/lib/generated/prisma/models/ProductVariantListingToMedia.js +12 -0
  225. package/lib/generated/prisma/models/ProductVariantListingToMedia.js.map +1 -0
  226. package/lib/generated/prisma/models/ProductVariantPlatformPricing.d.ts +1420 -0
  227. package/lib/generated/prisma/models/ProductVariantPlatformPricing.js +12 -0
  228. package/lib/generated/prisma/models/ProductVariantPlatformPricing.js.map +1 -0
  229. package/lib/generated/prisma/models/ProductVariantRanking.d.ts +1402 -0
  230. package/lib/generated/prisma/models/ProductVariantRanking.js +12 -0
  231. package/lib/generated/prisma/models/ProductVariantRanking.js.map +1 -0
  232. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.d.ts +1638 -0
  233. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js +12 -0
  234. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js.map +1 -0
  235. package/lib/generated/prisma/models/ProductVariantStorePricing.d.ts +1467 -0
  236. package/lib/generated/prisma/models/ProductVariantStorePricing.js +12 -0
  237. package/lib/generated/prisma/models/ProductVariantStorePricing.js.map +1 -0
  238. package/lib/generated/prisma/models/ProductVariantStoreRanking.d.ts +1890 -0
  239. package/lib/generated/prisma/models/ProductVariantStoreRanking.js +12 -0
  240. package/lib/generated/prisma/models/ProductVariantStoreRanking.js.map +1 -0
  241. package/lib/generated/prisma/models/ProductVariantToMedia.d.ts +1250 -0
  242. package/lib/generated/prisma/models/ProductVariantToMedia.js +12 -0
  243. package/lib/generated/prisma/models/ProductVariantToMedia.js.map +1 -0
  244. package/lib/generated/prisma/models/ProductVariantToTag.d.ts +1201 -0
  245. package/lib/generated/prisma/models/ProductVariantToTag.js +12 -0
  246. package/lib/generated/prisma/models/ProductVariantToTag.js.map +1 -0
  247. package/lib/generated/prisma/models/ProductVarietal.d.ts +1385 -0
  248. package/lib/generated/prisma/models/ProductVarietal.js +12 -0
  249. package/lib/generated/prisma/models/ProductVarietal.js.map +1 -0
  250. package/lib/generated/prisma/models/ProductsWithOverrides.d.ts +1782 -0
  251. package/lib/generated/prisma/models/ProductsWithOverrides.js +12 -0
  252. package/lib/generated/prisma/models/ProductsWithOverrides.js.map +1 -0
  253. package/lib/generated/prisma/models/PvStoreScheduledAvailability.d.ts +1931 -0
  254. package/lib/generated/prisma/models/PvStoreScheduledAvailability.js +12 -0
  255. package/lib/generated/prisma/models/PvStoreScheduledAvailability.js.map +1 -0
  256. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.d.ts +1405 -0
  257. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js +12 -0
  258. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js.map +1 -0
  259. package/lib/generated/prisma/models/Refund.d.ts +1707 -0
  260. package/lib/generated/prisma/models/Refund.js +12 -0
  261. package/lib/generated/prisma/models/Refund.js.map +1 -0
  262. package/lib/generated/prisma/models/RefundLine.d.ts +1373 -0
  263. package/lib/generated/prisma/models/RefundLine.js +12 -0
  264. package/lib/generated/prisma/models/RefundLine.js.map +1 -0
  265. package/lib/generated/prisma/models/RelatedItems.d.ts +1431 -0
  266. package/lib/generated/prisma/models/RelatedItems.js +12 -0
  267. package/lib/generated/prisma/models/RelatedItems.js.map +1 -0
  268. package/lib/generated/prisma/models/Role.d.ts +1264 -0
  269. package/lib/generated/prisma/models/Role.js +12 -0
  270. package/lib/generated/prisma/models/Role.js.map +1 -0
  271. package/lib/generated/prisma/models/ScheduledTask.d.ts +1146 -0
  272. package/lib/generated/prisma/models/ScheduledTask.js +12 -0
  273. package/lib/generated/prisma/models/ScheduledTask.js.map +1 -0
  274. package/lib/generated/prisma/models/ShippingConfiguration.d.ts +1659 -0
  275. package/lib/generated/prisma/models/ShippingConfiguration.js +12 -0
  276. package/lib/generated/prisma/models/ShippingConfiguration.js.map +1 -0
  277. package/lib/generated/prisma/models/ShippingLabelFee.d.ts +1705 -0
  278. package/lib/generated/prisma/models/ShippingLabelFee.js +12 -0
  279. package/lib/generated/prisma/models/ShippingLabelFee.js.map +1 -0
  280. package/lib/generated/prisma/models/ShippingLabelRefund.d.ts +1520 -0
  281. package/lib/generated/prisma/models/ShippingLabelRefund.js +12 -0
  282. package/lib/generated/prisma/models/ShippingLabelRefund.js.map +1 -0
  283. package/lib/generated/prisma/models/SmsConversation.d.ts +1548 -0
  284. package/lib/generated/prisma/models/SmsConversation.js +12 -0
  285. package/lib/generated/prisma/models/SmsConversation.js.map +1 -0
  286. package/lib/generated/prisma/models/SmsConversationMessage.d.ts +1326 -0
  287. package/lib/generated/prisma/models/SmsConversationMessage.js +12 -0
  288. package/lib/generated/prisma/models/SmsConversationMessage.js.map +1 -0
  289. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.d.ts +1125 -0
  290. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js +12 -0
  291. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js.map +1 -0
  292. package/lib/generated/prisma/models/StockLevel.d.ts +1425 -0
  293. package/lib/generated/prisma/models/StockLevel.js +12 -0
  294. package/lib/generated/prisma/models/StockLevel.js.map +1 -0
  295. package/lib/generated/prisma/models/StockLocation.d.ts +1652 -0
  296. package/lib/generated/prisma/models/StockLocation.js +12 -0
  297. package/lib/generated/prisma/models/StockLocation.js.map +1 -0
  298. package/lib/generated/prisma/models/StockLocationToPlatform.d.ts +1201 -0
  299. package/lib/generated/prisma/models/StockLocationToPlatform.js +12 -0
  300. package/lib/generated/prisma/models/StockLocationToPlatform.js.map +1 -0
  301. package/lib/generated/prisma/models/StockMovement.d.ts +1608 -0
  302. package/lib/generated/prisma/models/StockMovement.js +12 -0
  303. package/lib/generated/prisma/models/StockMovement.js.map +1 -0
  304. package/lib/generated/prisma/models/Store.d.ts +4487 -0
  305. package/lib/generated/prisma/models/Store.js +12 -0
  306. package/lib/generated/prisma/models/Store.js.map +1 -0
  307. package/lib/generated/prisma/models/StoreRestockingLog.d.ts +1297 -0
  308. package/lib/generated/prisma/models/StoreRestockingLog.js +12 -0
  309. package/lib/generated/prisma/models/StoreRestockingLog.js.map +1 -0
  310. package/lib/generated/prisma/models/StoreRestockingSchedule.d.ts +1932 -0
  311. package/lib/generated/prisma/models/StoreRestockingSchedule.js +12 -0
  312. package/lib/generated/prisma/models/StoreRestockingSchedule.js.map +1 -0
  313. package/lib/generated/prisma/models/StoreToAssociatedStoreType.d.ts +1294 -0
  314. package/lib/generated/prisma/models/StoreToAssociatedStoreType.js +12 -0
  315. package/lib/generated/prisma/models/StoreToAssociatedStoreType.js.map +1 -0
  316. package/lib/generated/prisma/models/StoreToPlatform.d.ts +1331 -0
  317. package/lib/generated/prisma/models/StoreToPlatform.js +12 -0
  318. package/lib/generated/prisma/models/StoreToPlatform.js.map +1 -0
  319. package/lib/generated/prisma/models/Tag.d.ts +1581 -0
  320. package/lib/generated/prisma/models/Tag.js +12 -0
  321. package/lib/generated/prisma/models/Tag.js.map +1 -0
  322. package/lib/generated/prisma/models/TaxCategory.d.ts +1169 -0
  323. package/lib/generated/prisma/models/TaxCategory.js +12 -0
  324. package/lib/generated/prisma/models/TaxCategory.js.map +1 -0
  325. package/lib/generated/prisma/models/Transaction.d.ts +1551 -0
  326. package/lib/generated/prisma/models/Transaction.js +12 -0
  327. package/lib/generated/prisma/models/Transaction.js.map +1 -0
  328. package/lib/generated/prisma/models/User.d.ts +1907 -0
  329. package/lib/generated/prisma/models/User.js +12 -0
  330. package/lib/generated/prisma/models/User.js.map +1 -0
  331. package/lib/generated/prisma/models/UserToRole.d.ts +1201 -0
  332. package/lib/generated/prisma/models/UserToRole.js +12 -0
  333. package/lib/generated/prisma/models/UserToRole.js.map +1 -0
  334. package/lib/generated/prisma/models.d.ts +103 -0
  335. package/lib/generated/prisma/models.js +3 -0
  336. package/lib/generated/prisma/models.js.map +1 -0
  337. package/lib/generated/prisma/pjtg.d.ts +145 -0
  338. package/lib/generated/prisma/pjtg.js +3 -0
  339. package/lib/generated/prisma/pjtg.js.map +1 -0
  340. package/lib/helpers.d.ts +37 -0
  341. package/lib/helpers.js +226 -0
  342. package/lib/helpers.js.map +1 -0
  343. package/lib/index.d.ts +10 -0
  344. package/lib/index.js.map +1 -0
  345. package/lib/kysely/index.d.ts +2 -0
  346. package/lib/kysely/index.js +19 -0
  347. package/lib/kysely/index.js.map +1 -0
  348. package/lib/kysely/kysely-db.d.ts +3 -0
  349. package/lib/kysely/kysely-db.js +3 -0
  350. package/lib/kysely/kysely-db.js.map +1 -0
  351. package/lib/kysely/utils/index.d.ts +4 -0
  352. package/lib/kysely/utils/index.js +21 -0
  353. package/lib/kysely/utils/index.js.map +1 -0
  354. package/lib/kysely/utils/json-array-from-no-subquery.d.ts +38 -0
  355. package/lib/kysely/utils/json-array-from-no-subquery.js +43 -0
  356. package/lib/kysely/utils/json-array-from-no-subquery.js.map +1 -0
  357. package/lib/kysely/utils/json-object-from-no-subquery.d.ts +40 -0
  358. package/lib/kysely/utils/json-object-from-no-subquery.js +45 -0
  359. package/lib/kysely/utils/json-object-from-no-subquery.js.map +1 -0
  360. package/lib/kysely/utils/serialize-bigint-value.d.ts +3 -0
  361. package/lib/kysely/utils/serialize-bigint-value.js +13 -0
  362. package/lib/kysely/utils/serialize-bigint-value.js.map +1 -0
  363. package/lib/kysely/utils/serialize-numeric-value.d.ts +4 -0
  364. package/lib/kysely/utils/serialize-numeric-value.js +11 -0
  365. package/lib/kysely/utils/serialize-numeric-value.js.map +1 -0
  366. package/lib/kysely/utils/shallow-dehydrate.d.ts +18 -0
  367. package/lib/kysely/utils/shallow-dehydrate.js +3 -0
  368. package/lib/kysely/utils/shallow-dehydrate.js.map +1 -0
  369. package/lib/prisma-module/index.d.ts +4 -0
  370. package/lib/prisma-module/index.js +21 -0
  371. package/lib/prisma-module/index.js.map +1 -0
  372. package/lib/prisma-module/prisma-options.d.ts +59 -0
  373. package/lib/prisma-module/prisma-options.js +3 -0
  374. package/lib/prisma-module/prisma-options.js.map +1 -0
  375. package/lib/prisma-module/prisma.constants.d.ts +1 -0
  376. package/lib/prisma-module/prisma.constants.js +5 -0
  377. package/lib/prisma-module/prisma.constants.js.map +1 -0
  378. package/lib/prisma-module/prisma.module.d.ts +8 -0
  379. package/lib/prisma-module/prisma.module.js +73 -0
  380. package/lib/prisma-module/prisma.module.js.map +1 -0
  381. package/lib/prisma-module/prisma.service.d.ts +5 -0
  382. package/lib/prisma-module/prisma.service.js +29 -0
  383. package/lib/prisma-module/prisma.service.js.map +1 -0
  384. package/lib/tsconfig.build.tsbuildinfo +1 -0
  385. package/lib/types.d.ts +7 -0
  386. package/lib/types.js +3 -0
  387. package/lib/types.js.map +1 -0
  388. package/lib/utils/deep-convert-formatted-string-to-original.d.ts +1 -0
  389. package/lib/utils/deep-convert-formatted-string-to-original.js +40 -0
  390. package/lib/utils/deep-convert-formatted-string-to-original.js.map +1 -0
  391. package/lib/utils/ignore-prisma-builtins.d.ts +1 -0
  392. package/lib/utils/ignore-prisma-builtins.js +3 -0
  393. package/lib/utils/ignore-prisma-builtins.js.map +1 -0
  394. package/lib/utils/index.d.ts +3 -0
  395. package/lib/utils/index.js +20 -0
  396. package/lib/utils/index.js.map +1 -0
  397. package/lib/utils/prisma-where-to-sql.d.ts +5 -0
  398. package/lib/utils/prisma-where-to-sql.js +94 -0
  399. package/lib/utils/prisma-where-to-sql.js.map +1 -0
  400. package/lib/web360-prisma.constants.d.ts +2 -0
  401. package/lib/web360-prisma.constants.js +6 -0
  402. package/lib/web360-prisma.constants.js.map +1 -0
  403. package/lib/web360-prisma.module.d.ts +7 -0
  404. package/lib/web360-prisma.module.js +81 -0
  405. package/lib/web360-prisma.module.js.map +1 -0
  406. package/lib/web360-prisma.options.d.ts +38 -0
  407. package/lib/web360-prisma.options.js +3 -0
  408. package/lib/web360-prisma.options.js.map +1 -0
  409. package/lib/web360-prisma.service.d.ts +57 -0
  410. package/lib/web360-prisma.service.js +57 -0
  411. package/lib/web360-prisma.service.js.map +1 -0
  412. package/package.json +4 -3
@@ -0,0 +1,3989 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as $Enums from "../enums.js";
3
+ import type * as Prisma from "../internal/prismaNamespace.js";
4
+ /**
5
+ * Model Checkout
6
+ *
7
+ */
8
+ export type CheckoutModel = runtime.Types.Result.DefaultSelection<Prisma.$CheckoutPayload>;
9
+ export type AggregateCheckout = {
10
+ _count: CheckoutCountAggregateOutputType | null;
11
+ _avg: CheckoutAvgAggregateOutputType | null;
12
+ _sum: CheckoutSumAggregateOutputType | null;
13
+ _min: CheckoutMinAggregateOutputType | null;
14
+ _max: CheckoutMaxAggregateOutputType | null;
15
+ };
16
+ export type CheckoutAvgAggregateOutputType = {
17
+ id: number | null;
18
+ customerId: number | null;
19
+ lineItemsSubtotal: runtime.Decimal | null;
20
+ subtotalPrice: runtime.Decimal | null;
21
+ totalPrice: runtime.Decimal | null;
22
+ totalTax: runtime.Decimal | null;
23
+ paymentDue: runtime.Decimal | null;
24
+ cartId: number | null;
25
+ checkoutGroupId: number | null;
26
+ deliveryFee: runtime.Decimal | null;
27
+ tip: runtime.Decimal | null;
28
+ expressFee: runtime.Decimal | null;
29
+ discountAmount: runtime.Decimal | null;
30
+ };
31
+ export type CheckoutSumAggregateOutputType = {
32
+ id: bigint | null;
33
+ customerId: bigint | null;
34
+ lineItemsSubtotal: runtime.Decimal | null;
35
+ subtotalPrice: runtime.Decimal | null;
36
+ totalPrice: runtime.Decimal | null;
37
+ totalTax: runtime.Decimal | null;
38
+ paymentDue: runtime.Decimal | null;
39
+ cartId: bigint | null;
40
+ checkoutGroupId: bigint | null;
41
+ deliveryFee: runtime.Decimal | null;
42
+ tip: runtime.Decimal | null;
43
+ expressFee: runtime.Decimal | null;
44
+ discountAmount: runtime.Decimal | null;
45
+ };
46
+ export type CheckoutMinAggregateOutputType = {
47
+ id: bigint | null;
48
+ customerId: bigint | null;
49
+ platformId: string | null;
50
+ storeId: string | null;
51
+ completedAt: Date | null;
52
+ createdAt: Date | null;
53
+ updatedAt: Date | null;
54
+ fulfillmentType: $Enums.FulfillmentType | null;
55
+ note: string | null;
56
+ includeUtensils: boolean | null;
57
+ orderId: string | null;
58
+ isReady: boolean | null;
59
+ lineItemsSubtotal: runtime.Decimal | null;
60
+ subtotalPrice: runtime.Decimal | null;
61
+ isTaxExempt: boolean | null;
62
+ isTaxesIncluded: boolean | null;
63
+ totalPrice: runtime.Decimal | null;
64
+ totalTax: runtime.Decimal | null;
65
+ paymentDue: runtime.Decimal | null;
66
+ cartId: bigint | null;
67
+ checkoutGroupId: bigint | null;
68
+ deliveryFee: runtime.Decimal | null;
69
+ currencyCode: $Enums.CurrencyCode | null;
70
+ tip: runtime.Decimal | null;
71
+ expressFee: runtime.Decimal | null;
72
+ discountAmount: runtime.Decimal | null;
73
+ fulfillmentOptInOptionType: $Enums.FulfillmentOptInOptionType | null;
74
+ purchasedRateId: string | null;
75
+ shipmentServiceCode: string | null;
76
+ isValid: boolean | null;
77
+ invalidReason: string | null;
78
+ isGift: boolean | null;
79
+ giftFrom: string | null;
80
+ giftMessage: string | null;
81
+ };
82
+ export type CheckoutMaxAggregateOutputType = {
83
+ id: bigint | null;
84
+ customerId: bigint | null;
85
+ platformId: string | null;
86
+ storeId: string | null;
87
+ completedAt: Date | null;
88
+ createdAt: Date | null;
89
+ updatedAt: Date | null;
90
+ fulfillmentType: $Enums.FulfillmentType | null;
91
+ note: string | null;
92
+ includeUtensils: boolean | null;
93
+ orderId: string | null;
94
+ isReady: boolean | null;
95
+ lineItemsSubtotal: runtime.Decimal | null;
96
+ subtotalPrice: runtime.Decimal | null;
97
+ isTaxExempt: boolean | null;
98
+ isTaxesIncluded: boolean | null;
99
+ totalPrice: runtime.Decimal | null;
100
+ totalTax: runtime.Decimal | null;
101
+ paymentDue: runtime.Decimal | null;
102
+ cartId: bigint | null;
103
+ checkoutGroupId: bigint | null;
104
+ deliveryFee: runtime.Decimal | null;
105
+ currencyCode: $Enums.CurrencyCode | null;
106
+ tip: runtime.Decimal | null;
107
+ expressFee: runtime.Decimal | null;
108
+ discountAmount: runtime.Decimal | null;
109
+ fulfillmentOptInOptionType: $Enums.FulfillmentOptInOptionType | null;
110
+ purchasedRateId: string | null;
111
+ shipmentServiceCode: string | null;
112
+ isValid: boolean | null;
113
+ invalidReason: string | null;
114
+ isGift: boolean | null;
115
+ giftFrom: string | null;
116
+ giftMessage: string | null;
117
+ };
118
+ export type CheckoutCountAggregateOutputType = {
119
+ id: number;
120
+ customerId: number;
121
+ platformId: number;
122
+ storeId: number;
123
+ completedAt: number;
124
+ createdAt: number;
125
+ updatedAt: number;
126
+ fulfillmentType: number;
127
+ note: number;
128
+ includeUtensils: number;
129
+ orderId: number;
130
+ isReady: number;
131
+ lineItemsSubtotal: number;
132
+ subtotalPrice: number;
133
+ isTaxExempt: number;
134
+ isTaxesIncluded: number;
135
+ totalPrice: number;
136
+ totalTax: number;
137
+ paymentDue: number;
138
+ cartId: number;
139
+ checkoutGroupId: number;
140
+ deliveryFee: number;
141
+ currencyCode: number;
142
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
143
+ tip: number;
144
+ expressFee: number;
145
+ discountAmount: number;
146
+ fulfillmentOptInOptionType: number;
147
+ shippoShipment: PrismaJson.ShippoShipment;
148
+ purchasedRateId: number;
149
+ calculatedShippingRates: (Array<PrismaJson.ShippingRate>);
150
+ shipmentServiceCode: number;
151
+ calculatedParcels: (Array<PrismaJson.BoxDetails>);
152
+ isValid: number;
153
+ invalidReason: number;
154
+ isGift: number;
155
+ giftFrom: number;
156
+ giftMessage: number;
157
+ _all: number;
158
+ };
159
+ export type CheckoutAvgAggregateInputType = {
160
+ id?: true;
161
+ customerId?: true;
162
+ lineItemsSubtotal?: true;
163
+ subtotalPrice?: true;
164
+ totalPrice?: true;
165
+ totalTax?: true;
166
+ paymentDue?: true;
167
+ cartId?: true;
168
+ checkoutGroupId?: true;
169
+ deliveryFee?: true;
170
+ tip?: true;
171
+ expressFee?: true;
172
+ discountAmount?: true;
173
+ };
174
+ export type CheckoutSumAggregateInputType = {
175
+ id?: true;
176
+ customerId?: true;
177
+ lineItemsSubtotal?: true;
178
+ subtotalPrice?: true;
179
+ totalPrice?: true;
180
+ totalTax?: true;
181
+ paymentDue?: true;
182
+ cartId?: true;
183
+ checkoutGroupId?: true;
184
+ deliveryFee?: true;
185
+ tip?: true;
186
+ expressFee?: true;
187
+ discountAmount?: true;
188
+ };
189
+ export type CheckoutMinAggregateInputType = {
190
+ id?: true;
191
+ customerId?: true;
192
+ platformId?: true;
193
+ storeId?: true;
194
+ completedAt?: true;
195
+ createdAt?: true;
196
+ updatedAt?: true;
197
+ fulfillmentType?: true;
198
+ note?: true;
199
+ includeUtensils?: true;
200
+ orderId?: true;
201
+ isReady?: true;
202
+ lineItemsSubtotal?: true;
203
+ subtotalPrice?: true;
204
+ isTaxExempt?: true;
205
+ isTaxesIncluded?: true;
206
+ totalPrice?: true;
207
+ totalTax?: true;
208
+ paymentDue?: true;
209
+ cartId?: true;
210
+ checkoutGroupId?: true;
211
+ deliveryFee?: true;
212
+ currencyCode?: true;
213
+ tip?: true;
214
+ expressFee?: true;
215
+ discountAmount?: true;
216
+ fulfillmentOptInOptionType?: true;
217
+ purchasedRateId?: true;
218
+ shipmentServiceCode?: true;
219
+ isValid?: true;
220
+ invalidReason?: true;
221
+ isGift?: true;
222
+ giftFrom?: true;
223
+ giftMessage?: true;
224
+ };
225
+ export type CheckoutMaxAggregateInputType = {
226
+ id?: true;
227
+ customerId?: true;
228
+ platformId?: true;
229
+ storeId?: true;
230
+ completedAt?: true;
231
+ createdAt?: true;
232
+ updatedAt?: true;
233
+ fulfillmentType?: true;
234
+ note?: true;
235
+ includeUtensils?: true;
236
+ orderId?: true;
237
+ isReady?: true;
238
+ lineItemsSubtotal?: true;
239
+ subtotalPrice?: true;
240
+ isTaxExempt?: true;
241
+ isTaxesIncluded?: true;
242
+ totalPrice?: true;
243
+ totalTax?: true;
244
+ paymentDue?: true;
245
+ cartId?: true;
246
+ checkoutGroupId?: true;
247
+ deliveryFee?: true;
248
+ currencyCode?: true;
249
+ tip?: true;
250
+ expressFee?: true;
251
+ discountAmount?: true;
252
+ fulfillmentOptInOptionType?: true;
253
+ purchasedRateId?: true;
254
+ shipmentServiceCode?: true;
255
+ isValid?: true;
256
+ invalidReason?: true;
257
+ isGift?: true;
258
+ giftFrom?: true;
259
+ giftMessage?: true;
260
+ };
261
+ export type CheckoutCountAggregateInputType = {
262
+ id?: true;
263
+ customerId?: true;
264
+ platformId?: true;
265
+ storeId?: true;
266
+ completedAt?: true;
267
+ createdAt?: true;
268
+ updatedAt?: true;
269
+ fulfillmentType?: true;
270
+ note?: true;
271
+ includeUtensils?: true;
272
+ orderId?: true;
273
+ isReady?: true;
274
+ lineItemsSubtotal?: true;
275
+ subtotalPrice?: true;
276
+ isTaxExempt?: true;
277
+ isTaxesIncluded?: true;
278
+ totalPrice?: true;
279
+ totalTax?: true;
280
+ paymentDue?: true;
281
+ cartId?: true;
282
+ checkoutGroupId?: true;
283
+ deliveryFee?: true;
284
+ currencyCode?: true;
285
+ totalTaxBreakdown?: true;
286
+ tip?: true;
287
+ expressFee?: true;
288
+ discountAmount?: true;
289
+ fulfillmentOptInOptionType?: true;
290
+ shippoShipment?: true;
291
+ purchasedRateId?: true;
292
+ calculatedShippingRates?: true;
293
+ shipmentServiceCode?: true;
294
+ calculatedParcels?: true;
295
+ isValid?: true;
296
+ invalidReason?: true;
297
+ isGift?: true;
298
+ giftFrom?: true;
299
+ giftMessage?: true;
300
+ _all?: true;
301
+ };
302
+ export type CheckoutAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
303
+ /**
304
+ * Filter which Checkout to aggregate.
305
+ */
306
+ where?: Prisma.CheckoutWhereInput;
307
+ /**
308
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
309
+ *
310
+ * Determine the order of Checkouts to fetch.
311
+ */
312
+ orderBy?: Prisma.CheckoutOrderByWithRelationInput | Prisma.CheckoutOrderByWithRelationInput[];
313
+ /**
314
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
315
+ *
316
+ * Sets the start position
317
+ */
318
+ cursor?: Prisma.CheckoutWhereUniqueInput;
319
+ /**
320
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
321
+ *
322
+ * Take `±n` Checkouts from the position of the cursor.
323
+ */
324
+ take?: number;
325
+ /**
326
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
327
+ *
328
+ * Skip the first `n` Checkouts.
329
+ */
330
+ skip?: number;
331
+ /**
332
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
333
+ *
334
+ * Count returned Checkouts
335
+ **/
336
+ _count?: true | CheckoutCountAggregateInputType;
337
+ /**
338
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
339
+ *
340
+ * Select which fields to average
341
+ **/
342
+ _avg?: CheckoutAvgAggregateInputType;
343
+ /**
344
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
345
+ *
346
+ * Select which fields to sum
347
+ **/
348
+ _sum?: CheckoutSumAggregateInputType;
349
+ /**
350
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
351
+ *
352
+ * Select which fields to find the minimum value
353
+ **/
354
+ _min?: CheckoutMinAggregateInputType;
355
+ /**
356
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
357
+ *
358
+ * Select which fields to find the maximum value
359
+ **/
360
+ _max?: CheckoutMaxAggregateInputType;
361
+ };
362
+ export type GetCheckoutAggregateType<T extends CheckoutAggregateArgs> = {
363
+ [P in keyof T & keyof AggregateCheckout]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCheckout[P]> : Prisma.GetScalarType<T[P], AggregateCheckout[P]>;
364
+ };
365
+ export type CheckoutGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
366
+ where?: Prisma.CheckoutWhereInput;
367
+ orderBy?: Prisma.CheckoutOrderByWithAggregationInput | Prisma.CheckoutOrderByWithAggregationInput[];
368
+ by: Prisma.CheckoutScalarFieldEnum[] | Prisma.CheckoutScalarFieldEnum;
369
+ having?: Prisma.CheckoutScalarWhereWithAggregatesInput;
370
+ take?: number;
371
+ skip?: number;
372
+ _count?: CheckoutCountAggregateInputType | true;
373
+ _avg?: CheckoutAvgAggregateInputType;
374
+ _sum?: CheckoutSumAggregateInputType;
375
+ _min?: CheckoutMinAggregateInputType;
376
+ _max?: CheckoutMaxAggregateInputType;
377
+ };
378
+ export type CheckoutGroupByOutputType = {
379
+ id: bigint;
380
+ customerId: bigint | null;
381
+ platformId: string;
382
+ storeId: string;
383
+ completedAt: Date | null;
384
+ createdAt: Date;
385
+ updatedAt: Date;
386
+ fulfillmentType: $Enums.FulfillmentType;
387
+ note: string | null;
388
+ includeUtensils: boolean;
389
+ orderId: string | null;
390
+ isReady: boolean;
391
+ lineItemsSubtotal: runtime.Decimal;
392
+ subtotalPrice: runtime.Decimal;
393
+ isTaxExempt: boolean;
394
+ isTaxesIncluded: boolean;
395
+ totalPrice: runtime.Decimal;
396
+ totalTax: runtime.Decimal;
397
+ paymentDue: runtime.Decimal;
398
+ cartId: bigint;
399
+ checkoutGroupId: bigint;
400
+ deliveryFee: runtime.Decimal;
401
+ currencyCode: $Enums.CurrencyCode;
402
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
403
+ tip: runtime.Decimal;
404
+ expressFee: runtime.Decimal;
405
+ discountAmount: runtime.Decimal;
406
+ fulfillmentOptInOptionType: $Enums.FulfillmentOptInOptionType | null;
407
+ shippoShipment: PrismaJson.ShippoShipment | null;
408
+ purchasedRateId: string | null;
409
+ calculatedShippingRates: (Array<PrismaJson.ShippingRate>) | null;
410
+ shipmentServiceCode: string | null;
411
+ calculatedParcels: (Array<PrismaJson.BoxDetails>) | null;
412
+ isValid: boolean;
413
+ invalidReason: string | null;
414
+ isGift: boolean;
415
+ giftFrom: string | null;
416
+ giftMessage: string | null;
417
+ _count: CheckoutCountAggregateOutputType | null;
418
+ _avg: CheckoutAvgAggregateOutputType | null;
419
+ _sum: CheckoutSumAggregateOutputType | null;
420
+ _min: CheckoutMinAggregateOutputType | null;
421
+ _max: CheckoutMaxAggregateOutputType | null;
422
+ };
423
+ type GetCheckoutGroupByPayload<T extends CheckoutGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<CheckoutGroupByOutputType, T['by']> & {
424
+ [P in ((keyof T) & (keyof CheckoutGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], CheckoutGroupByOutputType[P]> : Prisma.GetScalarType<T[P], CheckoutGroupByOutputType[P]>;
425
+ }>>;
426
+ export type CheckoutWhereInput = {
427
+ AND?: Prisma.CheckoutWhereInput | Prisma.CheckoutWhereInput[];
428
+ OR?: Prisma.CheckoutWhereInput[];
429
+ NOT?: Prisma.CheckoutWhereInput | Prisma.CheckoutWhereInput[];
430
+ id?: Prisma.BigIntFilter<"Checkout"> | bigint | number;
431
+ customerId?: Prisma.BigIntNullableFilter<"Checkout"> | bigint | number | null;
432
+ platformId?: Prisma.StringFilter<"Checkout"> | string;
433
+ storeId?: Prisma.StringFilter<"Checkout"> | string;
434
+ completedAt?: Prisma.DateTimeNullableFilter<"Checkout"> | Date | string | null;
435
+ createdAt?: Prisma.DateTimeFilter<"Checkout"> | Date | string;
436
+ updatedAt?: Prisma.DateTimeFilter<"Checkout"> | Date | string;
437
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFilter<"Checkout"> | $Enums.FulfillmentType;
438
+ note?: Prisma.StringNullableFilter<"Checkout"> | string | null;
439
+ includeUtensils?: Prisma.BoolFilter<"Checkout"> | boolean;
440
+ orderId?: Prisma.StringNullableFilter<"Checkout"> | string | null;
441
+ isReady?: Prisma.BoolFilter<"Checkout"> | boolean;
442
+ lineItemsSubtotal?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
443
+ subtotalPrice?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
444
+ isTaxExempt?: Prisma.BoolFilter<"Checkout"> | boolean;
445
+ isTaxesIncluded?: Prisma.BoolFilter<"Checkout"> | boolean;
446
+ totalPrice?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
447
+ totalTax?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
448
+ paymentDue?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
449
+ cartId?: Prisma.BigIntFilter<"Checkout"> | bigint | number;
450
+ checkoutGroupId?: Prisma.BigIntFilter<"Checkout"> | bigint | number;
451
+ deliveryFee?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
452
+ currencyCode?: Prisma.EnumCurrencyCodeFilter<"Checkout"> | $Enums.CurrencyCode;
453
+ totalTaxBreakdown?: Prisma.JsonFilter<"Checkout">;
454
+ tip?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
455
+ expressFee?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
456
+ discountAmount?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
457
+ fulfillmentOptInOptionType?: Prisma.EnumFulfillmentOptInOptionTypeNullableFilter<"Checkout"> | $Enums.FulfillmentOptInOptionType | null;
458
+ shippoShipment?: Prisma.JsonNullableFilter<"Checkout">;
459
+ purchasedRateId?: Prisma.StringNullableFilter<"Checkout"> | string | null;
460
+ calculatedShippingRates?: Prisma.JsonNullableFilter<"Checkout">;
461
+ shipmentServiceCode?: Prisma.StringNullableFilter<"Checkout"> | string | null;
462
+ calculatedParcels?: Prisma.JsonNullableFilter<"Checkout">;
463
+ isValid?: Prisma.BoolFilter<"Checkout"> | boolean;
464
+ invalidReason?: Prisma.StringNullableFilter<"Checkout"> | string | null;
465
+ isGift?: Prisma.BoolFilter<"Checkout"> | boolean;
466
+ giftFrom?: Prisma.StringNullableFilter<"Checkout"> | string | null;
467
+ giftMessage?: Prisma.StringNullableFilter<"Checkout"> | string | null;
468
+ checkoutLines?: Prisma.CheckoutLineListRelationFilter;
469
+ fulfillmentFees?: Prisma.FulfillmentFeesListRelationFilter;
470
+ customer?: Prisma.XOR<Prisma.CustomerNullableScalarRelationFilter, Prisma.CustomerWhereInput> | null;
471
+ cart?: Prisma.XOR<Prisma.CartScalarRelationFilter, Prisma.CartWhereInput>;
472
+ checkoutGroup?: Prisma.XOR<Prisma.CheckoutGroupScalarRelationFilter, Prisma.CheckoutGroupWhereInput>;
473
+ eventLog?: Prisma.EventLogListRelationFilter;
474
+ payments?: Prisma.PaymentListRelationFilter;
475
+ };
476
+ export type CheckoutOrderByWithRelationInput = {
477
+ id?: Prisma.SortOrder;
478
+ customerId?: Prisma.SortOrderInput | Prisma.SortOrder;
479
+ platformId?: Prisma.SortOrder;
480
+ storeId?: Prisma.SortOrder;
481
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
482
+ createdAt?: Prisma.SortOrder;
483
+ updatedAt?: Prisma.SortOrder;
484
+ fulfillmentType?: Prisma.SortOrder;
485
+ note?: Prisma.SortOrderInput | Prisma.SortOrder;
486
+ includeUtensils?: Prisma.SortOrder;
487
+ orderId?: Prisma.SortOrderInput | Prisma.SortOrder;
488
+ isReady?: Prisma.SortOrder;
489
+ lineItemsSubtotal?: Prisma.SortOrder;
490
+ subtotalPrice?: Prisma.SortOrder;
491
+ isTaxExempt?: Prisma.SortOrder;
492
+ isTaxesIncluded?: Prisma.SortOrder;
493
+ totalPrice?: Prisma.SortOrder;
494
+ totalTax?: Prisma.SortOrder;
495
+ paymentDue?: Prisma.SortOrder;
496
+ cartId?: Prisma.SortOrder;
497
+ checkoutGroupId?: Prisma.SortOrder;
498
+ deliveryFee?: Prisma.SortOrder;
499
+ currencyCode?: Prisma.SortOrder;
500
+ totalTaxBreakdown?: Prisma.SortOrder;
501
+ tip?: Prisma.SortOrder;
502
+ expressFee?: Prisma.SortOrder;
503
+ discountAmount?: Prisma.SortOrder;
504
+ fulfillmentOptInOptionType?: Prisma.SortOrderInput | Prisma.SortOrder;
505
+ shippoShipment?: Prisma.SortOrderInput | Prisma.SortOrder;
506
+ purchasedRateId?: Prisma.SortOrderInput | Prisma.SortOrder;
507
+ calculatedShippingRates?: Prisma.SortOrderInput | Prisma.SortOrder;
508
+ shipmentServiceCode?: Prisma.SortOrderInput | Prisma.SortOrder;
509
+ calculatedParcels?: Prisma.SortOrderInput | Prisma.SortOrder;
510
+ isValid?: Prisma.SortOrder;
511
+ invalidReason?: Prisma.SortOrderInput | Prisma.SortOrder;
512
+ isGift?: Prisma.SortOrder;
513
+ giftFrom?: Prisma.SortOrderInput | Prisma.SortOrder;
514
+ giftMessage?: Prisma.SortOrderInput | Prisma.SortOrder;
515
+ checkoutLines?: Prisma.CheckoutLineOrderByRelationAggregateInput;
516
+ fulfillmentFees?: Prisma.FulfillmentFeesOrderByRelationAggregateInput;
517
+ customer?: Prisma.CustomerOrderByWithRelationInput;
518
+ cart?: Prisma.CartOrderByWithRelationInput;
519
+ checkoutGroup?: Prisma.CheckoutGroupOrderByWithRelationInput;
520
+ eventLog?: Prisma.EventLogOrderByRelationAggregateInput;
521
+ payments?: Prisma.PaymentOrderByRelationAggregateInput;
522
+ _relevance?: Prisma.CheckoutOrderByRelevanceInput;
523
+ };
524
+ export type CheckoutWhereUniqueInput = Prisma.AtLeast<{
525
+ id?: bigint | number;
526
+ cartId?: bigint | number;
527
+ AND?: Prisma.CheckoutWhereInput | Prisma.CheckoutWhereInput[];
528
+ OR?: Prisma.CheckoutWhereInput[];
529
+ NOT?: Prisma.CheckoutWhereInput | Prisma.CheckoutWhereInput[];
530
+ customerId?: Prisma.BigIntNullableFilter<"Checkout"> | bigint | number | null;
531
+ platformId?: Prisma.StringFilter<"Checkout"> | string;
532
+ storeId?: Prisma.StringFilter<"Checkout"> | string;
533
+ completedAt?: Prisma.DateTimeNullableFilter<"Checkout"> | Date | string | null;
534
+ createdAt?: Prisma.DateTimeFilter<"Checkout"> | Date | string;
535
+ updatedAt?: Prisma.DateTimeFilter<"Checkout"> | Date | string;
536
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFilter<"Checkout"> | $Enums.FulfillmentType;
537
+ note?: Prisma.StringNullableFilter<"Checkout"> | string | null;
538
+ includeUtensils?: Prisma.BoolFilter<"Checkout"> | boolean;
539
+ orderId?: Prisma.StringNullableFilter<"Checkout"> | string | null;
540
+ isReady?: Prisma.BoolFilter<"Checkout"> | boolean;
541
+ lineItemsSubtotal?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
542
+ subtotalPrice?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
543
+ isTaxExempt?: Prisma.BoolFilter<"Checkout"> | boolean;
544
+ isTaxesIncluded?: Prisma.BoolFilter<"Checkout"> | boolean;
545
+ totalPrice?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
546
+ totalTax?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
547
+ paymentDue?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
548
+ checkoutGroupId?: Prisma.BigIntFilter<"Checkout"> | bigint | number;
549
+ deliveryFee?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
550
+ currencyCode?: Prisma.EnumCurrencyCodeFilter<"Checkout"> | $Enums.CurrencyCode;
551
+ totalTaxBreakdown?: Prisma.JsonFilter<"Checkout">;
552
+ tip?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
553
+ expressFee?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
554
+ discountAmount?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
555
+ fulfillmentOptInOptionType?: Prisma.EnumFulfillmentOptInOptionTypeNullableFilter<"Checkout"> | $Enums.FulfillmentOptInOptionType | null;
556
+ shippoShipment?: Prisma.JsonNullableFilter<"Checkout">;
557
+ purchasedRateId?: Prisma.StringNullableFilter<"Checkout"> | string | null;
558
+ calculatedShippingRates?: Prisma.JsonNullableFilter<"Checkout">;
559
+ shipmentServiceCode?: Prisma.StringNullableFilter<"Checkout"> | string | null;
560
+ calculatedParcels?: Prisma.JsonNullableFilter<"Checkout">;
561
+ isValid?: Prisma.BoolFilter<"Checkout"> | boolean;
562
+ invalidReason?: Prisma.StringNullableFilter<"Checkout"> | string | null;
563
+ isGift?: Prisma.BoolFilter<"Checkout"> | boolean;
564
+ giftFrom?: Prisma.StringNullableFilter<"Checkout"> | string | null;
565
+ giftMessage?: Prisma.StringNullableFilter<"Checkout"> | string | null;
566
+ checkoutLines?: Prisma.CheckoutLineListRelationFilter;
567
+ fulfillmentFees?: Prisma.FulfillmentFeesListRelationFilter;
568
+ customer?: Prisma.XOR<Prisma.CustomerNullableScalarRelationFilter, Prisma.CustomerWhereInput> | null;
569
+ cart?: Prisma.XOR<Prisma.CartScalarRelationFilter, Prisma.CartWhereInput>;
570
+ checkoutGroup?: Prisma.XOR<Prisma.CheckoutGroupScalarRelationFilter, Prisma.CheckoutGroupWhereInput>;
571
+ eventLog?: Prisma.EventLogListRelationFilter;
572
+ payments?: Prisma.PaymentListRelationFilter;
573
+ }, "id" | "cartId">;
574
+ export type CheckoutOrderByWithAggregationInput = {
575
+ id?: Prisma.SortOrder;
576
+ customerId?: Prisma.SortOrderInput | Prisma.SortOrder;
577
+ platformId?: Prisma.SortOrder;
578
+ storeId?: Prisma.SortOrder;
579
+ completedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
580
+ createdAt?: Prisma.SortOrder;
581
+ updatedAt?: Prisma.SortOrder;
582
+ fulfillmentType?: Prisma.SortOrder;
583
+ note?: Prisma.SortOrderInput | Prisma.SortOrder;
584
+ includeUtensils?: Prisma.SortOrder;
585
+ orderId?: Prisma.SortOrderInput | Prisma.SortOrder;
586
+ isReady?: Prisma.SortOrder;
587
+ lineItemsSubtotal?: Prisma.SortOrder;
588
+ subtotalPrice?: Prisma.SortOrder;
589
+ isTaxExempt?: Prisma.SortOrder;
590
+ isTaxesIncluded?: Prisma.SortOrder;
591
+ totalPrice?: Prisma.SortOrder;
592
+ totalTax?: Prisma.SortOrder;
593
+ paymentDue?: Prisma.SortOrder;
594
+ cartId?: Prisma.SortOrder;
595
+ checkoutGroupId?: Prisma.SortOrder;
596
+ deliveryFee?: Prisma.SortOrder;
597
+ currencyCode?: Prisma.SortOrder;
598
+ totalTaxBreakdown?: Prisma.SortOrder;
599
+ tip?: Prisma.SortOrder;
600
+ expressFee?: Prisma.SortOrder;
601
+ discountAmount?: Prisma.SortOrder;
602
+ fulfillmentOptInOptionType?: Prisma.SortOrderInput | Prisma.SortOrder;
603
+ shippoShipment?: Prisma.SortOrderInput | Prisma.SortOrder;
604
+ purchasedRateId?: Prisma.SortOrderInput | Prisma.SortOrder;
605
+ calculatedShippingRates?: Prisma.SortOrderInput | Prisma.SortOrder;
606
+ shipmentServiceCode?: Prisma.SortOrderInput | Prisma.SortOrder;
607
+ calculatedParcels?: Prisma.SortOrderInput | Prisma.SortOrder;
608
+ isValid?: Prisma.SortOrder;
609
+ invalidReason?: Prisma.SortOrderInput | Prisma.SortOrder;
610
+ isGift?: Prisma.SortOrder;
611
+ giftFrom?: Prisma.SortOrderInput | Prisma.SortOrder;
612
+ giftMessage?: Prisma.SortOrderInput | Prisma.SortOrder;
613
+ _count?: Prisma.CheckoutCountOrderByAggregateInput;
614
+ _avg?: Prisma.CheckoutAvgOrderByAggregateInput;
615
+ _max?: Prisma.CheckoutMaxOrderByAggregateInput;
616
+ _min?: Prisma.CheckoutMinOrderByAggregateInput;
617
+ _sum?: Prisma.CheckoutSumOrderByAggregateInput;
618
+ };
619
+ export type CheckoutScalarWhereWithAggregatesInput = {
620
+ AND?: Prisma.CheckoutScalarWhereWithAggregatesInput | Prisma.CheckoutScalarWhereWithAggregatesInput[];
621
+ OR?: Prisma.CheckoutScalarWhereWithAggregatesInput[];
622
+ NOT?: Prisma.CheckoutScalarWhereWithAggregatesInput | Prisma.CheckoutScalarWhereWithAggregatesInput[];
623
+ id?: Prisma.BigIntWithAggregatesFilter<"Checkout"> | bigint | number;
624
+ customerId?: Prisma.BigIntNullableWithAggregatesFilter<"Checkout"> | bigint | number | null;
625
+ platformId?: Prisma.StringWithAggregatesFilter<"Checkout"> | string;
626
+ storeId?: Prisma.StringWithAggregatesFilter<"Checkout"> | string;
627
+ completedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Checkout"> | Date | string | null;
628
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Checkout"> | Date | string;
629
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Checkout"> | Date | string;
630
+ fulfillmentType?: Prisma.EnumFulfillmentTypeWithAggregatesFilter<"Checkout"> | $Enums.FulfillmentType;
631
+ note?: Prisma.StringNullableWithAggregatesFilter<"Checkout"> | string | null;
632
+ includeUtensils?: Prisma.BoolWithAggregatesFilter<"Checkout"> | boolean;
633
+ orderId?: Prisma.StringNullableWithAggregatesFilter<"Checkout"> | string | null;
634
+ isReady?: Prisma.BoolWithAggregatesFilter<"Checkout"> | boolean;
635
+ lineItemsSubtotal?: Prisma.DecimalWithAggregatesFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
636
+ subtotalPrice?: Prisma.DecimalWithAggregatesFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
637
+ isTaxExempt?: Prisma.BoolWithAggregatesFilter<"Checkout"> | boolean;
638
+ isTaxesIncluded?: Prisma.BoolWithAggregatesFilter<"Checkout"> | boolean;
639
+ totalPrice?: Prisma.DecimalWithAggregatesFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
640
+ totalTax?: Prisma.DecimalWithAggregatesFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
641
+ paymentDue?: Prisma.DecimalWithAggregatesFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
642
+ cartId?: Prisma.BigIntWithAggregatesFilter<"Checkout"> | bigint | number;
643
+ checkoutGroupId?: Prisma.BigIntWithAggregatesFilter<"Checkout"> | bigint | number;
644
+ deliveryFee?: Prisma.DecimalWithAggregatesFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
645
+ currencyCode?: Prisma.EnumCurrencyCodeWithAggregatesFilter<"Checkout"> | $Enums.CurrencyCode;
646
+ totalTaxBreakdown?: Prisma.JsonWithAggregatesFilter<"Checkout">;
647
+ tip?: Prisma.DecimalWithAggregatesFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
648
+ expressFee?: Prisma.DecimalWithAggregatesFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
649
+ discountAmount?: Prisma.DecimalWithAggregatesFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
650
+ fulfillmentOptInOptionType?: Prisma.EnumFulfillmentOptInOptionTypeNullableWithAggregatesFilter<"Checkout"> | $Enums.FulfillmentOptInOptionType | null;
651
+ shippoShipment?: Prisma.JsonNullableWithAggregatesFilter<"Checkout">;
652
+ purchasedRateId?: Prisma.StringNullableWithAggregatesFilter<"Checkout"> | string | null;
653
+ calculatedShippingRates?: Prisma.JsonNullableWithAggregatesFilter<"Checkout">;
654
+ shipmentServiceCode?: Prisma.StringNullableWithAggregatesFilter<"Checkout"> | string | null;
655
+ calculatedParcels?: Prisma.JsonNullableWithAggregatesFilter<"Checkout">;
656
+ isValid?: Prisma.BoolWithAggregatesFilter<"Checkout"> | boolean;
657
+ invalidReason?: Prisma.StringNullableWithAggregatesFilter<"Checkout"> | string | null;
658
+ isGift?: Prisma.BoolWithAggregatesFilter<"Checkout"> | boolean;
659
+ giftFrom?: Prisma.StringNullableWithAggregatesFilter<"Checkout"> | string | null;
660
+ giftMessage?: Prisma.StringNullableWithAggregatesFilter<"Checkout"> | string | null;
661
+ };
662
+ export type CheckoutCreateInput = {
663
+ id?: bigint | number;
664
+ platformId: string;
665
+ storeId: string;
666
+ completedAt?: Date | string | null;
667
+ createdAt?: Date | string;
668
+ updatedAt?: Date | string;
669
+ fulfillmentType: $Enums.FulfillmentType;
670
+ note?: string | null;
671
+ includeUtensils?: boolean;
672
+ orderId?: string | null;
673
+ isReady?: boolean;
674
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
675
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
676
+ isTaxExempt?: boolean;
677
+ isTaxesIncluded?: boolean;
678
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
679
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
680
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
681
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
682
+ currencyCode: $Enums.CurrencyCode;
683
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
684
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
685
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
686
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
687
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
688
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
689
+ purchasedRateId?: string | null;
690
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
691
+ shipmentServiceCode?: string | null;
692
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
693
+ isValid?: boolean;
694
+ invalidReason?: string | null;
695
+ isGift?: boolean;
696
+ giftFrom?: string | null;
697
+ giftMessage?: string | null;
698
+ checkoutLines?: Prisma.CheckoutLineCreateNestedManyWithoutCheckoutInput;
699
+ fulfillmentFees?: Prisma.FulfillmentFeesCreateNestedManyWithoutCheckoutInput;
700
+ customer?: Prisma.CustomerCreateNestedOneWithoutCheckoutsInput;
701
+ cart: Prisma.CartCreateNestedOneWithoutCheckoutInput;
702
+ checkoutGroup: Prisma.CheckoutGroupCreateNestedOneWithoutCheckoutInput;
703
+ eventLog?: Prisma.EventLogCreateNestedManyWithoutCheckoutInput;
704
+ payments?: Prisma.PaymentCreateNestedManyWithoutCheckoutInput;
705
+ };
706
+ export type CheckoutUncheckedCreateInput = {
707
+ id?: bigint | number;
708
+ customerId?: bigint | number | null;
709
+ platformId: string;
710
+ storeId: string;
711
+ completedAt?: Date | string | null;
712
+ createdAt?: Date | string;
713
+ updatedAt?: Date | string;
714
+ fulfillmentType: $Enums.FulfillmentType;
715
+ note?: string | null;
716
+ includeUtensils?: boolean;
717
+ orderId?: string | null;
718
+ isReady?: boolean;
719
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
720
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
721
+ isTaxExempt?: boolean;
722
+ isTaxesIncluded?: boolean;
723
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
724
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
725
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
726
+ cartId: bigint | number;
727
+ checkoutGroupId: bigint | number;
728
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
729
+ currencyCode: $Enums.CurrencyCode;
730
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
731
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
732
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
733
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
734
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
735
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
736
+ purchasedRateId?: string | null;
737
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
738
+ shipmentServiceCode?: string | null;
739
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
740
+ isValid?: boolean;
741
+ invalidReason?: string | null;
742
+ isGift?: boolean;
743
+ giftFrom?: string | null;
744
+ giftMessage?: string | null;
745
+ checkoutLines?: Prisma.CheckoutLineUncheckedCreateNestedManyWithoutCheckoutInput;
746
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedCreateNestedManyWithoutCheckoutInput;
747
+ eventLog?: Prisma.EventLogUncheckedCreateNestedManyWithoutCheckoutInput;
748
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutCheckoutInput;
749
+ };
750
+ export type CheckoutUpdateInput = {
751
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
752
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
753
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
754
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
755
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
756
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
757
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
758
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
759
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
760
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
761
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
762
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
763
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
764
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
765
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
766
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
767
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
768
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
769
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
770
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
771
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
772
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
773
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
774
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
775
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
776
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
777
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
778
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
779
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
780
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
781
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
782
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
783
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
784
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
785
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
786
+ checkoutLines?: Prisma.CheckoutLineUpdateManyWithoutCheckoutNestedInput;
787
+ fulfillmentFees?: Prisma.FulfillmentFeesUpdateManyWithoutCheckoutNestedInput;
788
+ customer?: Prisma.CustomerUpdateOneWithoutCheckoutsNestedInput;
789
+ cart?: Prisma.CartUpdateOneRequiredWithoutCheckoutNestedInput;
790
+ checkoutGroup?: Prisma.CheckoutGroupUpdateOneRequiredWithoutCheckoutNestedInput;
791
+ eventLog?: Prisma.EventLogUpdateManyWithoutCheckoutNestedInput;
792
+ payments?: Prisma.PaymentUpdateManyWithoutCheckoutNestedInput;
793
+ };
794
+ export type CheckoutUncheckedUpdateInput = {
795
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
796
+ customerId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
797
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
798
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
799
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
800
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
801
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
802
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
803
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
804
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
805
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
806
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
807
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
808
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
809
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
810
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
811
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
812
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
813
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
814
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
815
+ checkoutGroupId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
816
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
817
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
818
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
819
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
820
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
821
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
822
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
823
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
824
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
825
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
826
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
827
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
828
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
829
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
830
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
831
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
832
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
833
+ checkoutLines?: Prisma.CheckoutLineUncheckedUpdateManyWithoutCheckoutNestedInput;
834
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedUpdateManyWithoutCheckoutNestedInput;
835
+ eventLog?: Prisma.EventLogUncheckedUpdateManyWithoutCheckoutNestedInput;
836
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutCheckoutNestedInput;
837
+ };
838
+ export type CheckoutCreateManyInput = {
839
+ id?: bigint | number;
840
+ customerId?: bigint | number | null;
841
+ platformId: string;
842
+ storeId: string;
843
+ completedAt?: Date | string | null;
844
+ createdAt?: Date | string;
845
+ updatedAt?: Date | string;
846
+ fulfillmentType: $Enums.FulfillmentType;
847
+ note?: string | null;
848
+ includeUtensils?: boolean;
849
+ orderId?: string | null;
850
+ isReady?: boolean;
851
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
852
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
853
+ isTaxExempt?: boolean;
854
+ isTaxesIncluded?: boolean;
855
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
856
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
857
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
858
+ cartId: bigint | number;
859
+ checkoutGroupId: bigint | number;
860
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
861
+ currencyCode: $Enums.CurrencyCode;
862
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
863
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
864
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
865
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
866
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
867
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
868
+ purchasedRateId?: string | null;
869
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
870
+ shipmentServiceCode?: string | null;
871
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
872
+ isValid?: boolean;
873
+ invalidReason?: string | null;
874
+ isGift?: boolean;
875
+ giftFrom?: string | null;
876
+ giftMessage?: string | null;
877
+ };
878
+ export type CheckoutUpdateManyMutationInput = {
879
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
880
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
881
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
882
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
883
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
884
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
885
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
886
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
887
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
888
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
889
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
890
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
891
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
892
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
893
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
894
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
895
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
896
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
897
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
898
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
899
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
900
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
901
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
902
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
903
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
904
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
905
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
906
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
907
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
908
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
909
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
910
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
911
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
912
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
913
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
914
+ };
915
+ export type CheckoutUncheckedUpdateManyInput = {
916
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
917
+ customerId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
918
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
919
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
920
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
921
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
922
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
923
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
924
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
925
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
926
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
927
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
928
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
929
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
930
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
931
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
932
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
933
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
934
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
935
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
936
+ checkoutGroupId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
937
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
938
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
939
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
940
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
941
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
942
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
943
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
944
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
945
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
946
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
947
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
948
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
949
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
950
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
951
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
952
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
953
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
954
+ };
955
+ export type CheckoutListRelationFilter = {
956
+ every?: Prisma.CheckoutWhereInput;
957
+ some?: Prisma.CheckoutWhereInput;
958
+ none?: Prisma.CheckoutWhereInput;
959
+ };
960
+ export type CheckoutOrderByRelationAggregateInput = {
961
+ _count?: Prisma.SortOrder;
962
+ };
963
+ export type CheckoutNullableScalarRelationFilter = {
964
+ is?: Prisma.CheckoutWhereInput | null;
965
+ isNot?: Prisma.CheckoutWhereInput | null;
966
+ };
967
+ export type CheckoutScalarRelationFilter = {
968
+ is?: Prisma.CheckoutWhereInput;
969
+ isNot?: Prisma.CheckoutWhereInput;
970
+ };
971
+ export type CheckoutOrderByRelevanceInput = {
972
+ fields: Prisma.CheckoutOrderByRelevanceFieldEnum | Prisma.CheckoutOrderByRelevanceFieldEnum[];
973
+ sort: Prisma.SortOrder;
974
+ search: string;
975
+ };
976
+ export type CheckoutCountOrderByAggregateInput = {
977
+ id?: Prisma.SortOrder;
978
+ customerId?: Prisma.SortOrder;
979
+ platformId?: Prisma.SortOrder;
980
+ storeId?: Prisma.SortOrder;
981
+ completedAt?: Prisma.SortOrder;
982
+ createdAt?: Prisma.SortOrder;
983
+ updatedAt?: Prisma.SortOrder;
984
+ fulfillmentType?: Prisma.SortOrder;
985
+ note?: Prisma.SortOrder;
986
+ includeUtensils?: Prisma.SortOrder;
987
+ orderId?: Prisma.SortOrder;
988
+ isReady?: Prisma.SortOrder;
989
+ lineItemsSubtotal?: Prisma.SortOrder;
990
+ subtotalPrice?: Prisma.SortOrder;
991
+ isTaxExempt?: Prisma.SortOrder;
992
+ isTaxesIncluded?: Prisma.SortOrder;
993
+ totalPrice?: Prisma.SortOrder;
994
+ totalTax?: Prisma.SortOrder;
995
+ paymentDue?: Prisma.SortOrder;
996
+ cartId?: Prisma.SortOrder;
997
+ checkoutGroupId?: Prisma.SortOrder;
998
+ deliveryFee?: Prisma.SortOrder;
999
+ currencyCode?: Prisma.SortOrder;
1000
+ totalTaxBreakdown?: Prisma.SortOrder;
1001
+ tip?: Prisma.SortOrder;
1002
+ expressFee?: Prisma.SortOrder;
1003
+ discountAmount?: Prisma.SortOrder;
1004
+ fulfillmentOptInOptionType?: Prisma.SortOrder;
1005
+ shippoShipment?: Prisma.SortOrder;
1006
+ purchasedRateId?: Prisma.SortOrder;
1007
+ calculatedShippingRates?: Prisma.SortOrder;
1008
+ shipmentServiceCode?: Prisma.SortOrder;
1009
+ calculatedParcels?: Prisma.SortOrder;
1010
+ isValid?: Prisma.SortOrder;
1011
+ invalidReason?: Prisma.SortOrder;
1012
+ isGift?: Prisma.SortOrder;
1013
+ giftFrom?: Prisma.SortOrder;
1014
+ giftMessage?: Prisma.SortOrder;
1015
+ };
1016
+ export type CheckoutAvgOrderByAggregateInput = {
1017
+ id?: Prisma.SortOrder;
1018
+ customerId?: Prisma.SortOrder;
1019
+ lineItemsSubtotal?: Prisma.SortOrder;
1020
+ subtotalPrice?: Prisma.SortOrder;
1021
+ totalPrice?: Prisma.SortOrder;
1022
+ totalTax?: Prisma.SortOrder;
1023
+ paymentDue?: Prisma.SortOrder;
1024
+ cartId?: Prisma.SortOrder;
1025
+ checkoutGroupId?: Prisma.SortOrder;
1026
+ deliveryFee?: Prisma.SortOrder;
1027
+ tip?: Prisma.SortOrder;
1028
+ expressFee?: Prisma.SortOrder;
1029
+ discountAmount?: Prisma.SortOrder;
1030
+ };
1031
+ export type CheckoutMaxOrderByAggregateInput = {
1032
+ id?: Prisma.SortOrder;
1033
+ customerId?: Prisma.SortOrder;
1034
+ platformId?: Prisma.SortOrder;
1035
+ storeId?: Prisma.SortOrder;
1036
+ completedAt?: Prisma.SortOrder;
1037
+ createdAt?: Prisma.SortOrder;
1038
+ updatedAt?: Prisma.SortOrder;
1039
+ fulfillmentType?: Prisma.SortOrder;
1040
+ note?: Prisma.SortOrder;
1041
+ includeUtensils?: Prisma.SortOrder;
1042
+ orderId?: Prisma.SortOrder;
1043
+ isReady?: Prisma.SortOrder;
1044
+ lineItemsSubtotal?: Prisma.SortOrder;
1045
+ subtotalPrice?: Prisma.SortOrder;
1046
+ isTaxExempt?: Prisma.SortOrder;
1047
+ isTaxesIncluded?: Prisma.SortOrder;
1048
+ totalPrice?: Prisma.SortOrder;
1049
+ totalTax?: Prisma.SortOrder;
1050
+ paymentDue?: Prisma.SortOrder;
1051
+ cartId?: Prisma.SortOrder;
1052
+ checkoutGroupId?: Prisma.SortOrder;
1053
+ deliveryFee?: Prisma.SortOrder;
1054
+ currencyCode?: Prisma.SortOrder;
1055
+ tip?: Prisma.SortOrder;
1056
+ expressFee?: Prisma.SortOrder;
1057
+ discountAmount?: Prisma.SortOrder;
1058
+ fulfillmentOptInOptionType?: Prisma.SortOrder;
1059
+ purchasedRateId?: Prisma.SortOrder;
1060
+ shipmentServiceCode?: Prisma.SortOrder;
1061
+ isValid?: Prisma.SortOrder;
1062
+ invalidReason?: Prisma.SortOrder;
1063
+ isGift?: Prisma.SortOrder;
1064
+ giftFrom?: Prisma.SortOrder;
1065
+ giftMessage?: Prisma.SortOrder;
1066
+ };
1067
+ export type CheckoutMinOrderByAggregateInput = {
1068
+ id?: Prisma.SortOrder;
1069
+ customerId?: Prisma.SortOrder;
1070
+ platformId?: Prisma.SortOrder;
1071
+ storeId?: Prisma.SortOrder;
1072
+ completedAt?: Prisma.SortOrder;
1073
+ createdAt?: Prisma.SortOrder;
1074
+ updatedAt?: Prisma.SortOrder;
1075
+ fulfillmentType?: Prisma.SortOrder;
1076
+ note?: Prisma.SortOrder;
1077
+ includeUtensils?: Prisma.SortOrder;
1078
+ orderId?: Prisma.SortOrder;
1079
+ isReady?: Prisma.SortOrder;
1080
+ lineItemsSubtotal?: Prisma.SortOrder;
1081
+ subtotalPrice?: Prisma.SortOrder;
1082
+ isTaxExempt?: Prisma.SortOrder;
1083
+ isTaxesIncluded?: Prisma.SortOrder;
1084
+ totalPrice?: Prisma.SortOrder;
1085
+ totalTax?: Prisma.SortOrder;
1086
+ paymentDue?: Prisma.SortOrder;
1087
+ cartId?: Prisma.SortOrder;
1088
+ checkoutGroupId?: Prisma.SortOrder;
1089
+ deliveryFee?: Prisma.SortOrder;
1090
+ currencyCode?: Prisma.SortOrder;
1091
+ tip?: Prisma.SortOrder;
1092
+ expressFee?: Prisma.SortOrder;
1093
+ discountAmount?: Prisma.SortOrder;
1094
+ fulfillmentOptInOptionType?: Prisma.SortOrder;
1095
+ purchasedRateId?: Prisma.SortOrder;
1096
+ shipmentServiceCode?: Prisma.SortOrder;
1097
+ isValid?: Prisma.SortOrder;
1098
+ invalidReason?: Prisma.SortOrder;
1099
+ isGift?: Prisma.SortOrder;
1100
+ giftFrom?: Prisma.SortOrder;
1101
+ giftMessage?: Prisma.SortOrder;
1102
+ };
1103
+ export type CheckoutSumOrderByAggregateInput = {
1104
+ id?: Prisma.SortOrder;
1105
+ customerId?: Prisma.SortOrder;
1106
+ lineItemsSubtotal?: Prisma.SortOrder;
1107
+ subtotalPrice?: Prisma.SortOrder;
1108
+ totalPrice?: Prisma.SortOrder;
1109
+ totalTax?: Prisma.SortOrder;
1110
+ paymentDue?: Prisma.SortOrder;
1111
+ cartId?: Prisma.SortOrder;
1112
+ checkoutGroupId?: Prisma.SortOrder;
1113
+ deliveryFee?: Prisma.SortOrder;
1114
+ tip?: Prisma.SortOrder;
1115
+ expressFee?: Prisma.SortOrder;
1116
+ discountAmount?: Prisma.SortOrder;
1117
+ };
1118
+ export type CheckoutCreateNestedManyWithoutCustomerInput = {
1119
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCustomerInput, Prisma.CheckoutUncheckedCreateWithoutCustomerInput> | Prisma.CheckoutCreateWithoutCustomerInput[] | Prisma.CheckoutUncheckedCreateWithoutCustomerInput[];
1120
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCustomerInput | Prisma.CheckoutCreateOrConnectWithoutCustomerInput[];
1121
+ createMany?: Prisma.CheckoutCreateManyCustomerInputEnvelope;
1122
+ connect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1123
+ };
1124
+ export type CheckoutUncheckedCreateNestedManyWithoutCustomerInput = {
1125
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCustomerInput, Prisma.CheckoutUncheckedCreateWithoutCustomerInput> | Prisma.CheckoutCreateWithoutCustomerInput[] | Prisma.CheckoutUncheckedCreateWithoutCustomerInput[];
1126
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCustomerInput | Prisma.CheckoutCreateOrConnectWithoutCustomerInput[];
1127
+ createMany?: Prisma.CheckoutCreateManyCustomerInputEnvelope;
1128
+ connect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1129
+ };
1130
+ export type CheckoutUpdateManyWithoutCustomerNestedInput = {
1131
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCustomerInput, Prisma.CheckoutUncheckedCreateWithoutCustomerInput> | Prisma.CheckoutCreateWithoutCustomerInput[] | Prisma.CheckoutUncheckedCreateWithoutCustomerInput[];
1132
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCustomerInput | Prisma.CheckoutCreateOrConnectWithoutCustomerInput[];
1133
+ upsert?: Prisma.CheckoutUpsertWithWhereUniqueWithoutCustomerInput | Prisma.CheckoutUpsertWithWhereUniqueWithoutCustomerInput[];
1134
+ createMany?: Prisma.CheckoutCreateManyCustomerInputEnvelope;
1135
+ set?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1136
+ disconnect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1137
+ delete?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1138
+ connect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1139
+ update?: Prisma.CheckoutUpdateWithWhereUniqueWithoutCustomerInput | Prisma.CheckoutUpdateWithWhereUniqueWithoutCustomerInput[];
1140
+ updateMany?: Prisma.CheckoutUpdateManyWithWhereWithoutCustomerInput | Prisma.CheckoutUpdateManyWithWhereWithoutCustomerInput[];
1141
+ deleteMany?: Prisma.CheckoutScalarWhereInput | Prisma.CheckoutScalarWhereInput[];
1142
+ };
1143
+ export type CheckoutUncheckedUpdateManyWithoutCustomerNestedInput = {
1144
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCustomerInput, Prisma.CheckoutUncheckedCreateWithoutCustomerInput> | Prisma.CheckoutCreateWithoutCustomerInput[] | Prisma.CheckoutUncheckedCreateWithoutCustomerInput[];
1145
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCustomerInput | Prisma.CheckoutCreateOrConnectWithoutCustomerInput[];
1146
+ upsert?: Prisma.CheckoutUpsertWithWhereUniqueWithoutCustomerInput | Prisma.CheckoutUpsertWithWhereUniqueWithoutCustomerInput[];
1147
+ createMany?: Prisma.CheckoutCreateManyCustomerInputEnvelope;
1148
+ set?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1149
+ disconnect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1150
+ delete?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1151
+ connect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1152
+ update?: Prisma.CheckoutUpdateWithWhereUniqueWithoutCustomerInput | Prisma.CheckoutUpdateWithWhereUniqueWithoutCustomerInput[];
1153
+ updateMany?: Prisma.CheckoutUpdateManyWithWhereWithoutCustomerInput | Prisma.CheckoutUpdateManyWithWhereWithoutCustomerInput[];
1154
+ deleteMany?: Prisma.CheckoutScalarWhereInput | Prisma.CheckoutScalarWhereInput[];
1155
+ };
1156
+ export type CheckoutCreateNestedOneWithoutCartInput = {
1157
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCartInput, Prisma.CheckoutUncheckedCreateWithoutCartInput>;
1158
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCartInput;
1159
+ connect?: Prisma.CheckoutWhereUniqueInput;
1160
+ };
1161
+ export type CheckoutUncheckedCreateNestedOneWithoutCartInput = {
1162
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCartInput, Prisma.CheckoutUncheckedCreateWithoutCartInput>;
1163
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCartInput;
1164
+ connect?: Prisma.CheckoutWhereUniqueInput;
1165
+ };
1166
+ export type CheckoutUpdateOneWithoutCartNestedInput = {
1167
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCartInput, Prisma.CheckoutUncheckedCreateWithoutCartInput>;
1168
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCartInput;
1169
+ upsert?: Prisma.CheckoutUpsertWithoutCartInput;
1170
+ disconnect?: Prisma.CheckoutWhereInput | boolean;
1171
+ delete?: Prisma.CheckoutWhereInput | boolean;
1172
+ connect?: Prisma.CheckoutWhereUniqueInput;
1173
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CheckoutUpdateToOneWithWhereWithoutCartInput, Prisma.CheckoutUpdateWithoutCartInput>, Prisma.CheckoutUncheckedUpdateWithoutCartInput>;
1174
+ };
1175
+ export type CheckoutUncheckedUpdateOneWithoutCartNestedInput = {
1176
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCartInput, Prisma.CheckoutUncheckedCreateWithoutCartInput>;
1177
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCartInput;
1178
+ upsert?: Prisma.CheckoutUpsertWithoutCartInput;
1179
+ disconnect?: Prisma.CheckoutWhereInput | boolean;
1180
+ delete?: Prisma.CheckoutWhereInput | boolean;
1181
+ connect?: Prisma.CheckoutWhereUniqueInput;
1182
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CheckoutUpdateToOneWithWhereWithoutCartInput, Prisma.CheckoutUpdateWithoutCartInput>, Prisma.CheckoutUncheckedUpdateWithoutCartInput>;
1183
+ };
1184
+ export type CheckoutCreateNestedManyWithoutCheckoutGroupInput = {
1185
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutGroupInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput> | Prisma.CheckoutCreateWithoutCheckoutGroupInput[] | Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput[];
1186
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCheckoutGroupInput | Prisma.CheckoutCreateOrConnectWithoutCheckoutGroupInput[];
1187
+ createMany?: Prisma.CheckoutCreateManyCheckoutGroupInputEnvelope;
1188
+ connect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1189
+ };
1190
+ export type CheckoutUncheckedCreateNestedManyWithoutCheckoutGroupInput = {
1191
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutGroupInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput> | Prisma.CheckoutCreateWithoutCheckoutGroupInput[] | Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput[];
1192
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCheckoutGroupInput | Prisma.CheckoutCreateOrConnectWithoutCheckoutGroupInput[];
1193
+ createMany?: Prisma.CheckoutCreateManyCheckoutGroupInputEnvelope;
1194
+ connect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1195
+ };
1196
+ export type CheckoutUpdateManyWithoutCheckoutGroupNestedInput = {
1197
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutGroupInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput> | Prisma.CheckoutCreateWithoutCheckoutGroupInput[] | Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput[];
1198
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCheckoutGroupInput | Prisma.CheckoutCreateOrConnectWithoutCheckoutGroupInput[];
1199
+ upsert?: Prisma.CheckoutUpsertWithWhereUniqueWithoutCheckoutGroupInput | Prisma.CheckoutUpsertWithWhereUniqueWithoutCheckoutGroupInput[];
1200
+ createMany?: Prisma.CheckoutCreateManyCheckoutGroupInputEnvelope;
1201
+ set?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1202
+ disconnect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1203
+ delete?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1204
+ connect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1205
+ update?: Prisma.CheckoutUpdateWithWhereUniqueWithoutCheckoutGroupInput | Prisma.CheckoutUpdateWithWhereUniqueWithoutCheckoutGroupInput[];
1206
+ updateMany?: Prisma.CheckoutUpdateManyWithWhereWithoutCheckoutGroupInput | Prisma.CheckoutUpdateManyWithWhereWithoutCheckoutGroupInput[];
1207
+ deleteMany?: Prisma.CheckoutScalarWhereInput | Prisma.CheckoutScalarWhereInput[];
1208
+ };
1209
+ export type CheckoutUncheckedUpdateManyWithoutCheckoutGroupNestedInput = {
1210
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutGroupInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput> | Prisma.CheckoutCreateWithoutCheckoutGroupInput[] | Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput[];
1211
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCheckoutGroupInput | Prisma.CheckoutCreateOrConnectWithoutCheckoutGroupInput[];
1212
+ upsert?: Prisma.CheckoutUpsertWithWhereUniqueWithoutCheckoutGroupInput | Prisma.CheckoutUpsertWithWhereUniqueWithoutCheckoutGroupInput[];
1213
+ createMany?: Prisma.CheckoutCreateManyCheckoutGroupInputEnvelope;
1214
+ set?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1215
+ disconnect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1216
+ delete?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1217
+ connect?: Prisma.CheckoutWhereUniqueInput | Prisma.CheckoutWhereUniqueInput[];
1218
+ update?: Prisma.CheckoutUpdateWithWhereUniqueWithoutCheckoutGroupInput | Prisma.CheckoutUpdateWithWhereUniqueWithoutCheckoutGroupInput[];
1219
+ updateMany?: Prisma.CheckoutUpdateManyWithWhereWithoutCheckoutGroupInput | Prisma.CheckoutUpdateManyWithWhereWithoutCheckoutGroupInput[];
1220
+ deleteMany?: Prisma.CheckoutScalarWhereInput | Prisma.CheckoutScalarWhereInput[];
1221
+ };
1222
+ export type CheckoutCreateNestedOneWithoutCheckoutLinesInput = {
1223
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutLinesInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutLinesInput>;
1224
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCheckoutLinesInput;
1225
+ connect?: Prisma.CheckoutWhereUniqueInput;
1226
+ };
1227
+ export type CheckoutUpdateOneRequiredWithoutCheckoutLinesNestedInput = {
1228
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutLinesInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutLinesInput>;
1229
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutCheckoutLinesInput;
1230
+ upsert?: Prisma.CheckoutUpsertWithoutCheckoutLinesInput;
1231
+ connect?: Prisma.CheckoutWhereUniqueInput;
1232
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CheckoutUpdateToOneWithWhereWithoutCheckoutLinesInput, Prisma.CheckoutUpdateWithoutCheckoutLinesInput>, Prisma.CheckoutUncheckedUpdateWithoutCheckoutLinesInput>;
1233
+ };
1234
+ export type CheckoutCreateNestedOneWithoutEventLogInput = {
1235
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutEventLogInput, Prisma.CheckoutUncheckedCreateWithoutEventLogInput>;
1236
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutEventLogInput;
1237
+ connect?: Prisma.CheckoutWhereUniqueInput;
1238
+ };
1239
+ export type CheckoutUpdateOneRequiredWithoutEventLogNestedInput = {
1240
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutEventLogInput, Prisma.CheckoutUncheckedCreateWithoutEventLogInput>;
1241
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutEventLogInput;
1242
+ upsert?: Prisma.CheckoutUpsertWithoutEventLogInput;
1243
+ connect?: Prisma.CheckoutWhereUniqueInput;
1244
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CheckoutUpdateToOneWithWhereWithoutEventLogInput, Prisma.CheckoutUpdateWithoutEventLogInput>, Prisma.CheckoutUncheckedUpdateWithoutEventLogInput>;
1245
+ };
1246
+ export type CheckoutCreateNestedOneWithoutFulfillmentFeesInput = {
1247
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutFulfillmentFeesInput, Prisma.CheckoutUncheckedCreateWithoutFulfillmentFeesInput>;
1248
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutFulfillmentFeesInput;
1249
+ connect?: Prisma.CheckoutWhereUniqueInput;
1250
+ };
1251
+ export type CheckoutUpdateOneRequiredWithoutFulfillmentFeesNestedInput = {
1252
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutFulfillmentFeesInput, Prisma.CheckoutUncheckedCreateWithoutFulfillmentFeesInput>;
1253
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutFulfillmentFeesInput;
1254
+ upsert?: Prisma.CheckoutUpsertWithoutFulfillmentFeesInput;
1255
+ connect?: Prisma.CheckoutWhereUniqueInput;
1256
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CheckoutUpdateToOneWithWhereWithoutFulfillmentFeesInput, Prisma.CheckoutUpdateWithoutFulfillmentFeesInput>, Prisma.CheckoutUncheckedUpdateWithoutFulfillmentFeesInput>;
1257
+ };
1258
+ export type CheckoutCreateNestedOneWithoutPaymentsInput = {
1259
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutPaymentsInput, Prisma.CheckoutUncheckedCreateWithoutPaymentsInput>;
1260
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutPaymentsInput;
1261
+ connect?: Prisma.CheckoutWhereUniqueInput;
1262
+ };
1263
+ export type CheckoutUpdateOneRequiredWithoutPaymentsNestedInput = {
1264
+ create?: Prisma.XOR<Prisma.CheckoutCreateWithoutPaymentsInput, Prisma.CheckoutUncheckedCreateWithoutPaymentsInput>;
1265
+ connectOrCreate?: Prisma.CheckoutCreateOrConnectWithoutPaymentsInput;
1266
+ upsert?: Prisma.CheckoutUpsertWithoutPaymentsInput;
1267
+ connect?: Prisma.CheckoutWhereUniqueInput;
1268
+ update?: Prisma.XOR<Prisma.XOR<Prisma.CheckoutUpdateToOneWithWhereWithoutPaymentsInput, Prisma.CheckoutUpdateWithoutPaymentsInput>, Prisma.CheckoutUncheckedUpdateWithoutPaymentsInput>;
1269
+ };
1270
+ export type CheckoutCreateWithoutCustomerInput = {
1271
+ id?: bigint | number;
1272
+ platformId: string;
1273
+ storeId: string;
1274
+ completedAt?: Date | string | null;
1275
+ createdAt?: Date | string;
1276
+ updatedAt?: Date | string;
1277
+ fulfillmentType: $Enums.FulfillmentType;
1278
+ note?: string | null;
1279
+ includeUtensils?: boolean;
1280
+ orderId?: string | null;
1281
+ isReady?: boolean;
1282
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1283
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1284
+ isTaxExempt?: boolean;
1285
+ isTaxesIncluded?: boolean;
1286
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1287
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1288
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1289
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1290
+ currencyCode: $Enums.CurrencyCode;
1291
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1292
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1293
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1294
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1295
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1296
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1297
+ purchasedRateId?: string | null;
1298
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1299
+ shipmentServiceCode?: string | null;
1300
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1301
+ isValid?: boolean;
1302
+ invalidReason?: string | null;
1303
+ isGift?: boolean;
1304
+ giftFrom?: string | null;
1305
+ giftMessage?: string | null;
1306
+ checkoutLines?: Prisma.CheckoutLineCreateNestedManyWithoutCheckoutInput;
1307
+ fulfillmentFees?: Prisma.FulfillmentFeesCreateNestedManyWithoutCheckoutInput;
1308
+ cart: Prisma.CartCreateNestedOneWithoutCheckoutInput;
1309
+ checkoutGroup: Prisma.CheckoutGroupCreateNestedOneWithoutCheckoutInput;
1310
+ eventLog?: Prisma.EventLogCreateNestedManyWithoutCheckoutInput;
1311
+ payments?: Prisma.PaymentCreateNestedManyWithoutCheckoutInput;
1312
+ };
1313
+ export type CheckoutUncheckedCreateWithoutCustomerInput = {
1314
+ id?: bigint | number;
1315
+ platformId: string;
1316
+ storeId: string;
1317
+ completedAt?: Date | string | null;
1318
+ createdAt?: Date | string;
1319
+ updatedAt?: Date | string;
1320
+ fulfillmentType: $Enums.FulfillmentType;
1321
+ note?: string | null;
1322
+ includeUtensils?: boolean;
1323
+ orderId?: string | null;
1324
+ isReady?: boolean;
1325
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1326
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1327
+ isTaxExempt?: boolean;
1328
+ isTaxesIncluded?: boolean;
1329
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1330
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1331
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1332
+ cartId: bigint | number;
1333
+ checkoutGroupId: bigint | number;
1334
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1335
+ currencyCode: $Enums.CurrencyCode;
1336
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1337
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1338
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1339
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1340
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1341
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1342
+ purchasedRateId?: string | null;
1343
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1344
+ shipmentServiceCode?: string | null;
1345
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1346
+ isValid?: boolean;
1347
+ invalidReason?: string | null;
1348
+ isGift?: boolean;
1349
+ giftFrom?: string | null;
1350
+ giftMessage?: string | null;
1351
+ checkoutLines?: Prisma.CheckoutLineUncheckedCreateNestedManyWithoutCheckoutInput;
1352
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedCreateNestedManyWithoutCheckoutInput;
1353
+ eventLog?: Prisma.EventLogUncheckedCreateNestedManyWithoutCheckoutInput;
1354
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutCheckoutInput;
1355
+ };
1356
+ export type CheckoutCreateOrConnectWithoutCustomerInput = {
1357
+ where: Prisma.CheckoutWhereUniqueInput;
1358
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutCustomerInput, Prisma.CheckoutUncheckedCreateWithoutCustomerInput>;
1359
+ };
1360
+ export type CheckoutCreateManyCustomerInputEnvelope = {
1361
+ data: Prisma.CheckoutCreateManyCustomerInput | Prisma.CheckoutCreateManyCustomerInput[];
1362
+ skipDuplicates?: boolean;
1363
+ };
1364
+ export type CheckoutUpsertWithWhereUniqueWithoutCustomerInput = {
1365
+ where: Prisma.CheckoutWhereUniqueInput;
1366
+ update: Prisma.XOR<Prisma.CheckoutUpdateWithoutCustomerInput, Prisma.CheckoutUncheckedUpdateWithoutCustomerInput>;
1367
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutCustomerInput, Prisma.CheckoutUncheckedCreateWithoutCustomerInput>;
1368
+ };
1369
+ export type CheckoutUpdateWithWhereUniqueWithoutCustomerInput = {
1370
+ where: Prisma.CheckoutWhereUniqueInput;
1371
+ data: Prisma.XOR<Prisma.CheckoutUpdateWithoutCustomerInput, Prisma.CheckoutUncheckedUpdateWithoutCustomerInput>;
1372
+ };
1373
+ export type CheckoutUpdateManyWithWhereWithoutCustomerInput = {
1374
+ where: Prisma.CheckoutScalarWhereInput;
1375
+ data: Prisma.XOR<Prisma.CheckoutUpdateManyMutationInput, Prisma.CheckoutUncheckedUpdateManyWithoutCustomerInput>;
1376
+ };
1377
+ export type CheckoutScalarWhereInput = {
1378
+ AND?: Prisma.CheckoutScalarWhereInput | Prisma.CheckoutScalarWhereInput[];
1379
+ OR?: Prisma.CheckoutScalarWhereInput[];
1380
+ NOT?: Prisma.CheckoutScalarWhereInput | Prisma.CheckoutScalarWhereInput[];
1381
+ id?: Prisma.BigIntFilter<"Checkout"> | bigint | number;
1382
+ customerId?: Prisma.BigIntNullableFilter<"Checkout"> | bigint | number | null;
1383
+ platformId?: Prisma.StringFilter<"Checkout"> | string;
1384
+ storeId?: Prisma.StringFilter<"Checkout"> | string;
1385
+ completedAt?: Prisma.DateTimeNullableFilter<"Checkout"> | Date | string | null;
1386
+ createdAt?: Prisma.DateTimeFilter<"Checkout"> | Date | string;
1387
+ updatedAt?: Prisma.DateTimeFilter<"Checkout"> | Date | string;
1388
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFilter<"Checkout"> | $Enums.FulfillmentType;
1389
+ note?: Prisma.StringNullableFilter<"Checkout"> | string | null;
1390
+ includeUtensils?: Prisma.BoolFilter<"Checkout"> | boolean;
1391
+ orderId?: Prisma.StringNullableFilter<"Checkout"> | string | null;
1392
+ isReady?: Prisma.BoolFilter<"Checkout"> | boolean;
1393
+ lineItemsSubtotal?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
1394
+ subtotalPrice?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
1395
+ isTaxExempt?: Prisma.BoolFilter<"Checkout"> | boolean;
1396
+ isTaxesIncluded?: Prisma.BoolFilter<"Checkout"> | boolean;
1397
+ totalPrice?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
1398
+ totalTax?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
1399
+ paymentDue?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
1400
+ cartId?: Prisma.BigIntFilter<"Checkout"> | bigint | number;
1401
+ checkoutGroupId?: Prisma.BigIntFilter<"Checkout"> | bigint | number;
1402
+ deliveryFee?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
1403
+ currencyCode?: Prisma.EnumCurrencyCodeFilter<"Checkout"> | $Enums.CurrencyCode;
1404
+ totalTaxBreakdown?: Prisma.JsonFilter<"Checkout">;
1405
+ tip?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
1406
+ expressFee?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
1407
+ discountAmount?: Prisma.DecimalFilter<"Checkout"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
1408
+ fulfillmentOptInOptionType?: Prisma.EnumFulfillmentOptInOptionTypeNullableFilter<"Checkout"> | $Enums.FulfillmentOptInOptionType | null;
1409
+ shippoShipment?: Prisma.JsonNullableFilter<"Checkout">;
1410
+ purchasedRateId?: Prisma.StringNullableFilter<"Checkout"> | string | null;
1411
+ calculatedShippingRates?: Prisma.JsonNullableFilter<"Checkout">;
1412
+ shipmentServiceCode?: Prisma.StringNullableFilter<"Checkout"> | string | null;
1413
+ calculatedParcels?: Prisma.JsonNullableFilter<"Checkout">;
1414
+ isValid?: Prisma.BoolFilter<"Checkout"> | boolean;
1415
+ invalidReason?: Prisma.StringNullableFilter<"Checkout"> | string | null;
1416
+ isGift?: Prisma.BoolFilter<"Checkout"> | boolean;
1417
+ giftFrom?: Prisma.StringNullableFilter<"Checkout"> | string | null;
1418
+ giftMessage?: Prisma.StringNullableFilter<"Checkout"> | string | null;
1419
+ };
1420
+ export type CheckoutCreateWithoutCartInput = {
1421
+ id?: bigint | number;
1422
+ platformId: string;
1423
+ storeId: string;
1424
+ completedAt?: Date | string | null;
1425
+ createdAt?: Date | string;
1426
+ updatedAt?: Date | string;
1427
+ fulfillmentType: $Enums.FulfillmentType;
1428
+ note?: string | null;
1429
+ includeUtensils?: boolean;
1430
+ orderId?: string | null;
1431
+ isReady?: boolean;
1432
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1433
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1434
+ isTaxExempt?: boolean;
1435
+ isTaxesIncluded?: boolean;
1436
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1437
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1438
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1439
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1440
+ currencyCode: $Enums.CurrencyCode;
1441
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1442
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1443
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1444
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1445
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1446
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1447
+ purchasedRateId?: string | null;
1448
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1449
+ shipmentServiceCode?: string | null;
1450
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1451
+ isValid?: boolean;
1452
+ invalidReason?: string | null;
1453
+ isGift?: boolean;
1454
+ giftFrom?: string | null;
1455
+ giftMessage?: string | null;
1456
+ checkoutLines?: Prisma.CheckoutLineCreateNestedManyWithoutCheckoutInput;
1457
+ fulfillmentFees?: Prisma.FulfillmentFeesCreateNestedManyWithoutCheckoutInput;
1458
+ customer?: Prisma.CustomerCreateNestedOneWithoutCheckoutsInput;
1459
+ checkoutGroup: Prisma.CheckoutGroupCreateNestedOneWithoutCheckoutInput;
1460
+ eventLog?: Prisma.EventLogCreateNestedManyWithoutCheckoutInput;
1461
+ payments?: Prisma.PaymentCreateNestedManyWithoutCheckoutInput;
1462
+ };
1463
+ export type CheckoutUncheckedCreateWithoutCartInput = {
1464
+ id?: bigint | number;
1465
+ customerId?: bigint | number | null;
1466
+ platformId: string;
1467
+ storeId: string;
1468
+ completedAt?: Date | string | null;
1469
+ createdAt?: Date | string;
1470
+ updatedAt?: Date | string;
1471
+ fulfillmentType: $Enums.FulfillmentType;
1472
+ note?: string | null;
1473
+ includeUtensils?: boolean;
1474
+ orderId?: string | null;
1475
+ isReady?: boolean;
1476
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1477
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1478
+ isTaxExempt?: boolean;
1479
+ isTaxesIncluded?: boolean;
1480
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1481
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1482
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1483
+ checkoutGroupId: bigint | number;
1484
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1485
+ currencyCode: $Enums.CurrencyCode;
1486
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1487
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1488
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1489
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1490
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1491
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1492
+ purchasedRateId?: string | null;
1493
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1494
+ shipmentServiceCode?: string | null;
1495
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1496
+ isValid?: boolean;
1497
+ invalidReason?: string | null;
1498
+ isGift?: boolean;
1499
+ giftFrom?: string | null;
1500
+ giftMessage?: string | null;
1501
+ checkoutLines?: Prisma.CheckoutLineUncheckedCreateNestedManyWithoutCheckoutInput;
1502
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedCreateNestedManyWithoutCheckoutInput;
1503
+ eventLog?: Prisma.EventLogUncheckedCreateNestedManyWithoutCheckoutInput;
1504
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutCheckoutInput;
1505
+ };
1506
+ export type CheckoutCreateOrConnectWithoutCartInput = {
1507
+ where: Prisma.CheckoutWhereUniqueInput;
1508
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutCartInput, Prisma.CheckoutUncheckedCreateWithoutCartInput>;
1509
+ };
1510
+ export type CheckoutUpsertWithoutCartInput = {
1511
+ update: Prisma.XOR<Prisma.CheckoutUpdateWithoutCartInput, Prisma.CheckoutUncheckedUpdateWithoutCartInput>;
1512
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutCartInput, Prisma.CheckoutUncheckedCreateWithoutCartInput>;
1513
+ where?: Prisma.CheckoutWhereInput;
1514
+ };
1515
+ export type CheckoutUpdateToOneWithWhereWithoutCartInput = {
1516
+ where?: Prisma.CheckoutWhereInput;
1517
+ data: Prisma.XOR<Prisma.CheckoutUpdateWithoutCartInput, Prisma.CheckoutUncheckedUpdateWithoutCartInput>;
1518
+ };
1519
+ export type CheckoutUpdateWithoutCartInput = {
1520
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1521
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
1522
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
1523
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1524
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1525
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1526
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
1527
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1528
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1529
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1530
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1531
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1532
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1533
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1534
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1535
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1536
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1537
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1538
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1539
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
1540
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
1541
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1542
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1543
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1544
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
1545
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1546
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1547
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1548
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1549
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1550
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1551
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1552
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1553
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1554
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1555
+ checkoutLines?: Prisma.CheckoutLineUpdateManyWithoutCheckoutNestedInput;
1556
+ fulfillmentFees?: Prisma.FulfillmentFeesUpdateManyWithoutCheckoutNestedInput;
1557
+ customer?: Prisma.CustomerUpdateOneWithoutCheckoutsNestedInput;
1558
+ checkoutGroup?: Prisma.CheckoutGroupUpdateOneRequiredWithoutCheckoutNestedInput;
1559
+ eventLog?: Prisma.EventLogUpdateManyWithoutCheckoutNestedInput;
1560
+ payments?: Prisma.PaymentUpdateManyWithoutCheckoutNestedInput;
1561
+ };
1562
+ export type CheckoutUncheckedUpdateWithoutCartInput = {
1563
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1564
+ customerId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1565
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
1566
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
1567
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1568
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1569
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1570
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
1571
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1572
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1573
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1574
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1575
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1576
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1577
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1578
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1579
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1580
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1581
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1582
+ checkoutGroupId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1583
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1584
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
1585
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
1586
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1587
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1588
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1589
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
1590
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1591
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1592
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1593
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1594
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1595
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1596
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1597
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1598
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1599
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1600
+ checkoutLines?: Prisma.CheckoutLineUncheckedUpdateManyWithoutCheckoutNestedInput;
1601
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedUpdateManyWithoutCheckoutNestedInput;
1602
+ eventLog?: Prisma.EventLogUncheckedUpdateManyWithoutCheckoutNestedInput;
1603
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutCheckoutNestedInput;
1604
+ };
1605
+ export type CheckoutCreateWithoutCheckoutGroupInput = {
1606
+ id?: bigint | number;
1607
+ platformId: string;
1608
+ storeId: string;
1609
+ completedAt?: Date | string | null;
1610
+ createdAt?: Date | string;
1611
+ updatedAt?: Date | string;
1612
+ fulfillmentType: $Enums.FulfillmentType;
1613
+ note?: string | null;
1614
+ includeUtensils?: boolean;
1615
+ orderId?: string | null;
1616
+ isReady?: boolean;
1617
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1618
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1619
+ isTaxExempt?: boolean;
1620
+ isTaxesIncluded?: boolean;
1621
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1622
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1623
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1624
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1625
+ currencyCode: $Enums.CurrencyCode;
1626
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1627
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1628
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1629
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1630
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1631
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1632
+ purchasedRateId?: string | null;
1633
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1634
+ shipmentServiceCode?: string | null;
1635
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1636
+ isValid?: boolean;
1637
+ invalidReason?: string | null;
1638
+ isGift?: boolean;
1639
+ giftFrom?: string | null;
1640
+ giftMessage?: string | null;
1641
+ checkoutLines?: Prisma.CheckoutLineCreateNestedManyWithoutCheckoutInput;
1642
+ fulfillmentFees?: Prisma.FulfillmentFeesCreateNestedManyWithoutCheckoutInput;
1643
+ customer?: Prisma.CustomerCreateNestedOneWithoutCheckoutsInput;
1644
+ cart: Prisma.CartCreateNestedOneWithoutCheckoutInput;
1645
+ eventLog?: Prisma.EventLogCreateNestedManyWithoutCheckoutInput;
1646
+ payments?: Prisma.PaymentCreateNestedManyWithoutCheckoutInput;
1647
+ };
1648
+ export type CheckoutUncheckedCreateWithoutCheckoutGroupInput = {
1649
+ id?: bigint | number;
1650
+ customerId?: bigint | number | null;
1651
+ platformId: string;
1652
+ storeId: string;
1653
+ completedAt?: Date | string | null;
1654
+ createdAt?: Date | string;
1655
+ updatedAt?: Date | string;
1656
+ fulfillmentType: $Enums.FulfillmentType;
1657
+ note?: string | null;
1658
+ includeUtensils?: boolean;
1659
+ orderId?: string | null;
1660
+ isReady?: boolean;
1661
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1662
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1663
+ isTaxExempt?: boolean;
1664
+ isTaxesIncluded?: boolean;
1665
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1666
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1667
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1668
+ cartId: bigint | number;
1669
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1670
+ currencyCode: $Enums.CurrencyCode;
1671
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1672
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1673
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1674
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1675
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1676
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1677
+ purchasedRateId?: string | null;
1678
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1679
+ shipmentServiceCode?: string | null;
1680
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1681
+ isValid?: boolean;
1682
+ invalidReason?: string | null;
1683
+ isGift?: boolean;
1684
+ giftFrom?: string | null;
1685
+ giftMessage?: string | null;
1686
+ checkoutLines?: Prisma.CheckoutLineUncheckedCreateNestedManyWithoutCheckoutInput;
1687
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedCreateNestedManyWithoutCheckoutInput;
1688
+ eventLog?: Prisma.EventLogUncheckedCreateNestedManyWithoutCheckoutInput;
1689
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutCheckoutInput;
1690
+ };
1691
+ export type CheckoutCreateOrConnectWithoutCheckoutGroupInput = {
1692
+ where: Prisma.CheckoutWhereUniqueInput;
1693
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutGroupInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput>;
1694
+ };
1695
+ export type CheckoutCreateManyCheckoutGroupInputEnvelope = {
1696
+ data: Prisma.CheckoutCreateManyCheckoutGroupInput | Prisma.CheckoutCreateManyCheckoutGroupInput[];
1697
+ skipDuplicates?: boolean;
1698
+ };
1699
+ export type CheckoutUpsertWithWhereUniqueWithoutCheckoutGroupInput = {
1700
+ where: Prisma.CheckoutWhereUniqueInput;
1701
+ update: Prisma.XOR<Prisma.CheckoutUpdateWithoutCheckoutGroupInput, Prisma.CheckoutUncheckedUpdateWithoutCheckoutGroupInput>;
1702
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutGroupInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutGroupInput>;
1703
+ };
1704
+ export type CheckoutUpdateWithWhereUniqueWithoutCheckoutGroupInput = {
1705
+ where: Prisma.CheckoutWhereUniqueInput;
1706
+ data: Prisma.XOR<Prisma.CheckoutUpdateWithoutCheckoutGroupInput, Prisma.CheckoutUncheckedUpdateWithoutCheckoutGroupInput>;
1707
+ };
1708
+ export type CheckoutUpdateManyWithWhereWithoutCheckoutGroupInput = {
1709
+ where: Prisma.CheckoutScalarWhereInput;
1710
+ data: Prisma.XOR<Prisma.CheckoutUpdateManyMutationInput, Prisma.CheckoutUncheckedUpdateManyWithoutCheckoutGroupInput>;
1711
+ };
1712
+ export type CheckoutCreateWithoutCheckoutLinesInput = {
1713
+ id?: bigint | number;
1714
+ platformId: string;
1715
+ storeId: string;
1716
+ completedAt?: Date | string | null;
1717
+ createdAt?: Date | string;
1718
+ updatedAt?: Date | string;
1719
+ fulfillmentType: $Enums.FulfillmentType;
1720
+ note?: string | null;
1721
+ includeUtensils?: boolean;
1722
+ orderId?: string | null;
1723
+ isReady?: boolean;
1724
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1725
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1726
+ isTaxExempt?: boolean;
1727
+ isTaxesIncluded?: boolean;
1728
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1729
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1730
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1731
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1732
+ currencyCode: $Enums.CurrencyCode;
1733
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1734
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1735
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1736
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1737
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1738
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1739
+ purchasedRateId?: string | null;
1740
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1741
+ shipmentServiceCode?: string | null;
1742
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1743
+ isValid?: boolean;
1744
+ invalidReason?: string | null;
1745
+ isGift?: boolean;
1746
+ giftFrom?: string | null;
1747
+ giftMessage?: string | null;
1748
+ fulfillmentFees?: Prisma.FulfillmentFeesCreateNestedManyWithoutCheckoutInput;
1749
+ customer?: Prisma.CustomerCreateNestedOneWithoutCheckoutsInput;
1750
+ cart: Prisma.CartCreateNestedOneWithoutCheckoutInput;
1751
+ checkoutGroup: Prisma.CheckoutGroupCreateNestedOneWithoutCheckoutInput;
1752
+ eventLog?: Prisma.EventLogCreateNestedManyWithoutCheckoutInput;
1753
+ payments?: Prisma.PaymentCreateNestedManyWithoutCheckoutInput;
1754
+ };
1755
+ export type CheckoutUncheckedCreateWithoutCheckoutLinesInput = {
1756
+ id?: bigint | number;
1757
+ customerId?: bigint | number | null;
1758
+ platformId: string;
1759
+ storeId: string;
1760
+ completedAt?: Date | string | null;
1761
+ createdAt?: Date | string;
1762
+ updatedAt?: Date | string;
1763
+ fulfillmentType: $Enums.FulfillmentType;
1764
+ note?: string | null;
1765
+ includeUtensils?: boolean;
1766
+ orderId?: string | null;
1767
+ isReady?: boolean;
1768
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1769
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1770
+ isTaxExempt?: boolean;
1771
+ isTaxesIncluded?: boolean;
1772
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1773
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1774
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1775
+ cartId: bigint | number;
1776
+ checkoutGroupId: bigint | number;
1777
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1778
+ currencyCode: $Enums.CurrencyCode;
1779
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1780
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1781
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1782
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1783
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1784
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1785
+ purchasedRateId?: string | null;
1786
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1787
+ shipmentServiceCode?: string | null;
1788
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1789
+ isValid?: boolean;
1790
+ invalidReason?: string | null;
1791
+ isGift?: boolean;
1792
+ giftFrom?: string | null;
1793
+ giftMessage?: string | null;
1794
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedCreateNestedManyWithoutCheckoutInput;
1795
+ eventLog?: Prisma.EventLogUncheckedCreateNestedManyWithoutCheckoutInput;
1796
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutCheckoutInput;
1797
+ };
1798
+ export type CheckoutCreateOrConnectWithoutCheckoutLinesInput = {
1799
+ where: Prisma.CheckoutWhereUniqueInput;
1800
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutLinesInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutLinesInput>;
1801
+ };
1802
+ export type CheckoutUpsertWithoutCheckoutLinesInput = {
1803
+ update: Prisma.XOR<Prisma.CheckoutUpdateWithoutCheckoutLinesInput, Prisma.CheckoutUncheckedUpdateWithoutCheckoutLinesInput>;
1804
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutCheckoutLinesInput, Prisma.CheckoutUncheckedCreateWithoutCheckoutLinesInput>;
1805
+ where?: Prisma.CheckoutWhereInput;
1806
+ };
1807
+ export type CheckoutUpdateToOneWithWhereWithoutCheckoutLinesInput = {
1808
+ where?: Prisma.CheckoutWhereInput;
1809
+ data: Prisma.XOR<Prisma.CheckoutUpdateWithoutCheckoutLinesInput, Prisma.CheckoutUncheckedUpdateWithoutCheckoutLinesInput>;
1810
+ };
1811
+ export type CheckoutUpdateWithoutCheckoutLinesInput = {
1812
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1813
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
1814
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
1815
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1816
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1817
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1818
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
1819
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1820
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1821
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1822
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1823
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1824
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1825
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1826
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1827
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1828
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1829
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1830
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1831
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
1832
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
1833
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1834
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1835
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1836
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
1837
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1838
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1839
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1840
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1841
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1842
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1843
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1844
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1845
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1846
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1847
+ fulfillmentFees?: Prisma.FulfillmentFeesUpdateManyWithoutCheckoutNestedInput;
1848
+ customer?: Prisma.CustomerUpdateOneWithoutCheckoutsNestedInput;
1849
+ cart?: Prisma.CartUpdateOneRequiredWithoutCheckoutNestedInput;
1850
+ checkoutGroup?: Prisma.CheckoutGroupUpdateOneRequiredWithoutCheckoutNestedInput;
1851
+ eventLog?: Prisma.EventLogUpdateManyWithoutCheckoutNestedInput;
1852
+ payments?: Prisma.PaymentUpdateManyWithoutCheckoutNestedInput;
1853
+ };
1854
+ export type CheckoutUncheckedUpdateWithoutCheckoutLinesInput = {
1855
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1856
+ customerId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
1857
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
1858
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
1859
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1860
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1861
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1862
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
1863
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1864
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1865
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1866
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1867
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1868
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1869
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1870
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1871
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1872
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1873
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1874
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1875
+ checkoutGroupId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1876
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1877
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
1878
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
1879
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1880
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1881
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
1882
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
1883
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1884
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1885
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1886
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1887
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1888
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1889
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1890
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
1891
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1892
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1893
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedUpdateManyWithoutCheckoutNestedInput;
1894
+ eventLog?: Prisma.EventLogUncheckedUpdateManyWithoutCheckoutNestedInput;
1895
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutCheckoutNestedInput;
1896
+ };
1897
+ export type CheckoutCreateWithoutEventLogInput = {
1898
+ id?: bigint | number;
1899
+ platformId: string;
1900
+ storeId: string;
1901
+ completedAt?: Date | string | null;
1902
+ createdAt?: Date | string;
1903
+ updatedAt?: Date | string;
1904
+ fulfillmentType: $Enums.FulfillmentType;
1905
+ note?: string | null;
1906
+ includeUtensils?: boolean;
1907
+ orderId?: string | null;
1908
+ isReady?: boolean;
1909
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1910
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1911
+ isTaxExempt?: boolean;
1912
+ isTaxesIncluded?: boolean;
1913
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1914
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1915
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1916
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1917
+ currencyCode: $Enums.CurrencyCode;
1918
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1919
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1920
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1921
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1922
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1923
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1924
+ purchasedRateId?: string | null;
1925
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1926
+ shipmentServiceCode?: string | null;
1927
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1928
+ isValid?: boolean;
1929
+ invalidReason?: string | null;
1930
+ isGift?: boolean;
1931
+ giftFrom?: string | null;
1932
+ giftMessage?: string | null;
1933
+ checkoutLines?: Prisma.CheckoutLineCreateNestedManyWithoutCheckoutInput;
1934
+ fulfillmentFees?: Prisma.FulfillmentFeesCreateNestedManyWithoutCheckoutInput;
1935
+ customer?: Prisma.CustomerCreateNestedOneWithoutCheckoutsInput;
1936
+ cart: Prisma.CartCreateNestedOneWithoutCheckoutInput;
1937
+ checkoutGroup: Prisma.CheckoutGroupCreateNestedOneWithoutCheckoutInput;
1938
+ payments?: Prisma.PaymentCreateNestedManyWithoutCheckoutInput;
1939
+ };
1940
+ export type CheckoutUncheckedCreateWithoutEventLogInput = {
1941
+ id?: bigint | number;
1942
+ customerId?: bigint | number | null;
1943
+ platformId: string;
1944
+ storeId: string;
1945
+ completedAt?: Date | string | null;
1946
+ createdAt?: Date | string;
1947
+ updatedAt?: Date | string;
1948
+ fulfillmentType: $Enums.FulfillmentType;
1949
+ note?: string | null;
1950
+ includeUtensils?: boolean;
1951
+ orderId?: string | null;
1952
+ isReady?: boolean;
1953
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1954
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1955
+ isTaxExempt?: boolean;
1956
+ isTaxesIncluded?: boolean;
1957
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1958
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1959
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
1960
+ cartId: bigint | number;
1961
+ checkoutGroupId: bigint | number;
1962
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1963
+ currencyCode: $Enums.CurrencyCode;
1964
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
1965
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1966
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1967
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
1968
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
1969
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
1970
+ purchasedRateId?: string | null;
1971
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
1972
+ shipmentServiceCode?: string | null;
1973
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
1974
+ isValid?: boolean;
1975
+ invalidReason?: string | null;
1976
+ isGift?: boolean;
1977
+ giftFrom?: string | null;
1978
+ giftMessage?: string | null;
1979
+ checkoutLines?: Prisma.CheckoutLineUncheckedCreateNestedManyWithoutCheckoutInput;
1980
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedCreateNestedManyWithoutCheckoutInput;
1981
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutCheckoutInput;
1982
+ };
1983
+ export type CheckoutCreateOrConnectWithoutEventLogInput = {
1984
+ where: Prisma.CheckoutWhereUniqueInput;
1985
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutEventLogInput, Prisma.CheckoutUncheckedCreateWithoutEventLogInput>;
1986
+ };
1987
+ export type CheckoutUpsertWithoutEventLogInput = {
1988
+ update: Prisma.XOR<Prisma.CheckoutUpdateWithoutEventLogInput, Prisma.CheckoutUncheckedUpdateWithoutEventLogInput>;
1989
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutEventLogInput, Prisma.CheckoutUncheckedCreateWithoutEventLogInput>;
1990
+ where?: Prisma.CheckoutWhereInput;
1991
+ };
1992
+ export type CheckoutUpdateToOneWithWhereWithoutEventLogInput = {
1993
+ where?: Prisma.CheckoutWhereInput;
1994
+ data: Prisma.XOR<Prisma.CheckoutUpdateWithoutEventLogInput, Prisma.CheckoutUncheckedUpdateWithoutEventLogInput>;
1995
+ };
1996
+ export type CheckoutUpdateWithoutEventLogInput = {
1997
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1998
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
1999
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2000
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2001
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2002
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2003
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2004
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2005
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2006
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2007
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2008
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2009
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2010
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2011
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2012
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2013
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2014
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2015
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2016
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2017
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2018
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2019
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2020
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2021
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2022
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2023
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2024
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2025
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2026
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2027
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2028
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2029
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2030
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2031
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2032
+ checkoutLines?: Prisma.CheckoutLineUpdateManyWithoutCheckoutNestedInput;
2033
+ fulfillmentFees?: Prisma.FulfillmentFeesUpdateManyWithoutCheckoutNestedInput;
2034
+ customer?: Prisma.CustomerUpdateOneWithoutCheckoutsNestedInput;
2035
+ cart?: Prisma.CartUpdateOneRequiredWithoutCheckoutNestedInput;
2036
+ checkoutGroup?: Prisma.CheckoutGroupUpdateOneRequiredWithoutCheckoutNestedInput;
2037
+ payments?: Prisma.PaymentUpdateManyWithoutCheckoutNestedInput;
2038
+ };
2039
+ export type CheckoutUncheckedUpdateWithoutEventLogInput = {
2040
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2041
+ customerId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
2042
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2043
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2044
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2045
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2046
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2047
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2048
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2049
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2050
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2051
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2052
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2053
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2054
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2055
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2056
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2057
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2058
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2059
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2060
+ checkoutGroupId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2061
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2062
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2063
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2064
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2065
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2066
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2067
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2068
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2069
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2070
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2071
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2072
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2073
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2074
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2075
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2076
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2077
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2078
+ checkoutLines?: Prisma.CheckoutLineUncheckedUpdateManyWithoutCheckoutNestedInput;
2079
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedUpdateManyWithoutCheckoutNestedInput;
2080
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutCheckoutNestedInput;
2081
+ };
2082
+ export type CheckoutCreateWithoutFulfillmentFeesInput = {
2083
+ id?: bigint | number;
2084
+ platformId: string;
2085
+ storeId: string;
2086
+ completedAt?: Date | string | null;
2087
+ createdAt?: Date | string;
2088
+ updatedAt?: Date | string;
2089
+ fulfillmentType: $Enums.FulfillmentType;
2090
+ note?: string | null;
2091
+ includeUtensils?: boolean;
2092
+ orderId?: string | null;
2093
+ isReady?: boolean;
2094
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2095
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2096
+ isTaxExempt?: boolean;
2097
+ isTaxesIncluded?: boolean;
2098
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2099
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2100
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
2101
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2102
+ currencyCode: $Enums.CurrencyCode;
2103
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
2104
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2105
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2106
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2107
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
2108
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2109
+ purchasedRateId?: string | null;
2110
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2111
+ shipmentServiceCode?: string | null;
2112
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2113
+ isValid?: boolean;
2114
+ invalidReason?: string | null;
2115
+ isGift?: boolean;
2116
+ giftFrom?: string | null;
2117
+ giftMessage?: string | null;
2118
+ checkoutLines?: Prisma.CheckoutLineCreateNestedManyWithoutCheckoutInput;
2119
+ customer?: Prisma.CustomerCreateNestedOneWithoutCheckoutsInput;
2120
+ cart: Prisma.CartCreateNestedOneWithoutCheckoutInput;
2121
+ checkoutGroup: Prisma.CheckoutGroupCreateNestedOneWithoutCheckoutInput;
2122
+ eventLog?: Prisma.EventLogCreateNestedManyWithoutCheckoutInput;
2123
+ payments?: Prisma.PaymentCreateNestedManyWithoutCheckoutInput;
2124
+ };
2125
+ export type CheckoutUncheckedCreateWithoutFulfillmentFeesInput = {
2126
+ id?: bigint | number;
2127
+ customerId?: bigint | number | null;
2128
+ platformId: string;
2129
+ storeId: string;
2130
+ completedAt?: Date | string | null;
2131
+ createdAt?: Date | string;
2132
+ updatedAt?: Date | string;
2133
+ fulfillmentType: $Enums.FulfillmentType;
2134
+ note?: string | null;
2135
+ includeUtensils?: boolean;
2136
+ orderId?: string | null;
2137
+ isReady?: boolean;
2138
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2139
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2140
+ isTaxExempt?: boolean;
2141
+ isTaxesIncluded?: boolean;
2142
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2143
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2144
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
2145
+ cartId: bigint | number;
2146
+ checkoutGroupId: bigint | number;
2147
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2148
+ currencyCode: $Enums.CurrencyCode;
2149
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
2150
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2151
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2152
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2153
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
2154
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2155
+ purchasedRateId?: string | null;
2156
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2157
+ shipmentServiceCode?: string | null;
2158
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2159
+ isValid?: boolean;
2160
+ invalidReason?: string | null;
2161
+ isGift?: boolean;
2162
+ giftFrom?: string | null;
2163
+ giftMessage?: string | null;
2164
+ checkoutLines?: Prisma.CheckoutLineUncheckedCreateNestedManyWithoutCheckoutInput;
2165
+ eventLog?: Prisma.EventLogUncheckedCreateNestedManyWithoutCheckoutInput;
2166
+ payments?: Prisma.PaymentUncheckedCreateNestedManyWithoutCheckoutInput;
2167
+ };
2168
+ export type CheckoutCreateOrConnectWithoutFulfillmentFeesInput = {
2169
+ where: Prisma.CheckoutWhereUniqueInput;
2170
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutFulfillmentFeesInput, Prisma.CheckoutUncheckedCreateWithoutFulfillmentFeesInput>;
2171
+ };
2172
+ export type CheckoutUpsertWithoutFulfillmentFeesInput = {
2173
+ update: Prisma.XOR<Prisma.CheckoutUpdateWithoutFulfillmentFeesInput, Prisma.CheckoutUncheckedUpdateWithoutFulfillmentFeesInput>;
2174
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutFulfillmentFeesInput, Prisma.CheckoutUncheckedCreateWithoutFulfillmentFeesInput>;
2175
+ where?: Prisma.CheckoutWhereInput;
2176
+ };
2177
+ export type CheckoutUpdateToOneWithWhereWithoutFulfillmentFeesInput = {
2178
+ where?: Prisma.CheckoutWhereInput;
2179
+ data: Prisma.XOR<Prisma.CheckoutUpdateWithoutFulfillmentFeesInput, Prisma.CheckoutUncheckedUpdateWithoutFulfillmentFeesInput>;
2180
+ };
2181
+ export type CheckoutUpdateWithoutFulfillmentFeesInput = {
2182
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2183
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2184
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2185
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2186
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2187
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2188
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2189
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2190
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2191
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2192
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2193
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2194
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2195
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2196
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2197
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2198
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2199
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2200
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2201
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2202
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2203
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2204
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2205
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2206
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2207
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2208
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2209
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2210
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2211
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2212
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2213
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2214
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2215
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2216
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2217
+ checkoutLines?: Prisma.CheckoutLineUpdateManyWithoutCheckoutNestedInput;
2218
+ customer?: Prisma.CustomerUpdateOneWithoutCheckoutsNestedInput;
2219
+ cart?: Prisma.CartUpdateOneRequiredWithoutCheckoutNestedInput;
2220
+ checkoutGroup?: Prisma.CheckoutGroupUpdateOneRequiredWithoutCheckoutNestedInput;
2221
+ eventLog?: Prisma.EventLogUpdateManyWithoutCheckoutNestedInput;
2222
+ payments?: Prisma.PaymentUpdateManyWithoutCheckoutNestedInput;
2223
+ };
2224
+ export type CheckoutUncheckedUpdateWithoutFulfillmentFeesInput = {
2225
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2226
+ customerId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
2227
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2228
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2229
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2230
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2231
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2232
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2233
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2234
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2235
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2236
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2237
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2238
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2239
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2240
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2241
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2242
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2243
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2244
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2245
+ checkoutGroupId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2246
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2247
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2248
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2249
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2250
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2251
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2252
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2253
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2254
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2255
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2256
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2257
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2258
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2259
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2260
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2261
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2262
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2263
+ checkoutLines?: Prisma.CheckoutLineUncheckedUpdateManyWithoutCheckoutNestedInput;
2264
+ eventLog?: Prisma.EventLogUncheckedUpdateManyWithoutCheckoutNestedInput;
2265
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutCheckoutNestedInput;
2266
+ };
2267
+ export type CheckoutCreateWithoutPaymentsInput = {
2268
+ id?: bigint | number;
2269
+ platformId: string;
2270
+ storeId: string;
2271
+ completedAt?: Date | string | null;
2272
+ createdAt?: Date | string;
2273
+ updatedAt?: Date | string;
2274
+ fulfillmentType: $Enums.FulfillmentType;
2275
+ note?: string | null;
2276
+ includeUtensils?: boolean;
2277
+ orderId?: string | null;
2278
+ isReady?: boolean;
2279
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2280
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2281
+ isTaxExempt?: boolean;
2282
+ isTaxesIncluded?: boolean;
2283
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2284
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2285
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
2286
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2287
+ currencyCode: $Enums.CurrencyCode;
2288
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
2289
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2290
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2291
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2292
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
2293
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2294
+ purchasedRateId?: string | null;
2295
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2296
+ shipmentServiceCode?: string | null;
2297
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2298
+ isValid?: boolean;
2299
+ invalidReason?: string | null;
2300
+ isGift?: boolean;
2301
+ giftFrom?: string | null;
2302
+ giftMessage?: string | null;
2303
+ checkoutLines?: Prisma.CheckoutLineCreateNestedManyWithoutCheckoutInput;
2304
+ fulfillmentFees?: Prisma.FulfillmentFeesCreateNestedManyWithoutCheckoutInput;
2305
+ customer?: Prisma.CustomerCreateNestedOneWithoutCheckoutsInput;
2306
+ cart: Prisma.CartCreateNestedOneWithoutCheckoutInput;
2307
+ checkoutGroup: Prisma.CheckoutGroupCreateNestedOneWithoutCheckoutInput;
2308
+ eventLog?: Prisma.EventLogCreateNestedManyWithoutCheckoutInput;
2309
+ };
2310
+ export type CheckoutUncheckedCreateWithoutPaymentsInput = {
2311
+ id?: bigint | number;
2312
+ customerId?: bigint | number | null;
2313
+ platformId: string;
2314
+ storeId: string;
2315
+ completedAt?: Date | string | null;
2316
+ createdAt?: Date | string;
2317
+ updatedAt?: Date | string;
2318
+ fulfillmentType: $Enums.FulfillmentType;
2319
+ note?: string | null;
2320
+ includeUtensils?: boolean;
2321
+ orderId?: string | null;
2322
+ isReady?: boolean;
2323
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2324
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2325
+ isTaxExempt?: boolean;
2326
+ isTaxesIncluded?: boolean;
2327
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2328
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2329
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
2330
+ cartId: bigint | number;
2331
+ checkoutGroupId: bigint | number;
2332
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2333
+ currencyCode: $Enums.CurrencyCode;
2334
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
2335
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2336
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2337
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2338
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
2339
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2340
+ purchasedRateId?: string | null;
2341
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2342
+ shipmentServiceCode?: string | null;
2343
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2344
+ isValid?: boolean;
2345
+ invalidReason?: string | null;
2346
+ isGift?: boolean;
2347
+ giftFrom?: string | null;
2348
+ giftMessage?: string | null;
2349
+ checkoutLines?: Prisma.CheckoutLineUncheckedCreateNestedManyWithoutCheckoutInput;
2350
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedCreateNestedManyWithoutCheckoutInput;
2351
+ eventLog?: Prisma.EventLogUncheckedCreateNestedManyWithoutCheckoutInput;
2352
+ };
2353
+ export type CheckoutCreateOrConnectWithoutPaymentsInput = {
2354
+ where: Prisma.CheckoutWhereUniqueInput;
2355
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutPaymentsInput, Prisma.CheckoutUncheckedCreateWithoutPaymentsInput>;
2356
+ };
2357
+ export type CheckoutUpsertWithoutPaymentsInput = {
2358
+ update: Prisma.XOR<Prisma.CheckoutUpdateWithoutPaymentsInput, Prisma.CheckoutUncheckedUpdateWithoutPaymentsInput>;
2359
+ create: Prisma.XOR<Prisma.CheckoutCreateWithoutPaymentsInput, Prisma.CheckoutUncheckedCreateWithoutPaymentsInput>;
2360
+ where?: Prisma.CheckoutWhereInput;
2361
+ };
2362
+ export type CheckoutUpdateToOneWithWhereWithoutPaymentsInput = {
2363
+ where?: Prisma.CheckoutWhereInput;
2364
+ data: Prisma.XOR<Prisma.CheckoutUpdateWithoutPaymentsInput, Prisma.CheckoutUncheckedUpdateWithoutPaymentsInput>;
2365
+ };
2366
+ export type CheckoutUpdateWithoutPaymentsInput = {
2367
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2368
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2369
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2370
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2371
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2372
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2373
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2374
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2375
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2376
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2377
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2378
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2379
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2380
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2381
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2382
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2383
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2384
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2385
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2386
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2387
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2388
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2389
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2390
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2391
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2392
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2393
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2394
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2395
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2396
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2397
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2398
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2399
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2400
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2401
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2402
+ checkoutLines?: Prisma.CheckoutLineUpdateManyWithoutCheckoutNestedInput;
2403
+ fulfillmentFees?: Prisma.FulfillmentFeesUpdateManyWithoutCheckoutNestedInput;
2404
+ customer?: Prisma.CustomerUpdateOneWithoutCheckoutsNestedInput;
2405
+ cart?: Prisma.CartUpdateOneRequiredWithoutCheckoutNestedInput;
2406
+ checkoutGroup?: Prisma.CheckoutGroupUpdateOneRequiredWithoutCheckoutNestedInput;
2407
+ eventLog?: Prisma.EventLogUpdateManyWithoutCheckoutNestedInput;
2408
+ };
2409
+ export type CheckoutUncheckedUpdateWithoutPaymentsInput = {
2410
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2411
+ customerId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
2412
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2413
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2414
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2415
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2416
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2417
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2418
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2419
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2420
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2421
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2422
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2423
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2424
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2425
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2426
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2427
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2428
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2429
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2430
+ checkoutGroupId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2431
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2432
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2433
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2434
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2435
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2436
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2437
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2438
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2439
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2440
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2441
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2442
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2443
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2444
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2445
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2446
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2447
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2448
+ checkoutLines?: Prisma.CheckoutLineUncheckedUpdateManyWithoutCheckoutNestedInput;
2449
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedUpdateManyWithoutCheckoutNestedInput;
2450
+ eventLog?: Prisma.EventLogUncheckedUpdateManyWithoutCheckoutNestedInput;
2451
+ };
2452
+ export type CheckoutCreateManyCustomerInput = {
2453
+ id?: bigint | number;
2454
+ platformId: string;
2455
+ storeId: string;
2456
+ completedAt?: Date | string | null;
2457
+ createdAt?: Date | string;
2458
+ updatedAt?: Date | string;
2459
+ fulfillmentType: $Enums.FulfillmentType;
2460
+ note?: string | null;
2461
+ includeUtensils?: boolean;
2462
+ orderId?: string | null;
2463
+ isReady?: boolean;
2464
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2465
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2466
+ isTaxExempt?: boolean;
2467
+ isTaxesIncluded?: boolean;
2468
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2469
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2470
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
2471
+ cartId: bigint | number;
2472
+ checkoutGroupId: bigint | number;
2473
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2474
+ currencyCode: $Enums.CurrencyCode;
2475
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
2476
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2477
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2478
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2479
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
2480
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2481
+ purchasedRateId?: string | null;
2482
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2483
+ shipmentServiceCode?: string | null;
2484
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2485
+ isValid?: boolean;
2486
+ invalidReason?: string | null;
2487
+ isGift?: boolean;
2488
+ giftFrom?: string | null;
2489
+ giftMessage?: string | null;
2490
+ };
2491
+ export type CheckoutUpdateWithoutCustomerInput = {
2492
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2493
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2494
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2495
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2496
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2497
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2498
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2499
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2500
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2501
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2502
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2503
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2504
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2505
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2506
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2507
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2508
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2509
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2510
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2511
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2512
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2513
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2514
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2515
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2516
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2517
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2518
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2519
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2520
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2521
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2522
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2523
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2524
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2525
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2526
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2527
+ checkoutLines?: Prisma.CheckoutLineUpdateManyWithoutCheckoutNestedInput;
2528
+ fulfillmentFees?: Prisma.FulfillmentFeesUpdateManyWithoutCheckoutNestedInput;
2529
+ cart?: Prisma.CartUpdateOneRequiredWithoutCheckoutNestedInput;
2530
+ checkoutGroup?: Prisma.CheckoutGroupUpdateOneRequiredWithoutCheckoutNestedInput;
2531
+ eventLog?: Prisma.EventLogUpdateManyWithoutCheckoutNestedInput;
2532
+ payments?: Prisma.PaymentUpdateManyWithoutCheckoutNestedInput;
2533
+ };
2534
+ export type CheckoutUncheckedUpdateWithoutCustomerInput = {
2535
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2536
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2537
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2538
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2539
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2540
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2541
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2542
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2543
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2544
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2545
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2546
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2547
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2548
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2549
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2550
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2551
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2552
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2553
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2554
+ checkoutGroupId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2555
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2556
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2557
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2558
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2559
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2560
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2561
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2562
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2563
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2564
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2565
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2566
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2567
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2568
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2569
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2570
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2571
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2572
+ checkoutLines?: Prisma.CheckoutLineUncheckedUpdateManyWithoutCheckoutNestedInput;
2573
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedUpdateManyWithoutCheckoutNestedInput;
2574
+ eventLog?: Prisma.EventLogUncheckedUpdateManyWithoutCheckoutNestedInput;
2575
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutCheckoutNestedInput;
2576
+ };
2577
+ export type CheckoutUncheckedUpdateManyWithoutCustomerInput = {
2578
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2579
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2580
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2581
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2582
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2583
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2584
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2585
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2586
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2587
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2588
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2589
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2590
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2591
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2592
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2593
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2594
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2595
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2596
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2597
+ checkoutGroupId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2598
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2599
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2600
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2601
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2602
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2603
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2604
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2605
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2606
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2607
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2608
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2609
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2610
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2611
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2612
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2613
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2614
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2615
+ };
2616
+ export type CheckoutCreateManyCheckoutGroupInput = {
2617
+ id?: bigint | number;
2618
+ customerId?: bigint | number | null;
2619
+ platformId: string;
2620
+ storeId: string;
2621
+ completedAt?: Date | string | null;
2622
+ createdAt?: Date | string;
2623
+ updatedAt?: Date | string;
2624
+ fulfillmentType: $Enums.FulfillmentType;
2625
+ note?: string | null;
2626
+ includeUtensils?: boolean;
2627
+ orderId?: string | null;
2628
+ isReady?: boolean;
2629
+ lineItemsSubtotal?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2630
+ subtotalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2631
+ isTaxExempt?: boolean;
2632
+ isTaxesIncluded?: boolean;
2633
+ totalPrice?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2634
+ totalTax?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2635
+ paymentDue: runtime.Decimal | runtime.DecimalJsLike | number | string;
2636
+ cartId: bigint | number;
2637
+ deliveryFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2638
+ currencyCode: $Enums.CurrencyCode;
2639
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
2640
+ tip?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2641
+ expressFee?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2642
+ discountAmount?: runtime.Decimal | runtime.DecimalJsLike | number | string;
2643
+ fulfillmentOptInOptionType?: $Enums.FulfillmentOptInOptionType | null;
2644
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2645
+ purchasedRateId?: string | null;
2646
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2647
+ shipmentServiceCode?: string | null;
2648
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2649
+ isValid?: boolean;
2650
+ invalidReason?: string | null;
2651
+ isGift?: boolean;
2652
+ giftFrom?: string | null;
2653
+ giftMessage?: string | null;
2654
+ };
2655
+ export type CheckoutUpdateWithoutCheckoutGroupInput = {
2656
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2657
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2658
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2659
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2660
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2661
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2662
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2663
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2664
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2665
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2666
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2667
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2668
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2669
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2670
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2671
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2672
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2673
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2674
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2675
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2676
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2677
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2678
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2679
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2680
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2681
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2682
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2683
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2684
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2685
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2686
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2687
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2688
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2689
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2690
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2691
+ checkoutLines?: Prisma.CheckoutLineUpdateManyWithoutCheckoutNestedInput;
2692
+ fulfillmentFees?: Prisma.FulfillmentFeesUpdateManyWithoutCheckoutNestedInput;
2693
+ customer?: Prisma.CustomerUpdateOneWithoutCheckoutsNestedInput;
2694
+ cart?: Prisma.CartUpdateOneRequiredWithoutCheckoutNestedInput;
2695
+ eventLog?: Prisma.EventLogUpdateManyWithoutCheckoutNestedInput;
2696
+ payments?: Prisma.PaymentUpdateManyWithoutCheckoutNestedInput;
2697
+ };
2698
+ export type CheckoutUncheckedUpdateWithoutCheckoutGroupInput = {
2699
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2700
+ customerId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
2701
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2702
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2703
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2704
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2705
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2706
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2707
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2708
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2709
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2710
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2711
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2712
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2713
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2714
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2715
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2716
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2717
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2718
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2719
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2720
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2721
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2722
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2723
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2724
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2725
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2726
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2727
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2728
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2729
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2730
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2731
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2732
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2733
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2734
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2735
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2736
+ checkoutLines?: Prisma.CheckoutLineUncheckedUpdateManyWithoutCheckoutNestedInput;
2737
+ fulfillmentFees?: Prisma.FulfillmentFeesUncheckedUpdateManyWithoutCheckoutNestedInput;
2738
+ eventLog?: Prisma.EventLogUncheckedUpdateManyWithoutCheckoutNestedInput;
2739
+ payments?: Prisma.PaymentUncheckedUpdateManyWithoutCheckoutNestedInput;
2740
+ };
2741
+ export type CheckoutUncheckedUpdateManyWithoutCheckoutGroupInput = {
2742
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2743
+ customerId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
2744
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
2745
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
2746
+ completedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2747
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2748
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
2749
+ fulfillmentType?: Prisma.EnumFulfillmentTypeFieldUpdateOperationsInput | $Enums.FulfillmentType;
2750
+ note?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2751
+ includeUtensils?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2752
+ orderId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2753
+ isReady?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2754
+ lineItemsSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2755
+ subtotalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2756
+ isTaxExempt?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2757
+ isTaxesIncluded?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2758
+ totalPrice?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2759
+ totalTax?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2760
+ paymentDue?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2761
+ cartId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
2762
+ deliveryFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2763
+ currencyCode?: Prisma.EnumCurrencyCodeFieldUpdateOperationsInput | $Enums.CurrencyCode;
2764
+ totalTaxBreakdown?: PrismaJson.TotalTaxBreakdown;
2765
+ tip?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2766
+ expressFee?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2767
+ discountAmount?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
2768
+ fulfillmentOptInOptionType?: Prisma.NullableEnumFulfillmentOptInOptionTypeFieldUpdateOperationsInput | $Enums.FulfillmentOptInOptionType | null;
2769
+ shippoShipment?: PrismaJson.ShippoShipment | Prisma.NullableJsonNullValueInput;
2770
+ purchasedRateId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2771
+ calculatedShippingRates?: (Array<PrismaJson.ShippingRate>) | Prisma.NullableJsonNullValueInput;
2772
+ shipmentServiceCode?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2773
+ calculatedParcels?: (Array<PrismaJson.BoxDetails>) | Prisma.NullableJsonNullValueInput;
2774
+ isValid?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2775
+ invalidReason?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2776
+ isGift?: Prisma.BoolFieldUpdateOperationsInput | boolean;
2777
+ giftFrom?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2778
+ giftMessage?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2779
+ };
2780
+ /**
2781
+ * Count Type CheckoutCountOutputType
2782
+ */
2783
+ export type CheckoutCountOutputType = {
2784
+ checkoutLines: number;
2785
+ fulfillmentFees: number;
2786
+ eventLog: number;
2787
+ payments: number;
2788
+ };
2789
+ export type CheckoutCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2790
+ checkoutLines?: boolean | CheckoutCountOutputTypeCountCheckoutLinesArgs;
2791
+ fulfillmentFees?: boolean | CheckoutCountOutputTypeCountFulfillmentFeesArgs;
2792
+ eventLog?: boolean | CheckoutCountOutputTypeCountEventLogArgs;
2793
+ payments?: boolean | CheckoutCountOutputTypeCountPaymentsArgs;
2794
+ };
2795
+ /**
2796
+ * CheckoutCountOutputType without action
2797
+ */
2798
+ export type CheckoutCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2799
+ /**
2800
+ * Select specific fields to fetch from the CheckoutCountOutputType
2801
+ */
2802
+ select?: Prisma.CheckoutCountOutputTypeSelect<ExtArgs> | null;
2803
+ };
2804
+ /**
2805
+ * CheckoutCountOutputType without action
2806
+ */
2807
+ export type CheckoutCountOutputTypeCountCheckoutLinesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2808
+ where?: Prisma.CheckoutLineWhereInput;
2809
+ };
2810
+ /**
2811
+ * CheckoutCountOutputType without action
2812
+ */
2813
+ export type CheckoutCountOutputTypeCountFulfillmentFeesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2814
+ where?: Prisma.FulfillmentFeesWhereInput;
2815
+ };
2816
+ /**
2817
+ * CheckoutCountOutputType without action
2818
+ */
2819
+ export type CheckoutCountOutputTypeCountEventLogArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2820
+ where?: Prisma.EventLogWhereInput;
2821
+ };
2822
+ /**
2823
+ * CheckoutCountOutputType without action
2824
+ */
2825
+ export type CheckoutCountOutputTypeCountPaymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2826
+ where?: Prisma.PaymentWhereInput;
2827
+ };
2828
+ export type CheckoutSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2829
+ id?: boolean;
2830
+ customerId?: boolean;
2831
+ platformId?: boolean;
2832
+ storeId?: boolean;
2833
+ completedAt?: boolean;
2834
+ createdAt?: boolean;
2835
+ updatedAt?: boolean;
2836
+ fulfillmentType?: boolean;
2837
+ note?: boolean;
2838
+ includeUtensils?: boolean;
2839
+ orderId?: boolean;
2840
+ isReady?: boolean;
2841
+ lineItemsSubtotal?: boolean;
2842
+ subtotalPrice?: boolean;
2843
+ isTaxExempt?: boolean;
2844
+ isTaxesIncluded?: boolean;
2845
+ totalPrice?: boolean;
2846
+ totalTax?: boolean;
2847
+ paymentDue?: boolean;
2848
+ cartId?: boolean;
2849
+ checkoutGroupId?: boolean;
2850
+ deliveryFee?: boolean;
2851
+ currencyCode?: boolean;
2852
+ totalTaxBreakdown?: boolean;
2853
+ tip?: boolean;
2854
+ expressFee?: boolean;
2855
+ discountAmount?: boolean;
2856
+ fulfillmentOptInOptionType?: boolean;
2857
+ shippoShipment?: boolean;
2858
+ purchasedRateId?: boolean;
2859
+ calculatedShippingRates?: boolean;
2860
+ shipmentServiceCode?: boolean;
2861
+ calculatedParcels?: boolean;
2862
+ isValid?: boolean;
2863
+ invalidReason?: boolean;
2864
+ isGift?: boolean;
2865
+ giftFrom?: boolean;
2866
+ giftMessage?: boolean;
2867
+ checkoutLines?: boolean | Prisma.Checkout$checkoutLinesArgs<ExtArgs>;
2868
+ fulfillmentFees?: boolean | Prisma.Checkout$fulfillmentFeesArgs<ExtArgs>;
2869
+ customer?: boolean | Prisma.Checkout$customerArgs<ExtArgs>;
2870
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
2871
+ checkoutGroup?: boolean | Prisma.CheckoutGroupDefaultArgs<ExtArgs>;
2872
+ eventLog?: boolean | Prisma.Checkout$eventLogArgs<ExtArgs>;
2873
+ payments?: boolean | Prisma.Checkout$paymentsArgs<ExtArgs>;
2874
+ _count?: boolean | Prisma.CheckoutCountOutputTypeDefaultArgs<ExtArgs>;
2875
+ }, ExtArgs["result"]["checkout"]>;
2876
+ export type CheckoutSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2877
+ id?: boolean;
2878
+ customerId?: boolean;
2879
+ platformId?: boolean;
2880
+ storeId?: boolean;
2881
+ completedAt?: boolean;
2882
+ createdAt?: boolean;
2883
+ updatedAt?: boolean;
2884
+ fulfillmentType?: boolean;
2885
+ note?: boolean;
2886
+ includeUtensils?: boolean;
2887
+ orderId?: boolean;
2888
+ isReady?: boolean;
2889
+ lineItemsSubtotal?: boolean;
2890
+ subtotalPrice?: boolean;
2891
+ isTaxExempt?: boolean;
2892
+ isTaxesIncluded?: boolean;
2893
+ totalPrice?: boolean;
2894
+ totalTax?: boolean;
2895
+ paymentDue?: boolean;
2896
+ cartId?: boolean;
2897
+ checkoutGroupId?: boolean;
2898
+ deliveryFee?: boolean;
2899
+ currencyCode?: boolean;
2900
+ totalTaxBreakdown?: boolean;
2901
+ tip?: boolean;
2902
+ expressFee?: boolean;
2903
+ discountAmount?: boolean;
2904
+ fulfillmentOptInOptionType?: boolean;
2905
+ shippoShipment?: boolean;
2906
+ purchasedRateId?: boolean;
2907
+ calculatedShippingRates?: boolean;
2908
+ shipmentServiceCode?: boolean;
2909
+ calculatedParcels?: boolean;
2910
+ isValid?: boolean;
2911
+ invalidReason?: boolean;
2912
+ isGift?: boolean;
2913
+ giftFrom?: boolean;
2914
+ giftMessage?: boolean;
2915
+ customer?: boolean | Prisma.Checkout$customerArgs<ExtArgs>;
2916
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
2917
+ checkoutGroup?: boolean | Prisma.CheckoutGroupDefaultArgs<ExtArgs>;
2918
+ }, ExtArgs["result"]["checkout"]>;
2919
+ export type CheckoutSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
2920
+ id?: boolean;
2921
+ customerId?: boolean;
2922
+ platformId?: boolean;
2923
+ storeId?: boolean;
2924
+ completedAt?: boolean;
2925
+ createdAt?: boolean;
2926
+ updatedAt?: boolean;
2927
+ fulfillmentType?: boolean;
2928
+ note?: boolean;
2929
+ includeUtensils?: boolean;
2930
+ orderId?: boolean;
2931
+ isReady?: boolean;
2932
+ lineItemsSubtotal?: boolean;
2933
+ subtotalPrice?: boolean;
2934
+ isTaxExempt?: boolean;
2935
+ isTaxesIncluded?: boolean;
2936
+ totalPrice?: boolean;
2937
+ totalTax?: boolean;
2938
+ paymentDue?: boolean;
2939
+ cartId?: boolean;
2940
+ checkoutGroupId?: boolean;
2941
+ deliveryFee?: boolean;
2942
+ currencyCode?: boolean;
2943
+ totalTaxBreakdown?: boolean;
2944
+ tip?: boolean;
2945
+ expressFee?: boolean;
2946
+ discountAmount?: boolean;
2947
+ fulfillmentOptInOptionType?: boolean;
2948
+ shippoShipment?: boolean;
2949
+ purchasedRateId?: boolean;
2950
+ calculatedShippingRates?: boolean;
2951
+ shipmentServiceCode?: boolean;
2952
+ calculatedParcels?: boolean;
2953
+ isValid?: boolean;
2954
+ invalidReason?: boolean;
2955
+ isGift?: boolean;
2956
+ giftFrom?: boolean;
2957
+ giftMessage?: boolean;
2958
+ customer?: boolean | Prisma.Checkout$customerArgs<ExtArgs>;
2959
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
2960
+ checkoutGroup?: boolean | Prisma.CheckoutGroupDefaultArgs<ExtArgs>;
2961
+ }, ExtArgs["result"]["checkout"]>;
2962
+ export type CheckoutSelectScalar = {
2963
+ id?: boolean;
2964
+ customerId?: boolean;
2965
+ platformId?: boolean;
2966
+ storeId?: boolean;
2967
+ completedAt?: boolean;
2968
+ createdAt?: boolean;
2969
+ updatedAt?: boolean;
2970
+ fulfillmentType?: boolean;
2971
+ note?: boolean;
2972
+ includeUtensils?: boolean;
2973
+ orderId?: boolean;
2974
+ isReady?: boolean;
2975
+ lineItemsSubtotal?: boolean;
2976
+ subtotalPrice?: boolean;
2977
+ isTaxExempt?: boolean;
2978
+ isTaxesIncluded?: boolean;
2979
+ totalPrice?: boolean;
2980
+ totalTax?: boolean;
2981
+ paymentDue?: boolean;
2982
+ cartId?: boolean;
2983
+ checkoutGroupId?: boolean;
2984
+ deliveryFee?: boolean;
2985
+ currencyCode?: boolean;
2986
+ totalTaxBreakdown?: boolean;
2987
+ tip?: boolean;
2988
+ expressFee?: boolean;
2989
+ discountAmount?: boolean;
2990
+ fulfillmentOptInOptionType?: boolean;
2991
+ shippoShipment?: boolean;
2992
+ purchasedRateId?: boolean;
2993
+ calculatedShippingRates?: boolean;
2994
+ shipmentServiceCode?: boolean;
2995
+ calculatedParcels?: boolean;
2996
+ isValid?: boolean;
2997
+ invalidReason?: boolean;
2998
+ isGift?: boolean;
2999
+ giftFrom?: boolean;
3000
+ giftMessage?: boolean;
3001
+ };
3002
+ export type CheckoutOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "customerId" | "platformId" | "storeId" | "completedAt" | "createdAt" | "updatedAt" | "fulfillmentType" | "note" | "includeUtensils" | "orderId" | "isReady" | "lineItemsSubtotal" | "subtotalPrice" | "isTaxExempt" | "isTaxesIncluded" | "totalPrice" | "totalTax" | "paymentDue" | "cartId" | "checkoutGroupId" | "deliveryFee" | "currencyCode" | "totalTaxBreakdown" | "tip" | "expressFee" | "discountAmount" | "fulfillmentOptInOptionType" | "shippoShipment" | "purchasedRateId" | "calculatedShippingRates" | "shipmentServiceCode" | "calculatedParcels" | "isValid" | "invalidReason" | "isGift" | "giftFrom" | "giftMessage", ExtArgs["result"]["checkout"]>;
3003
+ export type CheckoutInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3004
+ checkoutLines?: boolean | Prisma.Checkout$checkoutLinesArgs<ExtArgs>;
3005
+ fulfillmentFees?: boolean | Prisma.Checkout$fulfillmentFeesArgs<ExtArgs>;
3006
+ customer?: boolean | Prisma.Checkout$customerArgs<ExtArgs>;
3007
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
3008
+ checkoutGroup?: boolean | Prisma.CheckoutGroupDefaultArgs<ExtArgs>;
3009
+ eventLog?: boolean | Prisma.Checkout$eventLogArgs<ExtArgs>;
3010
+ payments?: boolean | Prisma.Checkout$paymentsArgs<ExtArgs>;
3011
+ _count?: boolean | Prisma.CheckoutCountOutputTypeDefaultArgs<ExtArgs>;
3012
+ };
3013
+ export type CheckoutIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3014
+ customer?: boolean | Prisma.Checkout$customerArgs<ExtArgs>;
3015
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
3016
+ checkoutGroup?: boolean | Prisma.CheckoutGroupDefaultArgs<ExtArgs>;
3017
+ };
3018
+ export type CheckoutIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3019
+ customer?: boolean | Prisma.Checkout$customerArgs<ExtArgs>;
3020
+ cart?: boolean | Prisma.CartDefaultArgs<ExtArgs>;
3021
+ checkoutGroup?: boolean | Prisma.CheckoutGroupDefaultArgs<ExtArgs>;
3022
+ };
3023
+ export type $CheckoutPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3024
+ name: "Checkout";
3025
+ objects: {
3026
+ checkoutLines: Prisma.$CheckoutLinePayload<ExtArgs>[];
3027
+ fulfillmentFees: Prisma.$FulfillmentFeesPayload<ExtArgs>[];
3028
+ customer: Prisma.$CustomerPayload<ExtArgs> | null;
3029
+ cart: Prisma.$CartPayload<ExtArgs>;
3030
+ checkoutGroup: Prisma.$CheckoutGroupPayload<ExtArgs>;
3031
+ eventLog: Prisma.$EventLogPayload<ExtArgs>[];
3032
+ payments: Prisma.$PaymentPayload<ExtArgs>[];
3033
+ };
3034
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
3035
+ id: bigint;
3036
+ customerId: bigint | null;
3037
+ platformId: string;
3038
+ storeId: string;
3039
+ completedAt: Date | null;
3040
+ createdAt: Date;
3041
+ updatedAt: Date;
3042
+ fulfillmentType: $Enums.FulfillmentType;
3043
+ note: string | null;
3044
+ includeUtensils: boolean;
3045
+ orderId: string | null;
3046
+ isReady: boolean;
3047
+ lineItemsSubtotal: runtime.Decimal;
3048
+ subtotalPrice: runtime.Decimal;
3049
+ isTaxExempt: boolean;
3050
+ isTaxesIncluded: boolean;
3051
+ totalPrice: runtime.Decimal;
3052
+ totalTax: runtime.Decimal;
3053
+ paymentDue: runtime.Decimal;
3054
+ cartId: bigint;
3055
+ checkoutGroupId: bigint;
3056
+ deliveryFee: runtime.Decimal;
3057
+ currencyCode: $Enums.CurrencyCode;
3058
+ /**
3059
+ * [TotalTaxBreakdown]
3060
+ */
3061
+ totalTaxBreakdown: PrismaJson.TotalTaxBreakdown;
3062
+ tip: runtime.Decimal;
3063
+ expressFee: runtime.Decimal;
3064
+ discountAmount: runtime.Decimal;
3065
+ fulfillmentOptInOptionType: $Enums.FulfillmentOptInOptionType | null;
3066
+ /**
3067
+ * [ShippoShipment]
3068
+ */
3069
+ shippoShipment: PrismaJson.ShippoShipment | null;
3070
+ purchasedRateId: string | null;
3071
+ /**
3072
+ * ![Array<PrismaJson.ShippingRate>]
3073
+ */
3074
+ calculatedShippingRates: (Array<PrismaJson.ShippingRate>) | null;
3075
+ shipmentServiceCode: string | null;
3076
+ /**
3077
+ * ![Array<PrismaJson.BoxDetails>]
3078
+ */
3079
+ calculatedParcels: (Array<PrismaJson.BoxDetails>) | null;
3080
+ isValid: boolean;
3081
+ invalidReason: string | null;
3082
+ isGift: boolean;
3083
+ giftFrom: string | null;
3084
+ giftMessage: string | null;
3085
+ }, ExtArgs["result"]["checkout"]>;
3086
+ composites: {};
3087
+ };
3088
+ export type CheckoutGetPayload<S extends boolean | null | undefined | CheckoutDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CheckoutPayload, S>;
3089
+ export type CheckoutCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<CheckoutFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
3090
+ select?: CheckoutCountAggregateInputType | true;
3091
+ };
3092
+ export interface CheckoutDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
3093
+ [K: symbol]: {
3094
+ types: Prisma.TypeMap<ExtArgs>['model']['Checkout'];
3095
+ meta: {
3096
+ name: 'Checkout';
3097
+ };
3098
+ };
3099
+ /**
3100
+ * Find zero or one Checkout that matches the filter.
3101
+ * @param {CheckoutFindUniqueArgs} args - Arguments to find a Checkout
3102
+ * @example
3103
+ * // Get one Checkout
3104
+ * const checkout = await prisma.checkout.findUnique({
3105
+ * where: {
3106
+ * // ... provide filter here
3107
+ * }
3108
+ * })
3109
+ */
3110
+ findUnique<T extends CheckoutFindUniqueArgs>(args: Prisma.SelectSubset<T, CheckoutFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CheckoutClient<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3111
+ /**
3112
+ * Find one Checkout that matches the filter or throw an error with `error.code='P2025'`
3113
+ * if no matches were found.
3114
+ * @param {CheckoutFindUniqueOrThrowArgs} args - Arguments to find a Checkout
3115
+ * @example
3116
+ * // Get one Checkout
3117
+ * const checkout = await prisma.checkout.findUniqueOrThrow({
3118
+ * where: {
3119
+ * // ... provide filter here
3120
+ * }
3121
+ * })
3122
+ */
3123
+ findUniqueOrThrow<T extends CheckoutFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CheckoutFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CheckoutClient<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3124
+ /**
3125
+ * Find the first Checkout that matches the filter.
3126
+ * Note, that providing `undefined` is treated as the value not being there.
3127
+ * Read more here: https://pris.ly/d/null-undefined
3128
+ * @param {CheckoutFindFirstArgs} args - Arguments to find a Checkout
3129
+ * @example
3130
+ * // Get one Checkout
3131
+ * const checkout = await prisma.checkout.findFirst({
3132
+ * where: {
3133
+ * // ... provide filter here
3134
+ * }
3135
+ * })
3136
+ */
3137
+ findFirst<T extends CheckoutFindFirstArgs>(args?: Prisma.SelectSubset<T, CheckoutFindFirstArgs<ExtArgs>>): Prisma.Prisma__CheckoutClient<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3138
+ /**
3139
+ * Find the first Checkout that matches the filter or
3140
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
3141
+ * Note, that providing `undefined` is treated as the value not being there.
3142
+ * Read more here: https://pris.ly/d/null-undefined
3143
+ * @param {CheckoutFindFirstOrThrowArgs} args - Arguments to find a Checkout
3144
+ * @example
3145
+ * // Get one Checkout
3146
+ * const checkout = await prisma.checkout.findFirstOrThrow({
3147
+ * where: {
3148
+ * // ... provide filter here
3149
+ * }
3150
+ * })
3151
+ */
3152
+ findFirstOrThrow<T extends CheckoutFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CheckoutFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CheckoutClient<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3153
+ /**
3154
+ * Find zero or more Checkouts that matches the filter.
3155
+ * Note, that providing `undefined` is treated as the value not being there.
3156
+ * Read more here: https://pris.ly/d/null-undefined
3157
+ * @param {CheckoutFindManyArgs} args - Arguments to filter and select certain fields only.
3158
+ * @example
3159
+ * // Get all Checkouts
3160
+ * const checkouts = await prisma.checkout.findMany()
3161
+ *
3162
+ * // Get first 10 Checkouts
3163
+ * const checkouts = await prisma.checkout.findMany({ take: 10 })
3164
+ *
3165
+ * // Only select the `id`
3166
+ * const checkoutWithIdOnly = await prisma.checkout.findMany({ select: { id: true } })
3167
+ *
3168
+ */
3169
+ findMany<T extends CheckoutFindManyArgs>(args?: Prisma.SelectSubset<T, CheckoutFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
3170
+ /**
3171
+ * Create a Checkout.
3172
+ * @param {CheckoutCreateArgs} args - Arguments to create a Checkout.
3173
+ * @example
3174
+ * // Create one Checkout
3175
+ * const Checkout = await prisma.checkout.create({
3176
+ * data: {
3177
+ * // ... data to create a Checkout
3178
+ * }
3179
+ * })
3180
+ *
3181
+ */
3182
+ create<T extends CheckoutCreateArgs>(args: Prisma.SelectSubset<T, CheckoutCreateArgs<ExtArgs>>): Prisma.Prisma__CheckoutClient<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3183
+ /**
3184
+ * Create many Checkouts.
3185
+ * @param {CheckoutCreateManyArgs} args - Arguments to create many Checkouts.
3186
+ * @example
3187
+ * // Create many Checkouts
3188
+ * const checkout = await prisma.checkout.createMany({
3189
+ * data: [
3190
+ * // ... provide data here
3191
+ * ]
3192
+ * })
3193
+ *
3194
+ */
3195
+ createMany<T extends CheckoutCreateManyArgs>(args?: Prisma.SelectSubset<T, CheckoutCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3196
+ /**
3197
+ * Create many Checkouts and returns the data saved in the database.
3198
+ * @param {CheckoutCreateManyAndReturnArgs} args - Arguments to create many Checkouts.
3199
+ * @example
3200
+ * // Create many Checkouts
3201
+ * const checkout = await prisma.checkout.createManyAndReturn({
3202
+ * data: [
3203
+ * // ... provide data here
3204
+ * ]
3205
+ * })
3206
+ *
3207
+ * // Create many Checkouts and only return the `id`
3208
+ * const checkoutWithIdOnly = await prisma.checkout.createManyAndReturn({
3209
+ * select: { id: true },
3210
+ * data: [
3211
+ * // ... provide data here
3212
+ * ]
3213
+ * })
3214
+ * Note, that providing `undefined` is treated as the value not being there.
3215
+ * Read more here: https://pris.ly/d/null-undefined
3216
+ *
3217
+ */
3218
+ createManyAndReturn<T extends CheckoutCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CheckoutCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
3219
+ /**
3220
+ * Delete a Checkout.
3221
+ * @param {CheckoutDeleteArgs} args - Arguments to delete one Checkout.
3222
+ * @example
3223
+ * // Delete one Checkout
3224
+ * const Checkout = await prisma.checkout.delete({
3225
+ * where: {
3226
+ * // ... filter to delete one Checkout
3227
+ * }
3228
+ * })
3229
+ *
3230
+ */
3231
+ delete<T extends CheckoutDeleteArgs>(args: Prisma.SelectSubset<T, CheckoutDeleteArgs<ExtArgs>>): Prisma.Prisma__CheckoutClient<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3232
+ /**
3233
+ * Update one Checkout.
3234
+ * @param {CheckoutUpdateArgs} args - Arguments to update one Checkout.
3235
+ * @example
3236
+ * // Update one Checkout
3237
+ * const checkout = await prisma.checkout.update({
3238
+ * where: {
3239
+ * // ... provide filter here
3240
+ * },
3241
+ * data: {
3242
+ * // ... provide data here
3243
+ * }
3244
+ * })
3245
+ *
3246
+ */
3247
+ update<T extends CheckoutUpdateArgs>(args: Prisma.SelectSubset<T, CheckoutUpdateArgs<ExtArgs>>): Prisma.Prisma__CheckoutClient<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3248
+ /**
3249
+ * Delete zero or more Checkouts.
3250
+ * @param {CheckoutDeleteManyArgs} args - Arguments to filter Checkouts to delete.
3251
+ * @example
3252
+ * // Delete a few Checkouts
3253
+ * const { count } = await prisma.checkout.deleteMany({
3254
+ * where: {
3255
+ * // ... provide filter here
3256
+ * }
3257
+ * })
3258
+ *
3259
+ */
3260
+ deleteMany<T extends CheckoutDeleteManyArgs>(args?: Prisma.SelectSubset<T, CheckoutDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3261
+ /**
3262
+ * Update zero or more Checkouts.
3263
+ * Note, that providing `undefined` is treated as the value not being there.
3264
+ * Read more here: https://pris.ly/d/null-undefined
3265
+ * @param {CheckoutUpdateManyArgs} args - Arguments to update one or more rows.
3266
+ * @example
3267
+ * // Update many Checkouts
3268
+ * const checkout = await prisma.checkout.updateMany({
3269
+ * where: {
3270
+ * // ... provide filter here
3271
+ * },
3272
+ * data: {
3273
+ * // ... provide data here
3274
+ * }
3275
+ * })
3276
+ *
3277
+ */
3278
+ updateMany<T extends CheckoutUpdateManyArgs>(args: Prisma.SelectSubset<T, CheckoutUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3279
+ /**
3280
+ * Update zero or more Checkouts and returns the data updated in the database.
3281
+ * @param {CheckoutUpdateManyAndReturnArgs} args - Arguments to update many Checkouts.
3282
+ * @example
3283
+ * // Update many Checkouts
3284
+ * const checkout = await prisma.checkout.updateManyAndReturn({
3285
+ * where: {
3286
+ * // ... provide filter here
3287
+ * },
3288
+ * data: [
3289
+ * // ... provide data here
3290
+ * ]
3291
+ * })
3292
+ *
3293
+ * // Update zero or more Checkouts and only return the `id`
3294
+ * const checkoutWithIdOnly = await prisma.checkout.updateManyAndReturn({
3295
+ * select: { id: true },
3296
+ * where: {
3297
+ * // ... provide filter here
3298
+ * },
3299
+ * data: [
3300
+ * // ... provide data here
3301
+ * ]
3302
+ * })
3303
+ * Note, that providing `undefined` is treated as the value not being there.
3304
+ * Read more here: https://pris.ly/d/null-undefined
3305
+ *
3306
+ */
3307
+ updateManyAndReturn<T extends CheckoutUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CheckoutUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
3308
+ /**
3309
+ * Create or update one Checkout.
3310
+ * @param {CheckoutUpsertArgs} args - Arguments to update or create a Checkout.
3311
+ * @example
3312
+ * // Update or create a Checkout
3313
+ * const checkout = await prisma.checkout.upsert({
3314
+ * create: {
3315
+ * // ... data to create a Checkout
3316
+ * },
3317
+ * update: {
3318
+ * // ... in case it already exists, update
3319
+ * },
3320
+ * where: {
3321
+ * // ... the filter for the Checkout we want to update
3322
+ * }
3323
+ * })
3324
+ */
3325
+ upsert<T extends CheckoutUpsertArgs>(args: Prisma.SelectSubset<T, CheckoutUpsertArgs<ExtArgs>>): Prisma.Prisma__CheckoutClient<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3326
+ /**
3327
+ * Count the number of Checkouts.
3328
+ * Note, that providing `undefined` is treated as the value not being there.
3329
+ * Read more here: https://pris.ly/d/null-undefined
3330
+ * @param {CheckoutCountArgs} args - Arguments to filter Checkouts to count.
3331
+ * @example
3332
+ * // Count the number of Checkouts
3333
+ * const count = await prisma.checkout.count({
3334
+ * where: {
3335
+ * // ... the filter for the Checkouts we want to count
3336
+ * }
3337
+ * })
3338
+ **/
3339
+ count<T extends CheckoutCountArgs>(args?: Prisma.Subset<T, CheckoutCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], CheckoutCountAggregateOutputType> : number>;
3340
+ /**
3341
+ * Allows you to perform aggregations operations on a Checkout.
3342
+ * Note, that providing `undefined` is treated as the value not being there.
3343
+ * Read more here: https://pris.ly/d/null-undefined
3344
+ * @param {CheckoutAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
3345
+ * @example
3346
+ * // Ordered by age ascending
3347
+ * // Where email contains prisma.io
3348
+ * // Limited to the 10 users
3349
+ * const aggregations = await prisma.user.aggregate({
3350
+ * _avg: {
3351
+ * age: true,
3352
+ * },
3353
+ * where: {
3354
+ * email: {
3355
+ * contains: "prisma.io",
3356
+ * },
3357
+ * },
3358
+ * orderBy: {
3359
+ * age: "asc",
3360
+ * },
3361
+ * take: 10,
3362
+ * })
3363
+ **/
3364
+ aggregate<T extends CheckoutAggregateArgs>(args: Prisma.Subset<T, CheckoutAggregateArgs>): Prisma.PrismaPromise<GetCheckoutAggregateType<T>>;
3365
+ /**
3366
+ * Group by Checkout.
3367
+ * Note, that providing `undefined` is treated as the value not being there.
3368
+ * Read more here: https://pris.ly/d/null-undefined
3369
+ * @param {CheckoutGroupByArgs} args - Group by arguments.
3370
+ * @example
3371
+ * // Group by city, order by createdAt, get count
3372
+ * const result = await prisma.user.groupBy({
3373
+ * by: ['city', 'createdAt'],
3374
+ * orderBy: {
3375
+ * createdAt: true
3376
+ * },
3377
+ * _count: {
3378
+ * _all: true
3379
+ * },
3380
+ * })
3381
+ *
3382
+ **/
3383
+ groupBy<T extends CheckoutGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
3384
+ orderBy: CheckoutGroupByArgs['orderBy'];
3385
+ } : {
3386
+ orderBy?: CheckoutGroupByArgs['orderBy'];
3387
+ }, 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 ? {
3388
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
3389
+ Error,
3390
+ 'Field ',
3391
+ P,
3392
+ ` in "having" needs to be provided in "by"`
3393
+ ];
3394
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
3395
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3396
+ }[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 ? {} : {
3397
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3398
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
3399
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3400
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, CheckoutGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCheckoutGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
3401
+ /**
3402
+ * Fields of the Checkout model
3403
+ */
3404
+ readonly fields: CheckoutFieldRefs;
3405
+ }
3406
+ /**
3407
+ * The delegate class that acts as a "Promise-like" for Checkout.
3408
+ * Why is this prefixed with `Prisma__`?
3409
+ * Because we want to prevent naming conflicts as mentioned in
3410
+ * https://github.com/prisma/prisma-client-js/issues/707
3411
+ */
3412
+ export interface Prisma__CheckoutClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
3413
+ readonly [Symbol.toStringTag]: "PrismaPromise";
3414
+ checkoutLines<T extends Prisma.Checkout$checkoutLinesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Checkout$checkoutLinesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutLinePayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3415
+ fulfillmentFees<T extends Prisma.Checkout$fulfillmentFeesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Checkout$fulfillmentFeesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FulfillmentFeesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3416
+ customer<T extends Prisma.Checkout$customerArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Checkout$customerArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
3417
+ 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>;
3418
+ checkoutGroup<T extends Prisma.CheckoutGroupDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.CheckoutGroupDefaultArgs<ExtArgs>>): Prisma.Prisma__CheckoutGroupClient<runtime.Types.Result.GetResult<Prisma.$CheckoutGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
3419
+ eventLog<T extends Prisma.Checkout$eventLogArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Checkout$eventLogArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$EventLogPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3420
+ payments<T extends Prisma.Checkout$paymentsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Checkout$paymentsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PaymentPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3421
+ /**
3422
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
3423
+ * @param onfulfilled The callback to execute when the Promise is resolved.
3424
+ * @param onrejected The callback to execute when the Promise is rejected.
3425
+ * @returns A Promise for the completion of which ever callback is executed.
3426
+ */
3427
+ 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>;
3428
+ /**
3429
+ * Attaches a callback for only the rejection of the Promise.
3430
+ * @param onrejected The callback to execute when the Promise is rejected.
3431
+ * @returns A Promise for the completion of the callback.
3432
+ */
3433
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
3434
+ /**
3435
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
3436
+ * resolved value cannot be modified from the callback.
3437
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
3438
+ * @returns A Promise for the completion of the callback.
3439
+ */
3440
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
3441
+ }
3442
+ /**
3443
+ * Fields of the Checkout model
3444
+ */
3445
+ export interface CheckoutFieldRefs {
3446
+ readonly id: Prisma.FieldRef<"Checkout", 'BigInt'>;
3447
+ readonly customerId: Prisma.FieldRef<"Checkout", 'BigInt'>;
3448
+ readonly platformId: Prisma.FieldRef<"Checkout", 'String'>;
3449
+ readonly storeId: Prisma.FieldRef<"Checkout", 'String'>;
3450
+ readonly completedAt: Prisma.FieldRef<"Checkout", 'DateTime'>;
3451
+ readonly createdAt: Prisma.FieldRef<"Checkout", 'DateTime'>;
3452
+ readonly updatedAt: Prisma.FieldRef<"Checkout", 'DateTime'>;
3453
+ readonly fulfillmentType: Prisma.FieldRef<"Checkout", 'FulfillmentType'>;
3454
+ readonly note: Prisma.FieldRef<"Checkout", 'String'>;
3455
+ readonly includeUtensils: Prisma.FieldRef<"Checkout", 'Boolean'>;
3456
+ readonly orderId: Prisma.FieldRef<"Checkout", 'String'>;
3457
+ readonly isReady: Prisma.FieldRef<"Checkout", 'Boolean'>;
3458
+ readonly lineItemsSubtotal: Prisma.FieldRef<"Checkout", 'Decimal'>;
3459
+ readonly subtotalPrice: Prisma.FieldRef<"Checkout", 'Decimal'>;
3460
+ readonly isTaxExempt: Prisma.FieldRef<"Checkout", 'Boolean'>;
3461
+ readonly isTaxesIncluded: Prisma.FieldRef<"Checkout", 'Boolean'>;
3462
+ readonly totalPrice: Prisma.FieldRef<"Checkout", 'Decimal'>;
3463
+ readonly totalTax: Prisma.FieldRef<"Checkout", 'Decimal'>;
3464
+ readonly paymentDue: Prisma.FieldRef<"Checkout", 'Decimal'>;
3465
+ readonly cartId: Prisma.FieldRef<"Checkout", 'BigInt'>;
3466
+ readonly checkoutGroupId: Prisma.FieldRef<"Checkout", 'BigInt'>;
3467
+ readonly deliveryFee: Prisma.FieldRef<"Checkout", 'Decimal'>;
3468
+ readonly currencyCode: Prisma.FieldRef<"Checkout", 'CurrencyCode'>;
3469
+ readonly totalTaxBreakdown: Prisma.FieldRef<"Checkout", 'Json'>;
3470
+ readonly tip: Prisma.FieldRef<"Checkout", 'Decimal'>;
3471
+ readonly expressFee: Prisma.FieldRef<"Checkout", 'Decimal'>;
3472
+ readonly discountAmount: Prisma.FieldRef<"Checkout", 'Decimal'>;
3473
+ readonly fulfillmentOptInOptionType: Prisma.FieldRef<"Checkout", 'FulfillmentOptInOptionType'>;
3474
+ readonly shippoShipment: Prisma.FieldRef<"Checkout", 'Json'>;
3475
+ readonly purchasedRateId: Prisma.FieldRef<"Checkout", 'String'>;
3476
+ readonly calculatedShippingRates: Prisma.FieldRef<"Checkout", 'Json'>;
3477
+ readonly shipmentServiceCode: Prisma.FieldRef<"Checkout", 'String'>;
3478
+ readonly calculatedParcels: Prisma.FieldRef<"Checkout", 'Json'>;
3479
+ readonly isValid: Prisma.FieldRef<"Checkout", 'Boolean'>;
3480
+ readonly invalidReason: Prisma.FieldRef<"Checkout", 'String'>;
3481
+ readonly isGift: Prisma.FieldRef<"Checkout", 'Boolean'>;
3482
+ readonly giftFrom: Prisma.FieldRef<"Checkout", 'String'>;
3483
+ readonly giftMessage: Prisma.FieldRef<"Checkout", 'String'>;
3484
+ }
3485
+ /**
3486
+ * Checkout findUnique
3487
+ */
3488
+ export type CheckoutFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3489
+ /**
3490
+ * Select specific fields to fetch from the Checkout
3491
+ */
3492
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3493
+ /**
3494
+ * Omit specific fields from the Checkout
3495
+ */
3496
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3497
+ /**
3498
+ * Choose, which related nodes to fetch as well
3499
+ */
3500
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3501
+ /**
3502
+ * Filter, which Checkout to fetch.
3503
+ */
3504
+ where: Prisma.CheckoutWhereUniqueInput;
3505
+ };
3506
+ /**
3507
+ * Checkout findUniqueOrThrow
3508
+ */
3509
+ export type CheckoutFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3510
+ /**
3511
+ * Select specific fields to fetch from the Checkout
3512
+ */
3513
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3514
+ /**
3515
+ * Omit specific fields from the Checkout
3516
+ */
3517
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3518
+ /**
3519
+ * Choose, which related nodes to fetch as well
3520
+ */
3521
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3522
+ /**
3523
+ * Filter, which Checkout to fetch.
3524
+ */
3525
+ where: Prisma.CheckoutWhereUniqueInput;
3526
+ };
3527
+ /**
3528
+ * Checkout findFirst
3529
+ */
3530
+ export type CheckoutFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3531
+ /**
3532
+ * Select specific fields to fetch from the Checkout
3533
+ */
3534
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3535
+ /**
3536
+ * Omit specific fields from the Checkout
3537
+ */
3538
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3539
+ /**
3540
+ * Choose, which related nodes to fetch as well
3541
+ */
3542
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3543
+ /**
3544
+ * Filter, which Checkout to fetch.
3545
+ */
3546
+ where?: Prisma.CheckoutWhereInput;
3547
+ /**
3548
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3549
+ *
3550
+ * Determine the order of Checkouts to fetch.
3551
+ */
3552
+ orderBy?: Prisma.CheckoutOrderByWithRelationInput | Prisma.CheckoutOrderByWithRelationInput[];
3553
+ /**
3554
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3555
+ *
3556
+ * Sets the position for searching for Checkouts.
3557
+ */
3558
+ cursor?: Prisma.CheckoutWhereUniqueInput;
3559
+ /**
3560
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3561
+ *
3562
+ * Take `±n` Checkouts from the position of the cursor.
3563
+ */
3564
+ take?: number;
3565
+ /**
3566
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3567
+ *
3568
+ * Skip the first `n` Checkouts.
3569
+ */
3570
+ skip?: number;
3571
+ /**
3572
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3573
+ *
3574
+ * Filter by unique combinations of Checkouts.
3575
+ */
3576
+ distinct?: Prisma.CheckoutScalarFieldEnum | Prisma.CheckoutScalarFieldEnum[];
3577
+ };
3578
+ /**
3579
+ * Checkout findFirstOrThrow
3580
+ */
3581
+ export type CheckoutFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3582
+ /**
3583
+ * Select specific fields to fetch from the Checkout
3584
+ */
3585
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3586
+ /**
3587
+ * Omit specific fields from the Checkout
3588
+ */
3589
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3590
+ /**
3591
+ * Choose, which related nodes to fetch as well
3592
+ */
3593
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3594
+ /**
3595
+ * Filter, which Checkout to fetch.
3596
+ */
3597
+ where?: Prisma.CheckoutWhereInput;
3598
+ /**
3599
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3600
+ *
3601
+ * Determine the order of Checkouts to fetch.
3602
+ */
3603
+ orderBy?: Prisma.CheckoutOrderByWithRelationInput | Prisma.CheckoutOrderByWithRelationInput[];
3604
+ /**
3605
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3606
+ *
3607
+ * Sets the position for searching for Checkouts.
3608
+ */
3609
+ cursor?: Prisma.CheckoutWhereUniqueInput;
3610
+ /**
3611
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3612
+ *
3613
+ * Take `±n` Checkouts from the position of the cursor.
3614
+ */
3615
+ take?: number;
3616
+ /**
3617
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3618
+ *
3619
+ * Skip the first `n` Checkouts.
3620
+ */
3621
+ skip?: number;
3622
+ /**
3623
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3624
+ *
3625
+ * Filter by unique combinations of Checkouts.
3626
+ */
3627
+ distinct?: Prisma.CheckoutScalarFieldEnum | Prisma.CheckoutScalarFieldEnum[];
3628
+ };
3629
+ /**
3630
+ * Checkout findMany
3631
+ */
3632
+ export type CheckoutFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3633
+ /**
3634
+ * Select specific fields to fetch from the Checkout
3635
+ */
3636
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3637
+ /**
3638
+ * Omit specific fields from the Checkout
3639
+ */
3640
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3641
+ /**
3642
+ * Choose, which related nodes to fetch as well
3643
+ */
3644
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3645
+ /**
3646
+ * Filter, which Checkouts to fetch.
3647
+ */
3648
+ where?: Prisma.CheckoutWhereInput;
3649
+ /**
3650
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3651
+ *
3652
+ * Determine the order of Checkouts to fetch.
3653
+ */
3654
+ orderBy?: Prisma.CheckoutOrderByWithRelationInput | Prisma.CheckoutOrderByWithRelationInput[];
3655
+ /**
3656
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3657
+ *
3658
+ * Sets the position for listing Checkouts.
3659
+ */
3660
+ cursor?: Prisma.CheckoutWhereUniqueInput;
3661
+ /**
3662
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3663
+ *
3664
+ * Take `±n` Checkouts from the position of the cursor.
3665
+ */
3666
+ take?: number;
3667
+ /**
3668
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3669
+ *
3670
+ * Skip the first `n` Checkouts.
3671
+ */
3672
+ skip?: number;
3673
+ distinct?: Prisma.CheckoutScalarFieldEnum | Prisma.CheckoutScalarFieldEnum[];
3674
+ };
3675
+ /**
3676
+ * Checkout create
3677
+ */
3678
+ export type CheckoutCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3679
+ /**
3680
+ * Select specific fields to fetch from the Checkout
3681
+ */
3682
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3683
+ /**
3684
+ * Omit specific fields from the Checkout
3685
+ */
3686
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3687
+ /**
3688
+ * Choose, which related nodes to fetch as well
3689
+ */
3690
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3691
+ /**
3692
+ * The data needed to create a Checkout.
3693
+ */
3694
+ data: Prisma.XOR<Prisma.CheckoutCreateInput, Prisma.CheckoutUncheckedCreateInput>;
3695
+ };
3696
+ /**
3697
+ * Checkout createMany
3698
+ */
3699
+ export type CheckoutCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3700
+ /**
3701
+ * The data used to create many Checkouts.
3702
+ */
3703
+ data: Prisma.CheckoutCreateManyInput | Prisma.CheckoutCreateManyInput[];
3704
+ skipDuplicates?: boolean;
3705
+ };
3706
+ /**
3707
+ * Checkout createManyAndReturn
3708
+ */
3709
+ export type CheckoutCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3710
+ /**
3711
+ * Select specific fields to fetch from the Checkout
3712
+ */
3713
+ select?: Prisma.CheckoutSelectCreateManyAndReturn<ExtArgs> | null;
3714
+ /**
3715
+ * Omit specific fields from the Checkout
3716
+ */
3717
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3718
+ /**
3719
+ * The data used to create many Checkouts.
3720
+ */
3721
+ data: Prisma.CheckoutCreateManyInput | Prisma.CheckoutCreateManyInput[];
3722
+ skipDuplicates?: boolean;
3723
+ /**
3724
+ * Choose, which related nodes to fetch as well
3725
+ */
3726
+ include?: Prisma.CheckoutIncludeCreateManyAndReturn<ExtArgs> | null;
3727
+ };
3728
+ /**
3729
+ * Checkout update
3730
+ */
3731
+ export type CheckoutUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3732
+ /**
3733
+ * Select specific fields to fetch from the Checkout
3734
+ */
3735
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3736
+ /**
3737
+ * Omit specific fields from the Checkout
3738
+ */
3739
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3740
+ /**
3741
+ * Choose, which related nodes to fetch as well
3742
+ */
3743
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3744
+ /**
3745
+ * The data needed to update a Checkout.
3746
+ */
3747
+ data: Prisma.XOR<Prisma.CheckoutUpdateInput, Prisma.CheckoutUncheckedUpdateInput>;
3748
+ /**
3749
+ * Choose, which Checkout to update.
3750
+ */
3751
+ where: Prisma.CheckoutWhereUniqueInput;
3752
+ };
3753
+ /**
3754
+ * Checkout updateMany
3755
+ */
3756
+ export type CheckoutUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3757
+ /**
3758
+ * The data used to update Checkouts.
3759
+ */
3760
+ data: Prisma.XOR<Prisma.CheckoutUpdateManyMutationInput, Prisma.CheckoutUncheckedUpdateManyInput>;
3761
+ /**
3762
+ * Filter which Checkouts to update
3763
+ */
3764
+ where?: Prisma.CheckoutWhereInput;
3765
+ /**
3766
+ * Limit how many Checkouts to update.
3767
+ */
3768
+ limit?: number;
3769
+ };
3770
+ /**
3771
+ * Checkout updateManyAndReturn
3772
+ */
3773
+ export type CheckoutUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3774
+ /**
3775
+ * Select specific fields to fetch from the Checkout
3776
+ */
3777
+ select?: Prisma.CheckoutSelectUpdateManyAndReturn<ExtArgs> | null;
3778
+ /**
3779
+ * Omit specific fields from the Checkout
3780
+ */
3781
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3782
+ /**
3783
+ * The data used to update Checkouts.
3784
+ */
3785
+ data: Prisma.XOR<Prisma.CheckoutUpdateManyMutationInput, Prisma.CheckoutUncheckedUpdateManyInput>;
3786
+ /**
3787
+ * Filter which Checkouts to update
3788
+ */
3789
+ where?: Prisma.CheckoutWhereInput;
3790
+ /**
3791
+ * Limit how many Checkouts to update.
3792
+ */
3793
+ limit?: number;
3794
+ /**
3795
+ * Choose, which related nodes to fetch as well
3796
+ */
3797
+ include?: Prisma.CheckoutIncludeUpdateManyAndReturn<ExtArgs> | null;
3798
+ };
3799
+ /**
3800
+ * Checkout upsert
3801
+ */
3802
+ export type CheckoutUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3803
+ /**
3804
+ * Select specific fields to fetch from the Checkout
3805
+ */
3806
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3807
+ /**
3808
+ * Omit specific fields from the Checkout
3809
+ */
3810
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3811
+ /**
3812
+ * Choose, which related nodes to fetch as well
3813
+ */
3814
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3815
+ /**
3816
+ * The filter to search for the Checkout to update in case it exists.
3817
+ */
3818
+ where: Prisma.CheckoutWhereUniqueInput;
3819
+ /**
3820
+ * In case the Checkout found by the `where` argument doesn't exist, create a new Checkout with this data.
3821
+ */
3822
+ create: Prisma.XOR<Prisma.CheckoutCreateInput, Prisma.CheckoutUncheckedCreateInput>;
3823
+ /**
3824
+ * In case the Checkout was found with the provided `where` argument, update it with this data.
3825
+ */
3826
+ update: Prisma.XOR<Prisma.CheckoutUpdateInput, Prisma.CheckoutUncheckedUpdateInput>;
3827
+ };
3828
+ /**
3829
+ * Checkout delete
3830
+ */
3831
+ export type CheckoutDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3832
+ /**
3833
+ * Select specific fields to fetch from the Checkout
3834
+ */
3835
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3836
+ /**
3837
+ * Omit specific fields from the Checkout
3838
+ */
3839
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3840
+ /**
3841
+ * Choose, which related nodes to fetch as well
3842
+ */
3843
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3844
+ /**
3845
+ * Filter which Checkout to delete.
3846
+ */
3847
+ where: Prisma.CheckoutWhereUniqueInput;
3848
+ };
3849
+ /**
3850
+ * Checkout deleteMany
3851
+ */
3852
+ export type CheckoutDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3853
+ /**
3854
+ * Filter which Checkouts to delete
3855
+ */
3856
+ where?: Prisma.CheckoutWhereInput;
3857
+ /**
3858
+ * Limit how many Checkouts to delete.
3859
+ */
3860
+ limit?: number;
3861
+ };
3862
+ /**
3863
+ * Checkout.checkoutLines
3864
+ */
3865
+ export type Checkout$checkoutLinesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3866
+ /**
3867
+ * Select specific fields to fetch from the CheckoutLine
3868
+ */
3869
+ select?: Prisma.CheckoutLineSelect<ExtArgs> | null;
3870
+ /**
3871
+ * Omit specific fields from the CheckoutLine
3872
+ */
3873
+ omit?: Prisma.CheckoutLineOmit<ExtArgs> | null;
3874
+ /**
3875
+ * Choose, which related nodes to fetch as well
3876
+ */
3877
+ include?: Prisma.CheckoutLineInclude<ExtArgs> | null;
3878
+ where?: Prisma.CheckoutLineWhereInput;
3879
+ orderBy?: Prisma.CheckoutLineOrderByWithRelationInput | Prisma.CheckoutLineOrderByWithRelationInput[];
3880
+ cursor?: Prisma.CheckoutLineWhereUniqueInput;
3881
+ take?: number;
3882
+ skip?: number;
3883
+ distinct?: Prisma.CheckoutLineScalarFieldEnum | Prisma.CheckoutLineScalarFieldEnum[];
3884
+ };
3885
+ /**
3886
+ * Checkout.fulfillmentFees
3887
+ */
3888
+ export type Checkout$fulfillmentFeesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3889
+ /**
3890
+ * Select specific fields to fetch from the FulfillmentFees
3891
+ */
3892
+ select?: Prisma.FulfillmentFeesSelect<ExtArgs> | null;
3893
+ /**
3894
+ * Omit specific fields from the FulfillmentFees
3895
+ */
3896
+ omit?: Prisma.FulfillmentFeesOmit<ExtArgs> | null;
3897
+ /**
3898
+ * Choose, which related nodes to fetch as well
3899
+ */
3900
+ include?: Prisma.FulfillmentFeesInclude<ExtArgs> | null;
3901
+ where?: Prisma.FulfillmentFeesWhereInput;
3902
+ orderBy?: Prisma.FulfillmentFeesOrderByWithRelationInput | Prisma.FulfillmentFeesOrderByWithRelationInput[];
3903
+ cursor?: Prisma.FulfillmentFeesWhereUniqueInput;
3904
+ take?: number;
3905
+ skip?: number;
3906
+ distinct?: Prisma.FulfillmentFeesScalarFieldEnum | Prisma.FulfillmentFeesScalarFieldEnum[];
3907
+ };
3908
+ /**
3909
+ * Checkout.customer
3910
+ */
3911
+ export type Checkout$customerArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3912
+ /**
3913
+ * Select specific fields to fetch from the Customer
3914
+ */
3915
+ select?: Prisma.CustomerSelect<ExtArgs> | null;
3916
+ /**
3917
+ * Omit specific fields from the Customer
3918
+ */
3919
+ omit?: Prisma.CustomerOmit<ExtArgs> | null;
3920
+ /**
3921
+ * Choose, which related nodes to fetch as well
3922
+ */
3923
+ include?: Prisma.CustomerInclude<ExtArgs> | null;
3924
+ where?: Prisma.CustomerWhereInput;
3925
+ };
3926
+ /**
3927
+ * Checkout.eventLog
3928
+ */
3929
+ export type Checkout$eventLogArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3930
+ /**
3931
+ * Select specific fields to fetch from the EventLog
3932
+ */
3933
+ select?: Prisma.EventLogSelect<ExtArgs> | null;
3934
+ /**
3935
+ * Omit specific fields from the EventLog
3936
+ */
3937
+ omit?: Prisma.EventLogOmit<ExtArgs> | null;
3938
+ /**
3939
+ * Choose, which related nodes to fetch as well
3940
+ */
3941
+ include?: Prisma.EventLogInclude<ExtArgs> | null;
3942
+ where?: Prisma.EventLogWhereInput;
3943
+ orderBy?: Prisma.EventLogOrderByWithRelationInput | Prisma.EventLogOrderByWithRelationInput[];
3944
+ cursor?: Prisma.EventLogWhereUniqueInput;
3945
+ take?: number;
3946
+ skip?: number;
3947
+ distinct?: Prisma.EventLogScalarFieldEnum | Prisma.EventLogScalarFieldEnum[];
3948
+ };
3949
+ /**
3950
+ * Checkout.payments
3951
+ */
3952
+ export type Checkout$paymentsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3953
+ /**
3954
+ * Select specific fields to fetch from the Payment
3955
+ */
3956
+ select?: Prisma.PaymentSelect<ExtArgs> | null;
3957
+ /**
3958
+ * Omit specific fields from the Payment
3959
+ */
3960
+ omit?: Prisma.PaymentOmit<ExtArgs> | null;
3961
+ /**
3962
+ * Choose, which related nodes to fetch as well
3963
+ */
3964
+ include?: Prisma.PaymentInclude<ExtArgs> | null;
3965
+ where?: Prisma.PaymentWhereInput;
3966
+ orderBy?: Prisma.PaymentOrderByWithRelationInput | Prisma.PaymentOrderByWithRelationInput[];
3967
+ cursor?: Prisma.PaymentWhereUniqueInput;
3968
+ take?: number;
3969
+ skip?: number;
3970
+ distinct?: Prisma.PaymentScalarFieldEnum | Prisma.PaymentScalarFieldEnum[];
3971
+ };
3972
+ /**
3973
+ * Checkout without action
3974
+ */
3975
+ export type CheckoutDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3976
+ /**
3977
+ * Select specific fields to fetch from the Checkout
3978
+ */
3979
+ select?: Prisma.CheckoutSelect<ExtArgs> | null;
3980
+ /**
3981
+ * Omit specific fields from the Checkout
3982
+ */
3983
+ omit?: Prisma.CheckoutOmit<ExtArgs> | null;
3984
+ /**
3985
+ * Choose, which related nodes to fetch as well
3986
+ */
3987
+ include?: Prisma.CheckoutInclude<ExtArgs> | null;
3988
+ };
3989
+ export {};