@shophost/rest-api 2.0.32 → 2.0.34

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 (348) hide show
  1. package/package.json +13 -14
  2. package/src/app.js +53 -1
  3. package/src/app.js.map +1 -0
  4. package/src/core/auth/auth.schema.js +41 -1
  5. package/src/core/auth/auth.schema.js.map +1 -0
  6. package/src/core/auth/auth.util.js +44 -1
  7. package/src/core/auth/auth.util.js.map +1 -0
  8. package/src/core/auth/better-auth.lib.js +100 -1
  9. package/src/core/auth/better-auth.lib.js.map +1 -0
  10. package/src/core/auth/generate-password-hash.util.d.ts +3 -0
  11. package/src/core/auth/generate-password-hash.util.js +30 -1
  12. package/src/core/auth/generate-password-hash.util.js.map +1 -0
  13. package/src/core/auth/headers.schema.js +22 -1
  14. package/src/core/auth/headers.schema.js.map +1 -0
  15. package/src/core/auth/user.schema.js +30 -1
  16. package/src/core/auth/user.schema.js.map +1 -0
  17. package/src/core/db/__generated__/client/browser.d.ts +128 -0
  18. package/src/core/db/__generated__/client/browser.js +18 -1
  19. package/src/core/db/__generated__/client/browser.js.map +1 -0
  20. package/src/core/db/__generated__/client/client.d.ts +143 -0
  21. package/src/core/db/__generated__/client/client.js +35 -1
  22. package/src/core/db/__generated__/client/client.js.map +1 -0
  23. package/src/core/db/__generated__/client/commonInputTypes.js +11 -1
  24. package/src/core/db/__generated__/client/commonInputTypes.js.map +1 -0
  25. package/src/core/db/__generated__/client/enums.js +200 -1
  26. package/src/core/db/__generated__/client/enums.js.map +1 -0
  27. package/src/core/db/__generated__/client/internal/class.d.ts +343 -0
  28. package/src/core/db/__generated__/client/internal/class.js +55 -1
  29. package/src/core/db/__generated__/client/internal/class.js.map +1 -0
  30. package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +234 -0
  31. package/src/core/db/__generated__/client/internal/prismaNamespace.js +541 -1
  32. package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
  33. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +15 -0
  34. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +512 -1
  35. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -0
  36. package/src/core/db/__generated__/client/models/Account.d.ts +633 -0
  37. package/src/core/db/__generated__/client/models/Account.js +2 -1
  38. package/src/core/db/__generated__/client/models/Account.js.map +1 -0
  39. package/src/core/db/__generated__/client/models/Address.d.ts +706 -0
  40. package/src/core/db/__generated__/client/models/Address.js +2 -1
  41. package/src/core/db/__generated__/client/models/Address.js.map +1 -0
  42. package/src/core/db/__generated__/client/models/Campaign.d.ts +643 -0
  43. package/src/core/db/__generated__/client/models/Campaign.js +2 -1
  44. package/src/core/db/__generated__/client/models/Campaign.js.map +1 -0
  45. package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +639 -0
  46. package/src/core/db/__generated__/client/models/ClosingTimes.js +2 -1
  47. package/src/core/db/__generated__/client/models/ClosingTimes.js.map +1 -0
  48. package/src/core/db/__generated__/client/models/File.d.ts +757 -0
  49. package/src/core/db/__generated__/client/models/File.js +2 -1
  50. package/src/core/db/__generated__/client/models/File.js.map +1 -0
  51. package/src/core/db/__generated__/client/models/Invitation.d.ts +633 -0
  52. package/src/core/db/__generated__/client/models/Invitation.js +2 -1
  53. package/src/core/db/__generated__/client/models/Invitation.js.map +1 -0
  54. package/src/core/db/__generated__/client/models/LegalEntity.d.ts +657 -0
  55. package/src/core/db/__generated__/client/models/LegalEntity.js +2 -1
  56. package/src/core/db/__generated__/client/models/LegalEntity.js.map +1 -0
  57. package/src/core/db/__generated__/client/models/Manufacturer.d.ts +684 -0
  58. package/src/core/db/__generated__/client/models/Manufacturer.js +2 -1
  59. package/src/core/db/__generated__/client/models/Manufacturer.js.map +1 -0
  60. package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +633 -0
  61. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +2 -1
  62. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
  63. package/src/core/db/__generated__/client/models/Member.d.ts +633 -0
  64. package/src/core/db/__generated__/client/models/Member.js +2 -1
  65. package/src/core/db/__generated__/client/models/Member.js.map +1 -0
  66. package/src/core/db/__generated__/client/models/Modifier.d.ts +667 -0
  67. package/src/core/db/__generated__/client/models/Modifier.js +2 -1
  68. package/src/core/db/__generated__/client/models/Modifier.js.map +1 -0
  69. package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +691 -0
  70. package/src/core/db/__generated__/client/models/ModifierGroup.js +2 -1
  71. package/src/core/db/__generated__/client/models/ModifierGroup.js.map +1 -0
  72. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +633 -0
  73. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +2 -1
  74. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
  75. package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +639 -0
  76. package/src/core/db/__generated__/client/models/OpeningTimes.js +2 -1
  77. package/src/core/db/__generated__/client/models/OpeningTimes.js.map +1 -0
  78. package/src/core/db/__generated__/client/models/Order.d.ts +705 -0
  79. package/src/core/db/__generated__/client/models/Order.js +2 -1
  80. package/src/core/db/__generated__/client/models/Order.js.map +1 -0
  81. package/src/core/db/__generated__/client/models/OrderItem.d.ts +691 -0
  82. package/src/core/db/__generated__/client/models/OrderItem.js +2 -1
  83. package/src/core/db/__generated__/client/models/OrderItem.js.map +1 -0
  84. package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +633 -0
  85. package/src/core/db/__generated__/client/models/OrderItemTranslation.js +2 -1
  86. package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
  87. package/src/core/db/__generated__/client/models/Organization.d.ts +816 -0
  88. package/src/core/db/__generated__/client/models/Organization.js +2 -1
  89. package/src/core/db/__generated__/client/models/Organization.js.map +1 -0
  90. package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +681 -0
  91. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +2 -1
  92. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
  93. package/src/core/db/__generated__/client/models/Payment.d.ts +673 -0
  94. package/src/core/db/__generated__/client/models/Payment.js +2 -1
  95. package/src/core/db/__generated__/client/models/Payment.js.map +1 -0
  96. package/src/core/db/__generated__/client/models/PaymentSession.d.ts +643 -0
  97. package/src/core/db/__generated__/client/models/PaymentSession.js +2 -1
  98. package/src/core/db/__generated__/client/models/PaymentSession.js.map +1 -0
  99. package/src/core/db/__generated__/client/models/Product.d.ts +751 -0
  100. package/src/core/db/__generated__/client/models/Product.js +2 -1
  101. package/src/core/db/__generated__/client/models/Product.js.map +1 -0
  102. package/src/core/db/__generated__/client/models/ProductCategory.d.ts +694 -0
  103. package/src/core/db/__generated__/client/models/ProductCategory.js +2 -1
  104. package/src/core/db/__generated__/client/models/ProductCategory.js.map +1 -0
  105. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +633 -0
  106. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +2 -1
  107. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
  108. package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +669 -0
  109. package/src/core/db/__generated__/client/models/ProductSnapshot.js +2 -1
  110. package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
  111. package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +633 -0
  112. package/src/core/db/__generated__/client/models/ProductTranslation.js +2 -1
  113. package/src/core/db/__generated__/client/models/ProductTranslation.js.map +1 -0
  114. package/src/core/db/__generated__/client/models/Reservation.d.ts +655 -0
  115. package/src/core/db/__generated__/client/models/Reservation.js +2 -1
  116. package/src/core/db/__generated__/client/models/Reservation.js.map +1 -0
  117. package/src/core/db/__generated__/client/models/Session.d.ts +633 -0
  118. package/src/core/db/__generated__/client/models/Session.js +2 -1
  119. package/src/core/db/__generated__/client/models/Session.js.map +1 -0
  120. package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +684 -0
  121. package/src/core/db/__generated__/client/models/ShippingMethod.js +2 -1
  122. package/src/core/db/__generated__/client/models/ShippingMethod.js.map +1 -0
  123. package/src/core/db/__generated__/client/models/ShippingZone.d.ts +643 -0
  124. package/src/core/db/__generated__/client/models/ShippingZone.js +2 -1
  125. package/src/core/db/__generated__/client/models/ShippingZone.js.map +1 -0
  126. package/src/core/db/__generated__/client/models/User.d.ts +741 -0
  127. package/src/core/db/__generated__/client/models/User.js +2 -1
  128. package/src/core/db/__generated__/client/models/User.js.map +1 -0
  129. package/src/core/db/__generated__/client/models/Verification.d.ts +597 -0
  130. package/src/core/db/__generated__/client/models/Verification.js +2 -1
  131. package/src/core/db/__generated__/client/models/Verification.js.map +1 -0
  132. package/src/core/db/__generated__/client/models.js +2 -1
  133. package/src/core/db/__generated__/client/models.js.map +1 -0
  134. package/src/core/db/index.js +2 -1
  135. package/src/core/db/index.js.map +1 -0
  136. package/src/core/exceptions/http-exception.js +9 -1
  137. package/src/core/exceptions/http-exception.js.map +1 -0
  138. package/src/core/hono/hono.js +123 -1
  139. package/src/core/hono/hono.js.map +1 -0
  140. package/src/core/lib/prisma.js +11 -1
  141. package/src/core/lib/prisma.js.map +1 -0
  142. package/src/core/logging/pino.js +5 -1
  143. package/src/core/logging/pino.js.map +1 -0
  144. package/src/core/notifications/email.service.d.ts +15 -0
  145. package/src/core/notifications/email.service.js +116 -1
  146. package/src/core/notifications/email.service.js.map +1 -0
  147. package/src/core/openapi/openapi.lib.js +26 -1
  148. package/src/core/openapi/openapi.lib.js.map +1 -0
  149. package/src/core/types/google-maps.types.js +2 -1
  150. package/src/core/types/google-maps.types.js.map +1 -0
  151. package/src/core/utils/currency.util.js +11 -1
  152. package/src/core/utils/currency.util.js.map +1 -0
  153. package/src/core/utils/env.util.js +8 -1
  154. package/src/core/utils/env.util.js.map +1 -0
  155. package/src/core/utils/object.util.d.ts +10 -0
  156. package/src/core/utils/object.util.js +39 -1
  157. package/src/core/utils/object.util.js.map +1 -0
  158. package/src/core/utils/translations.util.js +2 -0
  159. package/src/core/utils/translations.util.js.map +1 -0
  160. package/src/core/utils/zod.util.d.ts +12 -0
  161. package/src/core/utils/zod.util.js +85 -1
  162. package/src/core/utils/zod.util.js.map +1 -0
  163. package/src/db.js +3 -1
  164. package/src/db.js.map +1 -0
  165. package/src/features/access/access.handler.js +91 -1
  166. package/src/features/access/access.handler.js.map +1 -0
  167. package/src/features/access/access.route.js +220 -1
  168. package/src/features/access/access.route.js.map +1 -0
  169. package/src/features/access/access.schema.js +108 -1
  170. package/src/features/access/access.schema.js.map +1 -0
  171. package/src/features/access/access.service.js +294 -1
  172. package/src/features/access/access.service.js.map +1 -0
  173. package/src/features/cart/cart.handler.js +17 -1
  174. package/src/features/cart/cart.handler.js.map +1 -0
  175. package/src/features/cart/cart.route.js +32 -1
  176. package/src/features/cart/cart.route.js.map +1 -0
  177. package/src/features/cart/cart.schema.js +39 -1
  178. package/src/features/cart/cart.schema.js.map +1 -0
  179. package/src/features/cart/cart.service.d.ts +7 -0
  180. package/src/features/cart/cart.service.js +97 -1
  181. package/src/features/cart/cart.service.js.map +1 -0
  182. package/src/features/cart/cart.util.js +76 -1
  183. package/src/features/cart/cart.util.js.map +1 -0
  184. package/src/features/file/file.handler.js +23 -1
  185. package/src/features/file/file.handler.js.map +1 -0
  186. package/src/features/file/file.route.js +34 -1
  187. package/src/features/file/file.route.js.map +1 -0
  188. package/src/features/file/file.schema.js +77 -1
  189. package/src/features/file/file.schema.js.map +1 -0
  190. package/src/features/file/file.service.d.ts +6 -0
  191. package/src/features/file/file.service.js +66 -1
  192. package/src/features/file/file.service.js.map +1 -0
  193. package/src/features/health/health.handler.js +10 -1
  194. package/src/features/health/health.handler.js.map +1 -0
  195. package/src/features/health/health.route.js +25 -1
  196. package/src/features/health/health.route.js.map +1 -0
  197. package/src/features/index.js +16 -1
  198. package/src/features/index.js.map +1 -0
  199. package/src/features/location/location.handler.js +25 -1
  200. package/src/features/location/location.handler.js.map +1 -0
  201. package/src/features/location/location.route.js +56 -1
  202. package/src/features/location/location.route.js.map +1 -0
  203. package/src/features/location/location.schema.js +50 -1
  204. package/src/features/location/location.schema.js.map +1 -0
  205. package/src/features/location/location.service.d.ts +3 -0
  206. package/src/features/location/location.service.js +141 -1
  207. package/src/features/location/location.service.js.map +1 -0
  208. package/src/features/manufacturer/manufacturer.handler.js +53 -1
  209. package/src/features/manufacturer/manufacturer.handler.js.map +1 -0
  210. package/src/features/manufacturer/manufacturer.route.js +97 -1
  211. package/src/features/manufacturer/manufacturer.route.js.map +1 -0
  212. package/src/features/manufacturer/manufacturer.schema.js +125 -1
  213. package/src/features/manufacturer/manufacturer.schema.js.map +1 -0
  214. package/src/features/manufacturer/manufacturer.service.d.ts +19 -0
  215. package/src/features/manufacturer/manufacturer.service.js +190 -1
  216. package/src/features/manufacturer/manufacturer.service.js.map +1 -0
  217. package/src/features/order/emails/order-confirmation.email.js +229 -1
  218. package/src/features/order/emails/order-confirmation.email.js.map +1 -0
  219. package/src/features/order/emails/order-notification.email.js +229 -1
  220. package/src/features/order/emails/order-notification.email.js.map +1 -0
  221. package/src/features/order/fulfilment.schema.js +3 -1
  222. package/src/features/order/fulfilment.schema.js.map +1 -0
  223. package/src/features/order/order.handler.js +54 -1
  224. package/src/features/order/order.handler.js.map +1 -0
  225. package/src/features/order/order.route.js +111 -1
  226. package/src/features/order/order.route.js.map +1 -0
  227. package/src/features/order/order.schema.js +158 -1
  228. package/src/features/order/order.schema.js.map +1 -0
  229. package/src/features/order/order.service.d.ts +15 -0
  230. package/src/features/order/order.service.js +306 -1
  231. package/src/features/order/order.service.js.map +1 -0
  232. package/src/features/order/recipient.schema.js +38 -1
  233. package/src/features/order/recipient.schema.js.map +1 -0
  234. package/src/features/organization/legal-entity.schema.js +83 -1
  235. package/src/features/organization/legal-entity.schema.js.map +1 -0
  236. package/src/features/organization/organization-configuration.schema.js +115 -1
  237. package/src/features/organization/organization-configuration.schema.js.map +1 -0
  238. package/src/features/organization/organization.handler.js +48 -1
  239. package/src/features/organization/organization.handler.js.map +1 -0
  240. package/src/features/organization/organization.route.js +84 -1
  241. package/src/features/organization/organization.route.js.map +1 -0
  242. package/src/features/organization/organization.schema.js +64 -1
  243. package/src/features/organization/organization.schema.js.map +1 -0
  244. package/src/features/organization/organization.service.d.ts +15 -0
  245. package/src/features/organization/organization.service.js +334 -1
  246. package/src/features/organization/organization.service.js.map +1 -0
  247. package/src/features/payment/payment.handler.js +16 -1
  248. package/src/features/payment/payment.handler.js.map +1 -0
  249. package/src/features/payment/payment.route.js +22 -1
  250. package/src/features/payment/payment.route.js.map +1 -0
  251. package/src/features/payment/payment.schema.js +46 -1
  252. package/src/features/payment/payment.schema.js.map +1 -0
  253. package/src/features/payment/payment.service.js +100 -1
  254. package/src/features/payment/payment.service.js.map +1 -0
  255. package/src/features/payment/stripe.service.js +164 -1
  256. package/src/features/payment/stripe.service.js.map +1 -0
  257. package/src/features/product/product-modifier.schema.js +84 -1
  258. package/src/features/product/product-modifier.schema.js.map +1 -0
  259. package/src/features/product/product.handler.js +87 -1
  260. package/src/features/product/product.handler.js.map +1 -0
  261. package/src/features/product/product.route.js +179 -1
  262. package/src/features/product/product.route.js.map +1 -0
  263. package/src/features/product/product.schema.js +143 -1
  264. package/src/features/product/product.schema.js.map +1 -0
  265. package/src/features/product/product.service.d.ts +25 -0
  266. package/src/features/product/product.service.js +440 -1
  267. package/src/features/product/product.service.js.map +1 -0
  268. package/src/features/product-category/product-category.handler.js +59 -1
  269. package/src/features/product-category/product-category.handler.js.map +1 -0
  270. package/src/features/product-category/product-category.route.js +139 -1
  271. package/src/features/product-category/product-category.route.js.map +1 -0
  272. package/src/features/product-category/product-category.schema.js +86 -1
  273. package/src/features/product-category/product-category.schema.js.map +1 -0
  274. package/src/features/product-category/product-category.service.d.ts +22 -0
  275. package/src/features/product-category/product-category.service.js +220 -1
  276. package/src/features/product-category/product-category.service.js.map +1 -0
  277. package/src/features/reservation/emails/reservation-cancellation.email.js +82 -1
  278. package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -0
  279. package/src/features/reservation/emails/reservation-confirmation.email.js +82 -1
  280. package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -0
  281. package/src/features/reservation/emails/reservation-notification.email.js +93 -1
  282. package/src/features/reservation/emails/reservation-notification.email.js.map +1 -0
  283. package/src/features/reservation/reservation.handler.js +65 -1
  284. package/src/features/reservation/reservation.handler.js.map +1 -0
  285. package/src/features/reservation/reservation.route.js +167 -1
  286. package/src/features/reservation/reservation.route.js.map +1 -0
  287. package/src/features/reservation/reservation.schema.js +51 -1
  288. package/src/features/reservation/reservation.schema.js.map +1 -0
  289. package/src/features/reservation/reservation.service.d.ts +18 -0
  290. package/src/features/reservation/reservation.service.js +231 -1
  291. package/src/features/reservation/reservation.service.js.map +1 -0
  292. package/src/features/shipping/shipping.handler.js +32 -1
  293. package/src/features/shipping/shipping.handler.js.map +1 -0
  294. package/src/features/shipping/shipping.route.js +51 -1
  295. package/src/features/shipping/shipping.route.js.map +1 -0
  296. package/src/features/shipping/shipping.service.d.ts +7 -0
  297. package/src/features/shipping/shipping.service.js +96 -1
  298. package/src/features/shipping/shipping.service.js.map +1 -0
  299. package/src/features/shipping-method/shipping-method.handler.js +60 -1
  300. package/src/features/shipping-method/shipping-method.handler.js.map +1 -0
  301. package/src/features/shipping-method/shipping-method.route.js +144 -1
  302. package/src/features/shipping-method/shipping-method.route.js.map +1 -0
  303. package/src/features/shipping-method/shipping-method.schema.js +48 -1
  304. package/src/features/shipping-method/shipping-method.schema.js.map +1 -0
  305. package/src/features/shipping-method/shipping-method.service.d.ts +25 -0
  306. package/src/features/shipping-method/shipping-method.service.js +229 -1
  307. package/src/features/shipping-method/shipping-method.service.js.map +1 -0
  308. package/src/features/shipping-method/shipping-zone.schema.js +31 -1
  309. package/src/features/shipping-method/shipping-zone.schema.js.map +1 -0
  310. package/src/features/webhook/webhook.handler.js +50 -1
  311. package/src/features/webhook/webhook.handler.js.map +1 -0
  312. package/src/features/webhook/webhook.route.js +33 -1
  313. package/src/features/webhook/webhook.route.js.map +1 -0
  314. package/src/index.js +6 -1
  315. package/src/index.js.map +1 -0
  316. package/src/integrations/next.js +82 -1
  317. package/src/integrations/next.js.map +1 -0
  318. package/src/schemas/address.schema.d.ts +8 -0
  319. package/src/schemas/address.schema.js +112 -1
  320. package/src/schemas/address.schema.js.map +1 -0
  321. package/src/schemas/currency.schema.d.ts +42 -0
  322. package/src/schemas/currency.schema.js +118 -1
  323. package/src/schemas/currency.schema.js.map +1 -0
  324. package/src/schemas/error.schema.js +12 -1
  325. package/src/schemas/error.schema.js.map +1 -0
  326. package/src/schemas/index.js +29 -1
  327. package/src/schemas/index.js.map +1 -0
  328. package/src/schemas/locales.schema.js +238 -1
  329. package/src/schemas/locales.schema.js.map +1 -0
  330. package/src/schemas/number.schema.js +29 -1
  331. package/src/schemas/number.schema.js.map +1 -0
  332. package/src/schemas/pagination.schema.js +54 -1
  333. package/src/schemas/pagination.schema.js.map +1 -0
  334. package/src/schemas/params.schema.js +20 -1
  335. package/src/schemas/params.schema.js.map +1 -0
  336. package/src/schemas/queries.schema.js +6 -1
  337. package/src/schemas/queries.schema.js.map +1 -0
  338. package/src/test/global-setup.js +37 -1
  339. package/src/test/global-setup.js.map +1 -0
  340. package/src/test/integration/api-fixtures.js +160 -1
  341. package/src/test/integration/api-fixtures.js.map +1 -0
  342. package/src/test/integration/seed.js +368 -1
  343. package/src/test/integration/seed.js.map +1 -0
  344. package/src/test/integration/test-helpers.js +154 -1
  345. package/src/test/integration/test-helpers.js.map +1 -0
  346. package/src/test/setup-test-env.js +7 -1
  347. package/src/test/setup-test-env.js.map +1 -0
  348. package/scripts/minify.mjs +0 -123
