@shophost/rest-api 2.0.30 → 2.0.32

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 (352) hide show
  1. package/package.json +18 -13
  2. package/scripts/minify.mjs +123 -0
  3. package/src/app.js +1 -53
  4. package/src/core/auth/auth.schema.js +1 -41
  5. package/src/core/auth/auth.util.js +1 -44
  6. package/src/core/auth/better-auth.lib.js +1 -100
  7. package/src/core/auth/generate-password-hash.util.d.ts +0 -3
  8. package/src/core/auth/generate-password-hash.util.js +1 -30
  9. package/src/core/auth/headers.schema.js +1 -22
  10. package/src/core/auth/user.schema.js +1 -30
  11. package/src/core/db/__generated__/client/browser.d.ts +0 -128
  12. package/src/core/db/__generated__/client/browser.js +1 -18
  13. package/src/core/db/__generated__/client/client.d.ts +0 -143
  14. package/src/core/db/__generated__/client/client.js +1 -35
  15. package/src/core/db/__generated__/client/commonInputTypes.js +1 -11
  16. package/src/core/db/__generated__/client/enums.js +1 -200
  17. package/src/core/db/__generated__/client/internal/class.d.ts +0 -343
  18. package/src/core/db/__generated__/client/internal/class.js +1 -55
  19. package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +0 -234
  20. package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -541
  21. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +0 -15
  22. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +1 -512
  23. package/src/core/db/__generated__/client/models/Account.d.ts +0 -628
  24. package/src/core/db/__generated__/client/models/Account.js +1 -2
  25. package/src/core/db/__generated__/client/models/Address.d.ts +0 -701
  26. package/src/core/db/__generated__/client/models/Address.js +1 -2
  27. package/src/core/db/__generated__/client/models/Campaign.d.ts +0 -638
  28. package/src/core/db/__generated__/client/models/Campaign.js +1 -2
  29. package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +0 -634
  30. package/src/core/db/__generated__/client/models/ClosingTimes.js +1 -2
  31. package/src/core/db/__generated__/client/models/File.d.ts +0 -752
  32. package/src/core/db/__generated__/client/models/File.js +1 -2
  33. package/src/core/db/__generated__/client/models/Invitation.d.ts +0 -628
  34. package/src/core/db/__generated__/client/models/Invitation.js +1 -2
  35. package/src/core/db/__generated__/client/models/LegalEntity.d.ts +0 -652
  36. package/src/core/db/__generated__/client/models/LegalEntity.js +1 -2
  37. package/src/core/db/__generated__/client/models/Manufacturer.d.ts +0 -679
  38. package/src/core/db/__generated__/client/models/Manufacturer.js +1 -2
  39. package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +0 -628
  40. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +1 -2
  41. package/src/core/db/__generated__/client/models/Member.d.ts +0 -628
  42. package/src/core/db/__generated__/client/models/Member.js +1 -2
  43. package/src/core/db/__generated__/client/models/Modifier.d.ts +0 -662
  44. package/src/core/db/__generated__/client/models/Modifier.js +1 -2
  45. package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +0 -686
  46. package/src/core/db/__generated__/client/models/ModifierGroup.js +1 -2
  47. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +0 -628
  48. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +1 -2
  49. package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +0 -634
  50. package/src/core/db/__generated__/client/models/OpeningTimes.js +1 -2
  51. package/src/core/db/__generated__/client/models/Order.d.ts +0 -700
  52. package/src/core/db/__generated__/client/models/Order.js +1 -2
  53. package/src/core/db/__generated__/client/models/OrderItem.d.ts +0 -686
  54. package/src/core/db/__generated__/client/models/OrderItem.js +1 -2
  55. package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +0 -628
  56. package/src/core/db/__generated__/client/models/OrderItemTranslation.js +1 -2
  57. package/src/core/db/__generated__/client/models/Organization.d.ts +0 -811
  58. package/src/core/db/__generated__/client/models/Organization.js +1 -2
  59. package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +0 -676
  60. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +1 -2
  61. package/src/core/db/__generated__/client/models/Payment.d.ts +0 -668
  62. package/src/core/db/__generated__/client/models/Payment.js +1 -2
  63. package/src/core/db/__generated__/client/models/PaymentSession.d.ts +0 -638
  64. package/src/core/db/__generated__/client/models/PaymentSession.js +1 -2
  65. package/src/core/db/__generated__/client/models/Product.d.ts +0 -746
  66. package/src/core/db/__generated__/client/models/Product.js +1 -2
  67. package/src/core/db/__generated__/client/models/ProductCategory.d.ts +0 -689
  68. package/src/core/db/__generated__/client/models/ProductCategory.js +1 -2
  69. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +0 -628
  70. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +1 -2
  71. package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +0 -664
  72. package/src/core/db/__generated__/client/models/ProductSnapshot.js +1 -2
  73. package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +0 -628
  74. package/src/core/db/__generated__/client/models/ProductTranslation.js +1 -2
  75. package/src/core/db/__generated__/client/models/Reservation.d.ts +0 -650
  76. package/src/core/db/__generated__/client/models/Reservation.js +1 -2
  77. package/src/core/db/__generated__/client/models/Session.d.ts +0 -628
  78. package/src/core/db/__generated__/client/models/Session.js +1 -2
  79. package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +0 -679
  80. package/src/core/db/__generated__/client/models/ShippingMethod.js +1 -2
  81. package/src/core/db/__generated__/client/models/ShippingZone.d.ts +0 -638
  82. package/src/core/db/__generated__/client/models/ShippingZone.js +1 -2
  83. package/src/core/db/__generated__/client/models/User.d.ts +0 -736
  84. package/src/core/db/__generated__/client/models/User.js +1 -2
  85. package/src/core/db/__generated__/client/models/Verification.d.ts +0 -592
  86. package/src/core/db/__generated__/client/models/Verification.js +1 -2
  87. package/src/core/db/__generated__/client/models.js +1 -2
  88. package/src/core/db/index.js +1 -2
  89. package/src/core/exceptions/http-exception.js +1 -9
  90. package/src/core/hono/hono.js +1 -123
  91. package/src/core/lib/prisma.d.ts +9 -1
  92. package/src/core/lib/prisma.js +1 -11
  93. package/src/core/logging/pino.js +1 -5
  94. package/src/core/notifications/email.service.d.ts +0 -15
  95. package/src/core/notifications/email.service.js +1 -116
  96. package/src/core/openapi/openapi.lib.js +1 -26
  97. package/src/core/types/google-maps.types.js +1 -2
  98. package/src/core/utils/currency.util.js +1 -11
  99. package/src/core/utils/env.util.js +1 -8
  100. package/src/core/utils/object.util.d.ts +0 -10
  101. package/src/core/utils/object.util.js +1 -39
  102. package/src/core/utils/translations.util.js +0 -2
  103. package/src/core/utils/zod.util.d.ts +0 -12
  104. package/src/core/utils/zod.util.js +1 -85
  105. package/src/db.js +1 -3
  106. package/src/features/access/access.handler.js +1 -91
  107. package/src/features/access/access.route.js +1 -220
  108. package/src/features/access/access.schema.js +1 -108
  109. package/src/features/access/access.service.js +1 -294
  110. package/src/features/cart/cart.handler.js +1 -17
  111. package/src/features/cart/cart.route.js +1 -32
  112. package/src/features/cart/cart.schema.js +1 -39
  113. package/src/features/cart/cart.service.d.ts +0 -7
  114. package/src/features/cart/cart.service.js +1 -97
  115. package/src/features/cart/cart.util.js +1 -76
  116. package/src/features/file/file.handler.js +1 -23
  117. package/src/features/file/file.route.js +1 -34
  118. package/src/features/file/file.schema.js +1 -77
  119. package/src/features/file/file.service.d.ts +0 -6
  120. package/src/features/file/file.service.js +1 -66
  121. package/src/features/health/health.handler.js +1 -10
  122. package/src/features/health/health.route.js +1 -25
  123. package/src/features/index.js +1 -16
  124. package/src/features/location/location.handler.js +1 -25
  125. package/src/features/location/location.route.js +1 -56
  126. package/src/features/location/location.schema.js +1 -50
  127. package/src/features/location/location.service.d.ts +0 -3
  128. package/src/features/location/location.service.js +1 -141
  129. package/src/features/manufacturer/manufacturer.handler.js +1 -53
  130. package/src/features/manufacturer/manufacturer.route.js +1 -97
  131. package/src/features/manufacturer/manufacturer.schema.js +1 -125
  132. package/src/features/manufacturer/manufacturer.service.d.ts +0 -19
  133. package/src/features/manufacturer/manufacturer.service.js +1 -190
  134. package/src/features/order/emails/order-confirmation.email.js +1 -229
  135. package/src/features/order/emails/order-notification.email.js +1 -229
  136. package/src/features/order/fulfilment.schema.js +1 -3
  137. package/src/features/order/order.handler.js +1 -54
  138. package/src/features/order/order.route.js +1 -111
  139. package/src/features/order/order.schema.js +1 -158
  140. package/src/features/order/order.service.d.ts +0 -15
  141. package/src/features/order/order.service.js +1 -306
  142. package/src/features/order/recipient.schema.js +1 -38
  143. package/src/features/organization/legal-entity.schema.js +1 -83
  144. package/src/features/organization/organization-configuration.schema.js +1 -115
  145. package/src/features/organization/organization.handler.js +1 -48
  146. package/src/features/organization/organization.route.js +1 -84
  147. package/src/features/organization/organization.schema.js +1 -64
  148. package/src/features/organization/organization.service.d.ts +0 -15
  149. package/src/features/organization/organization.service.js +1 -334
  150. package/src/features/payment/payment.handler.js +1 -16
  151. package/src/features/payment/payment.route.js +1 -22
  152. package/src/features/payment/payment.schema.js +1 -46
  153. package/src/features/payment/payment.service.js +1 -100
  154. package/src/features/payment/stripe.service.js +1 -164
  155. package/src/features/product/product-modifier.schema.js +1 -84
  156. package/src/features/product/product.handler.js +1 -87
  157. package/src/features/product/product.route.js +1 -179
  158. package/src/features/product/product.schema.js +1 -143
  159. package/src/features/product/product.service.d.ts +0 -25
  160. package/src/features/product/product.service.js +1 -440
  161. package/src/features/product-category/product-category.handler.js +1 -59
  162. package/src/features/product-category/product-category.route.js +1 -139
  163. package/src/features/product-category/product-category.schema.js +1 -86
  164. package/src/features/product-category/product-category.service.d.ts +0 -22
  165. package/src/features/product-category/product-category.service.js +1 -220
  166. package/src/features/reservation/emails/reservation-cancellation.email.js +1 -82
  167. package/src/features/reservation/emails/reservation-confirmation.email.js +1 -82
  168. package/src/features/reservation/emails/reservation-notification.email.js +1 -93
  169. package/src/features/reservation/reservation.handler.js +1 -65
  170. package/src/features/reservation/reservation.route.js +1 -167
  171. package/src/features/reservation/reservation.schema.js +1 -51
  172. package/src/features/reservation/reservation.service.d.ts +0 -18
  173. package/src/features/reservation/reservation.service.js +1 -231
  174. package/src/features/shipping/shipping.handler.js +1 -32
  175. package/src/features/shipping/shipping.route.js +1 -51
  176. package/src/features/shipping/shipping.service.d.ts +0 -7
  177. package/src/features/shipping/shipping.service.js +1 -96
  178. package/src/features/shipping-method/shipping-method.handler.js +1 -60
  179. package/src/features/shipping-method/shipping-method.route.js +1 -144
  180. package/src/features/shipping-method/shipping-method.schema.js +1 -48
  181. package/src/features/shipping-method/shipping-method.service.d.ts +0 -25
  182. package/src/features/shipping-method/shipping-method.service.js +1 -229
  183. package/src/features/shipping-method/shipping-zone.schema.js +1 -31
  184. package/src/features/webhook/webhook.handler.js +1 -50
  185. package/src/features/webhook/webhook.route.js +1 -33
  186. package/src/index.js +1 -6
  187. package/src/integrations/next.js +1 -82
  188. package/src/schemas/address.schema.d.ts +0 -8
  189. package/src/schemas/address.schema.js +1 -112
  190. package/src/schemas/currency.schema.d.ts +0 -42
  191. package/src/schemas/currency.schema.js +1 -118
  192. package/src/schemas/error.schema.js +1 -12
  193. package/src/schemas/index.js +1 -29
  194. package/src/schemas/locales.schema.js +1 -238
  195. package/src/schemas/number.schema.js +1 -29
  196. package/src/schemas/pagination.schema.js +1 -54
  197. package/src/schemas/params.schema.js +1 -20
  198. package/src/schemas/queries.schema.js +1 -6
  199. package/src/test/global-setup.d.ts +1 -0
  200. package/src/test/global-setup.js +1 -0
  201. package/src/test/integration/api-fixtures.d.ts +4 -16
  202. package/src/test/integration/api-fixtures.js +1 -225
  203. package/src/test/integration/seed.d.ts +81 -0
  204. package/src/test/integration/seed.js +1 -0
  205. package/src/test/integration/test-helpers.d.ts +107 -924
  206. package/src/test/integration/test-helpers.js +1 -1100
  207. package/src/test/setup-test-env.d.ts +1 -1
  208. package/src/test/setup-test-env.js +1 -29
  209. package/src/app.js.map +0 -1
  210. package/src/core/auth/auth.schema.js.map +0 -1
  211. package/src/core/auth/auth.util.js.map +0 -1
  212. package/src/core/auth/better-auth.lib.js.map +0 -1
  213. package/src/core/auth/generate-password-hash.util.js.map +0 -1
  214. package/src/core/auth/headers.schema.js.map +0 -1
  215. package/src/core/auth/user.schema.js.map +0 -1
  216. package/src/core/db/__generated__/client/browser.js.map +0 -1
  217. package/src/core/db/__generated__/client/client.js.map +0 -1
  218. package/src/core/db/__generated__/client/commonInputTypes.js.map +0 -1
  219. package/src/core/db/__generated__/client/enums.js.map +0 -1
  220. package/src/core/db/__generated__/client/internal/class.js.map +0 -1
  221. package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +0 -1
  222. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +0 -1
  223. package/src/core/db/__generated__/client/models/Account.js.map +0 -1
  224. package/src/core/db/__generated__/client/models/Address.js.map +0 -1
  225. package/src/core/db/__generated__/client/models/Campaign.js.map +0 -1
  226. package/src/core/db/__generated__/client/models/ClosingTimes.js.map +0 -1
  227. package/src/core/db/__generated__/client/models/File.js.map +0 -1
  228. package/src/core/db/__generated__/client/models/Invitation.js.map +0 -1
  229. package/src/core/db/__generated__/client/models/LegalEntity.js.map +0 -1
  230. package/src/core/db/__generated__/client/models/Manufacturer.js.map +0 -1
  231. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +0 -1
  232. package/src/core/db/__generated__/client/models/Member.js.map +0 -1
  233. package/src/core/db/__generated__/client/models/Modifier.js.map +0 -1
  234. package/src/core/db/__generated__/client/models/ModifierGroup.js.map +0 -1
  235. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +0 -1
  236. package/src/core/db/__generated__/client/models/OpeningTimes.js.map +0 -1
  237. package/src/core/db/__generated__/client/models/Order.js.map +0 -1
  238. package/src/core/db/__generated__/client/models/OrderItem.js.map +0 -1
  239. package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +0 -1
  240. package/src/core/db/__generated__/client/models/Organization.js.map +0 -1
  241. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +0 -1
  242. package/src/core/db/__generated__/client/models/Payment.js.map +0 -1
  243. package/src/core/db/__generated__/client/models/PaymentSession.js.map +0 -1
  244. package/src/core/db/__generated__/client/models/Product.js.map +0 -1
  245. package/src/core/db/__generated__/client/models/ProductCategory.js.map +0 -1
  246. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +0 -1
  247. package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +0 -1
  248. package/src/core/db/__generated__/client/models/ProductTranslation.js.map +0 -1
  249. package/src/core/db/__generated__/client/models/Reservation.js.map +0 -1
  250. package/src/core/db/__generated__/client/models/Session.js.map +0 -1
  251. package/src/core/db/__generated__/client/models/ShippingMethod.js.map +0 -1
  252. package/src/core/db/__generated__/client/models/ShippingZone.js.map +0 -1
  253. package/src/core/db/__generated__/client/models/User.js.map +0 -1
  254. package/src/core/db/__generated__/client/models/Verification.js.map +0 -1
  255. package/src/core/db/__generated__/client/models.js.map +0 -1
  256. package/src/core/db/index.js.map +0 -1
  257. package/src/core/exceptions/http-exception.js.map +0 -1
  258. package/src/core/hono/hono.js.map +0 -1
  259. package/src/core/lib/prisma.js.map +0 -1
  260. package/src/core/logging/pino.js.map +0 -1
  261. package/src/core/notifications/email.service.js.map +0 -1
  262. package/src/core/openapi/openapi.lib.js.map +0 -1
  263. package/src/core/types/google-maps.types.js.map +0 -1
  264. package/src/core/utils/currency.util.js.map +0 -1
  265. package/src/core/utils/env.util.js.map +0 -1
  266. package/src/core/utils/object.util.js.map +0 -1
  267. package/src/core/utils/translations.util.js.map +0 -1
  268. package/src/core/utils/zod.util.js.map +0 -1
  269. package/src/db.js.map +0 -1
  270. package/src/features/access/access.handler.js.map +0 -1
  271. package/src/features/access/access.route.js.map +0 -1
  272. package/src/features/access/access.schema.js.map +0 -1
  273. package/src/features/access/access.service.js.map +0 -1
  274. package/src/features/cart/cart.handler.js.map +0 -1
  275. package/src/features/cart/cart.route.js.map +0 -1
  276. package/src/features/cart/cart.schema.js.map +0 -1
  277. package/src/features/cart/cart.service.js.map +0 -1
  278. package/src/features/cart/cart.util.js.map +0 -1
  279. package/src/features/file/file.handler.js.map +0 -1
  280. package/src/features/file/file.route.js.map +0 -1
  281. package/src/features/file/file.schema.js.map +0 -1
  282. package/src/features/file/file.service.js.map +0 -1
  283. package/src/features/health/health.handler.js.map +0 -1
  284. package/src/features/health/health.route.js.map +0 -1
  285. package/src/features/index.js.map +0 -1
  286. package/src/features/location/location.handler.js.map +0 -1
  287. package/src/features/location/location.route.js.map +0 -1
  288. package/src/features/location/location.schema.js.map +0 -1
  289. package/src/features/location/location.service.js.map +0 -1
  290. package/src/features/manufacturer/manufacturer.handler.js.map +0 -1
  291. package/src/features/manufacturer/manufacturer.route.js.map +0 -1
  292. package/src/features/manufacturer/manufacturer.schema.js.map +0 -1
  293. package/src/features/manufacturer/manufacturer.service.js.map +0 -1
  294. package/src/features/order/emails/order-confirmation.email.js.map +0 -1
  295. package/src/features/order/emails/order-notification.email.js.map +0 -1
  296. package/src/features/order/fulfilment.schema.js.map +0 -1
  297. package/src/features/order/order.handler.js.map +0 -1
  298. package/src/features/order/order.route.js.map +0 -1
  299. package/src/features/order/order.schema.js.map +0 -1
  300. package/src/features/order/order.service.js.map +0 -1
  301. package/src/features/order/recipient.schema.js.map +0 -1
  302. package/src/features/organization/legal-entity.schema.js.map +0 -1
  303. package/src/features/organization/organization-configuration.schema.js.map +0 -1
  304. package/src/features/organization/organization.handler.js.map +0 -1
  305. package/src/features/organization/organization.route.js.map +0 -1
  306. package/src/features/organization/organization.schema.js.map +0 -1
  307. package/src/features/organization/organization.service.js.map +0 -1
  308. package/src/features/payment/payment.handler.js.map +0 -1
  309. package/src/features/payment/payment.route.js.map +0 -1
  310. package/src/features/payment/payment.schema.js.map +0 -1
  311. package/src/features/payment/payment.service.js.map +0 -1
  312. package/src/features/payment/stripe.service.js.map +0 -1
  313. package/src/features/product/product-modifier.schema.js.map +0 -1
  314. package/src/features/product/product.handler.js.map +0 -1
  315. package/src/features/product/product.route.js.map +0 -1
  316. package/src/features/product/product.schema.js.map +0 -1
  317. package/src/features/product/product.service.js.map +0 -1
  318. package/src/features/product-category/product-category.handler.js.map +0 -1
  319. package/src/features/product-category/product-category.route.js.map +0 -1
  320. package/src/features/product-category/product-category.schema.js.map +0 -1
  321. package/src/features/product-category/product-category.service.js.map +0 -1
  322. package/src/features/reservation/emails/reservation-cancellation.email.js.map +0 -1
  323. package/src/features/reservation/emails/reservation-confirmation.email.js.map +0 -1
  324. package/src/features/reservation/emails/reservation-notification.email.js.map +0 -1
  325. package/src/features/reservation/reservation.handler.js.map +0 -1
  326. package/src/features/reservation/reservation.route.js.map +0 -1
  327. package/src/features/reservation/reservation.schema.js.map +0 -1
  328. package/src/features/reservation/reservation.service.js.map +0 -1
  329. package/src/features/shipping/shipping.handler.js.map +0 -1
  330. package/src/features/shipping/shipping.route.js.map +0 -1
  331. package/src/features/shipping/shipping.service.js.map +0 -1
  332. package/src/features/shipping-method/shipping-method.handler.js.map +0 -1
  333. package/src/features/shipping-method/shipping-method.route.js.map +0 -1
  334. package/src/features/shipping-method/shipping-method.schema.js.map +0 -1
  335. package/src/features/shipping-method/shipping-method.service.js.map +0 -1
  336. package/src/features/shipping-method/shipping-zone.schema.js.map +0 -1
  337. package/src/features/webhook/webhook.handler.js.map +0 -1
  338. package/src/features/webhook/webhook.route.js.map +0 -1
  339. package/src/index.js.map +0 -1
  340. package/src/integrations/next.js.map +0 -1
  341. package/src/schemas/address.schema.js.map +0 -1
  342. package/src/schemas/currency.schema.js.map +0 -1
  343. package/src/schemas/error.schema.js.map +0 -1
  344. package/src/schemas/index.js.map +0 -1
  345. package/src/schemas/locales.schema.js.map +0 -1
  346. package/src/schemas/number.schema.js.map +0 -1
  347. package/src/schemas/pagination.schema.js.map +0 -1
  348. package/src/schemas/params.schema.js.map +0 -1
  349. package/src/schemas/queries.schema.js.map +0 -1
  350. package/src/test/integration/api-fixtures.js.map +0 -1
  351. package/src/test/integration/test-helpers.js.map +0 -1
  352. package/src/test/setup-test-env.js.map +0 -1
