@shophost/rest-api 2.0.31 → 2.0.33

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 -110
@@ -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 OpeningTimes
5
+ *
6
+ */
3
7
  export type OpeningTimesModel = runtime.Types.Result.DefaultSelection<Prisma.$OpeningTimesPayload>;
4
8
  export type AggregateOpeningTimes = {
5
9
  _count: OpeningTimesCountAggregateOutputType | null;
@@ -69,13 +73,51 @@ export type OpeningTimesCountAggregateInputType = {
69
73
  _all?: true;
70
74
  };
71
75
  export type OpeningTimesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
76
+ /**
77
+ * Filter which OpeningTimes to aggregate.
78
+ */
72
79
  where?: Prisma.OpeningTimesWhereInput;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
82
+ *
83
+ * Determine the order of OpeningTimes to fetch.
84
+ */
73
85
  orderBy?: Prisma.OpeningTimesOrderByWithRelationInput | Prisma.OpeningTimesOrderByWithRelationInput[];
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
88
+ *
89
+ * Sets the start position
90
+ */
74
91
  cursor?: Prisma.OpeningTimesWhereUniqueInput;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
94
+ *
95
+ * Take `±n` OpeningTimes from the position of the cursor.
96
+ */
75
97
  take?: number;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
100
+ *
101
+ * Skip the first `n` OpeningTimes.
102
+ */
76
103
  skip?: number;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
106
+ *
107
+ * Count returned OpeningTimes
108
+ **/
77
109
  _count?: true | OpeningTimesCountAggregateInputType;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
112
+ *
113
+ * Select which fields to find the minimum value
114
+ **/
78
115
  _min?: OpeningTimesMinAggregateInputType;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
118
+ *
119
+ * Select which fields to find the maximum value
120
+ **/
79
121
  _max?: OpeningTimesMaxAggregateInputType;
80
122
  };
81
123
  export type GetOpeningTimesAggregateType<T extends OpeningTimesAggregateArgs> = {
@@ -423,22 +465,290 @@ export interface OpeningTimesDelegate<ExtArgs extends runtime.Types.Extensions.I
423
465
  name: 'OpeningTimes';
424
466
  };
425
467
  };