@@ -1,5 +1,9 @@
1
1
  import type * as runtime from "@prisma/client/runtime/client";
2
2
  import type * as Prisma from "../internal/prismaNamespace";
3
+ /**
4
+ * Model User
5
+ *
6
+ */
3
7
  export type UserModel = runtime.Types.Result.DefaultSelection<Prisma.$UserPayload>;
4
8
  export type AggregateUser = {
5
9
  _count: UserCountAggregateOutputType | null;
@@ -75,13 +79,51 @@ export type UserCountAggregateInputType = {
75
79
  _all?: true;
76
80
  };
77
81
  export type UserAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
82
+ /**
83
+ * Filter which User to aggregate.
84
+ */
78
85
  where?: Prisma.UserWhereInput;
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
88
+ *
89
+ * Determine the order of Users to fetch.
90
+ */
79
91
  orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[];
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
94
+ *
95
+ * Sets the start position
96
+ */
80
97
  cursor?: Prisma.UserWhereUniqueInput;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
100
+ *
101
+ * Take `±n` Users from the position of the cursor.
102
+ */
81
103
  take?: number;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
106
+ *
107
+ * Skip the first `n` Users.
108
+ */
82
109
  skip?: number;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
112
+ *
113
+ * Count returned Users
114
+ **/
83
115
  _count?: true | UserCountAggregateInputType;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
118
+ *
119
+ * Select which fields to find the minimum value
120
+ **/
84
121
  _min?: UserMinAggregateInputType;
122
+ /**
123
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
124
+ *
125
+ * Select which fields to find the maximum value
126
+ **/
85
127
  _max?: UserMaxAggregateInputType;
86
128
  };
