@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 +1,541 @@
1
- import*as e from"@prisma/client/runtime/client";export const PrismaClientKnownRequestError=e.PrismaClientKnownRequestError;export const PrismaClientUnknownRequestError=e.PrismaClientUnknownRequestError;export const PrismaClientRustPanicError=e.PrismaClientRustPanicError;export const PrismaClientInitializationError=e.PrismaClientInitializationError;export const PrismaClientValidationError=e.PrismaClientValidationError;export const sql=e.sqltag;export const empty=e.empty;export const join=e.join;export const raw=e.raw;export const Sql=e.Sql;export const Decimal=e.Decimal;export const getExtensionContext=e.Extensions.getExtensionContext;export const prismaVersion={client:"7.5.0",engine:"280c870be64f457428992c43c1f6d557fab6e29e"};export const NullTypes={DbNull:e.NullTypes.DbNull,JsonNull:e.NullTypes.JsonNull,AnyNull:e.NullTypes.AnyNull};export const DbNull=e.DbNull;export const JsonNull=e.JsonNull;export const AnyNull=e.AnyNull;export const ModelName={User:"User",Session:"Session",Account:"Account",Verification:"Verification",Member:"Member",Invitation:"Invitation",Organization:"Organization",OpeningTimes:"OpeningTimes",ClosingTimes:"ClosingTimes",OrganizationConfiguration:"OrganizationConfiguration",Address:"Address",LegalEntity:"LegalEntity",File:"File",Manufacturer:"Manufacturer",ManufacturerTranslation:"ManufacturerTranslation",ProductCategory:"ProductCategory",ProductCategoryTranslation:"ProductCategoryTranslation",Product:"Product",ProductSnapshot:"ProductSnapshot",ProductTranslation:"ProductTranslation",ModifierGroup:"ModifierGroup",ModifierGroupTranslation:"ModifierGroupTranslation",Modifier:"Modifier",Order:"Order",OrderItem:"OrderItem",OrderItemTranslation:"OrderItemTranslation",Payment:"Payment",PaymentSession:"PaymentSession",Campaign:"Campaign",ShippingMethod:"ShippingMethod",ShippingZone:"ShippingZone",Reservation:"Reservation"};export const TransactionIsolationLevel=e.makeStrictEnum({ReadUncommitted:"ReadUncommitted",ReadCommitted:"ReadCommitted",RepeatableRead:"RepeatableRead",Serializable:"Serializable"});export const UserScalarFieldEnum={id:"id",name:"name",firstname:"firstname",lastname:"lastname",email:"email",emailVerified:"emailVerified",image:"image",createdAt:"createdAt",updatedAt:"updatedAt"};export const SessionScalarFieldEnum={id:"id",expiresAt:"expiresAt",token:"token",createdAt:"createdAt",updatedAt:"updatedAt",ipAddress:"ipAddress",userAgent:"userAgent",userId:"userId",activeOrganizationId:"activeOrganizationId"};export const AccountScalarFieldEnum={id:"id",accountId:"accountId",providerId:"providerId",userId:"userId",accessToken:"accessToken",refreshToken:"refreshToken",idToken:"idToken",accessTokenExpiresAt:"accessTokenExpiresAt",refreshTokenExpiresAt:"refreshTokenExpiresAt",scope:"scope",password:"password",createdAt:"createdAt",updatedAt:"updatedAt"};export const VerificationScalarFieldEnum={id:"id",identifier:"identifier",value:"value",expiresAt:"expiresAt",createdAt:"createdAt",updatedAt:"updatedAt"};export const MemberScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",role:"role",createdAt:"createdAt"};export const InvitationScalarFieldEnum={id:"id",organizationId:"organizationId",email:"email",role:"role",status:"status",expiresAt:"expiresAt",inviterId:"inviterId"};export const OrganizationScalarFieldEnum={id:"id",name:"name",slug:"slug",phone:"phone",email:"email",legalEntityId:"legalEntityId",addressId:"addressId",configurationId:"configurationId",logo:"logo",logoId:"logoId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"};export const OpeningTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"};export const ClosingTimesScalarFieldEnum={id:"id",monday:"monday",tuesday:"tuesday",wednesday:"wednesday",thursday:"thursday",friday:"friday",saturday:"saturday",sunday:"sunday"};export const OrganizationConfigurationScalarFieldEnum={id:"id",hostname:"hostname",countriesShipping:"countriesShipping",stripeAccountId:"stripeAccountId",enableHostCheckout:"enableHostCheckout",enableHostTracking:"enableHostTracking",isAcceptingOrders:"isAcceptingOrders",defaultCurrency:"defaultCurrency",defaultLocale:"defaultLocale",supportedLocales:"supportedLocales",openingTimesId:"openingTimesId",closingTimesId:"closingTimesId",facebookProfile:"facebookProfile",instagramProfile:"instagramProfile",xProfile:"xProfile",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"};export const AddressScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",phone:"phone",addressLineOne:"addressLineOne",doorNumber:"doorNumber",addressLineTwo:"addressLineTwo",zipCode:"zipCode",placeId:"placeId",deliveryInstructions:"deliveryInstructions",city:"city",country:"country",latitude:"latitude",longitude:"longitude",isDefault:"isDefault",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"};export const LegalEntityScalarFieldEnum={id:"id",name:"name",taxId:"taxId",addressId:"addressId",email:"email",phone:"phone",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"};export const FileScalarFieldEnum={id:"id",mimeType:"mimeType",size:"size",filename:"filename",url:"url",status:"status",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"};export const ManufacturerScalarFieldEnum={id:"id",name:"name",logoId:"logoId",organizationId:"organizationId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy"};export const ManufacturerTranslationScalarFieldEnum={id:"id",locale:"locale",about:"about",manufacturerId:"manufacturerId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"};export const ProductCategoryScalarFieldEnum={id:"id",slug:"slug",organizationId:"organizationId",priority:"priority",imageId:"imageId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",publishedAt:"publishedAt",publishedBy:"publishedBy"};export const ProductCategoryTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productCategoryId:"productCategoryId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"};export const ProductScalarFieldEnum={id:"id",content:"content",slug:"slug",sku:"sku",basePrice:"basePrice",discountedBasePrice:"discountedBasePrice",currency:"currency",organizationId:"organizationId",manufacturerId:"manufacturerId",tags:"tags",metadata:"metadata",publishedAt:"publishedAt",publishedBy:"publishedBy",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy",latestSnapshotId:"latestSnapshotId"};export const ProductSnapshotScalarFieldEnum={id:"id",productId:"productId",data:"data",createdAt:"createdAt",createdBy:"createdBy"};export const ProductTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",productId:"productId",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"};export const ModifierGroupScalarFieldEnum={id:"id",selectMin:"selectMin",selectMax:"selectMax",createdAt:"createdAt",updatedAt:"updatedAt"};export const ModifierGroupTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",description:"description",modifierGroupId:"modifierGroupId"};export const ModifierScalarFieldEnum={id:"id",title:"title",description:"description",sku:"sku",price:"price",modifierGroupId:"modifierGroupId"};export const OrderScalarFieldEnum={id:"id",organizationId:"organizationId",userId:"userId",paymentId:"paymentId",token:"token",expiresAt:"expiresAt",referenceId:"referenceId",fulfilmentMethod:"fulfilmentMethod",shippingMethodId:"shippingMethodId",shippingAddressId:"shippingAddressId",dateOfExecution:"dateOfExecution",currency:"currency",sourceIp:"sourceIp",acceptedAt:"acceptedAt",readyForDispatchAt:"readyForDispatchAt",dispatchedAt:"dispatchedAt",completedAt:"completedAt",cancelledAt:"cancelledAt",deletedAt:"deletedAt",deletedBy:"deletedBy",createdAt:"createdAt",updatedAt:"updatedAt"};export const OrderItemScalarFieldEnum={id:"id",quantity:"quantity",unitPrice:"unitPrice",totalPrice:"totalPrice",orderId:"orderId",rawData:"rawData",productSnapshotId:"productSnapshotId",imageId:"imageId"};export const OrderItemTranslationScalarFieldEnum={id:"id",locale:"locale",title:"title",subtitle:"subtitle",orderItemId:"orderItemId"};export const PaymentScalarFieldEnum={id:"id",method:"method",provider:"provider",shipping:"shipping",subtotal:"subtotal",total:"total",discount:"discount",currency:"currency",status:"status",createdAt:"createdAt",updatedAt:"updatedAt"};export const PaymentSessionScalarFieldEnum={id:"id",referenceId:"referenceId",amount:"amount",currency:"currency",rawData:"rawData",capturedAt:"capturedAt",expiredAt:"expiredAt",createdAt:"createdAt",updatedAt:"updatedAt",paymentId:"paymentId"};export const CampaignScalarFieldEnum={id:"id",title:"title",type:"type",validFrom:"validFrom",validTo:"validTo",organizationId:"organizationId",amount:"amount",percentage:"percentage",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",updatedAt:"updatedAt"};export const ShippingMethodScalarFieldEnum={id:"id",title:"title",providerName:"providerName",providerLogoId:"providerLogoId",requireDateOfDelivery:"requireDateOfDelivery",organizationId:"organizationId",archivedAt:"archivedAt",archivedBy:"archivedBy",publishedAt:"publishedAt",publishedBy:"publishedBy",createdAt:"createdAt",createdBy:"createdBy",updatedAt:"updatedAt",updatedBy:"updatedBy"};export const ShippingZoneScalarFieldEnum={id:"id",title:"title",distanceUpto:"distanceUpto",price:"price",minimumOrderAmount:"minimumOrderAmount",shippingMethodId:"shippingMethodId",eta:"eta",createdAt:"createdAt",updatedAt:"updatedAt"};export const ReservationScalarFieldEnum={id:"id",firstname:"firstname",lastname:"lastname",userId:"userId",guests:"guests",phone:"phone",date:"date",referenceId:"referenceId",organizationId:"organizationId",createdAt:"createdAt",acceptedAt:"acceptedAt",cancelledAt:"cancelledAt",updatedAt:"updatedAt"};export const SortOrder={asc:"asc",desc:"desc"};export const NullableJsonNullValueInput={DbNull,JsonNull};export const JsonNullValueInput={JsonNull};export const QueryMode={default:"default",insensitive:"insensitive"};export const NullsOrder={first:"first",last:"last"};export const JsonNullValueFilter={DbNull,JsonNull,AnyNull};export const defineExtension=e.Extensions.defineExtension;
1
+ /* !!! This is code generated by Prisma. Do not edit directly. !!! */
2
+ /* eslint-disable */
3
+ // biome-ignore-all lint: generated file
4
+ // @ts-nocheck
5
+ /*
6
+ * WARNING: This is an internal file that is subject to change!
7
+ *
8
+ * 🛑 Under no circumstances should you import this file directly! 🛑
9
+ *
10
+ * All exports from this file are wrapped under a `Prisma` namespace object in the client.ts file.
11
+ * While this enables partial backward compatibility, it is not part of the stable public API.
12
+ *
13
+ * If you are looking for your Models, Enums, and Input Types, please import them from the respective
14
+ * model files in the `model` directory!
15
+ */
16
+ import * as runtime from "@prisma/client/runtime/client";
17
+ /**
18
+ * Prisma Errors
19
+ */
20
+ export const PrismaClientKnownRequestError = runtime.PrismaClientKnownRequestError;
21
+ export const PrismaClientUnknownRequestError = runtime.PrismaClientUnknownRequestError;
22
+ export const PrismaClientRustPanicError = runtime.PrismaClientRustPanicError;
23
+ export const PrismaClientInitializationError = runtime.PrismaClientInitializationError;
24
+ export const PrismaClientValidationError = runtime.PrismaClientValidationError;
25
+ /**
26
+ * Re-export of sql-template-tag
27
+ */
28
+ export const sql = runtime.sqltag;
29
+ export const empty = runtime.empty;
30
+ export const join = runtime.join;
31
+ export const raw = runtime.raw;
32
+ export const Sql = runtime.Sql;
33
+ /**
34
+ * Decimal.js
35
+ */
36
+ export const Decimal = runtime.Decimal;
37
+ export const getExtensionContext = runtime.Extensions.getExtensionContext;
38
+ /**
39
+ * Prisma Client JS version: 7.5.0
40
+ * Query Engine version: 280c870be64f457428992c43c1f6d557fab6e29e
41
+ */
42
+ export const prismaVersion = {
43
+ client: "7.5.0",
44
+ engine: "280c870be64f457428992c43c1f6d557fab6e29e"
45
+ };
46
+ export const NullTypes = {
47
+ DbNull: runtime.NullTypes.DbNull,
48
+ JsonNull: runtime.NullTypes.JsonNull,
49
+ AnyNull: runtime.NullTypes.AnyNull,
50
+ };
51
+ /**
52
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
53
+ *
54
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
55
+ */
56
+ export const DbNull = runtime.DbNull;
57
+ /**
58
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
59
+ *
60
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
61
+ */
62
+ export const JsonNull = runtime.JsonNull;
63
+ /**
64
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
65
+ *
66
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
67
+ */
68
+ export const AnyNull = runtime.AnyNull;
69
+ export const ModelName = {
70
+ User: 'User',
71
+ Session: 'Session',
72
+ Account: 'Account',
73
+ Verification: 'Verification',
74
+ Member: 'Member',
75
+ Invitation: 'Invitation',
76
+ Organization: 'Organization',
77
+ OpeningTimes: 'OpeningTimes',
78
+ ClosingTimes: 'ClosingTimes',
79
+ OrganizationConfiguration: 'OrganizationConfiguration',
80
+ Address: 'Address',
81
+ LegalEntity: 'LegalEntity',
82
+ File: 'File',
83
+ Manufacturer: 'Manufacturer',
84
+ ManufacturerTranslation: 'ManufacturerTranslation',
85
+ ProductCategory: 'ProductCategory',
86
+ ProductCategoryTranslation: 'ProductCategoryTranslation',
87
+ Product: 'Product',
88
+ ProductSnapshot: 'ProductSnapshot',
89
+ ProductTranslation: 'ProductTranslation',
90
+ ModifierGroup: 'ModifierGroup',
91
+ ModifierGroupTranslation: 'ModifierGroupTranslation',
92
+ Modifier: 'Modifier',
93
+ Order: 'Order',
94
+ OrderItem: 'OrderItem',
95
+ OrderItemTranslation: 'OrderItemTranslation',
96
+ Payment: 'Payment',
97
+ PaymentSession: 'PaymentSession',
98
+ Campaign: 'Campaign',
99
+ ShippingMethod: 'ShippingMethod',
100
+ ShippingZone: 'ShippingZone',
101
+ Reservation: 'Reservation'
102
+ };
103
+ /**
104
+ * Enums
105
+ */
106
+ export const TransactionIsolationLevel = runtime.makeStrictEnum({
107
+ ReadUncommitted: 'ReadUncommitted',
108
+ ReadCommitted: 'ReadCommitted',
109
+ RepeatableRead: 'RepeatableRead',
110
+ Serializable: 'Serializable'
111
+ });
112
+ export const UserScalarFieldEnum = {
113
+ id: 'id',
114
+ name: 'name',
115
+ firstname: 'firstname',
116
+ lastname: 'lastname',
117
+ email: 'email',
118
+ emailVerified: 'emailVerified',
119
+ image: 'image',
120
+ createdAt: 'createdAt',
121
+ updatedAt: 'updatedAt'
122
+ };
123
+ export const SessionScalarFieldEnum = {
124
+ id: 'id',
125
+ expiresAt: 'expiresAt',
126
+ token: 'token',
127
+ createdAt: 'createdAt',
128
+ updatedAt: 'updatedAt',
129
+ ipAddress: 'ipAddress',
130
+ userAgent: 'userAgent',
131
+ userId: 'userId',
132
+ activeOrganizationId: 'activeOrganizationId'
133
+ };
134
+ export const AccountScalarFieldEnum = {
135
+ id: 'id',
136
+ accountId: 'accountId',
137
+ providerId: 'providerId',
138
+ userId: 'userId',
139
+ accessToken: 'accessToken',
140
+ refreshToken: 'refreshToken',
141
+ idToken: 'idToken',
142
+ accessTokenExpiresAt: 'accessTokenExpiresAt',
143
+ refreshTokenExpiresAt: 'refreshTokenExpiresAt',
144
+ scope: 'scope',
145
+ password: 'password',
146
+ createdAt: 'createdAt',
147
+ updatedAt: 'updatedAt'
148
+ };
149
+ export const VerificationScalarFieldEnum = {
150
+ id: 'id',
151
+ identifier: 'identifier',
152
+ value: 'value',
153
+ expiresAt: 'expiresAt',
154
+ createdAt: 'createdAt',
155
+ updatedAt: 'updatedAt'
156
+ };
157
+ export const MemberScalarFieldEnum = {
158
+ id: 'id',
159
+ organizationId: 'organizationId',
160
+ userId: 'userId',
161
+ role: 'role',
162
+ createdAt: 'createdAt'
163
+ };
164
+ export const InvitationScalarFieldEnum = {
165
+ id: 'id',
166
+ organizationId: 'organizationId',
167
+ email: 'email',
168
+ role: 'role',
169
+ status: 'status',
170
+ expiresAt: 'expiresAt',
171
+ inviterId: 'inviterId'
172
+ };
173
+ export const OrganizationScalarFieldEnum = {
174
+ id: 'id',
175
+ name: 'name',
176
+ slug: 'slug',
177
+ phone: 'phone',
178
+ email: 'email',
179
+ legalEntityId: 'legalEntityId',
180
+ addressId: 'addressId',
181
+ configurationId: 'configurationId',
182
+ logo: 'logo',
183
+ logoId: 'logoId',
184
+ createdAt: 'createdAt',
185
+ createdBy: 'createdBy',
186
+ updatedAt: 'updatedAt',
187
+ updatedBy: 'updatedBy',
188
+ deletedAt: 'deletedAt',
189
+ deletedBy: 'deletedBy'
190
+ };
191
+ export const OpeningTimesScalarFieldEnum = {
192
+ id: 'id',
193
+ monday: 'monday',
194
+ tuesday: 'tuesday',
195
+ wednesday: 'wednesday',
196
+ thursday: 'thursday',
197
+ friday: 'friday',
198
+ saturday: 'saturday',
199
+ sunday: 'sunday'
200
+ };
201
+ export const ClosingTimesScalarFieldEnum = {
202
+ id: 'id',
203
+ monday: 'monday',
204
+ tuesday: 'tuesday',
205
+ wednesday: 'wednesday',
206
+ thursday: 'thursday',
207
+ friday: 'friday',
208
+ saturday: 'saturday',
209
+ sunday: 'sunday'
210
+ };
211
+ export const OrganizationConfigurationScalarFieldEnum = {
212
+ id: 'id',
213
+ hostname: 'hostname',
214
+ countriesShipping: 'countriesShipping',
215
+ stripeAccountId: 'stripeAccountId',
216
+ enableHostCheckout: 'enableHostCheckout',
217
+ enableHostTracking: 'enableHostTracking',
218
+ isAcceptingOrders: 'isAcceptingOrders',
219
+ defaultCurrency: 'defaultCurrency',
220
+ defaultLocale: 'defaultLocale',
221
+ supportedLocales: 'supportedLocales',
222
+ openingTimesId: 'openingTimesId',
223
+ closingTimesId: 'closingTimesId',
224
+ facebookProfile: 'facebookProfile',
225
+ instagramProfile: 'instagramProfile',
226
+ xProfile: 'xProfile',
227
+ createdAt: 'createdAt',
228
+ createdBy: 'createdBy',
229
+ updatedAt: 'updatedAt',
230
+ updatedBy: 'updatedBy'
231
+ };
232
+ export const AddressScalarFieldEnum = {
233
+ id: 'id',
234
+ firstname: 'firstname',
235
+ lastname: 'lastname',
236
+ phone: 'phone',
237
+ addressLineOne: 'addressLineOne',
238
+ doorNumber: 'doorNumber',
239
+ addressLineTwo: 'addressLineTwo',
240
+ zipCode: 'zipCode',
241
+ placeId: 'placeId',
242
+ deliveryInstructions: 'deliveryInstructions',
243
+ city: 'city',
244
+ country: 'country',
245
+ latitude: 'latitude',
246
+ longitude: 'longitude',
247
+ isDefault: 'isDefault',
248
+ createdAt: 'createdAt',
249
+ createdBy: 'createdBy',
250
+ updatedAt: 'updatedAt',
251
+ updatedBy: 'updatedBy',
252
+ deletedAt: 'deletedAt',
253
+ deletedBy: 'deletedBy'
254
+ };
255
+ export const LegalEntityScalarFieldEnum = {
256
+ id: 'id',
257
+ name: 'name',
258
+ taxId: 'taxId',
259
+ addressId: 'addressId',
260
+ email: 'email',
261
+ phone: 'phone',
262
+ createdAt: 'createdAt',
263
+ createdBy: 'createdBy',
264
+ updatedAt: 'updatedAt',
265
+ updatedBy: 'updatedBy',
266
+ deletedAt: 'deletedAt',
267
+ deletedBy: 'deletedBy'
268
+ };
269
+ export const FileScalarFieldEnum = {
270
+ id: 'id',
271
+ mimeType: 'mimeType',
272
+ size: 'size',
273
+ filename: 'filename',
274
+ url: 'url',
275
+ status: 'status',
276
+ organizationId: 'organizationId',
277
+ createdAt: 'createdAt',
278
+ createdBy: 'createdBy',
279
+ updatedAt: 'updatedAt',
280
+ updatedBy: 'updatedBy',
281
+ deletedAt: 'deletedAt',
282
+ deletedBy: 'deletedBy'
283
+ };
284
+ export const ManufacturerScalarFieldEnum = {
285
+ id: 'id',
286
+ name: 'name',
287
+ logoId: 'logoId',
288
+ organizationId: 'organizationId',
289
+ createdAt: 'createdAt',
290
+ createdBy: 'createdBy',
291
+ updatedAt: 'updatedAt',
292
+ updatedBy: 'updatedBy',
293
+ deletedAt: 'deletedAt',
294
+ deletedBy: 'deletedBy'
295
+ };
296
+ export const ManufacturerTranslationScalarFieldEnum = {
297
+ id: 'id',
298
+ locale: 'locale',
299
+ about: 'about',
300
+ manufacturerId: 'manufacturerId',
301
+ createdAt: 'createdAt',
302
+ createdBy: 'createdBy',
303
+ updatedAt: 'updatedAt',
304
+ updatedBy: 'updatedBy'
305
+ };
306
+ export const ProductCategoryScalarFieldEnum = {
307
+ id: 'id',
308
+ slug: 'slug',
309
+ organizationId: 'organizationId',
310
+ priority: 'priority',
311
+ imageId: 'imageId',
312
+ createdAt: 'createdAt',
313
+ createdBy: 'createdBy',
314
+ updatedAt: 'updatedAt',
315
+ updatedBy: 'updatedBy',
316
+ deletedAt: 'deletedAt',
317
+ deletedBy: 'deletedBy',
318
+ publishedAt: 'publishedAt',
319
+ publishedBy: 'publishedBy'
320
+ };
321
+ export const ProductCategoryTranslationScalarFieldEnum = {
322
+ id: 'id',
323
+ locale: 'locale',
324
+ title: 'title',
325
+ description: 'description',
326
+ productCategoryId: 'productCategoryId',
327
+ createdAt: 'createdAt',
328
+ createdBy: 'createdBy',
329
+ updatedAt: 'updatedAt',
330
+ updatedBy: 'updatedBy'
331
+ };
332
+ export const ProductScalarFieldEnum = {
333
+ id: 'id',
334
+ content: 'content',
335
+ slug: 'slug',
336
+ sku: 'sku',
337
+ basePrice: 'basePrice',
338
+ discountedBasePrice: 'discountedBasePrice',
339
+ currency: 'currency',
340
+ organizationId: 'organizationId',
341
+ manufacturerId: 'manufacturerId',
342
+ tags: 'tags',
343
+ metadata: 'metadata',
344
+ publishedAt: 'publishedAt',
345
+ publishedBy: 'publishedBy',
346
+ deletedAt: 'deletedAt',
347
+ deletedBy: 'deletedBy',
348
+ createdAt: 'createdAt',
349
+ createdBy: 'createdBy',
350
+ updatedAt: 'updatedAt',
351
+ updatedBy: 'updatedBy',
352
+ latestSnapshotId: 'latestSnapshotId'
353
+ };
354
+ export const ProductSnapshotScalarFieldEnum = {
355
+ id: 'id',
356
+ productId: 'productId',
357
+ data: 'data',
358
+ createdAt: 'createdAt',
359
+ createdBy: 'createdBy'
360
+ };
361
+ export const ProductTranslationScalarFieldEnum = {
362
+ id: 'id',
363
+ locale: 'locale',
364
+ title: 'title',
365
+ description: 'description',
366
+ productId: 'productId',
367
+ createdAt: 'createdAt',
368
+ createdBy: 'createdBy',
369
+ updatedAt: 'updatedAt',
370
+ updatedBy: 'updatedBy'
371
+ };
372
+ export const ModifierGroupScalarFieldEnum = {
373
+ id: 'id',
374
+ selectMin: 'selectMin',
375
+ selectMax: 'selectMax',
376
+ createdAt: 'createdAt',
377
+ updatedAt: 'updatedAt'
378
+ };
379
+ export const ModifierGroupTranslationScalarFieldEnum = {
380
+ id: 'id',
381
+ locale: 'locale',
382
+ title: 'title',
383
+ description: 'description',
384
+ modifierGroupId: 'modifierGroupId'
385
+ };
386
+ export const ModifierScalarFieldEnum = {
387
+ id: 'id',
388
+ title: 'title',
389
+ description: 'description',
390
+ sku: 'sku',
391
+ price: 'price',
392
+ modifierGroupId: 'modifierGroupId'
393
+ };
394
+ export const OrderScalarFieldEnum = {
395
+ id: 'id',
396
+ organizationId: 'organizationId',
397
+ userId: 'userId',
398
+ paymentId: 'paymentId',
399
+ token: 'token',
400
+ expiresAt: 'expiresAt',
401
+ referenceId: 'referenceId',
402
+ fulfilmentMethod: 'fulfilmentMethod',
403
+ shippingMethodId: 'shippingMethodId',
404
+ shippingAddressId: 'shippingAddressId',
405
+ dateOfExecution: 'dateOfExecution',
406
+ currency: 'currency',
407
+ sourceIp: 'sourceIp',
408
+ acceptedAt: 'acceptedAt',
409
+ readyForDispatchAt: 'readyForDispatchAt',
410
+ dispatchedAt: 'dispatchedAt',
411
+ completedAt: 'completedAt',
412
+ cancelledAt: 'cancelledAt',
413
+ deletedAt: 'deletedAt',
414
+ deletedBy: 'deletedBy',
415
+ createdAt: 'createdAt',
416
+ updatedAt: 'updatedAt'
417
+ };
418
+ export const OrderItemScalarFieldEnum = {
419
+ id: 'id',
420
+ quantity: 'quantity',
421
+ unitPrice: 'unitPrice',
422
+ totalPrice: 'totalPrice',
423
+ orderId: 'orderId',
424
+ rawData: 'rawData',
425
+ productSnapshotId: 'productSnapshotId',
426
+ imageId: 'imageId'
427
+ };
428
+ export const OrderItemTranslationScalarFieldEnum = {
429
+ id: 'id',
430
+ locale: 'locale',
431
+ title: 'title',
432
+ subtitle: 'subtitle',
433
+ orderItemId: 'orderItemId'
434
+ };
435
+ export const PaymentScalarFieldEnum = {
436
+ id: 'id',
437
+ method: 'method',
438
+ provider: 'provider',
439
+ shipping: 'shipping',
440
+ subtotal: 'subtotal',
441
+ total: 'total',
442
+ discount: 'discount',
443
+ currency: 'currency',
444
+ status: 'status',
445
+ createdAt: 'createdAt',
446
+ updatedAt: 'updatedAt'
447
+ };
448
+ export const PaymentSessionScalarFieldEnum = {
449
+ id: 'id',
450
+ referenceId: 'referenceId',
451
+ amount: 'amount',
452
+ currency: 'currency',
453
+ rawData: 'rawData',
454
+ capturedAt: 'capturedAt',
455
+ expiredAt: 'expiredAt',
456
+ createdAt: 'createdAt',
457
+ updatedAt: 'updatedAt',
458
+ paymentId: 'paymentId'
459
+ };
460
+ export const CampaignScalarFieldEnum = {
461
+ id: 'id',
462
+ title: 'title',
463
+ type: 'type',
464
+ validFrom: 'validFrom',
465
+ validTo: 'validTo',
466
+ organizationId: 'organizationId',
467
+ amount: 'amount',
468
+ percentage: 'percentage',
469
+ publishedAt: 'publishedAt',
470
+ publishedBy: 'publishedBy',
471
+ createdAt: 'createdAt',
472
+ updatedAt: 'updatedAt'
473
+ };
474
+ export const ShippingMethodScalarFieldEnum = {
475
+ id: 'id',
476
+ title: 'title',
477
+ providerName: 'providerName',
478
+ providerLogoId: 'providerLogoId',
479
+ requireDateOfDelivery: 'requireDateOfDelivery',
480
+ organizationId: 'organizationId',
481
+ archivedAt: 'archivedAt',
482
+ archivedBy: 'archivedBy',
483
+ publishedAt: 'publishedAt',
484
+ publishedBy: 'publishedBy',
485
+ createdAt: 'createdAt',
486
+ createdBy: 'createdBy',
487
+ updatedAt: 'updatedAt',
488
+ updatedBy: 'updatedBy'
489
+ };
490
+ export const ShippingZoneScalarFieldEnum = {
491
+ id: 'id',
492
+ title: 'title',
493
+ distanceUpto: 'distanceUpto',
494
+ price: 'price',
495
+ minimumOrderAmount: 'minimumOrderAmount',
496
+ shippingMethodId: 'shippingMethodId',
497
+ eta: 'eta',
498
+ createdAt: 'createdAt',
499
+ updatedAt: 'updatedAt'
500
+ };
501
+ export const ReservationScalarFieldEnum = {
502
+ id: 'id',
503
+ firstname: 'firstname',
504
+ lastname: 'lastname',
505
+ userId: 'userId',
506
+ guests: 'guests',
507
+ phone: 'phone',
508
+ date: 'date',
509
+ referenceId: 'referenceId',
510
+ organizationId: 'organizationId',
511
+ createdAt: 'createdAt',
512
+ acceptedAt: 'acceptedAt',
513
+ cancelledAt: 'cancelledAt',
514
+ updatedAt: 'updatedAt'
515
+ };
516
+ export const SortOrder = {
517
+ asc: 'asc',
518
+ desc: 'desc'
519
+ };
520
+ export const NullableJsonNullValueInput = {
521
+ DbNull: DbNull,
522
+ JsonNull: JsonNull
523
+ };
524
+ export const JsonNullValueInput = {
525
+ JsonNull: JsonNull
526
+ };
527
+ export const QueryMode = {
528
+ default: 'default',
529
+ insensitive: 'insensitive'
530
+ };
531
+ export const NullsOrder = {
532
+ first: 'first',
533
+ last: 'last'
534
+ };
535
+ export const JsonNullValueFilter = {
536
+ DbNull: DbNull,
537
+ JsonNull: JsonNull,
538
+ AnyNull: AnyNull
539
+ };
540
+ export const defineExtension = runtime.Extensions.defineExtension;
541
+ //# sourceMappingURL=prismaNamespace.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prismaNamespace.js","sourceRoot":"","sources":["../../../../../../../../../packages/rest-api/src/core/db/__generated__/client/internal/prismaNamespace.ts"],"names":[],"mappings":"AACA,qEAAqE;AACrE,oBAAoB;AACpB,wCAAwC;AACxC,eAAe;AACf;;;;;;;;;;GAUG;AAEH,OAAO,KAAK,OAAO,MAAM,+BAA+B,CAAA;AAUxD;;GAEG;AAEH,MAAM,CAAC,MAAM,6BAA6B,GAAG,OAAO,CAAC,6BAA6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AAC,MAAM,SAAS,GAAG;IACvB,GAAG,EAAE,KAAK;IACV,IAAI,EAAE,MAAM;CACJ,CAAA;AAKV,MAAM,CAAC,MAAM,0BAA0B,GAAG;IACxC,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,QAAQ;CACV,CAAA;AAKV,MAAM,CAAC,MAAM,kBAAkB,GAAG;IAChC,QAAQ,EAAE,QAAQ;CACV,CAAA;AAKV,MAAM,CAAC,MAAM,SAAS,GAAG;IACvB,OAAO,EAAE,SAAS;IAClB,WAAW,EAAE,aAAa;CAClB,CAAA;AAKV,MAAM,CAAC,MAAM,UAAU,GAAG;IACxB,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAA;AAKV,MAAM,CAAC,MAAM,mBAAmB,GAAG;IACjC,MAAM,EAAE,MAAM;IACd,QAAQ,EAAE,QAAQ;IAClB,OAAO,EAAE,OAAO;CACR,CAAA;AA8MV,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC,UAAU,CAAC,eAA6H,CAAA"}
@@ -7,8 +7,23 @@ export declare const NullTypes: {
7
7
  JsonNull: (new (secret: never) => typeof runtime.JsonNull);
8
8
  AnyNull: (new (secret: never) => typeof runtime.AnyNull);
9
9
  };
10
+ /**
11
+ * Helper for filtering JSON entries that have `null` on the database (empty on the db)
12
+ *
13
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
14
+ */
10
15
  export declare const DbNull: import("@prisma/client-runtime-utils").DbNullClass;
16
+ /**
17
+ * Helper for filtering JSON entries that have JSON `null` values (not empty on the db)
18
+ *
19
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
20
+ */
11
21
  export declare const JsonNull: import("@prisma/client-runtime-utils").JsonNullClass;
22
+ /**
23
+ * Helper for filtering JSON entries that are `Prisma.DbNull` or `Prisma.JsonNull`
24
+ *
25
+ * @see https://www.prisma.io/docs/concepts/components/prisma-client/working-with-fields/working-with-json-fields#filtering-on-a-json-field
26
+ */
12
27
  export declare const AnyNull: import("@prisma/client-runtime-utils").AnyNullClass;
13
28
  export declare const ModelName: {
14
29
  readonly User: "User";