@@ -1,9 +1,5 @@
1
1
  import type * as runtime from "@prisma/client/runtime/client";
2
2
  import type * as Prisma from "../internal/prismaNamespace";
3
- /**
4
- * Model Organization
5
- *
6
- */
7
3
  export type OrganizationModel = runtime.Types.Result.DefaultSelection<Prisma.$OrganizationPayload>;
8
4
  export type AggregateOrganization = {
9
5
  _count: OrganizationCountAggregateOutputType | null;
@@ -121,51 +117,13 @@ export type OrganizationCountAggregateInputType = {
121
117
  _all?: true;
122
118
  };
123
119
  export type OrganizationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
124
- /**
125
- * Filter which Organization to aggregate.
126
- */
127
120
  where?: Prisma.OrganizationWhereInput;
128
- /**
129
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
130
- *
131
- * Determine the order of Organizations to fetch.
132
- */
133
121
  orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
134
- /**
135
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
136
- *
137
- * Sets the start position
138
- */
139
122
  cursor?: Prisma.OrganizationWhereUniqueInput;
140
- /**
141
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
142
- *
143
- * Take `±n` Organizations from the position of the cursor.
144
- */
145
123
  take?: number;
146
- /**
147
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
148
- *
149
- * Skip the first `n` Organizations.
150
- */
151
124
  skip?: number;
152
- /**
153
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
154
- *
155
- * Count returned Organizations
156
- **/
157
125
  _count?: true | OrganizationCountAggregateInputType;
158
- /**
159
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
160
- *
161
- * Select which fields to find the minimum value
162
- **/
163
126
  _min?: OrganizationMinAggregateInputType;
164
- /**
165
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
166
- *
167
- * Select which fields to find the maximum value
168
- **/
169
127
  _max?: OrganizationMaxAggregateInputType;
170
128
  };
