@shophost/rest-api 2.0.32 → 2.0.34

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/package.json +13 -14
  2. package/src/app.js +53 -1
  3. package/src/app.js.map +1 -0
  4. package/src/core/auth/auth.schema.js +41 -1
  5. package/src/core/auth/auth.schema.js.map +1 -0
  6. package/src/core/auth/auth.util.js +44 -1
  7. package/src/core/auth/auth.util.js.map +1 -0
  8. package/src/core/auth/better-auth.lib.js +100 -1
  9. package/src/core/auth/better-auth.lib.js.map +1 -0
  10. package/src/core/auth/generate-password-hash.util.d.ts +3 -0
  11. package/src/core/auth/generate-password-hash.util.js +30 -1
  12. package/src/core/auth/generate-password-hash.util.js.map +1 -0
  13. package/src/core/auth/headers.schema.js +22 -1
  14. package/src/core/auth/headers.schema.js.map +1 -0
  15. package/src/core/auth/user.schema.js +30 -1
  16. package/src/core/auth/user.schema.js.map +1 -0
  17. package/src/core/db/__generated__/client/browser.d.ts +128 -0
  18. package/src/core/db/__generated__/client/browser.js +18 -1
  19. package/src/core/db/__generated__/client/browser.js.map +1 -0
  20. package/src/core/db/__generated__/client/client.d.ts +143 -0
  21. package/src/core/db/__generated__/client/client.js +35 -1
  22. package/src/core/db/__generated__/client/client.js.map +1 -0
  23. package/src/core/db/__generated__/client/commonInputTypes.js +11 -1
  24. package/src/core/db/__generated__/client/commonInputTypes.js.map +1 -0
  25. package/src/core/db/__generated__/client/enums.js +200 -1
  26. package/src/core/db/__generated__/client/enums.js.map +1 -0
  27. package/src/core/db/__generated__/client/internal/class.d.ts +343 -0
  28. package/src/core/db/__generated__/client/internal/class.js +55 -1
  29. package/src/core/db/__generated__/client/internal/class.js.map +1 -0
  30. package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +234 -0
  31. package/src/core/db/__generated__/client/internal/prismaNamespace.js +541 -1
  32. package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
  33. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +15 -0
  34. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +512 -1
  35. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -0
  36. package/src/core/db/__generated__/client/models/Account.d.ts +633 -0
  37. package/src/core/db/__generated__/client/models/Account.js +2 -1
  38. package/src/core/db/__generated__/client/models/Account.js.map +1 -0
  39. package/src/core/db/__generated__/client/models/Address.d.ts +706 -0
  40. package/src/core/db/__generated__/client/models/Address.js +2 -1
  41. package/src/core/db/__generated__/client/models/Address.js.map +1 -0
  42. package/src/core/db/__generated__/client/models/Campaign.d.ts +643 -0
  43. package/src/core/db/__generated__/client/models/Campaign.js +2 -1
  44. package/src/core/db/__generated__/client/models/Campaign.js.map +1 -0
  45. package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +639 -0
  46. package/src/core/db/__generated__/client/models/ClosingTimes.js +2 -1
  47. package/src/core/db/__generated__/client/models/ClosingTimes.js.map +1 -0
  48. package/src/core/db/__generated__/client/models/File.d.ts +757 -0
  49. package/src/core/db/__generated__/client/models/File.js +2 -1
  50. package/src/core/db/__generated__/client/models/File.js.map +1 -0
  51. package/src/core/db/__generated__/client/models/Invitation.d.ts +633 -0
  52. package/src/core/db/__generated__/client/models/Invitation.js +2 -1
  53. package/src/core/db/__generated__/client/models/Invitation.js.map +1 -0
  54. package/src/core/db/__generated__/client/models/LegalEntity.d.ts +657 -0
  55. package/src/core/db/__generated__/client/models/LegalEntity.js +2 -1
  56. package/src/core/db/__generated__/client/models/LegalEntity.js.map +1 -0
  57. package/src/core/db/__generated__/client/models/Manufacturer.d.ts +684 -0
  58. package/src/core/db/__generated__/client/models/Manufacturer.js +2 -1
  59. package/src/core/db/__generated__/client/models/Manufacturer.js.map +1 -0
  60. package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +633 -0
  61. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +2 -1
  62. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
  63. package/src/core/db/__generated__/client/models/Member.d.ts +633 -0
  64. package/src/core/db/__generated__/client/models/Member.js +2 -1
  65. package/src/core/db/__generated__/client/models/Member.js.map +1 -0
  66. package/src/core/db/__generated__/client/models/Modifier.d.ts +667 -0
  67. package/src/core/db/__generated__/client/models/Modifier.js +2 -1
  68. package/src/core/db/__generated__/client/models/Modifier.js.map +1 -0
  69. package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +691 -0
  70. package/src/core/db/__generated__/client/models/ModifierGroup.js +2 -1
  71. package/src/core/db/__generated__/client/models/ModifierGroup.js.map +1 -0
  72. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +633 -0
  73. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +2 -1
  74. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
  75. package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +639 -0
  76. package/src/core/db/__generated__/client/models/OpeningTimes.js +2 -1
  77. package/src/core/db/__generated__/client/models/OpeningTimes.js.map +1 -0
  78. package/src/core/db/__generated__/client/models/Order.d.ts +705 -0
  79. package/src/core/db/__generated__/client/models/Order.js +2 -1
  80. package/src/core/db/__generated__/client/models/Order.js.map +1 -0
  81. package/src/core/db/__generated__/client/models/OrderItem.d.ts +691 -0
  82. package/src/core/db/__generated__/client/models/OrderItem.js +2 -1
  83. package/src/core/db/__generated__/client/models/OrderItem.js.map +1 -0
  84. package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +633 -0
  85. package/src/core/db/__generated__/client/models/OrderItemTranslation.js +2 -1
  86. package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
  87. package/src/core/db/__generated__/client/models/Organization.d.ts +816 -0
  88. package/src/core/db/__generated__/client/models/Organization.js +2 -1
  89. package/src/core/db/__generated__/client/models/Organization.js.map +1 -0
  90. package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +681 -0
  91. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +2 -1
  92. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
  93. package/src/core/db/__generated__/client/models/Payment.d.ts +673 -0
  94. package/src/core/db/__generated__/client/models/Payment.js +2 -1
  95. package/src/core/db/__generated__/client/models/Payment.js.map +1 -0
  96. package/src/core/db/__generated__/client/models/PaymentSession.d.ts +643 -0
  97. package/src/core/db/__generated__/client/models/PaymentSession.js +2 -1
  98. package/src/core/db/__generated__/client/models/PaymentSession.js.map +1 -0
  99. package/src/core/db/__generated__/client/models/Product.d.ts +751 -0
  100. package/src/core/db/__generated__/client/models/Product.js +2 -1
  101. package/src/core/db/__generated__/client/models/Product.js.map +1 -0
  102. package/src/core/db/__generated__/client/models/ProductCategory.d.ts +694 -0
  103. package/src/core/db/__generated__/client/models/ProductCategory.js +2 -1
  104. package/src/core/db/__generated__/client/models/ProductCategory.js.map +1 -0
  105. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +633 -0
  106. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +2 -1
  107. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
  108. package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +669 -0
  109. package/src/core/db/__generated__/client/models/ProductSnapshot.js +2 -1
  110. package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
  111. package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +633 -0
  112. package/src/core/db/__generated__/client/models/ProductTranslation.js +2 -1
  113. package/src/core/db/__generated__/client/models/ProductTranslation.js.map +1 -0
  114. package/src/core/db/__generated__/client/models/Reservation.d.ts +655 -0
  115. package/src/core/db/__generated__/client/models/Reservation.js +2 -1
  116. package/src/core/db/__generated__/client/models/Reservation.js.map +1 -0
  117. package/src/core/db/__generated__/client/models/Session.d.ts +633 -0
  118. package/src/core/db/__generated__/client/models/Session.js +2 -1
  119. package/src/core/db/__generated__/client/models/Session.js.map +1 -0
  120. package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +684 -0
  121. package/src/core/db/__generated__/client/models/ShippingMethod.js +2 -1
  122. package/src/core/db/__generated__/client/models/ShippingMethod.js.map +1 -0
  123. package/src/core/db/__generated__/client/models/ShippingZone.d.ts +643 -0
  124. package/src/core/db/__generated__/client/models/ShippingZone.js +2 -1
  125. package/src/core/db/__generated__/client/models/ShippingZone.js.map +1 -0
  126. package/src/core/db/__generated__/client/models/User.d.ts +741 -0
  127. package/src/core/db/__generated__/client/models/User.js +2 -1
  128. package/src/core/db/__generated__/client/models/User.js.map +1 -0
  129. package/src/core/db/__generated__/client/models/Verification.d.ts +597 -0
  130. package/src/core/db/__generated__/client/models/Verification.js +2 -1
  131. package/src/core/db/__generated__/client/models/Verification.js.map +1 -0
  132. package/src/core/db/__generated__/client/models.js +2 -1
  133. package/src/core/db/__generated__/client/models.js.map +1 -0
  134. package/src/core/db/index.js +2 -1
  135. package/src/core/db/index.js.map +1 -0
  136. package/src/core/exceptions/http-exception.js +9 -1
  137. package/src/core/exceptions/http-exception.js.map +1 -0
  138. package/src/core/hono/hono.js +123 -1
  139. package/src/core/hono/hono.js.map +1 -0
  140. package/src/core/lib/prisma.js +11 -1
  141. package/src/core/lib/prisma.js.map +1 -0
  142. package/src/core/logging/pino.js +5 -1
  143. package/src/core/logging/pino.js.map +1 -0
  144. package/src/core/notifications/email.service.d.ts +15 -0
  145. package/src/core/notifications/email.service.js +116 -1
  146. package/src/core/notifications/email.service.js.map +1 -0
  147. package/src/core/openapi/openapi.lib.js +26 -1
  148. package/src/core/openapi/openapi.lib.js.map +1 -0
  149. package/src/core/types/google-maps.types.js +2 -1
  150. package/src/core/types/google-maps.types.js.map +1 -0
  151. package/src/core/utils/currency.util.js +11 -1
  152. package/src/core/utils/currency.util.js.map +1 -0
  153. package/src/core/utils/env.util.js +8 -1
  154. package/src/core/utils/env.util.js.map +1 -0
  155. package/src/core/utils/object.util.d.ts +10 -0
  156. package/src/core/utils/object.util.js +39 -1
  157. package/src/core/utils/object.util.js.map +1 -0
  158. package/src/core/utils/translations.util.js +2 -0
  159. package/src/core/utils/translations.util.js.map +1 -0
  160. package/src/core/utils/zod.util.d.ts +12 -0
  161. package/src/core/utils/zod.util.js +85 -1
  162. package/src/core/utils/zod.util.js.map +1 -0
  163. package/src/db.js +3 -1
  164. package/src/db.js.map +1 -0
  165. package/src/features/access/access.handler.js +91 -1
  166. package/src/features/access/access.handler.js.map +1 -0
  167. package/src/features/access/access.route.js +220 -1
  168. package/src/features/access/access.route.js.map +1 -0
  169. package/src/features/access/access.schema.js +108 -1
  170. package/src/features/access/access.schema.js.map +1 -0
  171. package/src/features/access/access.service.js +294 -1
  172. package/src/features/access/access.service.js.map +1 -0
  173. package/src/features/cart/cart.handler.js +17 -1
  174. package/src/features/cart/cart.handler.js.map +1 -0
  175. package/src/features/cart/cart.route.js +32 -1
  176. package/src/features/cart/cart.route.js.map +1 -0
  177. package/src/features/cart/cart.schema.js +39 -1
  178. package/src/features/cart/cart.schema.js.map +1 -0
  179. package/src/features/cart/cart.service.d.ts +7 -0
  180. package/src/features/cart/cart.service.js +97 -1
  181. package/src/features/cart/cart.service.js.map +1 -0
  182. package/src/features/cart/cart.util.js +76 -1
  183. package/src/features/cart/cart.util.js.map +1 -0
  184. package/src/features/file/file.handler.js +23 -1
  185. package/src/features/file/file.handler.js.map +1 -0
  186. package/src/features/file/file.route.js +34 -1
  187. package/src/features/file/file.route.js.map +1 -0
  188. package/src/features/file/file.schema.js +77 -1
  189. package/src/features/file/file.schema.js.map +1 -0
  190. package/src/features/file/file.service.d.ts +6 -0
  191. package/src/features/file/file.service.js +66 -1
  192. package/src/features/file/file.service.js.map +1 -0
  193. package/src/features/health/health.handler.js +10 -1
  194. package/src/features/health/health.handler.js.map +1 -0
  195. package/src/features/health/health.route.js +25 -1
  196. package/src/features/health/health.route.js.map +1 -0
  197. package/src/features/index.js +16 -1
  198. package/src/features/index.js.map +1 -0
  199. package/src/features/location/location.handler.js +25 -1
  200. package/src/features/location/location.handler.js.map +1 -0
  201. package/src/features/location/location.route.js +56 -1
  202. package/src/features/location/location.route.js.map +1 -0
  203. package/src/features/location/location.schema.js +50 -1
  204. package/src/features/location/location.schema.js.map +1 -0
  205. package/src/features/location/location.service.d.ts +3 -0
  206. package/src/features/location/location.service.js +141 -1
  207. package/src/features/location/location.service.js.map +1 -0
  208. package/src/features/manufacturer/manufacturer.handler.js +53 -1
  209. package/src/features/manufacturer/manufacturer.handler.js.map +1 -0
  210. package/src/features/manufacturer/manufacturer.route.js +97 -1
  211. package/src/features/manufacturer/manufacturer.route.js.map +1 -0
  212. package/src/features/manufacturer/manufacturer.schema.js +125 -1
  213. package/src/features/manufacturer/manufacturer.schema.js.map +1 -0
  214. package/src/features/manufacturer/manufacturer.service.d.ts +19 -0
  215. package/src/features/manufacturer/manufacturer.service.js +190 -1
  216. package/src/features/manufacturer/manufacturer.service.js.map +1 -0
  217. package/src/features/order/emails/order-confirmation.email.js +229 -1
  218. package/src/features/order/emails/order-confirmation.email.js.map +1 -0
  219. package/src/features/order/emails/order-notification.email.js +229 -1
  220. package/src/features/order/emails/order-notification.email.js.map +1 -0
  221. package/src/features/order/fulfilment.schema.js +3 -1
  222. package/src/features/order/fulfilment.schema.js.map +1 -0
  223. package/src/features/order/order.handler.js +54 -1
  224. package/src/features/order/order.handler.js.map +1 -0
  225. package/src/features/order/order.route.js +111 -1
  226. package/src/features/order/order.route.js.map +1 -0
  227. package/src/features/order/order.schema.js +158 -1
  228. package/src/features/order/order.schema.js.map +1 -0
  229. package/src/features/order/order.service.d.ts +15 -0
  230. package/src/features/order/order.service.js +306 -1
  231. package/src/features/order/order.service.js.map +1 -0
  232. package/src/features/order/recipient.schema.js +38 -1
  233. package/src/features/order/recipient.schema.js.map +1 -0
  234. package/src/features/organization/legal-entity.schema.js +83 -1
  235. package/src/features/organization/legal-entity.schema.js.map +1 -0
  236. package/src/features/organization/organization-configuration.schema.js +115 -1
  237. package/src/features/organization/organization-configuration.schema.js.map +1 -0
  238. package/src/features/organization/organization.handler.js +48 -1
  239. package/src/features/organization/organization.handler.js.map +1 -0
  240. package/src/features/organization/organization.route.js +84 -1
  241. package/src/features/organization/organization.route.js.map +1 -0
  242. package/src/features/organization/organization.schema.js +64 -1
  243. package/src/features/organization/organization.schema.js.map +1 -0
  244. package/src/features/organization/organization.service.d.ts +15 -0
  245. package/src/features/organization/organization.service.js +334 -1
  246. package/src/features/organization/organization.service.js.map +1 -0
  247. package/src/features/payment/payment.handler.js +16 -1
  248. package/src/features/payment/payment.handler.js.map +1 -0
  249. package/src/features/payment/payment.route.js +22 -1
  250. package/src/features/payment/payment.route.js.map +1 -0
  251. package/src/features/payment/payment.schema.js +46 -1
  252. package/src/features/payment/payment.schema.js.map +1 -0
  253. package/src/features/payment/payment.service.js +100 -1
  254. package/src/features/payment/payment.service.js.map +1 -0
  255. package/src/features/payment/stripe.service.js +164 -1
  256. package/src/features/payment/stripe.service.js.map +1 -0
  257. package/src/features/product/product-modifier.schema.js +84 -1
  258. package/src/features/product/product-modifier.schema.js.map +1 -0
  259. package/src/features/product/product.handler.js +87 -1
  260. package/src/features/product/product.handler.js.map +1 -0
  261. package/src/features/product/product.route.js +179 -1
  262. package/src/features/product/product.route.js.map +1 -0
  263. package/src/features/product/product.schema.js +143 -1
  264. package/src/features/product/product.schema.js.map +1 -0
  265. package/src/features/product/product.service.d.ts +25 -0
  266. package/src/features/product/product.service.js +440 -1
  267. package/src/features/product/product.service.js.map +1 -0
  268. package/src/features/product-category/product-category.handler.js +59 -1
  269. package/src/features/product-category/product-category.handler.js.map +1 -0
  270. package/src/features/product-category/product-category.route.js +139 -1
  271. package/src/features/product-category/product-category.route.js.map +1 -0
  272. package/src/features/product-category/product-category.schema.js +86 -1
  273. package/src/features/product-category/product-category.schema.js.map +1 -0
  274. package/src/features/product-category/product-category.service.d.ts +22 -0
  275. package/src/features/product-category/product-category.service.js +220 -1
  276. package/src/features/product-category/product-category.service.js.map +1 -0
  277. package/src/features/reservation/emails/reservation-cancellation.email.js +82 -1
  278. package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -0
  279. package/src/features/reservation/emails/reservation-confirmation.email.js +82 -1
  280. package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -0
  281. package/src/features/reservation/emails/reservation-notification.email.js +93 -1
  282. package/src/features/reservation/emails/reservation-notification.email.js.map +1 -0
  283. package/src/features/reservation/reservation.handler.js +65 -1
  284. package/src/features/reservation/reservation.handler.js.map +1 -0
  285. package/src/features/reservation/reservation.route.js +167 -1
  286. package/src/features/reservation/reservation.route.js.map +1 -0
  287. package/src/features/reservation/reservation.schema.js +51 -1
  288. package/src/features/reservation/reservation.schema.js.map +1 -0
  289. package/src/features/reservation/reservation.service.d.ts +18 -0
  290. package/src/features/reservation/reservation.service.js +231 -1
  291. package/src/features/reservation/reservation.service.js.map +1 -0
  292. package/src/features/shipping/shipping.handler.js +32 -1
  293. package/src/features/shipping/shipping.handler.js.map +1 -0
  294. package/src/features/shipping/shipping.route.js +51 -1
  295. package/src/features/shipping/shipping.route.js.map +1 -0
  296. package/src/features/shipping/shipping.service.d.ts +7 -0
  297. package/src/features/shipping/shipping.service.js +96 -1
  298. package/src/features/shipping/shipping.service.js.map +1 -0
  299. package/src/features/shipping-method/shipping-method.handler.js +60 -1
  300. package/src/features/shipping-method/shipping-method.handler.js.map +1 -0
  301. package/src/features/shipping-method/shipping-method.route.js +144 -1
  302. package/src/features/shipping-method/shipping-method.route.js.map +1 -0
  303. package/src/features/shipping-method/shipping-method.schema.js +48 -1
  304. package/src/features/shipping-method/shipping-method.schema.js.map +1 -0
  305. package/src/features/shipping-method/shipping-method.service.d.ts +25 -0
  306. package/src/features/shipping-method/shipping-method.service.js +229 -1
  307. package/src/features/shipping-method/shipping-method.service.js.map +1 -0
  308. package/src/features/shipping-method/shipping-zone.schema.js +31 -1
  309. package/src/features/shipping-method/shipping-zone.schema.js.map +1 -0
  310. package/src/features/webhook/webhook.handler.js +50 -1
  311. package/src/features/webhook/webhook.handler.js.map +1 -0
  312. package/src/features/webhook/webhook.route.js +33 -1
  313. package/src/features/webhook/webhook.route.js.map +1 -0
  314. package/src/index.js +6 -1
  315. package/src/index.js.map +1 -0
  316. package/src/integrations/next.js +82 -1
  317. package/src/integrations/next.js.map +1 -0
  318. package/src/schemas/address.schema.d.ts +8 -0
  319. package/src/schemas/address.schema.js +112 -1
  320. package/src/schemas/address.schema.js.map +1 -0
  321. package/src/schemas/currency.schema.d.ts +42 -0
  322. package/src/schemas/currency.schema.js +118 -1
  323. package/src/schemas/currency.schema.js.map +1 -0
  324. package/src/schemas/error.schema.js +12 -1
  325. package/src/schemas/error.schema.js.map +1 -0
  326. package/src/schemas/index.js +29 -1
  327. package/src/schemas/index.js.map +1 -0
  328. package/src/schemas/locales.schema.js +238 -1
  329. package/src/schemas/locales.schema.js.map +1 -0
  330. package/src/schemas/number.schema.js +29 -1
  331. package/src/schemas/number.schema.js.map +1 -0
  332. package/src/schemas/pagination.schema.js +54 -1
  333. package/src/schemas/pagination.schema.js.map +1 -0
  334. package/src/schemas/params.schema.js +20 -1
  335. package/src/schemas/params.schema.js.map +1 -0
  336. package/src/schemas/queries.schema.js +6 -1
  337. package/src/schemas/queries.schema.js.map +1 -0
  338. package/src/test/global-setup.js +37 -1
  339. package/src/test/global-setup.js.map +1 -0
  340. package/src/test/integration/api-fixtures.js +160 -1
  341. package/src/test/integration/api-fixtures.js.map +1 -0
  342. package/src/test/integration/seed.js +368 -1
  343. package/src/test/integration/seed.js.map +1 -0
  344. package/src/test/integration/test-helpers.js +154 -1
  345. package/src/test/integration/test-helpers.js.map +1 -0
  346. package/src/test/setup-test-env.js +7 -1
  347. package/src/test/setup-test-env.js.map +1 -0
  348. package/scripts/minify.mjs +0 -123