87
129
  export type GetUserAggregateType<T extends UserAggregateArgs> = {
@@ -1075,6 +1117,9 @@ export type UserUncheckedUpdateManyWithoutShippingAddressesInput = {
1075
1117
  createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1076
1118
  updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1077
1119
  };
1120
+ /**
1121
+ * Count Type UserCountOutputType
1122
+ */
1078
1123
  export type UserCountOutputType = {
1079
1124
  sessions: number;
1080
1125
  accounts: number;
@@ -1093,27 +1138,54 @@ export type UserCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
1093
1138
  orders?: boolean | UserCountOutputTypeCountOrdersArgs;
1094
1139
  reservations?: boolean | UserCountOutputTypeCountReservationsArgs;
1095
1140
  };
1141
+ /**
1142
+ * UserCountOutputType without action
1143
+ */
1096
1144
  export type UserCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1145
+ /**
1146
+ * Select specific fields to fetch from the UserCountOutputType
1147
+ */
1097
1148
  select?: Prisma.UserCountOutputTypeSelect<ExtArgs> | null;
1098
1149
  };
1150
+ /**
1151
+ * UserCountOutputType without action
1152
+ */
1099
1153
  export type UserCountOutputTypeCountSessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1100
1154
  where?: Prisma.SessionWhereInput;