171
129
  export type GetOrganizationAggregateType<T extends OrganizationAggregateArgs> = {
@@ -2687,9 +2645,6 @@ export type OrganizationUncheckedUpdateManyWithoutLegalEntityInput = {
2687
2645
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
2688
2646
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
2689
2647
  };
2690
- /**
2691
- * Count Type OrganizationCountOutputType
2692
- */
2693
2648
  export type OrganizationCountOutputType = {
2694
2649
  files: number;
2695
2650
  members: number;
@@ -2714,72 +2669,36 @@ export type OrganizationCountOutputTypeSelect<ExtArgs extends runtime.Types.Exte
2714
2669
  products?: boolean | OrganizationCountOutputTypeCountProductsArgs;
2715
2670
  reservations?: boolean | OrganizationCountOutputTypeCountReservationsArgs;
2716
2671
  };
2717
- /**
2718
- * OrganizationCountOutputType without action
2719
- */
2720
2672
  export type OrganizationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2721
- /**
2722
- * Select specific fields to fetch from the OrganizationCountOutputType
2723
- */
2724
2673
  select?: Prisma.OrganizationCountOutputTypeSelect<ExtArgs> | null;
2725
2674
  };
2726
- /**
2727
- * OrganizationCountOutputType without action
2728
- */
2729
2675
  export type OrganizationCountOutputTypeCountFilesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2730