@@ -1,5 +1,9 @@
1
1
  import type * as runtime from "@prisma/client/runtime/client";
2
2
  import type * as Prisma from "../internal/prismaNamespace";
3
+ /**
4
+ * Model ClosingTimes
5
+ *
6
+ */
3
7
  export type ClosingTimesModel = runtime.Types.Result.DefaultSelection<Prisma.$ClosingTimesPayload>;
4
8
  export type AggregateClosingTimes = {
5
9
  _count: ClosingTimesCountAggregateOutputType | null;
@@ -69,13 +73,51 @@ export type ClosingTimesCountAggregateInputType = {
69
73
  _all?: true;
70
74
  };
71
75
  export type ClosingTimesAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
76
+ /**
77
+ * Filter which ClosingTimes to aggregate.
78
+ */
72
79
  where?: Prisma.ClosingTimesWhereInput;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
82
+ *
83
+ * Determine the order of ClosingTimes to fetch.
84
+ */
73
85
  orderBy?: Prisma.ClosingTimesOrderByWithRelationInput | Prisma.ClosingTimesOrderByWithRelationInput[];
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.ClosingTimesWhereUniqueInput;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
94
+ *
95
+ * Take `±n` ClosingTimes 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` ClosingTimes.
102
+ */
76
103
  skip?: number;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
106
+ *
107
+ * Count returned ClosingTimes
108
+ **/
77
109
  _count?: true | ClosingTimesCountAggregateInputType;
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?: ClosingTimesMinAggregateInputType;
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?: ClosingTimesMaxAggregateInputType;
80
122
  };
81
123
  export type GetClosingTimesAggregateType<T extends ClosingTimesAggregateArgs> = {
@@ -423,22 +465,290 @@ export interface ClosingTimesDelegate<ExtArgs extends runtime.Types.Extensions.I
423
465
  name: 'ClosingTimes';
424
466
  };
425
467
  };
468
+ /**
469
+ * Find zero or one ClosingTimes that matches the filter.
470
+ * @param {ClosingTimesFindUniqueArgs} args - Arguments to find a ClosingTimes
471
+ * @example
472
+ * // Get one ClosingTimes
473
+ * const closingTimes = await prisma.closingTimes.findUnique({
474
+ * where: {
475
+ * // ... provide filter here
476
+ * }
477
+ * })
478
+ */
426
479
  findUnique<T extends ClosingTimesFindUniqueArgs>(args: Prisma.SelectSubset<T, ClosingTimesFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
480
+ /**
481
+ * Find one ClosingTimes that matches the filter or throw an error with `error.code='P2025'`
482
+ * if no matches were found.
483
+ * @param {ClosingTimesFindUniqueOrThrowArgs} args - Arguments to find a ClosingTimes
484
+ * @example
485
+ * // Get one ClosingTimes
486
+ * const closingTimes = await prisma.closingTimes.findUniqueOrThrow({
487
+ * where: {
488
+ * // ... provide filter here
489
+ * }
490
+ * })
491
+ */
427
492
  findUniqueOrThrow<T extends ClosingTimesFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ClosingTimesFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
493
+ /**
494
+ * Find the first ClosingTimes 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 {ClosingTimesFindFirstArgs} args - Arguments to find a ClosingTimes
498
+ * @example
499
+ * // Get one ClosingTimes
500
+ * const closingTimes = await prisma.closingTimes.findFirst({
501
+ * where: {
502
+ * // ... provide filter here
503
+ * }
504
+ * })
505
+ */
428
506
  findFirst<T extends ClosingTimesFindFirstArgs>(args?: Prisma.SelectSubset<T, ClosingTimesFindFirstArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
507
+ /**
508
+ * Find the first ClosingTimes 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 {ClosingTimesFindFirstOrThrowArgs} args - Arguments to find a ClosingTimes
513
+ * @example
514
+ * // Get one ClosingTimes
515
+ * const closingTimes = await prisma.closingTimes.findFirstOrThrow({
516
+ * where: {
517
+ * // ... provide filter here
518
+ * }
519
+ * })
520
+ */
429
521
  findFirstOrThrow<T extends ClosingTimesFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ClosingTimesFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
522
+ /**
523
+ * Find zero or more ClosingTimes 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 {ClosingTimesFindManyArgs} args - Arguments to filter and select certain fields only.
527
+ * @example
528
+ * // Get all ClosingTimes
529
+ * const closingTimes = await prisma.closingTimes.findMany()
530
+ *
531
+ * // Get first 10 ClosingTimes
532
+ * const closingTimes = await prisma.closingTimes.findMany({ take: 10 })
533
+ *
534
+ * // Only select the `id`
535
+ * const closingTimesWithIdOnly = await prisma.closingTimes.findMany({ select: { id: true } })
536
+ *
537
+ */
430
538
  findMany<T extends ClosingTimesFindManyArgs>(args?: Prisma.SelectSubset<T, ClosingTimesFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
539
+ /**
540
+ * Create a ClosingTimes.
541
+ * @param {ClosingTimesCreateArgs} args - Arguments to create a ClosingTimes.
542
+ * @example
543
+ * // Create one ClosingTimes
544
+ * const ClosingTimes = await prisma.closingTimes.create({
545
+ * data: {
546
+ * // ... data to create a ClosingTimes
547
+ * }
548
+ * })
549
+ *
550
+ */
431
551
  create<T extends ClosingTimesCreateArgs>(args: Prisma.SelectSubset<T, ClosingTimesCreateArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
552
+ /**
553
+ * Create many ClosingTimes.
554
+ * @param {ClosingTimesCreateManyArgs} args - Arguments to create many ClosingTimes.
555
+ * @example
556
+ * // Create many ClosingTimes
557
+ * const closingTimes = await prisma.closingTimes.createMany({
558
+ * data: [
559
+ * // ... provide data here
560
+ * ]
561
+ * })
562
+ *
563
+ */
432
564
  createMany<T extends ClosingTimesCreateManyArgs>(args?: Prisma.SelectSubset<T, ClosingTimesCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
565
+ /**
566
+ * Create many ClosingTimes and returns the data saved in the database.
567
+ * @param {ClosingTimesCreateManyAndReturnArgs} args - Arguments to create many ClosingTimes.
568
+ * @example
569
+ * // Create many ClosingTimes
570
+ * const closingTimes = await prisma.closingTimes.createManyAndReturn({
571
+ * data: [
572
+ * // ... provide data here
573
+ * ]
574
+ * })
575
+ *
576
+ * // Create many ClosingTimes and only return the `id`
577
+ * const closingTimesWithIdOnly = await prisma.closingTimes.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 ClosingTimesCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ClosingTimesCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
588
+ /**
589
+ * Delete a ClosingTimes.
590
+ * @param {ClosingTimesDeleteArgs} args - Arguments to delete one ClosingTimes.
591
+ * @example
592
+ * // Delete one ClosingTimes
593
+ * const ClosingTimes = await prisma.closingTimes.delete({
594
+ * where: {
595
+ * // ... filter to delete one ClosingTimes
596
+ * }
597
+ * })
598
+ *
599
+ */
434
600
  delete<T extends ClosingTimesDeleteArgs>(args: Prisma.SelectSubset<T, ClosingTimesDeleteArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
601
+ /**
602
+ * Update one ClosingTimes.
603
+ * @param {ClosingTimesUpdateArgs} args - Arguments to update one ClosingTimes.
604
+ * @example
605
+ * // Update one ClosingTimes
606
+ * const closingTimes = await prisma.closingTimes.update({
607
+ * where: {
608
+ * // ... provide filter here
609
+ * },
610
+ * data: {
611
+ * // ... provide data here
612
+ * }
613
+ * })
614
+ *
615
+ */
435
616
  update<T extends ClosingTimesUpdateArgs>(args: Prisma.SelectSubset<T, ClosingTimesUpdateArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
617
+ /**
618
+ * Delete zero or more ClosingTimes.
619
+ * @param {ClosingTimesDeleteManyArgs} args - Arguments to filter ClosingTimes to delete.
620
+ * @example
621
+ * // Delete a few ClosingTimes
622
+ * const { count } = await prisma.closingTimes.deleteMany({
623
+ * where: {
624
+ * // ... provide filter here
625
+ * }
626
+ * })
627
+ *
628
+ */
436
629
  deleteMany<T extends ClosingTimesDeleteManyArgs>(args?: Prisma.SelectSubset<T, ClosingTimesDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
630
+ /**
631
+ * Update zero or more ClosingTimes.
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 {ClosingTimesUpdateManyArgs} args - Arguments to update one or more rows.
635
+ * @example
636
+ * // Update many ClosingTimes
637
+ * const closingTimes = await prisma.closingTimes.updateMany({
638
+ * where: {
639
+ * // ... provide filter here
640
+ * },
641
+ * data: {
642
+ * // ... provide data here
643
+ * }
644
+ * })
645
+ *
646
+ */
437
647
  updateMany<T extends ClosingTimesUpdateManyArgs>(args: Prisma.SelectSubset<T, ClosingTimesUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
648
+ /**
649
+ * Update zero or more ClosingTimes and returns the data updated in the database.
650
+ * @param {ClosingTimesUpdateManyAndReturnArgs} args - Arguments to update many ClosingTimes.
651
+ * @example
652
+ * // Update many ClosingTimes
653
+ * const closingTimes = await prisma.closingTimes.updateManyAndReturn({
654
+ * where: {
655
+ * // ... provide filter here
656
+ * },
657
+ * data: [
658
+ * // ... provide data here
659
+ * ]
660
+ * })
661
+ *
662
+ * // Update zero or more ClosingTimes and only return the `id`
663
+ * const closingTimesWithIdOnly = await prisma.closingTimes.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 ClosingTimesUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ClosingTimesUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
677
+ /**
678
+ * Create or update one ClosingTimes.
679
+ * @param {ClosingTimesUpsertArgs} args - Arguments to update or create a ClosingTimes.
680
+ * @example
681
+ * // Update or create a ClosingTimes
682
+ * const closingTimes = await prisma.closingTimes.upsert({
683
+ * create: {
684
+ * // ... data to create a ClosingTimes
685
+ * },
686
+ * update: {
687
+ * // ... in case it already exists, update
688
+ * },
689
+ * where: {
690
+ * // ... the filter for the ClosingTimes we want to update
691
+ * }
692
+ * })
693
+ */
439
694
  upsert<T extends ClosingTimesUpsertArgs>(args: Prisma.SelectSubset<T, ClosingTimesUpsertArgs<ExtArgs>>): Prisma.Prisma__ClosingTimesClient<runtime.Types.Result.GetResult<Prisma.$ClosingTimesPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
695
+ /**
696
+ * Count the number of ClosingTimes.
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 {ClosingTimesCountArgs} args - Arguments to filter ClosingTimes to count.
700
+ * @example
701
+ * // Count the number of ClosingTimes
702
+ * const count = await prisma.closingTimes.count({
703
+ * where: {
704
+ * // ... the filter for the ClosingTimes we want to count
705
+ * }
706
+ * })
707
+ **/
440
708
  count<T extends ClosingTimesCountArgs>(args?: Prisma.Subset<T, ClosingTimesCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ClosingTimesCountAggregateOutputType> : number>;
709
+ /**
710
+ * Allows you to perform aggregations operations on a ClosingTimes.
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 {ClosingTimesAggregateArgs} 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 ClosingTimesAggregateArgs>(args: Prisma.Subset<T, ClosingTimesAggregateArgs>): Prisma.PrismaPromise<GetClosingTimesAggregateType<T>>;
734
+ /**
735
+ * Group by ClosingTimes.
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 {ClosingTimesGroupByArgs} 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 ClosingTimesGroupByArgs, 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: ClosingTimesGroupByArgs['orderBy'];
444
754
  } : {
@@ -457,15 +767,44 @@ export interface ClosingTimesDelegate<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, ClosingTimesGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetClosingTimesGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
770
+ /**
771
+ * Fields of the ClosingTimes model
772
+ */
460
773
  readonly fields: ClosingTimesFieldRefs;
461
774
  }
775
+ /**
776
+ * The delegate class that acts as a "Promise-like" for ClosingTimes.
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__ClosingTimesClient<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.ClosingTimes$organizationConfigurationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ClosingTimes$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 ClosingTimes model
807
+ */
469
808
  export interface ClosingTimesFieldRefs {
470
809
  readonly id: Prisma.FieldRef<"ClosingTimes", 'String'>;
471
810
  readonly monday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
@@ -476,113 +815,413 @@ export interface ClosingTimesFieldRefs {
476
815
  readonly saturday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
477
816
  readonly sunday: Prisma.FieldRef<"ClosingTimes", 'DateTime'>;
478
817
  }
818
+ /**
819
+ * ClosingTimes findUnique
820
+ */
479
821
  export type ClosingTimesFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
822
+ /**
823
+ * Select specific fields to fetch from the ClosingTimes
824
+ */
480
825
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
826
+ /**
827
+ * Omit specific fields from the ClosingTimes
828
+ */
481
829
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
830
+ /**
831
+ * Choose, which related nodes to fetch as well
832
+ */
482
833
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
834
+ /**
835
+ * Filter, which ClosingTimes to fetch.
836
+ */
483
837
  where: Prisma.ClosingTimesWhereUniqueInput;
484
838
  };
839
+ /**
840
+ * ClosingTimes findUniqueOrThrow
841
+ */
485
842
  export type ClosingTimesFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
843
+ /**
844
+ * Select specific fields to fetch from the ClosingTimes
845
+ */
486
846
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
847
+ /**
848
+ * Omit specific fields from the ClosingTimes
849
+ */
487
850
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
851
+ /**
852
+ * Choose, which related nodes to fetch as well
853
+ */
488
854
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
855
+ /**
856
+ * Filter, which ClosingTimes to fetch.
857
+ */
489
858
  where: Prisma.ClosingTimesWhereUniqueInput;
490
859
  };
860
+ /**
861
+ * ClosingTimes findFirst
862
+ */
491
863
  export type ClosingTimesFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
864
+ /**
865
+ * Select specific fields to fetch from the ClosingTimes
866
+ */
492
867
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
868
+ /**
869
+ * Omit specific fields from the ClosingTimes
870
+ */
493
871
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
872
+ /**
873
+ * Choose, which related nodes to fetch as well
874
+ */
494
875
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
876
+ /**
877
+ * Filter, which ClosingTimes to fetch.
878
+ */
495
879
  where?: Prisma.ClosingTimesWhereInput;
880
+ /**
881
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
882
+ *
883
+ * Determine the order of ClosingTimes to fetch.
884
+ */
496
885
  orderBy?: Prisma.ClosingTimesOrderByWithRelationInput | Prisma.ClosingTimesOrderByWithRelationInput[];
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 ClosingTimes.
890
+ */
497
891
  cursor?: Prisma.ClosingTimesWhereUniqueInput;
892
+ /**
893
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
894
+ *
895
+ * Take `±n` ClosingTimes 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` ClosingTimes.
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 ClosingTimes.
908
+ */
500
909
  distinct?: Prisma.ClosingTimesScalarFieldEnum | Prisma.ClosingTimesScalarFieldEnum[];
501
910
  };