1101
1155
  };
1156
+ /**
1157
+ * UserCountOutputType without action
1158
+ */
1102
1159
  export type UserCountOutputTypeCountAccountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1103
1160
  where?: Prisma.AccountWhereInput;
1104
1161
  };
1162
+ /**
1163
+ * UserCountOutputType without action
1164
+ */
1105
1165
  export type UserCountOutputTypeCountMembersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1106
1166
  where?: Prisma.MemberWhereInput;
1107
1167
  };
1168
+ /**
1169
+ * UserCountOutputType without action
1170
+ */
1108
1171
  export type UserCountOutputTypeCountInvitationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1109
1172
  where?: Prisma.InvitationWhereInput;
1110
1173
  };
1174
+ /**
1175
+ * UserCountOutputType without action
1176
+ */
1111
1177
  export type UserCountOutputTypeCountShippingAddressesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1112
1178
  where?: Prisma.AddressWhereInput;
1113
1179
  };
1180
+ /**
1181
+ * UserCountOutputType without action
1182
+ */
1114
1183
  export type UserCountOutputTypeCountOrdersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1115
1184
  where?: Prisma.OrderWhereInput;
1116
1185
  };
1186
+ /**
1187
+ * UserCountOutputType without action
1188
+ */
1117
1189
  export type UserCountOutputTypeCountReservationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1118
1190
  where?: Prisma.ReservationWhereInput;
1119
1191
  };
@@ -1217,22 +1289,290 @@ export interface UserDelegate<ExtArgs extends runtime.Types.Extensions.InternalA
1217
1289
  name: 'User';
1218
1290
  };
1219
1291
  };