2676
  where?: Prisma.FileWhereInput;
2731
2677
  };
2732
- /**
2733
- * OrganizationCountOutputType without action
2734
- */
2735
2678
  export type OrganizationCountOutputTypeCountMembersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2736
2679
  where?: Prisma.MemberWhereInput;
2737
2680
  };
2738
- /**
2739
- * OrganizationCountOutputType without action
2740
- */
2741
2681
  export type OrganizationCountOutputTypeCountInvitationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2742
2682
  where?: Prisma.InvitationWhereInput;
2743
2683
  };
2744
- /**
2745
- * OrganizationCountOutputType without action
2746
- */
2747
2684
  export type OrganizationCountOutputTypeCountOrdersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2748
2685
  where?: Prisma.OrderWhereInput;
2749
2686
  };
2750
- /**
2751
- * OrganizationCountOutputType without action
2752
- */
2753
2687
  export type OrganizationCountOutputTypeCountCampaignsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2754
2688
  where?: Prisma.CampaignWhereInput;
2755
2689
  };
2756
- /**
2757
- * OrganizationCountOutputType without action
2758
- */
2759
2690
  export type OrganizationCountOutputTypeCountShippingMethodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2760
2691
  where?: Prisma.ShippingMethodWhereInput;
2761
2692
  };
2762
- /**
2763
- * OrganizationCountOutputType without action
2764
- */
2765
2693
  export type OrganizationCountOutputTypeCountManufacturersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2766
2694
  where?: Prisma.ManufacturerWhereInput;
2767
2695
  };
2768
- /**
2769
- * OrganizationCountOutputType without action
2770
- */
2771
2696
  export type OrganizationCountOutputTypeCountProductCategoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2772
2697
  where?: Prisma.ProductCategoryWhereInput;
2773
2698
  };
2774
- /**
2775
- * OrganizationCountOutputType without action
2776
- */
2777
2699
  export type OrganizationCountOutputTypeCountProductsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2778
2700
  where?: Prisma.ProductWhereInput;
2779
2701
  };
2780
- /**
2781
- * OrganizationCountOutputType without action
2782
- */
2783
2702
  export type OrganizationCountOutputTypeCountReservationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2784
2703
  where?: Prisma.ReservationWhereInput;
2785
2704
  };
@@ -2957,290 +2876,22 @@ export interface OrganizationDelegate<ExtArgs extends runtime.Types.Extensions.I
2957
2876
  name: 'Organization';
2958
2877
  };
2959
2878
  };