911
+ /**
912
+ * ClosingTimes findFirstOrThrow
913
+ */
502
914
  export type ClosingTimesFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
915
+ /**
916
+ * Select specific fields to fetch from the ClosingTimes
917
+ */
503
918
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
919
+ /**
920
+ * Omit specific fields from the ClosingTimes
921
+ */
504
922
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
923
+ /**
924
+ * Choose, which related nodes to fetch as well
925
+ */
505
926
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
927
+ /**
928
+ * Filter, which ClosingTimes to fetch.
929
+ */
506
930
  where?: Prisma.ClosingTimesWhereInput;
931
+ /**
932
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
933
+ *
934
+ * Determine the order of ClosingTimes to fetch.
935
+ */
507
936
  orderBy?: Prisma.ClosingTimesOrderByWithRelationInput | Prisma.ClosingTimesOrderByWithRelationInput[];
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 ClosingTimes.
941
+ */
508
942
  cursor?: Prisma.ClosingTimesWhereUniqueInput;
943
+ /**
944
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
945
+ *
946
+ * Take `±n` ClosingTimes 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` ClosingTimes.
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 ClosingTimes.
959
+ */
511
960
  distinct?: Prisma.ClosingTimesScalarFieldEnum | Prisma.ClosingTimesScalarFieldEnum[];