1292
+ /**
1293
+ * Find zero or one User that matches the filter.
1294
+ * @param {UserFindUniqueArgs} args - Arguments to find a User
1295
+ * @example
1296
+ * // Get one User
1297
+ * const user = await prisma.user.findUnique({
1298
+ * where: {
1299
+ * // ... provide filter here
1300
+ * }
1301
+ * })
1302
+ */
1220
1303
  findUnique<T extends UserFindUniqueArgs>(args: Prisma.SelectSubset<T, UserFindUniqueArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1304
+ /**
1305
+ * Find one User that matches the filter or throw an error with `error.code='P2025'`
1306
+ * if no matches were found.
1307
+ * @param {UserFindUniqueOrThrowArgs} args - Arguments to find a User
1308
+ * @example
1309
+ * // Get one User
1310
+ * const user = await prisma.user.findUniqueOrThrow({
1311
+ * where: {
1312
+ * // ... provide filter here
1313
+ * }
1314
+ * })
1315
+ */
1221
1316
  findUniqueOrThrow<T extends UserFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, UserFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1317
+ /**
1318
+ * Find the first User that matches the filter.
1319
+ * Note, that providing `undefined` is treated as the value not being there.
1320
+ * Read more here: https://pris.ly/d/null-undefined
1321
+ * @param {UserFindFirstArgs} args - Arguments to find a User
1322
+ * @example
1323
+ * // Get one User
1324
+ * const user = await prisma.user.findFirst({
1325
+ * where: {
1326
+ * // ... provide filter here
1327
+ * }
1328
+ * })
1329
+ */
1222
1330
  findFirst<T extends UserFindFirstArgs>(args?: Prisma.SelectSubset<T, UserFindFirstArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1331
+ /**
1332
+ * Find the first User that matches the filter or
1333
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1334
+ * Note, that providing `undefined` is treated as the value not being there.
1335
+ * Read more here: https://pris.ly/d/null-undefined
1336
+ * @param {UserFindFirstOrThrowArgs} args - Arguments to find a User
1337
+ * @example
1338
+ * // Get one User
1339
+ * const user = await prisma.user.findFirstOrThrow({
1340
+ * where: {
1341
+ * // ... provide filter here
1342
+ * }
1343
+ * })
1344
+ */
1223
1345
  findFirstOrThrow<T extends UserFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, UserFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1346
+ /**
1347
+ * Find zero or more Users that matches the filter.
1348
+ * Note, that providing `undefined` is treated as the value not being there.
1349
+ * Read more here: https://pris.ly/d/null-undefined
1350
+ * @param {UserFindManyArgs} args - Arguments to filter and select certain fields only.
1351
+ * @example
1352
+ * // Get all Users
1353
+ * const users = await prisma.user.findMany()
1354
+ *
1355
+ * // Get first 10 Users
1356
+ * const users = await prisma.user.findMany({ take: 10 })
1357
+ *
1358
+ * // Only select the `id`
1359
+ * const userWithIdOnly = await prisma.user.findMany({ select: { id: true } })
1360
+ *
1361
+ */
1224
1362
  findMany<T extends UserFindManyArgs>(args?: Prisma.SelectSubset<T, UserFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1363
+ /**
1364
+ * Create a User.
1365
+ * @param {UserCreateArgs} args - Arguments to create a User.
1366
+ * @example
1367
+ * // Create one User
1368
+ * const User = await prisma.user.create({
1369
+ * data: {
1370
+ * // ... data to create a User
1371
+ * }
1372
+ * })
1373
+ *
1374
+ */
1225
1375
  create<T extends UserCreateArgs>(args: Prisma.SelectSubset<T, UserCreateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1376
+ /**
1377
+ * Create many Users.
1378
+ * @param {UserCreateManyArgs} args - Arguments to create many Users.
1379
+ * @example
1380
+ * // Create many Users
1381
+ * const user = await prisma.user.createMany({
1382
+ * data: [
1383
+ * // ... provide data here
1384
+ * ]
1385
+ * })
1386
+ *
1387
+ */
1226
1388
  createMany<T extends UserCreateManyArgs>(args?: Prisma.SelectSubset<T, UserCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1389
+ /**
1390
+ * Create many Users and returns the data saved in the database.
1391
+ * @param {UserCreateManyAndReturnArgs} args - Arguments to create many Users.
1392
+ * @example
1393
+ * // Create many Users
1394
+ * const user = await prisma.user.createManyAndReturn({
1395
+ * data: [
1396
+ * // ... provide data here
1397
+ * ]
1398
+ * })
1399
+ *
1400
+ * // Create many Users and only return the `id`
1401
+ * const userWithIdOnly = await prisma.user.createManyAndReturn({
1402
+ * select: { id: true },
1403
+ * data: [
1404
+ * // ... provide data here
1405
+ * ]
1406
+ * })
1407
+ * Note, that providing `undefined` is treated as the value not being there.
1408
+ * Read more here: https://pris.ly/d/null-undefined
1409
+ *
1410
+ */
1227
1411
  createManyAndReturn<T extends UserCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, UserCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1412
+ /**
1413
+ * Delete a User.
1414
+ * @param {UserDeleteArgs} args - Arguments to delete one User.
1415
+ * @example
1416
+ * // Delete one User
1417
+ * const User = await prisma.user.delete({
1418
+ * where: {
1419
+ * // ... filter to delete one User
1420
+ * }
1421
+ * })
1422
+ *
1423
+ */
1228
1424
  delete<T extends UserDeleteArgs>(args: Prisma.SelectSubset<T, UserDeleteArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1425
+ /**
1426
+ * Update one User.
1427
+ * @param {UserUpdateArgs} args - Arguments to update one User.
1428
+ * @example
1429
+ * // Update one User
1430
+ * const user = await prisma.user.update({
1431
+ * where: {
1432
+ * // ... provide filter here
1433
+ * },
1434
+ * data: {
1435
+ * // ... provide data here
1436
+ * }
1437
+ * })
1438
+ *
1439
+ */
1229
1440
  update<T extends UserUpdateArgs>(args: Prisma.SelectSubset<T, UserUpdateArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1441
+ /**
1442
+ * Delete zero or more Users.
1443
+ * @param {UserDeleteManyArgs} args - Arguments to filter Users to delete.
1444
+ * @example
1445
+ * // Delete a few Users
1446
+ * const { count } = await prisma.user.deleteMany({
1447
+ * where: {
1448
+ * // ... provide filter here
1449
+ * }
1450
+ * })
1451
+ *
1452
+ */
1230
1453
  deleteMany<T extends UserDeleteManyArgs>(args?: Prisma.SelectSubset<T, UserDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1454
+ /**
1455
+ * Update zero or more Users.
1456
+ * Note, that providing `undefined` is treated as the value not being there.
1457
+ * Read more here: https://pris.ly/d/null-undefined
1458
+ * @param {UserUpdateManyArgs} args - Arguments to update one or more rows.
1459
+ * @example
1460
+ * // Update many Users
1461
+ * const user = await prisma.user.updateMany({
1462
+ * where: {
1463
+ * // ... provide filter here
1464
+ * },
1465
+ * data: {
1466
+ * // ... provide data here
1467
+ * }
1468
+ * })
1469
+ *
1470
+ */
1231
1471
  updateMany<T extends UserUpdateManyArgs>(args: Prisma.SelectSubset<T, UserUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1472
+ /**
1473
+ * Update zero or more Users and returns the data updated in the database.
1474
+ * @param {UserUpdateManyAndReturnArgs} args - Arguments to update many Users.
1475
+ * @example
1476
+ * // Update many Users
1477
+ * const user = await prisma.user.updateManyAndReturn({
1478
+ * where: {
1479
+ * // ... provide filter here
1480
+ * },
1481
+ * data: [
1482
+ * // ... provide data here
1483
+ * ]
1484
+ * })
1485
+ *
1486
+ * // Update zero or more Users and only return the `id`
1487
+ * const userWithIdOnly = await prisma.user.updateManyAndReturn({
1488
+ * select: { id: true },
1489
+ * where: {
1490
+ * // ... provide filter here
1491
+ * },
1492
+ * data: [
1493
+ * // ... provide data here
1494
+ * ]
1495
+ * })
1496
+ * Note, that providing `undefined` is treated as the value not being there.
1497
+ * Read more here: https://pris.ly/d/null-undefined
1498
+ *
1499
+ */
1232
1500
  updateManyAndReturn<T extends UserUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, UserUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1501
+ /**
1502
+ * Create or update one User.
1503
+ * @param {UserUpsertArgs} args - Arguments to update or create a User.
1504
+ * @example
1505
+ * // Update or create a User
1506
+ * const user = await prisma.user.upsert({
1507
+ * create: {
1508
+ * // ... data to create a User
1509
+ * },
1510
+ * update: {
1511
+ * // ... in case it already exists, update
1512
+ * },
1513
+ * where: {
1514
+ * // ... the filter for the User we want to update
1515
+ * }
1516
+ * })
1517
+ */
1233
1518
  upsert<T extends UserUpsertArgs>(args: Prisma.SelectSubset<T, UserUpsertArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1519
+ /**
1520
+ * Count the number of Users.
1521
+ * Note, that providing `undefined` is treated as the value not being there.
1522
+ * Read more here: https://pris.ly/d/null-undefined
1523
+ * @param {UserCountArgs} args - Arguments to filter Users to count.
1524
+ * @example
1525
+ * // Count the number of Users
1526
+ * const count = await prisma.user.count({
1527
+ * where: {
1528
+ * // ... the filter for the Users we want to count
1529
+ * }
1530
+ * })
1531
+ **/
1234
1532
  count<T extends UserCountArgs>(args?: Prisma.Subset<T, UserCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], UserCountAggregateOutputType> : number>;
1533
+ /**
1534
+ * Allows you to perform aggregations operations on a User.
1535
+ * Note, that providing `undefined` is treated as the value not being there.
1536
+ * Read more here: https://pris.ly/d/null-undefined
1537
+ * @param {UserAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1538
+ * @example
1539
+ * // Ordered by age ascending
1540
+ * // Where email contains prisma.io
1541
+ * // Limited to the 10 users
1542
+ * const aggregations = await prisma.user.aggregate({
1543
+ * _avg: {
1544
+ * age: true,
1545
+ * },
1546
+ * where: {
1547
+ * email: {
1548
+ * contains: "prisma.io",
1549
+ * },
1550
+ * },
1551
+ * orderBy: {
1552
+ * age: "asc",
1553
+ * },
1554
+ * take: 10,
1555
+ * })
1556
+ **/
1235
1557
  aggregate<T extends UserAggregateArgs>(args: Prisma.Subset<T, UserAggregateArgs>): Prisma.PrismaPromise<GetUserAggregateType<T>>;
1558
+ /**
1559
+ * Group by User.
1560
+ * Note, that providing `undefined` is treated as the value not being there.
1561
+ * Read more here: https://pris.ly/d/null-undefined
1562
+ * @param {UserGroupByArgs} args - Group by arguments.
1563
+ * @example
1564
+ * // Group by city, order by createdAt, get count
1565
+ * const result = await prisma.user.groupBy({
1566
+ * by: ['city', 'createdAt'],
1567
+ * orderBy: {
1568
+ * createdAt: true
1569
+ * },
1570
+ * _count: {
1571
+ * _all: true
1572
+ * },
1573
+ * })
1574
+ *
1575
+ **/
1236
1576
  groupBy<T extends UserGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1237
1577
  orderBy: UserGroupByArgs['orderBy'];
1238
1578
  } : {
@@ -1251,8 +1591,17 @@ export interface UserDelegate<ExtArgs extends runtime.Types.Extensions.InternalA
1251
1591
  }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1252
1592
  [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1253
1593
  }[OrderFields]>(args: Prisma.SubsetIntersection<T, UserGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetUserGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1594
+ /**
1595
+ * Fields of the User model
1596
+ */
1254
1597
  readonly fields: UserFieldRefs;
1255
1598
  }
1599
+ /**
1600
+ * The delegate class that acts as a "Promise-like" for User.
1601
+ * Why is this prefixed with `Prisma__`?
1602
+ * Because we want to prevent naming conflicts as mentioned in
1603
+ * https://github.com/prisma/prisma-client-js/issues/707
1604
+ */
1256
1605
  export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1257
1606
  readonly [Symbol.toStringTag]: "PrismaPromise";
1258
1607
  sessions<T extends Prisma.User$sessionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$sessionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SessionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
@@ -1262,10 +1611,30 @@ export interface Prisma__UserClient<T, Null = never, ExtArgs extends runtime.Typ
1262
1611
  shippingAddresses<T extends Prisma.User$shippingAddressesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$shippingAddressesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$AddressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1263
1612
  orders<T extends Prisma.User$ordersArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$ordersArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrderPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1264
1613
  reservations<T extends Prisma.User$reservationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.User$reservationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1614
+ /**
1615
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1616
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1617
+ * @param onrejected The callback to execute when the Promise is rejected.
1618
+ * @returns A Promise for the completion of which ever callback is executed.
1619
+ */
1265
1620
  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>;
1621
+ /**
1622
+ * Attaches a callback for only the rejection of the Promise.
1623
+ * @param onrejected The callback to execute when the Promise is rejected.
1624
+ * @returns A Promise for the completion of the callback.
1625
+ */
1266
1626
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1627
+ /**
1628
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1629
+ * resolved value cannot be modified from the callback.
1630
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1631
+ * @returns A Promise for the completion of the callback.
1632
+ */
1267
1633
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1268
1634
  }
1635
+ /**
1636
+ * Fields of the User model
1637
+ */
1269
1638
  export interface UserFieldRefs {
1270
1639
  readonly id: Prisma.FieldRef<"User", 'String'>;
1271
1640
  readonly name: Prisma.FieldRef<"User", 'String'>;
@@ -1277,107 +1646,395 @@ export interface UserFieldRefs {
1277
1646
  readonly createdAt: Prisma.FieldRef<"User", 'DateTime'>;
1278
1647
  readonly updatedAt: Prisma.FieldRef<"User", 'DateTime'>;
1279
1648
  }
1649
+ /**
1650
+ * User findUnique
1651
+ */
1280
1652
  export type UserFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1653
+ /**
1654
+ * Select specific fields to fetch from the User
1655
+ */
1281
1656
  select?: Prisma.UserSelect<ExtArgs> | null;
1657
+ /**
1658
+ * Omit specific fields from the User
1659
+ */
1282
1660
  omit?: Prisma.UserOmit<ExtArgs> | null;
1661
+ /**
1662
+ * Choose, which related nodes to fetch as well
1663
+ */
1283
1664
  include?: Prisma.UserInclude<ExtArgs> | null;
1665
+ /**
1666
+ * Filter, which User to fetch.
1667
+ */
1284
1668
  where: Prisma.UserWhereUniqueInput;
1285
1669
  };
1670
+ /**
1671
+ * User findUniqueOrThrow
1672
+ */
1286
1673
  export type UserFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1674
+ /**
1675
+ * Select specific fields to fetch from the User
1676
+ */
1287
1677
  select?: Prisma.UserSelect<ExtArgs> | null;
1678
+ /**
1679
+ * Omit specific fields from the User
1680
+ */
1288
1681
  omit?: Prisma.UserOmit<ExtArgs> | null;
1682
+ /**
1683
+ * Choose, which related nodes to fetch as well
1684
+ */
1289
1685
  include?: Prisma.UserInclude<ExtArgs> | null;
1686
+ /**
1687
+ * Filter, which User to fetch.
1688
+ */
1290
1689
  where: Prisma.UserWhereUniqueInput;
1291
1690
  };
1691
+ /**
1692
+ * User findFirst
1693
+ */
1292
1694
  export type UserFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1695
+ /**
1696
+ * Select specific fields to fetch from the User
1697
+ */
1293
1698
  select?: Prisma.UserSelect<ExtArgs> | null;
1699
+ /**
1700
+ * Omit specific fields from the User
1701
+ */
1294
1702
  omit?: Prisma.UserOmit<ExtArgs> | null;
1703
+ /**
1704
+ * Choose, which related nodes to fetch as well
1705
+ */
1295
1706
  include?: Prisma.UserInclude<ExtArgs> | null;
1707
+ /**
1708
+ * Filter, which User to fetch.
1709
+ */
1296
1710
  where?: Prisma.UserWhereInput;
1711
+ /**
1712
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1713
+ *
1714
+ * Determine the order of Users to fetch.
1715
+ */
1297
1716
  orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[];
1717
+ /**
1718
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1719
+ *
1720
+ * Sets the position for searching for Users.
1721
+ */
1298
1722
  cursor?: Prisma.UserWhereUniqueInput;
1723
+ /**
1724
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1725
+ *
1726
+ * Take `±n` Users from the position of the cursor.
1727
+ */
1299
1728
  take?: number;
1729
+ /**
1730
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1731
+ *
1732
+ * Skip the first `n` Users.
1733
+ */
1300
1734
  skip?: number;
1735
+ /**
1736
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1737
+ *
1738
+ * Filter by unique combinations of Users.
1739
+ */
1301
1740
  distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[];
1302
1741
  };
1742
+ /**
1743
+ * User findFirstOrThrow
1744
+ */
1303
1745
  export type UserFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1746
+ /**
1747
+ * Select specific fields to fetch from the User
1748
+ */
1304
1749
  select?: Prisma.UserSelect<ExtArgs> | null;
1750
+ /**
1751
+ * Omit specific fields from the User
1752
+ */
1305
1753
  omit?: Prisma.UserOmit<ExtArgs> | null;
1754
+ /**
1755
+ * Choose, which related nodes to fetch as well
1756
+ */
1306
1757
  include?: Prisma.UserInclude<ExtArgs> | null;
1758
+ /**
1759
+ * Filter, which User to fetch.
1760
+ */
1307
1761
  where?: Prisma.UserWhereInput;
1762
+ /**
1763
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1764
+ *
1765
+ * Determine the order of Users to fetch.
1766
+ */
1308
1767
  orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[];
1768
+ /**
1769
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1770
+ *
1771
+ * Sets the position for searching for Users.
1772
+ */
1309
1773
  cursor?: Prisma.UserWhereUniqueInput;
1774
+ /**
1775
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1776
+ *
1777
+ * Take `±n` Users from the position of the cursor.
1778
+ */
1310
1779
  take?: number;
1780
+ /**
1781
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1782
+ *
1783
+ * Skip the first `n` Users.
1784
+ */
1311
1785
  skip?: number;
1786
+ /**
1787
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1788
+ *
1789
+ * Filter by unique combinations of Users.
1790
+ */
1312
1791
  distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[];
1313
1792
  };
1793
+ /**
1794
+ * User findMany
1795
+ */
1314
1796
  export type UserFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1797
+ /**
1798
+ * Select specific fields to fetch from the User
1799
+ */
1315
1800
  select?: Prisma.UserSelect<ExtArgs> | null;
1801
+ /**
1802
+ * Omit specific fields from the User
1803
+ */
1316
1804
  omit?: Prisma.UserOmit<ExtArgs> | null;
1805
+ /**
1806
+ * Choose, which related nodes to fetch as well
1807
+ */
1317
1808
  include?: Prisma.UserInclude<ExtArgs> | null;
1809
+ /**
1810
+ * Filter, which Users to fetch.
1811
+ */
1318
1812
  where?: Prisma.UserWhereInput;
1813
+ /**
1814
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1815
+ *
1816
+ * Determine the order of Users to fetch.
1817
+ */
1319
1818
  orderBy?: Prisma.UserOrderByWithRelationInput | Prisma.UserOrderByWithRelationInput[];
1819
+ /**
1820
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1821
+ *
1822
+ * Sets the position for listing Users.
1823
+ */
1320
1824
  cursor?: Prisma.UserWhereUniqueInput;
1825
+ /**
1826
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1827
+ *
1828
+ * Take `±n` Users from the position of the cursor.
1829
+ */
1321
1830
  take?: number;
1831
+ /**
1832
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1833
+ *
1834
+ * Skip the first `n` Users.
1835
+ */
1322
1836
  skip?: number;
1837
+ /**
1838
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1839
+ *
1840
+ * Filter by unique combinations of Users.
1841
+ */
1323
1842
  distinct?: Prisma.UserScalarFieldEnum | Prisma.UserScalarFieldEnum[];
1324
1843
  };
1844
+ /**
1845
+ * User create
1846
+ */
1325
1847
  export type UserCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1848
+ /**
1849
+ * Select specific fields to fetch from the User
1850
+ */
1326
1851
  select?: Prisma.UserSelect<ExtArgs> | null;
1852
+ /**
1853
+ * Omit specific fields from the User
1854
+ */
1327
1855
  omit?: Prisma.UserOmit<ExtArgs> | null;
1856
+ /**
1857
+ * Choose, which related nodes to fetch as well
1858
+ */
1328
1859
  include?: Prisma.UserInclude<ExtArgs> | null;
1860
+ /**
1861
+ * The data needed to create a User.
1862
+ */
1329
1863
  data: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>;
1330
1864
  };
1865
+ /**
1866
+ * User createMany
1867
+ */
1331
1868
  export type UserCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1869
+ /**
1870
+ * The data used to create many Users.
1871
+ */
1332
1872
  data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[];
1333
1873
  skipDuplicates?: boolean;
1334
1874
  };
1875
+ /**
1876
+ * User createManyAndReturn
1877
+ */
1335
1878
  export type UserCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1879
+ /**
1880
+ * Select specific fields to fetch from the User
1881
+ */
1336
1882
  select?: Prisma.UserSelectCreateManyAndReturn<ExtArgs> | null;
1883
+ /**
1884
+ * Omit specific fields from the User
1885
+ */
1337
1886
  omit?: Prisma.UserOmit<ExtArgs> | null;
1887
+ /**
1888
+ * The data used to create many Users.
1889
+ */
1338
1890
  data: Prisma.UserCreateManyInput | Prisma.UserCreateManyInput[];
1339
1891
  skipDuplicates?: boolean;
1340
1892
  };
1893
+ /**
1894
+ * User update
1895
+ */
1341
1896
  export type UserUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1897
+ /**
1898
+ * Select specific fields to fetch from the User
1899
+ */
1342
1900
  select?: Prisma.UserSelect<ExtArgs> | null;
1901
+ /**
1902
+ * Omit specific fields from the User
1903
+ */
1343
1904
  omit?: Prisma.UserOmit<ExtArgs> | null;
1905
+ /**
1906
+ * Choose, which related nodes to fetch as well
1907
+ */
1344
1908
  include?: Prisma.UserInclude<ExtArgs> | null;
1909
+ /**
1910
+ * The data needed to update a User.
1911
+ */
1345
1912
  data: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>;
1913
+ /**
1914
+ * Choose, which User to update.
1915
+ */
1346
1916
  where: Prisma.UserWhereUniqueInput;
1347
1917
  };