468
+ /**
469
+ * Find zero or one OpeningTimes that matches the filter.
470
+ * @param {OpeningTimesFindUniqueArgs} args - Arguments to find a OpeningTimes
471
+ * @example
472
+ * // Get one OpeningTimes
473
+ * const openingTimes = await prisma.openingTimes.findUnique({
474
+ * where: {
475
+ * // ... provide filter here
476
+ * }
477
+ * })
478
+ */
426
479
  findUnique<T extends OpeningTimesFindUniqueArgs>(args: Prisma.SelectSubset<T, OpeningTimesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
480
+ /**
481
+ * Find one OpeningTimes that matches the filter or throw an error with `error.code='P2025'`
482
+ * if no matches were found.
483
+ * @param {OpeningTimesFindUniqueOrThrowArgs} args - Arguments to find a OpeningTimes
484
+ * @example
485
+ * // Get one OpeningTimes
486
+ * const openingTimes = await prisma.openingTimes.findUniqueOrThrow({
487
+ * where: {
488
+ * // ... provide filter here
489
+ * }
490
+ * })
491
+ */
427
492
  findUniqueOrThrow<T extends OpeningTimesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OpeningTimesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
493
+ /**
494
+ * Find the first OpeningTimes that matches the filter.
495
+ * Note, that providing `undefined` is treated as the value not being there.
496
+ * Read more here: https://pris.ly/d/null-undefined
497
+ * @param {OpeningTimesFindFirstArgs} args - Arguments to find a OpeningTimes
498
+ * @example
499
+ * // Get one OpeningTimes
500
+ * const openingTimes = await prisma.openingTimes.findFirst({
501
+ * where: {
502
+ * // ... provide filter here
503
+ * }
504
+ * })
505
+ */
428
506
  findFirst<T extends OpeningTimesFindFirstArgs>(args?: Prisma.SelectSubset<T, OpeningTimesFindFirstArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
507
+ /**
508
+ * Find the first OpeningTimes that matches the filter or
509
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
510
+ * Note, that providing `undefined` is treated as the value not being there.
511
+ * Read more here: https://pris.ly/d/null-undefined
512
+ * @param {OpeningTimesFindFirstOrThrowArgs} args - Arguments to find a OpeningTimes
513
+ * @example
514
+ * // Get one OpeningTimes
515
+ * const openingTimes = await prisma.openingTimes.findFirstOrThrow({
516
+ * where: {
517
+ * // ... provide filter here
518
+ * }
519
+ * })
520
+ */
429
521
  findFirstOrThrow<T extends OpeningTimesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OpeningTimesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
522
+ /**
523
+ * Find zero or more OpeningTimes that matches the filter.
524
+ * Note, that providing `undefined` is treated as the value not being there.
525
+ * Read more here: https://pris.ly/d/null-undefined
526
+ * @param {OpeningTimesFindManyArgs} args - Arguments to filter and select certain fields only.
527
+ * @example
528
+ * // Get all OpeningTimes
529
+ * const openingTimes = await prisma.openingTimes.findMany()
530
+ *
531
+ * // Get first 10 OpeningTimes
532
+ * const openingTimes = await prisma.openingTimes.findMany({ take: 10 })
533
+ *
534
+ * // Only select the `id`
535
+ * const openingTimesWithIdOnly = await prisma.openingTimes.findMany({ select: { id: true } })
536
+ *
537
+ */
430
538
  findMany<T extends OpeningTimesFindManyArgs>(args?: Prisma.SelectSubset<T, OpeningTimesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
539
+ /**
540
+ * Create a OpeningTimes.
541
+ * @param {OpeningTimesCreateArgs} args - Arguments to create a OpeningTimes.
542
+ * @example
543
+ * // Create one OpeningTimes
544
+ * const OpeningTimes = await prisma.openingTimes.create({
545
+ * data: {
546
+ * // ... data to create a OpeningTimes
547
+ * }
548
+ * })
549
+ *
550
+ */
431
551
  create<T extends OpeningTimesCreateArgs>(args: Prisma.SelectSubset<T, OpeningTimesCreateArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
552
+ /**
553
+ * Create many OpeningTimes.
554
+ * @param {OpeningTimesCreateManyArgs} args - Arguments to create many OpeningTimes.
555
+ * @example
556
+ * // Create many OpeningTimes
557
+ * const openingTimes = await prisma.openingTimes.createMany({
558
+ * data: [
559
+ * // ... provide data here
560
+ * ]
561
+ * })
562
+ *
563
+ */
432
564
  createMany<T extends OpeningTimesCreateManyArgs>(args?: Prisma.SelectSubset<T, OpeningTimesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
565
+ /**
566
+ * Create many OpeningTimes and returns the data saved in the database.
567
+ * @param {OpeningTimesCreateManyAndReturnArgs} args - Arguments to create many OpeningTimes.
568
+ * @example
569
+ * // Create many OpeningTimes
570
+ * const openingTimes = await prisma.openingTimes.createManyAndReturn({
571
+ * data: [
572
+ * // ... provide data here
573
+ * ]
574
+ * })
575
+ *
576
+ * // Create many OpeningTimes and only return the `id`
577
+ * const openingTimesWithIdOnly = await prisma.openingTimes.createManyAndReturn({
578
+ * select: { id: true },
579
+ * data: [
580
+ * // ... provide data here
581
+ * ]
582
+ * })
583
+ * Note, that providing `undefined` is treated as the value not being there.
584
+ * Read more here: https://pris.ly/d/null-undefined
585
+ *
586
+ */
433
587
  createManyAndReturn<T extends OpeningTimesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OpeningTimesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
588
+ /**
589
+ * Delete a OpeningTimes.
590
+ * @param {OpeningTimesDeleteArgs} args - Arguments to delete one OpeningTimes.
591
+ * @example
592
+ * // Delete one OpeningTimes
593
+ * const OpeningTimes = await prisma.openingTimes.delete({
594
+ * where: {
595
+ * // ... filter to delete one OpeningTimes
596
+ * }
597
+ * })
598
+ *
599
+ */
434
600
  delete<T extends OpeningTimesDeleteArgs>(args: Prisma.SelectSubset<T, OpeningTimesDeleteArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
601
+ /**
602
+ * Update one OpeningTimes.
603
+ * @param {OpeningTimesUpdateArgs} args - Arguments to update one OpeningTimes.
604
+ * @example
605
+ * // Update one OpeningTimes
606
+ * const openingTimes = await prisma.openingTimes.update({
607
+ * where: {
608
+ * // ... provide filter here
609
+ * },
610
+ * data: {
611
+ * // ... provide data here
612
+ * }
613
+ * })
614
+ *
615
+ */
435
616
  update<T extends OpeningTimesUpdateArgs>(args: Prisma.SelectSubset<T, OpeningTimesUpdateArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
617
+ /**
618
+ * Delete zero or more OpeningTimes.
619
+ * @param {OpeningTimesDeleteManyArgs} args - Arguments to filter OpeningTimes to delete.
620
+ * @example
621
+ * // Delete a few OpeningTimes
622
+ * const { count } = await prisma.openingTimes.deleteMany({
623
+ * where: {
624
+ * // ... provide filter here
625
+ * }
626
+ * })
627
+ *
628
+ */
436
629
  deleteMany<T extends OpeningTimesDeleteManyArgs>(args?: Prisma.SelectSubset<T, OpeningTimesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
630
+ /**
631
+ * Update zero or more OpeningTimes.
632
+ * Note, that providing `undefined` is treated as the value not being there.
633
+ * Read more here: https://pris.ly/d/null-undefined
634
+ * @param {OpeningTimesUpdateManyArgs} args - Arguments to update one or more rows.
635
+ * @example
636
+ * // Update many OpeningTimes
637
+ * const openingTimes = await prisma.openingTimes.updateMany({
638
+ * where: {
639
+ * // ... provide filter here
640
+ * },
641
+ * data: {
642
+ * // ... provide data here
643
+ * }
644
+ * })
645
+ *
646
+ */
437
647
  updateMany<T extends OpeningTimesUpdateManyArgs>(args: Prisma.SelectSubset<T, OpeningTimesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
648
+ /**
649
+ * Update zero or more OpeningTimes and returns the data updated in the database.
650
+ * @param {OpeningTimesUpdateManyAndReturnArgs} args - Arguments to update many OpeningTimes.
651
+ * @example
652
+ * // Update many OpeningTimes
653
+ * const openingTimes = await prisma.openingTimes.updateManyAndReturn({
654
+ * where: {
655
+ * // ... provide filter here
656
+ * },
657
+ * data: [
658
+ * // ... provide data here
659
+ * ]
660
+ * })
661
+ *
662
+ * // Update zero or more OpeningTimes and only return the `id`
663
+ * const openingTimesWithIdOnly = await prisma.openingTimes.updateManyAndReturn({
664
+ * select: { id: true },
665
+ * where: {
666
+ * // ... provide filter here
667
+ * },
668
+ * data: [
669
+ * // ... provide data here
670
+ * ]
671
+ * })
672
+ * Note, that providing `undefined` is treated as the value not being there.
673
+ * Read more here: https://pris.ly/d/null-undefined
674
+ *
675
+ */
438
676
  updateManyAndReturn<T extends OpeningTimesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OpeningTimesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
677
+ /**
678
+ * Create or update one OpeningTimes.
679
+ * @param {OpeningTimesUpsertArgs} args - Arguments to update or create a OpeningTimes.
680
+ * @example
681
+ * // Update or create a OpeningTimes
682
+ * const openingTimes = await prisma.openingTimes.upsert({
683
+ * create: {
684
+ * // ... data to create a OpeningTimes
685
+ * },
686
+ * update: {
687
+ * // ... in case it already exists, update
688
+ * },
689
+ * where: {
690
+ * // ... the filter for the OpeningTimes we want to update
691
+ * }
692
+ * })
693
+ */
439
694
  upsert<T extends OpeningTimesUpsertArgs>(args: Prisma.SelectSubset<T, OpeningTimesUpsertArgs<ExtArgs>>): Prisma.Prisma__OpeningTimesClient<runtime.Types.Result.GetResult<Prisma.$OpeningTimesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
695
+ /**
696
+ * Count the number of OpeningTimes.
697
+ * Note, that providing `undefined` is treated as the value not being there.
698
+ * Read more here: https://pris.ly/d/null-undefined
699
+ * @param {OpeningTimesCountArgs} args - Arguments to filter OpeningTimes to count.
700
+ * @example
701
+ * // Count the number of OpeningTimes
702
+ * const count = await prisma.openingTimes.count({
703
+ * where: {
704
+ * // ... the filter for the OpeningTimes we want to count
705
+ * }
706
+ * })
707
+ **/
440
708
  count<T extends OpeningTimesCountArgs>(args?: Prisma.Subset<T, OpeningTimesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OpeningTimesCountAggregateOutputType> : number>;
709
+ /**
710
+ * Allows you to perform aggregations operations on a OpeningTimes.
711
+ * Note, that providing `undefined` is treated as the value not being there.
712
+ * Read more here: https://pris.ly/d/null-undefined
713
+ * @param {OpeningTimesAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
714
+ * @example
715
+ * // Ordered by age ascending
716
+ * // Where email contains prisma.io
717
+ * // Limited to the 10 users
718
+ * const aggregations = await prisma.user.aggregate({
719
+ * _avg: {
720
+ * age: true,
721
+ * },
722
+ * where: {
723
+ * email: {
724
+ * contains: "prisma.io",
725
+ * },
726
+ * },
727
+ * orderBy: {
728
+ * age: "asc",
729
+ * },
730
+ * take: 10,
731
+ * })
732
+ **/
441
733
  aggregate<T extends OpeningTimesAggregateArgs>(args: Prisma.Subset<T, OpeningTimesAggregateArgs>): Prisma.PrismaPromise<GetOpeningTimesAggregateType<T>>;
734
+ /**
735
+ * Group by OpeningTimes.
736
+ * Note, that providing `undefined` is treated as the value not being there.
737
+ * Read more here: https://pris.ly/d/null-undefined
738
+ * @param {OpeningTimesGroupByArgs} args - Group by arguments.
739
+ * @example
740
+ * // Group by city, order by createdAt, get count
741
+ * const result = await prisma.user.groupBy({
742
+ * by: ['city', 'createdAt'],
743
+ * orderBy: {
744
+ * createdAt: true
745
+ * },
746
+ * _count: {
747
+ * _all: true
748
+ * },
749
+ * })
750
+ *
751
+ **/
442
752
  groupBy<T extends OpeningTimesGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
443
753
  orderBy: OpeningTimesGroupByArgs['orderBy'];
444
754
  } : {
@@ -457,15 +767,44 @@ export interface OpeningTimesDelegate<ExtArgs extends runtime.Types.Extensions.I
457
767
  }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
458
768
  [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
459
769
  }[OrderFields]>(args: Prisma.SubsetIntersection<T, OpeningTimesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOpeningTimesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
770
+ /**
771
+ * Fields of the OpeningTimes model
772
+ */
460
773
  readonly fields: OpeningTimesFieldRefs;
461
774
  }
775
+ /**
776
+ * The delegate class that acts as a "Promise-like" for OpeningTimes.
777
+ * Why is this prefixed with `Prisma__`?
778
+ * Because we want to prevent naming conflicts as mentioned in
779
+ * https://github.com/prisma/prisma-client-js/issues/707
780
+ */
462
781
  export interface Prisma__OpeningTimesClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
463
782
  readonly [Symbol.toStringTag]: "PrismaPromise";
464
783
  organizationConfiguration<T extends Prisma.OpeningTimes$organizationConfigurationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OpeningTimes$organizationConfigurationArgs<ExtArgs>>): Prisma.Prisma__OrganizationConfigurationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationConfigurationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
784
+ /**
785
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
786
+ * @param onfulfilled The callback to execute when the Promise is resolved.
787
+ * @param onrejected The callback to execute when the Promise is rejected.
788
+ * @returns A Promise for the completion of which ever callback is executed.
789
+ */
465
790
  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>;
791
+ /**
792
+ * Attaches a callback for only the rejection of the Promise.
793
+ * @param onrejected The callback to execute when the Promise is rejected.
794
+ * @returns A Promise for the completion of the callback.
795
+ */
466
796
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
797
+ /**
798
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
799
+ * resolved value cannot be modified from the callback.
800
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
801
+ * @returns A Promise for the completion of the callback.
802
+ */
467
803
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
468
804
  }
805
+ /**
806
+ * Fields of the OpeningTimes model
807
+ */
469
808
  export interface OpeningTimesFieldRefs {
470
809
  readonly id: Prisma.FieldRef<"OpeningTimes", 'String'>;
471
810
  readonly monday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
@@ -476,113 +815,413 @@ export interface OpeningTimesFieldRefs {
476
815
  readonly saturday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
477
816
  readonly sunday: Prisma.FieldRef<"OpeningTimes", 'DateTime'>;
478
817
  }
818
+ /**
819
+ * OpeningTimes findUnique
820
+ */
479
821
  export type OpeningTimesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
822
+ /**
823
+ * Select specific fields to fetch from the OpeningTimes
824
+ */
480
825
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
826
+ /**
827
+ * Omit specific fields from the OpeningTimes
828
+ */
481
829
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
830
+ /**
831
+ * Choose, which related nodes to fetch as well
832
+ */
482
833
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
834
+ /**
835
+ * Filter, which OpeningTimes to fetch.
836
+ */
483
837
  where: Prisma.OpeningTimesWhereUniqueInput;
484
838
  };
839
+ /**
840
+ * OpeningTimes findUniqueOrThrow
841
+ */
485
842
  export type OpeningTimesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
843
+ /**
844
+ * Select specific fields to fetch from the OpeningTimes
845
+ */
486
846
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
847
+ /**
848
+ * Omit specific fields from the OpeningTimes
849
+ */
487
850
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
851
+ /**
852
+ * Choose, which related nodes to fetch as well
853
+ */
488
854
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
855
+ /**
856
+ * Filter, which OpeningTimes to fetch.
857
+ */
489
858
  where: Prisma.OpeningTimesWhereUniqueInput;
490
859
  };
860
+ /**
861
+ * OpeningTimes findFirst
862
+ */
491
863
  export type OpeningTimesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
864
+ /**
865
+ * Select specific fields to fetch from the OpeningTimes
866
+ */
492
867
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
868
+ /**
869
+ * Omit specific fields from the OpeningTimes
870
+ */
493
871
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
872
+ /**
873
+ * Choose, which related nodes to fetch as well
874
+ */
494
875
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
876
+ /**
877
+ * Filter, which OpeningTimes to fetch.
878
+ */
495
879
  where?: Prisma.OpeningTimesWhereInput;
880
+ /**
881
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
882
+ *
883
+ * Determine the order of OpeningTimes to fetch.
884
+ */
496
885
  orderBy?: Prisma.OpeningTimesOrderByWithRelationInput | Prisma.OpeningTimesOrderByWithRelationInput[];
886
+ /**
887
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
888
+ *
889
+ * Sets the position for searching for OpeningTimes.
890
+ */
497
891
  cursor?: Prisma.OpeningTimesWhereUniqueInput;
892
+ /**
893
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
894
+ *
895
+ * Take `±n` OpeningTimes from the position of the cursor.
896
+ */
498
897
  take?: number;
898
+ /**
899
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
900
+ *
901
+ * Skip the first `n` OpeningTimes.
902
+ */
499
903
  skip?: number;
904
+ /**
905
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
906
+ *
907
+ * Filter by unique combinations of OpeningTimes.
908
+ */
500
909
  distinct?: Prisma.OpeningTimesScalarFieldEnum | Prisma.OpeningTimesScalarFieldEnum[];
501
910
  };
911
+ /**
912
+ * OpeningTimes findFirstOrThrow
913
+ */
502
914
  export type OpeningTimesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
915
+ /**
916
+ * Select specific fields to fetch from the OpeningTimes
917
+ */
503
918
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
919
+ /**
920
+ * Omit specific fields from the OpeningTimes
921
+ */
504
922
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
923
+ /**
924
+ * Choose, which related nodes to fetch as well
925
+ */
505
926
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
927
+ /**
928
+ * Filter, which OpeningTimes to fetch.
929
+ */
506
930
  where?: Prisma.OpeningTimesWhereInput;
931
+ /**
932
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
933
+ *
934
+ * Determine the order of OpeningTimes to fetch.
935
+ */
507
936
  orderBy?: Prisma.OpeningTimesOrderByWithRelationInput | Prisma.OpeningTimesOrderByWithRelationInput[];
937
+ /**
938
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
939
+ *
940
+ * Sets the position for searching for OpeningTimes.
941
+ */
508
942
  cursor?: Prisma.OpeningTimesWhereUniqueInput;
943
+ /**
944
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
945
+ *
946
+ * Take `±n` OpeningTimes from the position of the cursor.
947
+ */
509
948
  take?: number;
949
+ /**
950
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
951
+ *
952
+ * Skip the first `n` OpeningTimes.
953
+ */
510
954
  skip?: number;
955
+ /**
956
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
957
+ *
958
+ * Filter by unique combinations of OpeningTimes.
959
+ */
511
960
  distinct?: Prisma.OpeningTimesScalarFieldEnum | Prisma.OpeningTimesScalarFieldEnum[];
512
961
  };
962
+ /**
963
+ * OpeningTimes findMany
964
+ */
513
965
  export type OpeningTimesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
966
+ /**
967
+ * Select specific fields to fetch from the OpeningTimes
968
+ */
514
969
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
970
+ /**
971
+ * Omit specific fields from the OpeningTimes
972
+ */
515
973
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
974
+ /**
975
+ * Choose, which related nodes to fetch as well
976
+ */
516
977
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
978
+ /**
979
+ * Filter, which OpeningTimes to fetch.
980
+ */
517
981
  where?: Prisma.OpeningTimesWhereInput;
982
+ /**
983
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
984
+ *
985
+ * Determine the order of OpeningTimes to fetch.
986
+ */
518
987
  orderBy?: Prisma.OpeningTimesOrderByWithRelationInput | Prisma.OpeningTimesOrderByWithRelationInput[];
988
+ /**
989
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
990
+ *
991
+ * Sets the position for listing OpeningTimes.
992
+ */
519
993
  cursor?: Prisma.OpeningTimesWhereUniqueInput;
994
+ /**
995
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
996
+ *
997
+ * Take `±n` OpeningTimes from the position of the cursor.
998
+ */
520
999
  take?: number;
1000
+ /**
1001
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1002
+ *
1003
+ * Skip the first `n` OpeningTimes.
1004
+ */
521
1005
  skip?: number;
1006
+ /**
1007
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1008
+ *
1009
+ * Filter by unique combinations of OpeningTimes.
1010
+ */
522
1011
  distinct?: Prisma.OpeningTimesScalarFieldEnum | Prisma.OpeningTimesScalarFieldEnum[];
523
1012
  };
1013
+ /**
1014
+ * OpeningTimes create
1015
+ */
524
1016
  export type OpeningTimesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1017
+ /**
1018
+ * Select specific fields to fetch from the OpeningTimes
1019
+ */
525
1020
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
1021
+ /**
1022
+ * Omit specific fields from the OpeningTimes
1023
+ */
526
1024
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
1025
+ /**
1026
+ * Choose, which related nodes to fetch as well
1027
+ */
527
1028
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
1029
+ /**
1030
+ * The data needed to create a OpeningTimes.
1031
+ */
528
1032
  data?: Prisma.XOR<Prisma.OpeningTimesCreateInput, Prisma.OpeningTimesUncheckedCreateInput>;
529
1033
  };
1034
+ /**
1035
+ * OpeningTimes createMany
1036
+ */
530
1037
  export type OpeningTimesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1038
+ /**
1039
+ * The data used to create many OpeningTimes.
1040
+ */
531
1041
  data: Prisma.OpeningTimesCreateManyInput | Prisma.OpeningTimesCreateManyInput[];
532
1042
  skipDuplicates?: boolean;
533
1043
  };
1044
+ /**
1045
+ * OpeningTimes createManyAndReturn
1046
+ */
534
1047
  export type OpeningTimesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1048
+ /**
1049
+ * Select specific fields to fetch from the OpeningTimes
1050
+ */
535
1051
  select?: Prisma.OpeningTimesSelectCreateManyAndReturn<ExtArgs> | null;
1052
+ /**
1053
+ * Omit specific fields from the OpeningTimes
1054
+ */
536
1055
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
1056
+ /**
1057
+ * The data used to create many OpeningTimes.
1058
+ */
537
1059
  data: Prisma.OpeningTimesCreateManyInput | Prisma.OpeningTimesCreateManyInput[];
538
1060
  skipDuplicates?: boolean;
539
1061
  };