2960
- /**
2961
- * Find zero or one Organization that matches the filter.
2962
- * @param {OrganizationFindUniqueArgs} args - Arguments to find a Organization
2963
- * @example
2964
- * // Get one Organization
2965
- * const organization = await prisma.organization.findUnique({
2966
- * where: {
2967
- * // ... provide filter here
2968
- * }
2969
- * })
2970
- */
2971
2879
  findUnique<T extends OrganizationFindUniqueArgs>(args: Prisma.SelectSubset<T, OrganizationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2972
- /**
2973
- * Find one Organization that matches the filter or throw an error with `error.code='P2025'`
2974
- * if no matches were found.
2975
- * @param {OrganizationFindUniqueOrThrowArgs} args - Arguments to find a Organization
2976
- * @example
2977
- * // Get one Organization
2978
- * const organization = await prisma.organization.findUniqueOrThrow({
2979
- * where: {
2980
- * // ... provide filter here
2981
- * }
2982
- * })
2983
- */
2984
2880
  findUniqueOrThrow<T extends OrganizationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, OrganizationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
2985
- /**
2986
- * Find the first Organization that matches the filter.
2987
- * Note, that providing `undefined` is treated as the value not being there.
2988
- * Read more here: https://pris.ly/d/null-undefined
2989
- * @param {OrganizationFindFirstArgs} args - Arguments to find a Organization
2990
- * @example
2991
- * // Get one Organization
2992
- * const organization = await prisma.organization.findFirst({
2993
- * where: {
2994
- * // ... provide filter here
2995
- * }
2996
- * })
2997
- */
2998
2881
  findFirst<T extends OrganizationFindFirstArgs>(args?: Prisma.SelectSubset<T, OrganizationFindFirstArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2999
- /**
3000
- * Find the first Organization that matches the filter or
3001
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
3002
- * Note, that providing `undefined` is treated as the value not being there.
3003
- * Read more here: https://pris.ly/d/null-undefined
3004
- * @param {OrganizationFindFirstOrThrowArgs} args - Arguments to find a Organization
3005
- * @example
3006
- * // Get one Organization
3007
- * const organization = await prisma.organization.findFirstOrThrow({
3008
- * where: {
3009
- * // ... provide filter here
3010
- * }
3011
- * })
3012
- */
3013
2882
  findFirstOrThrow<T extends OrganizationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, OrganizationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3014
- /**
3015
- * Find zero or more Organizations that matches the filter.
3016
- * Note, that providing `undefined` is treated as the value not being there.
3017
- * Read more here: https://pris.ly/d/null-undefined
3018
- * @param {OrganizationFindManyArgs} args - Arguments to filter and select certain fields only.
3019
- * @example
3020
- * // Get all Organizations
3021
- * const organizations = await prisma.organization.findMany()
3022
- *
3023
- * // Get first 10 Organizations
3024
- * const organizations = await prisma.organization.findMany({ take: 10 })
3025
- *
3026
- * // Only select the `id`
3027
- * const organizationWithIdOnly = await prisma.organization.findMany({ select: { id: true } })
3028
- *
3029
- */
3030
2883
  findMany<T extends OrganizationFindManyArgs>(args?: Prisma.SelectSubset<T, OrganizationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
3031
- /**
3032
- * Create a Organization.
3033
- * @param {OrganizationCreateArgs} args - Arguments to create a Organization.
3034
- * @example
3035
- * // Create one Organization
3036
- * const Organization = await prisma.organization.create({
3037
- * data: {
3038
- * // ... data to create a Organization
3039
- * }
3040
- * })
3041
- *
3042
- */
3043
2884
  create<T extends OrganizationCreateArgs>(args: Prisma.SelectSubset<T, OrganizationCreateArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3044
- /**
3045
- * Create many Organizations.
3046
- * @param {OrganizationCreateManyArgs} args - Arguments to create many Organizations.
3047
- * @example
3048
- * // Create many Organizations
3049
- * const organization = await prisma.organization.createMany({
3050
- * data: [
3051
- * // ... provide data here
3052
- * ]
3053
- * })
3054
- *
3055
- */
3056
2885
  createMany<T extends OrganizationCreateManyArgs>(args?: Prisma.SelectSubset<T, OrganizationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3057
- /**
3058
- * Create many Organizations and returns the data saved in the database.
3059
- * @param {OrganizationCreateManyAndReturnArgs} args - Arguments to create many Organizations.
3060
- * @example
3061
- * // Create many Organizations
3062
- * const organization = await prisma.organization.createManyAndReturn({
3063
- * data: [
3064
- * // ... provide data here
3065
- * ]
3066
- * })
3067
- *
3068
- * // Create many Organizations and only return the `id`
3069
- * const organizationWithIdOnly = await prisma.organization.createManyAndReturn({
3070
- * select: { id: true },
3071
- * data: [
3072
- * // ... provide data here
3073
- * ]
3074
- * })
3075
- * Note, that providing `undefined` is treated as the value not being there.
3076
- * Read more here: https://pris.ly/d/null-undefined
3077
- *
3078
- */
3079
2886
  createManyAndReturn<T extends OrganizationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, OrganizationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
3080
- /**
3081
- * Delete a Organization.
3082
- * @param {OrganizationDeleteArgs} args - Arguments to delete one Organization.
3083
- * @example
3084
- * // Delete one Organization
3085
- * const Organization = await prisma.organization.delete({
3086
- * where: {
3087
- * // ... filter to delete one Organization
3088
- * }
3089
- * })
3090
- *
3091
- */
3092
2887
  delete<T extends OrganizationDeleteArgs>(args: Prisma.SelectSubset<T, OrganizationDeleteArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3093
- /**
3094
- * Update one Organization.
3095
- * @param {OrganizationUpdateArgs} args - Arguments to update one Organization.
3096
- * @example
3097
- * // Update one Organization
3098
- * const organization = await prisma.organization.update({
3099
- * where: {
3100
- * // ... provide filter here
3101
- * },
3102
- * data: {
3103
- * // ... provide data here
3104
- * }
3105
- * })
3106
- *
3107
- */
3108
2888
  update<T extends OrganizationUpdateArgs>(args: Prisma.SelectSubset<T, OrganizationUpdateArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3109
- /**
3110
- * Delete zero or more Organizations.
3111
- * @param {OrganizationDeleteManyArgs} args - Arguments to filter Organizations to delete.
3112
- * @example
3113
- * // Delete a few Organizations
3114
- * const { count } = await prisma.organization.deleteMany({
3115
- * where: {
3116
- * // ... provide filter here
3117
- * }
3118
- * })
3119
- *
3120
- */
3121
2889
  deleteMany<T extends OrganizationDeleteManyArgs>(args?: Prisma.SelectSubset<T, OrganizationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3122
- /**
3123
- * Update zero or more Organizations.
3124
- * Note, that providing `undefined` is treated as the value not being there.
3125
- * Read more here: https://pris.ly/d/null-undefined
3126
- * @param {OrganizationUpdateManyArgs} args - Arguments to update one or more rows.
3127
- * @example
3128
- * // Update many Organizations
3129
- * const organization = await prisma.organization.updateMany({
3130
- * where: {
3131
- * // ... provide filter here
3132
- * },
3133
- * data: {
3134
- * // ... provide data here
3135
- * }
3136
- * })
3137
- *
3138
- */
3139
2890
  updateMany<T extends OrganizationUpdateManyArgs>(args: Prisma.SelectSubset<T, OrganizationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
3140
- /**
3141
- * Update zero or more Organizations and returns the data updated in the database.
3142
- * @param {OrganizationUpdateManyAndReturnArgs} args - Arguments to update many Organizations.
3143
- * @example
3144
- * // Update many Organizations
3145
- * const organization = await prisma.organization.updateManyAndReturn({
3146
- * where: {
3147
- * // ... provide filter here
3148
- * },
3149
- * data: [
3150
- * // ... provide data here
3151
- * ]
3152
- * })
3153
- *
3154
- * // Update zero or more Organizations and only return the `id`
3155
- * const organizationWithIdOnly = await prisma.organization.updateManyAndReturn({
3156
- * select: { id: true },
3157
- * where: {
3158
- * // ... provide filter here
3159
- * },
3160
- * data: [
3161
- * // ... provide data here
3162
- * ]
3163
- * })
3164
- * Note, that providing `undefined` is treated as the value not being there.
3165
- * Read more here: https://pris.ly/d/null-undefined
3166
- *
3167
- */
3168
2891
  updateManyAndReturn<T extends OrganizationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, OrganizationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
3169
- /**
3170
- * Create or update one Organization.
3171
- * @param {OrganizationUpsertArgs} args - Arguments to update or create a Organization.
3172
- * @example
3173
- * // Update or create a Organization
3174
- * const organization = await prisma.organization.upsert({
3175
- * create: {
3176
- * // ... data to create a Organization
3177
- * },
3178
- * update: {
3179
- * // ... in case it already exists, update
3180
- * },
3181
- * where: {
3182
- * // ... the filter for the Organization we want to update
3183
- * }
3184
- * })
3185
- */
3186
2892
  upsert<T extends OrganizationUpsertArgs>(args: Prisma.SelectSubset<T, OrganizationUpsertArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
3187
- /**
3188
- * Count the number of Organizations.
3189
- * Note, that providing `undefined` is treated as the value not being there.
3190
- * Read more here: https://pris.ly/d/null-undefined
3191
- * @param {OrganizationCountArgs} args - Arguments to filter Organizations to count.
3192
- * @example
3193
- * // Count the number of Organizations
3194
- * const count = await prisma.organization.count({
3195
- * where: {
3196
- * // ... the filter for the Organizations we want to count
3197
- * }
3198
- * })
3199
- **/
3200
2893
  count<T extends OrganizationCountArgs>(args?: Prisma.Subset<T, OrganizationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], OrganizationCountAggregateOutputType> : number>;
3201
- /**
3202
- * Allows you to perform aggregations operations on a Organization.
3203
- * Note, that providing `undefined` is treated as the value not being there.
3204
- * Read more here: https://pris.ly/d/null-undefined
3205
- * @param {OrganizationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
3206
- * @example
3207
- * // Ordered by age ascending
3208
- * // Where email contains prisma.io
3209
- * // Limited to the 10 users
3210
- * const aggregations = await prisma.user.aggregate({
3211
- * _avg: {
3212
- * age: true,
3213
- * },
3214
- * where: {
3215
- * email: {
3216
- * contains: "prisma.io",
3217
- * },
3218
- * },
3219
- * orderBy: {
3220
- * age: "asc",
3221
- * },
3222
- * take: 10,
3223
- * })
3224
- **/
3225
2894
  aggregate<T extends OrganizationAggregateArgs>(args: Prisma.Subset<T, OrganizationAggregateArgs>): Prisma.PrismaPromise<GetOrganizationAggregateType<T>>;
3226
- /**
3227
- * Group by Organization.
3228
- * Note, that providing `undefined` is treated as the value not being there.
3229
- * Read more here: https://pris.ly/d/null-undefined
3230
- * @param {OrganizationGroupByArgs} args - Group by arguments.
3231
- * @example
3232
- * // Group by city, order by createdAt, get count
3233
- * const result = await prisma.user.groupBy({
3234
- * by: ['city', 'createdAt'],
3235
- * orderBy: {
3236
- * createdAt: true
3237
- * },
3238
- * _count: {
3239
- * _all: true
3240
- * },
3241
- * })
3242
- *
3243
- **/
3244
2895
  groupBy<T extends OrganizationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
3245
2896
  orderBy: OrganizationGroupByArgs['orderBy'];
3246
2897
  } : {
@@ -3259,17 +2910,8 @@ export interface OrganizationDelegate<ExtArgs extends runtime.Types.Extensions.I
3259
2910
  }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
3260
2911
  [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
3261
2912
  }[OrderFields]>(args: Prisma.SubsetIntersection<T, OrganizationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetOrganizationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
3262
- /**
3263
- * Fields of the Organization model
3264
- */
3265
2913
  readonly fields: OrganizationFieldRefs;
3266
2914
  }
3267
- /**
3268
- * The delegate class that acts as a "Promise-like" for Organization.
3269
- * Why is this prefixed with `Prisma__`?
3270
- * Because we want to prevent naming conflicts as mentioned in
3271
- * https://github.com/prisma/prisma-client-js/issues/707
3272
- */
3273
2915
  export interface Prisma__OrganizationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
3274
2916
  readonly [Symbol.toStringTag]: "PrismaPromise";
3275
2917
  legalEntity<T extends Prisma.Organization$legalEntityArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$legalEntityArgs<ExtArgs>>): Prisma.Prisma__LegalEntityClient<runtime.Types.Result.GetResult<Prisma.$LegalEntityPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
@@ -3286,30 +2928,10 @@ export interface Prisma__OrganizationClient<T, Null = never, ExtArgs extends run
3286
2928
  productCategories<T extends Prisma.Organization$productCategoriesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$productCategoriesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3287
2929
  products<T extends Prisma.Organization$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$productsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3288
2930
  reservations<T extends Prisma.Organization$reservationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Organization$reservationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ReservationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
3289
- /**
3290
- * Attaches callbacks for the resolution and/or rejection of the Promise.
3291
- * @param onfulfilled The callback to execute when the Promise is resolved.
3292
- * @param onrejected The callback to execute when the Promise is rejected.
3293
- * @returns A Promise for the completion of which ever callback is executed.
3294
- */
3295
2931
  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>;
3296
- /**
3297
- * Attaches a callback for only the rejection of the Promise.
3298
- * @param onrejected The callback to execute when the Promise is rejected.
3299
- * @returns A Promise for the completion of the callback.
3300
- */
3301
2932
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
3302
- /**
3303
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
3304
- * resolved value cannot be modified from the callback.
3305
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
3306
- * @returns A Promise for the completion of the callback.
3307
- */
3308
2933
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
3309
2934
  }
3310
- /**
3311
- * Fields of the Organization model
3312
- */
3313
2935
  export interface OrganizationFieldRefs {
3314
2936
  readonly id: Prisma.FieldRef<"Organization", 'String'>;
3315
2937
  readonly name: Prisma.FieldRef<"Organization", 'String'>;
@@ -3328,434 +2950,121 @@ export interface OrganizationFieldRefs {
3328
2950
  readonly deletedAt: Prisma.FieldRef<"Organization", 'DateTime'>;
3329
2951
  readonly deletedBy: Prisma.FieldRef<"Organization", 'String'>;
3330
2952
  }
3331
- /**
3332
- * Organization findUnique
3333
- */
3334
2953
  export type OrganizationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3335
- /**
3336
- * Select specific fields to fetch from the Organization
3337
- */
3338
2954
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3339
- /**
3340
- * Omit specific fields from the Organization
3341
- */
3342
2955
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3343
- /**
3344
- * Choose, which related nodes to fetch as well
3345
- */
3346
2956
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3347
- /**
3348
- * Filter, which Organization to fetch.
3349
- */
3350
2957
  where: Prisma.OrganizationWhereUniqueInput;
3351
2958
  };
3352
- /**
3353
- * Organization findUniqueOrThrow
3354
- */
3355
2959
  export type OrganizationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3356
- /**
3357
- * Select specific fields to fetch from the Organization
3358
- */
3359
2960
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3360
- /**
3361
- * Omit specific fields from the Organization
3362
- */
3363
2961
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3364
- /**
3365
- * Choose, which related nodes to fetch as well
3366
- */
3367
2962
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3368
- /**
3369
- * Filter, which Organization to fetch.
3370
- */
3371
2963
  where: Prisma.OrganizationWhereUniqueInput;
3372
2964
  };
3373
- /**
3374
- * Organization findFirst
3375
- */
3376
2965
  export type OrganizationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3377
- /**
3378
- * Select specific fields to fetch from the Organization
3379
- */
3380
2966
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3381
- /**
3382
- * Omit specific fields from the Organization
3383
- */
3384
2967
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3385
- /**
3386
- * Choose, which related nodes to fetch as well
3387
- */
3388
2968
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3389
- /**
3390
- * Filter, which Organization to fetch.
3391
- */
3392
2969
  where?: Prisma.OrganizationWhereInput;
3393
- /**
3394
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3395
- *
3396
- * Determine the order of Organizations to fetch.
3397
- */
3398
2970
  orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
3399
- /**
3400
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3401
- *
3402
- * Sets the position for searching for Organizations.
3403
- */
3404
2971
  cursor?: Prisma.OrganizationWhereUniqueInput;
3405
- /**
3406
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3407
- *
3408
- * Take `±n` Organizations from the position of the cursor.
3409
- */
3410
2972
  take?: number;
3411
- /**
3412
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3413
- *
3414
- * Skip the first `n` Organizations.
3415
- */
3416
2973
  skip?: number;
3417
- /**
3418
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3419
- *
3420
- * Filter by unique combinations of Organizations.
3421
- */
3422
2974
  distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
3423
2975
  };
3424
- /**
3425
- * Organization findFirstOrThrow
3426
- */
3427
2976
  export type OrganizationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3428
- /**
3429
- * Select specific fields to fetch from the Organization
3430
- */
3431
2977
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3432
- /**
3433
- * Omit specific fields from the Organization
3434
- */
3435
2978
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3436
- /**
3437
- * Choose, which related nodes to fetch as well
3438
- */
3439
2979
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3440
- /**
3441
- * Filter, which Organization to fetch.
3442
- */
3443
2980
  where?: Prisma.OrganizationWhereInput;
3444
- /**
3445
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3446
- *
3447
- * Determine the order of Organizations to fetch.
3448
- */
3449
2981
  orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
3450
- /**
3451
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3452
- *
3453
- * Sets the position for searching for Organizations.
3454
- */
3455
2982
  cursor?: Prisma.OrganizationWhereUniqueInput;
3456
- /**
3457
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3458
- *
3459
- * Take `±n` Organizations from the position of the cursor.
3460
- */
3461
2983
  take?: number;
3462
- /**
3463
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3464
- *
3465
- * Skip the first `n` Organizations.
3466
- */
3467
2984
  skip?: number;
3468
- /**
3469
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
3470
- *
3471
- * Filter by unique combinations of Organizations.
3472
- */
3473
2985
  distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
3474
2986
  };
3475
- /**
3476
- * Organization findMany
3477
- */
3478
2987
  export type OrganizationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3479
- /**
3480
- * Select specific fields to fetch from the Organization
3481
- */
3482
2988
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3483
- /**
3484
- * Omit specific fields from the Organization
3485
- */
3486
2989
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3487
- /**
3488
- * Choose, which related nodes to fetch as well
3489
- */
3490
2990
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3491
- /**
3492
- * Filter, which Organizations to fetch.
3493
- */
3494
2991
  where?: Prisma.OrganizationWhereInput;
3495
- /**
3496
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
3497
- *
3498
- * Determine the order of Organizations to fetch.
3499
- */
3500
2992
  orderBy?: Prisma.OrganizationOrderByWithRelationInput | Prisma.OrganizationOrderByWithRelationInput[];
3501
- /**
3502
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
3503
- *
3504
- * Sets the position for listing Organizations.
3505
- */
3506
2993
  cursor?: Prisma.OrganizationWhereUniqueInput;
3507
- /**
3508
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3509
- *
3510
- * Take `±n` Organizations from the position of the cursor.
3511
- */
3512
2994
  take?: number;
3513
- /**
3514
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
3515
- *
3516
- * Skip the first `n` Organizations.
3517
- */
3518
2995
  skip?: number;
3519
2996
  distinct?: Prisma.OrganizationScalarFieldEnum | Prisma.OrganizationScalarFieldEnum[];
3520
2997
  };
3521
- /**
3522
- * Organization create
3523
- */
3524
2998
  export type OrganizationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3525
- /**
3526
- * Select specific fields to fetch from the Organization
3527
- */
3528
2999
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3529
- /**
3530
- * Omit specific fields from the Organization
3531
- */
3532
3000
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3533
- /**
3534
- * Choose, which related nodes to fetch as well
3535
- */
3536
3001
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3537
- /**
3538
- * The data needed to create a Organization.
3539
- */
3540
3002
  data: Prisma.XOR<Prisma.OrganizationCreateInput, Prisma.OrganizationUncheckedCreateInput>;
3541
3003
  };
3542
- /**
3543
- * Organization createMany
3544
- */
3545
3004
  export type OrganizationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3546
- /**
3547
- * The data used to create many Organizations.
3548
- */
3549
3005
  data: Prisma.OrganizationCreateManyInput | Prisma.OrganizationCreateManyInput[];
3550
3006
  skipDuplicates?: boolean;
3551
3007
  };
3552
- /**
3553
- * Organization createManyAndReturn
3554
- */
3555
3008
  export type OrganizationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3556
- /**
3557
- * Select specific fields to fetch from the Organization
3558
- */
3559
3009
  select?: Prisma.OrganizationSelectCreateManyAndReturn<ExtArgs> | null;
3560
- /**
3561
- * Omit specific fields from the Organization
3562
- */
3563
3010
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3564
- /**
3565
- * The data used to create many Organizations.
3566
- */
3567
3011
  data: Prisma.OrganizationCreateManyInput | Prisma.OrganizationCreateManyInput[];
3568
3012
  skipDuplicates?: boolean;
3569
- /**
3570
- * Choose, which related nodes to fetch as well
3571
- */
3572
3013
  include?: Prisma.OrganizationIncludeCreateManyAndReturn<ExtArgs> | null;
3573
3014
  };