512
961
  };
962
+ /**
963
+ * ClosingTimes findMany
964
+ */
513
965
  export type ClosingTimesFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
966
+ /**
967
+ * Select specific fields to fetch from the ClosingTimes
968
+ */
514
969
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
970
+ /**
971
+ * Omit specific fields from the ClosingTimes
972
+ */
515
973
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
974
+ /**
975
+ * Choose, which related nodes to fetch as well
976
+ */
516
977
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
978
+ /**
979
+ * Filter, which ClosingTimes to fetch.
980
+ */
517
981
  where?: Prisma.ClosingTimesWhereInput;
982
+ /**
983
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
984
+ *
985
+ * Determine the order of ClosingTimes to fetch.
986
+ */
518
987
  orderBy?: Prisma.ClosingTimesOrderByWithRelationInput | Prisma.ClosingTimesOrderByWithRelationInput[];
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 ClosingTimes.
992
+ */
519
993
  cursor?: Prisma.ClosingTimesWhereUniqueInput;
994
+ /**
995
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
996
+ *
997
+ * Take `±n` ClosingTimes 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` ClosingTimes.
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 ClosingTimes.
1010
+ */
522
1011
  distinct?: Prisma.ClosingTimesScalarFieldEnum | Prisma.ClosingTimesScalarFieldEnum[];