1918
+ /**
1919
+ * User updateMany
1920
+ */
1348
1921
  export type UserUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1922
+ /**
1923
+ * The data used to update Users.
1924
+ */
1349
1925
  data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput>;
1926
+ /**
1927
+ * Filter which Users to update
1928
+ */
1350
1929
  where?: Prisma.UserWhereInput;
1930
+ /**
1931
+ * Limit how many Users to update.
1932
+ */
1351
1933
  limit?: number;
1352
1934
  };
1935
+ /**
1936
+ * User updateManyAndReturn
1937
+ */
1353
1938
  export type UserUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1939
+ /**
1940
+ * Select specific fields to fetch from the User
1941
+ */
1354
1942
  select?: Prisma.UserSelectUpdateManyAndReturn<ExtArgs> | null;
1943
+ /**
1944
+ * Omit specific fields from the User
1945
+ */
1355
1946
  omit?: Prisma.UserOmit<ExtArgs> | null;
1947
+ /**
1948
+ * The data used to update Users.
1949
+ */
1356
1950
  data: Prisma.XOR<Prisma.UserUpdateManyMutationInput, Prisma.UserUncheckedUpdateManyInput>;
1951
+ /**
1952
+ * Filter which Users to update
1953
+ */
1357
1954
  where?: Prisma.UserWhereInput;