1062
+ /**
1063
+ * OpeningTimes update
1064
+ */
540
1065
  export type OpeningTimesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1066
+ /**
1067
+ * Select specific fields to fetch from the OpeningTimes
1068
+ */
541
1069
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
1070
+ /**
1071
+ * Omit specific fields from the OpeningTimes
1072
+ */
542
1073
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
1074
+ /**
1075
+ * Choose, which related nodes to fetch as well
1076
+ */
543
1077
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
1078
+ /**
1079
+ * The data needed to update a OpeningTimes.
1080
+ */
544
1081
  data: Prisma.XOR<Prisma.OpeningTimesUpdateInput, Prisma.OpeningTimesUncheckedUpdateInput>;
1082
+ /**
1083
+ * Choose, which OpeningTimes to update.
1084
+ */
545
1085
  where: Prisma.OpeningTimesWhereUniqueInput;
546
1086
  };
1087
+ /**
1088
+ * OpeningTimes updateMany
1089
+ */
547
1090
  export type OpeningTimesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1091
+ /**
1092
+ * The data used to update OpeningTimes.
1093
+ */
548
1094
  data: Prisma.XOR<Prisma.OpeningTimesUpdateManyMutationInput, Prisma.OpeningTimesUncheckedUpdateManyInput>;
1095
+ /**
1096
+ * Filter which OpeningTimes to update
1097
+ */
549
1098
  where?: Prisma.OpeningTimesWhereInput;