523
1012
  };
1013
+ /**
1014
+ * ClosingTimes create
1015
+ */
524
1016
  export type ClosingTimesCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1017
+ /**
1018
+ * Select specific fields to fetch from the ClosingTimes
1019
+ */
525
1020
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
1021
+ /**
1022
+ * Omit specific fields from the ClosingTimes
1023
+ */
526
1024
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
1025
+ /**
1026
+ * Choose, which related nodes to fetch as well
1027
+ */
527
1028
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
1029
+ /**
1030
+ * The data needed to create a ClosingTimes.
1031
+ */
528
1032
  data?: Prisma.XOR<Prisma.ClosingTimesCreateInput, Prisma.ClosingTimesUncheckedCreateInput>;
529
1033
  };
1034
+ /**
1035
+ * ClosingTimes createMany
1036
+ */
530
1037
  export type ClosingTimesCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1038
+ /**
1039
+ * The data used to create many ClosingTimes.
1040
+ */
531
1041
  data: Prisma.ClosingTimesCreateManyInput | Prisma.ClosingTimesCreateManyInput[];
532
1042
  skipDuplicates?: boolean;
533
1043
  };
1044
+ /**
1045
+ * ClosingTimes createManyAndReturn
1046
+ */
534
1047
  export type ClosingTimesCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1048