3574
- /**
3575
- * Organization update
3576
- */
3577
3015
  export type OrganizationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3578
- /**
3579
- * Select specific fields to fetch from the Organization
3580
- */
3581
3016
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3582
- /**
3583
- * Omit specific fields from the Organization
3584
- */
3585
3017
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3586
- /**
3587
- * Choose, which related nodes to fetch as well
3588
- */
3589
3018
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3590
- /**
3591
- * The data needed to update a Organization.
3592
- */
3593
3019
  data: Prisma.XOR<Prisma.OrganizationUpdateInput, Prisma.OrganizationUncheckedUpdateInput>;
3594
- /**
3595
- * Choose, which Organization to update.
3596
- */
3597
3020
  where: Prisma.OrganizationWhereUniqueInput;
3598
3021
  };
3599
- /**
3600
- * Organization updateMany
3601
- */
3602
3022
  export type OrganizationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3603
- /**
3604
- * The data used to update Organizations.
3605
- */
3606
3023
  data: Prisma.XOR<Prisma.OrganizationUpdateManyMutationInput, Prisma.OrganizationUncheckedUpdateManyInput>;
3607
- /**
3608
- * Filter which Organizations to update
3609
- */
3610
3024
  where?: Prisma.OrganizationWhereInput;
3611
- /**
3612
- * Limit how many Organizations to update.
3613
- */
3614
3025
  limit?: number;