1099
+ /**
1100
+ * Limit how many OpeningTimes to update.
1101
+ */
550
1102
  limit?: number;
551
1103
  };
1104
+ /**
1105
+ * OpeningTimes updateManyAndReturn
1106
+ */
552
1107
  export type OpeningTimesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1108
+ /**
1109
+ * Select specific fields to fetch from the OpeningTimes
1110
+ */
553
1111
  select?: Prisma.OpeningTimesSelectUpdateManyAndReturn<ExtArgs> | null;
1112
+ /**
1113
+ * Omit specific fields from the OpeningTimes
1114
+ */
554
1115
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
1116
+ /**
1117
+ * The data used to update OpeningTimes.
1118
+ */
555
1119
  data: Prisma.XOR<Prisma.OpeningTimesUpdateManyMutationInput, Prisma.OpeningTimesUncheckedUpdateManyInput>;
1120
+ /**
1121
+ * Filter which OpeningTimes to update
1122
+ */
556
1123
  where?: Prisma.OpeningTimesWhereInput;
1124
+ /**
1125
+ * Limit how many OpeningTimes to update.
1126
+ */
557
1127
  limit?: number;
558
1128
  };
1129
+ /**
1130
+ * OpeningTimes upsert
1131
+ */
559
1132
  export type OpeningTimesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1133