+ /**
1049
+ * Select specific fields to fetch from the ClosingTimes
1050
+ */
535
1051
  select?: Prisma.ClosingTimesSelectCreateManyAndReturn<ExtArgs> | null;
1052
+ /**
1053
+ * Omit specific fields from the ClosingTimes
1054
+ */
536
1055
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
1056
+ /**
1057
+ * The data used to create many ClosingTimes.
1058
+ */
537
1059
  data: Prisma.ClosingTimesCreateManyInput | Prisma.ClosingTimesCreateManyInput[];
538
1060
  skipDuplicates?: boolean;
539
1061
  };
1062
+ /**
1063
+ * ClosingTimes update
1064
+ */
540
1065
  export type ClosingTimesUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1066
+ /**
1067
+ * Select specific fields to fetch from the ClosingTimes
1068
+ */
541
1069
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
1070
+ /**
1071
+ * Omit specific fields from the ClosingTimes
1072
+ */
542
1073
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
1074
+ /**
1075
+ * Choose, which related nodes to fetch as well
1076
+ */
543
1077
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
1078
+ /**
1079
+ * The data needed to update a ClosingTimes.
1080
+ */
544
1081
  data: Prisma.XOR<Prisma.ClosingTimesUpdateInput, Prisma.ClosingTimesUncheckedUpdateInput>;