3615
3026
  };
3616
- /**
3617
- * Organization updateManyAndReturn
3618
- */
3619
3027
  export type OrganizationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3620
- /**
3621
- * Select specific fields to fetch from the Organization
3622
- */
3623
3028
  select?: Prisma.OrganizationSelectUpdateManyAndReturn<ExtArgs> | null;
3624
- /**
3625
- * Omit specific fields from the Organization
3626
- */
3627
3029
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3628
- /**
3629
- * The data used to update Organizations.
3630
- */
3631
3030
  data: Prisma.XOR<Prisma.OrganizationUpdateManyMutationInput, Prisma.OrganizationUncheckedUpdateManyInput>;
3632
- /**
3633
- * Filter which Organizations to update
3634
- */
3635
3031
  where?: Prisma.OrganizationWhereInput;
3636
- /**
3637
- * Limit how many Organizations to update.
3638
- */
3639
3032
  limit?: number;
3640
- /**
3641
- * Choose, which related nodes to fetch as well
3642
- */
3643
3033
  include?: Prisma.OrganizationIncludeUpdateManyAndReturn<ExtArgs> | null;
3644
3034
  };
3645
- /**
3646
- * Organization upsert
3647
- */
3648
3035
  export type OrganizationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3649
- /**
3650
- * Select specific fields to fetch from the Organization
3651
- */
3652
3036
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3653
- /**
3654
- * Omit specific fields from the Organization
3655
- */
3656
3037
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3657
- /**
3658
- * Choose, which related nodes to fetch as well
3659
- */
3660
3038
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3661
- /**
3662
- * The filter to search for the Organization to update in case it exists.
3663
- */
3664
3039
  where: Prisma.OrganizationWhereUniqueInput;
3665
- /**
3666
- * In case the Organization found by the `where` argument doesn't exist, create a new Organization with this data.
3667
- */
3668
3040
  create: Prisma.XOR<Prisma.OrganizationCreateInput, Prisma.OrganizationUncheckedCreateInput>;
3669
- /**
3670
- * In case the Organization was found with the provided `where` argument, update it with this data.
3671
- */
3672
3041
  update: Prisma.XOR<Prisma.OrganizationUpdateInput, Prisma.OrganizationUncheckedUpdateInput>;
3673
3042
  };
3674
- /**
3675
- * Organization delete
3676
- */
3677
3043
  export type OrganizationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3678
- /**
3679
- * Select specific fields to fetch from the Organization
3680
- */
3681
3044
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3682
- /**
3683
- * Omit specific fields from the Organization
3684
- */
3685
3045
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3686
- /**
3687
- * Choose, which related nodes to fetch as well
3688
- */
3689
3046
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3690
- /**
3691
- * Filter which Organization to delete.
3692
- */
3693
3047
  where: Prisma.OrganizationWhereUniqueInput;
3694
3048
  };
3695
- /**
3696
- * Organization deleteMany
3697
- */
3698
3049
  export type OrganizationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3699
- /**
3700
- * Filter which Organizations to delete
3701
- */
3702
3050
  where?: Prisma.OrganizationWhereInput;
3703
- /**
3704
- * Limit how many Organizations to delete.
3705
- */
3706
3051
  limit?: number;
3707
3052
  };
3708
- /**
3709
- * Organization.legalEntity
3710
- */
3711
3053
  export type Organization$legalEntityArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3712
- /**
3713
- * Select specific fields to fetch from the LegalEntity
3714
- */
3715
3054
  select?: Prisma.LegalEntitySelect<ExtArgs> | null;
3716
- /**
3717
- * Omit specific fields from the LegalEntity
3718
- */
3719
3055
  omit?: Prisma.LegalEntityOmit<ExtArgs> | null;
3720
- /**
3721
- * Choose, which related nodes to fetch as well
3722
- */
3723
3056
  include?: Prisma.LegalEntityInclude<ExtArgs> | null;
3724
3057
  where?: Prisma.LegalEntityWhereInput;
3725
3058
  };
3726
- /**
3727
- * Organization.logoFile
3728
- */
3729
3059
  export type Organization$logoFileArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3730
- /**
3731
- * Select specific fields to fetch from the File
3732
- */
3733
3060
  select?: Prisma.FileSelect<ExtArgs> | null;
3734
- /**
3735
- * Omit specific fields from the File
3736
- */
3737
3061
  omit?: Prisma.FileOmit<ExtArgs> | null;
3738
- /**
3739
- * Choose, which related nodes to fetch as well
3740
- */
3741
3062
  include?: Prisma.FileInclude<ExtArgs> | null;
3742
3063
  where?: Prisma.FileWhereInput;
3743
3064
  };
3744
- /**
3745
- * Organization.files
3746
- */
3747
3065
  export type Organization$filesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3748
- /**
3749
- * Select specific fields to fetch from the File
3750
- */
3751
3066
  select?: Prisma.FileSelect<ExtArgs> | null;
3752
- /**
3753
- * Omit specific fields from the File
3754
- */
3755
3067
  omit?: Prisma.FileOmit<ExtArgs> | null;
3756
- /**
3757
- * Choose, which related nodes to fetch as well
3758
- */
3759
3068
  include?: Prisma.FileInclude<ExtArgs> | null;
3760
3069
  where?: Prisma.FileWhereInput;
3761
3070
  orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
@@ -3764,21 +3073,9 @@ export type Organization$filesArgs<ExtArgs extends runtime.Types.Extensions.Inte
3764
3073
  skip?: number;
3765
3074
  distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
3766
3075
  };
3767
- /**
3768
- * Organization.members
3769
- */
3770
3076
  export type Organization$membersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3771
- /**
3772
- * Select specific fields to fetch from the Member
3773
- */
3774
3077
  select?: Prisma.MemberSelect<ExtArgs> | null;
3775
- /**
3776
- * Omit specific fields from the Member
3777
- */
3778
3078
  omit?: Prisma.MemberOmit<ExtArgs> | null;
3779
- /**
3780
- * Choose, which related nodes to fetch as well
3781
- */
3782
3079
  include?: Prisma.MemberInclude<ExtArgs> | null;
3783
3080
  where?: Prisma.MemberWhereInput;
3784
3081
  orderBy?: Prisma.MemberOrderByWithRelationInput | Prisma.MemberOrderByWithRelationInput[];
@@ -3787,21 +3084,9 @@ export type Organization$membersArgs<ExtArgs extends runtime.Types.Extensions.In
3787
3084
  skip?: number;
3788
3085
  distinct?: Prisma.MemberScalarFieldEnum | Prisma.MemberScalarFieldEnum[];
3789
3086
  };
3790
- /**
3791
- * Organization.invitations
3792
- */
3793
3087
  export type Organization$invitationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3794
- /**
3795
- * Select specific fields to fetch from the Invitation
3796
- */
3797
3088
  select?: Prisma.InvitationSelect<ExtArgs> | null;
3798
- /**
3799
- * Omit specific fields from the Invitation
3800
- */
3801
3089
  omit?: Prisma.InvitationOmit<ExtArgs> | null;
3802
- /**
3803
- * Choose, which related nodes to fetch as well
3804
- */
3805
3090
  include?: Prisma.InvitationInclude<ExtArgs> | null;