1955
+ /**
1956
+ * Limit how many Users to update.
1957
+ */
1358
1958
  limit?: number;
1359
1959
  };
1960
+ /**
1961
+ * User upsert
1962
+ */
1360
1963
  export type UserUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1964
+ /**
1965
+ * Select specific fields to fetch from the User
1966
+ */
1361
1967
  select?: Prisma.UserSelect<ExtArgs> | null;
1968
+ /**
1969
+ * Omit specific fields from the User
1970
+ */
1362
1971
  omit?: Prisma.UserOmit<ExtArgs> | null;
1972
+ /**
1973
+ * Choose, which related nodes to fetch as well
1974
+ */
1363
1975
  include?: Prisma.UserInclude<ExtArgs> | null;
1976
+ /**
1977
+ * The filter to search for the User to update in case it exists.
1978
+ */
1364
1979
  where: Prisma.UserWhereUniqueInput;
1980
+ /**
1981
+ * In case the User found by the `where` argument doesn't exist, create a new User with this data.
1982
+ */
1365
1983
  create: Prisma.XOR<Prisma.UserCreateInput, Prisma.UserUncheckedCreateInput>;
1984
+ /**
1985
+ * In case the User was found with the provided `where` argument, update it with this data.
1986
+ */
1366
1987
  update: Prisma.XOR<Prisma.UserUpdateInput, Prisma.UserUncheckedUpdateInput>;
1367
1988
  };
1989
+ /**
1990
+ * User delete
1991
+ */
1368
1992
  export type UserDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1993
+ /**
1994
+ * Select specific fields to fetch from the User
1995
+ */
1369
1996
  select?: Prisma.UserSelect<ExtArgs> | null;
1997
+ /**
1998
+ * Omit specific fields from the User
1999
+ */
1370
2000
  omit?: Prisma.UserOmit<ExtArgs> | null;
2001
+ /**
2002
+ * Choose, which related nodes to fetch as well
2003
+ */
1371
2004
  include?: Prisma.UserInclude<ExtArgs> | null;
2005
+ /**
2006
+ * Filter which User to delete.
2007
+ */
1372
2008
  where: Prisma.UserWhereUniqueInput;
1373
2009
  };
2010
+ /**
2011
+ * User deleteMany
2012
+ */
1374
2013
  export type UserDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2014
+ /**
2015
+ * Filter which Users to delete
2016
+ */
1375
2017
  where?: Prisma.UserWhereInput;
2018
+ /**
2019
+ * Limit how many Users to delete.
2020
+ */
1376
2021
  limit?: number;
1377
2022
  };
2023
+ /**
2024
+ * User.sessions
2025
+ */
1378
2026
  export type User$sessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2027
+ /**
2028
+ * Select specific fields to fetch from the Session
2029
+ */
1379
2030
  select?: Prisma.SessionSelect<ExtArgs> | null;
2031
+ /**
2032
+ * Omit specific fields from the Session
2033
+ */
1380
2034
  omit?: Prisma.SessionOmit<ExtArgs> | null;