1082
+ /**
1083
+ * Choose, which ClosingTimes to update.
1084
+ */
545
1085
  where: Prisma.ClosingTimesWhereUniqueInput;
546
1086
  };
1087
+ /**
1088
+ * ClosingTimes updateMany
1089
+ */
547
1090
  export type ClosingTimesUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1091
+ /**
1092
+ * The data used to update ClosingTimes.
1093
+ */
548
1094
  data: Prisma.XOR<Prisma.ClosingTimesUpdateManyMutationInput, Prisma.ClosingTimesUncheckedUpdateManyInput>;
1095
+ /**
1096
+ * Filter which ClosingTimes to update
1097
+ */
549
1098
  where?: Prisma.ClosingTimesWhereInput;
1099
+ /**
1100
+ * Limit how many ClosingTimes to update.
1101
+ */
550
1102
  limit?: number;
551
1103
  };
1104
+ /**
1105
+ * ClosingTimes updateManyAndReturn
1106
+ */
552
1107
  export type ClosingTimesUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1108
+ /**
1109
+ * Select specific fields to fetch from the ClosingTimes
1110
+ */
553
1111
  select?: Prisma.ClosingTimesSelectUpdateManyAndReturn<ExtArgs> | null;
1112
+ /**
1113
+ * Omit specific fields from the ClosingTimes
1114
+ */
554
1115
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
1116
+ /**
1117
+ * The data used to update ClosingTimes.
1118
+ */
555
1119
  data: Prisma.XOR<Prisma.ClosingTimesUpdateManyMutationInput, Prisma.ClosingTimesUncheckedUpdateManyInput>;