+ /**
1134
+ * Select specific fields to fetch from the OpeningTimes
1135
+ */
560
1136
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
1137
+ /**
1138
+ * Omit specific fields from the OpeningTimes
1139
+ */
561
1140
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
1141
+ /**
1142
+ * Choose, which related nodes to fetch as well
1143
+ */
562
1144
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
1145
+ /**
1146
+ * The filter to search for the OpeningTimes to update in case it exists.
1147
+ */
563
1148
  where: Prisma.OpeningTimesWhereUniqueInput;
1149
+ /**
1150
+ * In case the OpeningTimes found by the `where` argument doesn't exist, create a new OpeningTimes with this data.
1151
+ */
564
1152
  create: Prisma.XOR<Prisma.OpeningTimesCreateInput, Prisma.OpeningTimesUncheckedCreateInput>;
1153
+ /**
1154
+ * In case the OpeningTimes was found with the provided `where` argument, update it with this data.
1155
+ */
565
1156
  update: Prisma.XOR<Prisma.OpeningTimesUpdateInput, Prisma.OpeningTimesUncheckedUpdateInput>;
566
1157
  };
1158
+ /**
1159
+ * OpeningTimes delete
1160
+ */
567
1161
  export type OpeningTimesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1162
+ /**
1163
+ * Select specific fields to fetch from the OpeningTimes
1164
+ */
568
1165
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
1166
+ /**
1167
+ * Omit specific fields from the OpeningTimes
1168
+ */
569
1169
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
1170
+ /**
1171
+ * Choose, which related nodes to fetch as well
1172
+ */
570
1173
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
1174
+ /**
1175
+ * Filter which OpeningTimes to delete.
1176
+ */
571
1177
  where: Prisma.OpeningTimesWhereUniqueInput;