2035
+ /**
2036
+ * Choose, which related nodes to fetch as well
2037
+ */
1381
2038
  include?: Prisma.SessionInclude<ExtArgs> | null;
1382
2039
  where?: Prisma.SessionWhereInput;
1383
2040
  orderBy?: Prisma.SessionOrderByWithRelationInput | Prisma.SessionOrderByWithRelationInput[];
@@ -1386,9 +2043,21 @@ export type User$sessionsArgs<ExtArgs extends runtime.Types.Extensions.InternalA
1386
2043
  skip?: number;
1387
2044
  distinct?: Prisma.SessionScalarFieldEnum | Prisma.SessionScalarFieldEnum[];
1388
2045
  };
2046
+ /**
2047
+ * User.accounts
2048
+ */
1389
2049
  export type User$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2050
+ /**
2051
+ * Select specific fields to fetch from the Account
2052
+ */
1390
2053
  select?: Prisma.AccountSelect<ExtArgs> | null;
2054
+ /**
2055
+ * Omit specific fields from the Account
2056
+ */
1391
2057
  omit?: Prisma.AccountOmit<ExtArgs> | null;
2058
+ /**
2059
+ * Choose, which related nodes to fetch as well
2060
+ */
1392
2061
  include?: Prisma.AccountInclude<ExtArgs> | null;
1393
2062
  where?: Prisma.AccountWhereInput;
1394
2063
  orderBy?: Prisma.AccountOrderByWithRelationInput | Prisma.AccountOrderByWithRelationInput[];
@@ -1397,9 +2066,21 @@ export type User$accountsArgs<ExtArgs extends runtime.Types.Extensions.InternalA
1397
2066
  skip?: number;
1398
2067
  distinct?: Prisma.AccountScalarFieldEnum | Prisma.AccountScalarFieldEnum[];
1399
2068
  };
2069
+ /**
2070
+ * User.members
2071
+ */
1400
2072
  export type User$membersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2073
+ /**
2074
+ * Select specific fields to fetch from the Member
2075
+ */
1401
2076
  select?: Prisma.MemberSelect<ExtArgs> | null;
2077
+ /**
2078
+ * Omit specific fields from the Member
2079
+ */
1402
2080
  omit?: Prisma.MemberOmit<ExtArgs> | null;
2081
+ /**
2082
+ * Choose, which related nodes to fetch as well
2083
+ */
1403
2084
  include?: Prisma.MemberInclude<ExtArgs> | null;
1404
2085
  where?: Prisma.MemberWhereInput;
1405
2086
  orderBy?: Prisma.MemberOrderByWithRelationInput | Prisma.MemberOrderByWithRelationInput[];
@@ -1408,9 +2089,21 @@ export type User$membersArgs<ExtArgs extends runtime.Types.Extensions.InternalAr
1408
2089
  skip?: number;
1409
2090
  distinct?: Prisma.MemberScalarFieldEnum | Prisma.MemberScalarFieldEnum[];
1410
2091
  };
2092
+ /**
2093
+ * User.invitations
2094
+ */
1411
2095
  export type User$invitationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2096
+ /**
2097
+ * Select specific fields to fetch from the Invitation
2098
+ */
1412
2099
  select?: Prisma.InvitationSelect<ExtArgs> | null;
2100
+ /**
2101
+ * Omit specific fields from the Invitation
2102
+ */
1413
2103
  omit?: Prisma.InvitationOmit<ExtArgs> | null;
2104
+ /**
2105
+ * Choose, which related nodes to fetch as well
2106
+ */
1414
2107
  include?: Prisma.InvitationInclude<ExtArgs> | null;
1415
2108
  where?: Prisma.InvitationWhereInput;
1416
2109
  orderBy?: Prisma.InvitationOrderByWithRelationInput | Prisma.InvitationOrderByWithRelationInput[];
@@ -1419,9 +2112,21 @@ export type User$invitationsArgs<ExtArgs extends runtime.Types.Extensions.Intern
1419
2112
  skip?: number;
1420
2113
  distinct?: Prisma.InvitationScalarFieldEnum | Prisma.InvitationScalarFieldEnum[];
1421
2114
  };
2115
+ /**
2116
+ * User.shippingAddresses
2117
+ */
1422
2118
  export type User$shippingAddressesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2119
+ /**
2120
+ * Select specific fields to fetch from the Address
2121
+ */
1423
2122
  select?: Prisma.AddressSelect<ExtArgs> | null;
2123
+ /**
2124
+ * Omit specific fields from the Address
2125
+ */
1424
2126
  omit?: Prisma.AddressOmit<ExtArgs> | null;
2127
+ /**
2128
+ * Choose, which related nodes to fetch as well
2129
+ */
1425
2130
  include?: Prisma.AddressInclude<ExtArgs> | null;
1426
2131
  where?: Prisma.AddressWhereInput;
1427
2132
  orderBy?: Prisma.AddressOrderByWithRelationInput | Prisma.AddressOrderByWithRelationInput[];
@@ -1430,9 +2135,21 @@ export type User$shippingAddressesArgs<ExtArgs extends runtime.Types.Extensions.
1430
2135
  skip?: number;
1431
2136
  distinct?: Prisma.AddressScalarFieldEnum | Prisma.AddressScalarFieldEnum[];
1432
2137
  };
2138
+ /**
2139
+ * User.orders
2140
+ */
1433
2141
  export type User$ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2142
+ /**
2143
+ * Select specific fields to fetch from the Order
2144
+ */
1434
2145
  select?: Prisma.OrderSelect<ExtArgs> | null;
2146
+ /**
2147
+ * Omit specific fields from the Order
2148
+ */
1435
2149
  omit?: Prisma.OrderOmit<ExtArgs> | null;
2150
+ /**
2151
+ * Choose, which related nodes to fetch as well
2152
+ */
1436
2153
  include?: Prisma.OrderInclude<ExtArgs> | null;
1437
2154
  where?: Prisma.OrderWhereInput;
1438
2155
  orderBy?: Prisma.OrderOrderByWithRelationInput | Prisma.OrderOrderByWithRelationInput[];
@@ -1441,9 +2158,21 @@ export type User$ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArg
1441
2158
  skip?: number;
1442
2159
  distinct?: Prisma.OrderScalarFieldEnum | Prisma.OrderScalarFieldEnum[];
1443
2160
  };
2161
+ /**
2162
+ * User.reservations
2163
+ */
1444
2164
  export type User$reservationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2165
+ /**
2166
+ * Select specific fields to fetch from the Reservation
2167
+ */
1445
2168
  select?: Prisma.ReservationSelect<ExtArgs> | null;
2169
+ /**
2170
+ * Omit specific fields from the Reservation
2171
+ */
1446
2172
  omit?: Prisma.ReservationOmit<ExtArgs> | null;
2173
+ /**
2174
+ * Choose, which related nodes to fetch as well
2175
+ */
1447
2176
  include?: Prisma.ReservationInclude<ExtArgs> | null;
1448
2177
  where?: Prisma.ReservationWhereInput;
1449
2178
  orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
@@ -1452,9 +2181,21 @@ export type User$reservationsArgs<ExtArgs extends runtime.Types.Extensions.Inter
1452
2181
  skip?: number;
1453
2182
  distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
1454
2183
  };
2184
+ /**
2185
+ * User without action
2186
+ */
1455
2187
  export type UserDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2188
+ /**
2189
+ * Select specific fields to fetch from the User
2190
+ */
1456
2191
  select?: Prisma.UserSelect<ExtArgs> | null;
2192
+ /**
2193
+ * Omit specific fields from the User
2194
+ */
1457
2195
  omit?: Prisma.UserOmit<ExtArgs> | null;
2196
+ /**
2197
+ * Choose, which related nodes to fetch as well
2198
+ */
1458
2199
  include?: Prisma.UserInclude<ExtArgs> | null;
1459
2200
  };
1460
2201
  export {};