1120
+ /**
1121
+ * Filter which ClosingTimes to update
1122
+ */
556
1123
  where?: Prisma.ClosingTimesWhereInput;
1124
+ /**
1125
+ * Limit how many ClosingTimes to update.
1126
+ */
557
1127
  limit?: number;
558
1128
  };
1129
+ /**
1130
+ * ClosingTimes upsert
1131
+ */
559
1132
  export type ClosingTimesUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1133
+ /**
1134
+ * Select specific fields to fetch from the ClosingTimes
1135
+ */
560
1136
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
1137
+ /**
1138
+ * Omit specific fields from the ClosingTimes
1139
+ */
561
1140
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
1141
+ /**
1142
+ * Choose, which related nodes to fetch as well
1143
+ */
562
1144
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
1145
+ /**
1146
+ * The filter to search for the ClosingTimes to update in case it exists.
1147
+ */
563
1148
  where: Prisma.ClosingTimesWhereUniqueInput;
1149
+ /**
1150
+ * In case the ClosingTimes found by the `where` argument doesn't exist, create a new ClosingTimes with this data.
1151
+ */
564
1152
  create: Prisma.XOR<Prisma.ClosingTimesCreateInput, Prisma.ClosingTimesUncheckedCreateInput>;
1153
+ /**
1154
+ * In case the ClosingTimes was found with the provided `where` argument, update it with this data.
1155
+ */
565
1156
  update: Prisma.XOR<Prisma.ClosingTimesUpdateInput, Prisma.ClosingTimesUncheckedUpdateInput>;
566
1157
  };
1158
+ /**
1159
+ * ClosingTimes delete
1160
+ */
567
1161
  export type ClosingTimesDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1162
+ /**
1163
+ * Select specific fields to fetch from the ClosingTimes
1164
+ */
568
1165
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
1166
+ /**
1167
+ * Omit specific fields from the ClosingTimes
1168
+ */
569
1169
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
1170
+ /**
1171
+ * Choose, which related nodes to fetch as well
1172
+ */
570
1173
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
1174
+ /**
1175
+ * Filter which ClosingTimes to delete.
1176
+ */
571
1177
  where: Prisma.ClosingTimesWhereUniqueInput;
572
1178
  };
1179
+ /**
1180
+ * ClosingTimes deleteMany
1181
+ */
573
1182
  export type ClosingTimesDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1183
+ /**
1184
+ * Filter which ClosingTimes to delete
1185
+ */
574
1186
  where?: Prisma.ClosingTimesWhereInput;
1187
+ /**
1188
+ * Limit how many ClosingTimes to delete.
1189
+ */
575
1190
  limit?: number;
576
1191
  };
1192
+ /**
1193
+ * ClosingTimes.organizationConfiguration
1194
+ */
577
1195
  export type ClosingTimes$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
+ * ClosingTimes without action
1212
+ */
583
1213
  export type ClosingTimesDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1214
+ /**
1215
+ * Select specific fields to fetch from the ClosingTimes
1216
+ */
584
1217
  select?: Prisma.ClosingTimesSelect<ExtArgs> | null;
1218
+ /**
1219
+ * Omit specific fields from the ClosingTimes
1220
+ */
585
1221
  omit?: Prisma.ClosingTimesOmit<ExtArgs> | null;
1222
+ /**
1223
+ * Choose, which related nodes to fetch as well
1224
+ */
586
1225
  include?: Prisma.ClosingTimesInclude<ExtArgs> | null;
587
1226
  };
588
1227
  export {};