572
1178
  };
1179
+ /**
1180
+ * OpeningTimes deleteMany
1181
+ */
573
1182
  export type OpeningTimesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1183
+ /**
1184
+ * Filter which OpeningTimes to delete
1185
+ */
574
1186
  where?: Prisma.OpeningTimesWhereInput;
1187
+ /**
1188
+ * Limit how many OpeningTimes to delete.
1189
+ */
575
1190
  limit?: number;
576
1191
  };
1192
+ /**
1193
+ * OpeningTimes.organizationConfiguration
1194
+ */
577
1195
  export type OpeningTimes$organizationConfigurationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1196
+ /**
1197
+ * Select specific fields to fetch from the OrganizationConfiguration
1198
+ */
578
1199
  select?: Prisma.OrganizationConfigurationSelect<ExtArgs> | null;
1200
+ /**
1201
+ * Omit specific fields from the OrganizationConfiguration
1202
+ */
579
1203
  omit?: Prisma.OrganizationConfigurationOmit<ExtArgs> | null;
1204
+ /**
1205
+ * Choose, which related nodes to fetch as well
1206
+ */
580
1207
  include?: Prisma.OrganizationConfigurationInclude<ExtArgs> | null;
581
1208
  where?: Prisma.OrganizationConfigurationWhereInput;
582
1209
  };
1210
+ /**
1211
+ * OpeningTimes without action
1212
+ */
583
1213
  export type OpeningTimesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1214
+ /**
1215
+ * Select specific fields to fetch from the OpeningTimes
1216
+ */
584
1217
  select?: Prisma.OpeningTimesSelect<ExtArgs> | null;
1218
+ /**
1219
+ * Omit specific fields from the OpeningTimes
1220
+ */
585
1221
  omit?: Prisma.OpeningTimesOmit<ExtArgs> | null;
1222
+ /**
1223
+ * Choose, which related nodes to fetch as well
1224
+ */
586
1225
  include?: Prisma.OpeningTimesInclude<ExtArgs> | null;
587
1226
  };
588
1227
  export {};