3806
3091
  where?: Prisma.InvitationWhereInput;
3807
3092
  orderBy?: Prisma.InvitationOrderByWithRelationInput | Prisma.InvitationOrderByWithRelationInput[];
@@ -3810,21 +3095,9 @@ export type Organization$invitationsArgs<ExtArgs extends runtime.Types.Extension
3810
3095
  skip?: number;
3811
3096
  distinct?: Prisma.InvitationScalarFieldEnum | Prisma.InvitationScalarFieldEnum[];
3812
3097
  };
3813
- /**
3814
- * Organization.orders
3815
- */
3816
3098
  export type Organization$ordersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3817
- /**
3818
- * Select specific fields to fetch from the Order
3819
- */
3820
3099
  select?: Prisma.OrderSelect<ExtArgs> | null;
3821
- /**
3822
- * Omit specific fields from the Order
3823
- */
3824
3100
  omit?: Prisma.OrderOmit<ExtArgs> | null;
3825
- /**
3826
- * Choose, which related nodes to fetch as well
3827
- */
3828
3101
  include?: Prisma.OrderInclude<ExtArgs> | null;
3829
3102
  where?: Prisma.OrderWhereInput;
3830
3103
  orderBy?: Prisma.OrderOrderByWithRelationInput | Prisma.OrderOrderByWithRelationInput[];
@@ -3833,21 +3106,9 @@ export type Organization$ordersArgs<ExtArgs extends runtime.Types.Extensions.Int
3833
3106
  skip?: number;
3834
3107
  distinct?: Prisma.OrderScalarFieldEnum | Prisma.OrderScalarFieldEnum[];
3835
3108
  };
3836
- /**
3837
- * Organization.campaigns
3838
- */
3839
3109
  export type Organization$campaignsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3840
- /**
3841
- * Select specific fields to fetch from the Campaign
3842
- */
3843
3110
  select?: Prisma.CampaignSelect<ExtArgs> | null;
3844
- /**
3845
- * Omit specific fields from the Campaign
3846
- */
3847
3111
  omit?: Prisma.CampaignOmit<ExtArgs> | null;
3848
- /**
3849
- * Choose, which related nodes to fetch as well
3850
- */
3851
3112
  include?: Prisma.CampaignInclude<ExtArgs> | null;
3852
3113
  where?: Prisma.CampaignWhereInput;
3853
3114
  orderBy?: Prisma.CampaignOrderByWithRelationInput | Prisma.CampaignOrderByWithRelationInput[];
@@ -3856,21 +3117,9 @@ export type Organization$campaignsArgs<ExtArgs extends runtime.Types.Extensions.
3856
3117
  skip?: number;
3857
3118
  distinct?: Prisma.CampaignScalarFieldEnum | Prisma.CampaignScalarFieldEnum[];
3858
3119
  };
3859
- /**
3860
- * Organization.shippingMethods
3861
- */
3862
3120
  export type Organization$shippingMethodsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3863
- /**
3864
- * Select specific fields to fetch from the ShippingMethod
3865
- */
3866
3121
  select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
3867
- /**
3868
- * Omit specific fields from the ShippingMethod
3869
- */
3870
3122
  omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
3871
- /**
3872
- * Choose, which related nodes to fetch as well
3873
- */
3874
3123
  include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
3875
3124
  where?: Prisma.ShippingMethodWhereInput;
3876
3125
  orderBy?: Prisma.ShippingMethodOrderByWithRelationInput | Prisma.ShippingMethodOrderByWithRelationInput[];
@@ -3879,21 +3128,9 @@ export type Organization$shippingMethodsArgs<ExtArgs extends runtime.Types.Exten
3879
3128
  skip?: number;
3880
3129
  distinct?: Prisma.ShippingMethodScalarFieldEnum | Prisma.ShippingMethodScalarFieldEnum[];
3881
3130
  };
3882
- /**
3883
- * Organization.manufacturers
3884
- */
3885
3131
  export type Organization$manufacturersArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3886
- /**
3887
- * Select specific fields to fetch from the Manufacturer
3888
- */
3889
3132
  select?: Prisma.ManufacturerSelect<ExtArgs> | null;
3890
- /**
3891
- * Omit specific fields from the Manufacturer
3892
- */
3893
3133
  omit?: Prisma.ManufacturerOmit<ExtArgs> | null;
3894
- /**
3895
- * Choose, which related nodes to fetch as well
3896
- */
3897
3134
  include?: Prisma.ManufacturerInclude<ExtArgs> | null;
3898
3135
  where?: Prisma.ManufacturerWhereInput;
3899
3136
  orderBy?: Prisma.ManufacturerOrderByWithRelationInput | Prisma.ManufacturerOrderByWithRelationInput[];
@@ -3902,21 +3139,9 @@ export type Organization$manufacturersArgs<ExtArgs extends runtime.Types.Extensi
3902
3139
  skip?: number;
3903
3140
  distinct?: Prisma.ManufacturerScalarFieldEnum | Prisma.ManufacturerScalarFieldEnum[];
3904
3141
  };
3905
- /**
3906
- * Organization.productCategories
3907
- */
3908
3142
  export type Organization$productCategoriesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3909
- /**
3910
- * Select specific fields to fetch from the ProductCategory
3911
- */
3912
3143
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
3913
- /**
3914
- * Omit specific fields from the ProductCategory
3915
- */
3916
3144
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
3917
- /**
3918
- * Choose, which related nodes to fetch as well
3919
- */
3920
3145
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
3921
3146
  where?: Prisma.ProductCategoryWhereInput;
3922
3147
  orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
@@ -3925,21 +3150,9 @@ export type Organization$productCategoriesArgs<ExtArgs extends runtime.Types.Ext
3925
3150
  skip?: number;
3926
3151
  distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
3927
3152
  };
3928
- /**
3929
- * Organization.products
3930
- */
3931
3153
  export type Organization$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3932
- /**
3933
- * Select specific fields to fetch from the Product
3934
- */
3935
3154
  select?: Prisma.ProductSelect<ExtArgs> | null;
3936
- /**
3937
- * Omit specific fields from the Product
3938
- */
3939
3155
  omit?: Prisma.ProductOmit<ExtArgs> | null;
3940
- /**
3941
- * Choose, which related nodes to fetch as well
3942
- */
3943
3156
  include?: Prisma.ProductInclude<ExtArgs> | null;
3944
3157
  where?: Prisma.ProductWhereInput;
3945
3158
  orderBy?: Prisma.ProductOrderByWithRelationInput | Prisma.ProductOrderByWithRelationInput[];
@@ -3948,21 +3161,9 @@ export type Organization$productsArgs<ExtArgs extends runtime.Types.Extensions.I
3948
3161
  skip?: number;
3949
3162
  distinct?: Prisma.ProductScalarFieldEnum | Prisma.ProductScalarFieldEnum[];
3950
3163
  };
3951
- /**
3952
- * Organization.reservations
3953
- */
3954
3164
  export type Organization$reservationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3955
- /**
3956
- * Select specific fields to fetch from the Reservation
3957
- */
3958
3165
  select?: Prisma.ReservationSelect<ExtArgs> | null;
3959
- /**
3960
- * Omit specific fields from the Reservation
3961
- */
3962
3166
  omit?: Prisma.ReservationOmit<ExtArgs> | null;
3963
- /**
3964
- * Choose, which related nodes to fetch as well
3965
- */
3966
3167
  include?: Prisma.ReservationInclude<ExtArgs> | null;
3967
3168
  where?: Prisma.ReservationWhereInput;
3968
3169
  orderBy?: Prisma.ReservationOrderByWithRelationInput | Prisma.ReservationOrderByWithRelationInput[];
@@ -3971,21 +3172,9 @@ export type Organization$reservationsArgs<ExtArgs extends runtime.Types.Extensio
3971
3172
  skip?: number;
3972
3173
  distinct?: Prisma.ReservationScalarFieldEnum | Prisma.ReservationScalarFieldEnum[];
3973
3174
  };
3974
- /**
3975
- * Organization without action
3976
- */
3977
3175
  export type OrganizationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
3978
- /**
3979
- * Select specific fields to fetch from the Organization
3980
- */
3981
3176
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
3982
- /**
3983
- * Omit specific fields from the Organization
3984
- */
3985
3177
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
3986
- /**
3987
- * Choose, which related nodes to fetch as well
3988
- */
3989
3178
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
3990
3179
  };
3991
3180
  export {};