@shophost/rest-api 2.0.29 → 2.0.31

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 +110 -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 ProductCategory
5
- *
6
- */
7
3
  export type ProductCategoryModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductCategoryPayload>;
8
4
  export type AggregateProductCategory = {
9
5
  _count: ProductCategoryCountAggregateOutputType | null;
@@ -117,63 +113,15 @@ export type ProductCategoryCountAggregateInputType = {
117
113
  _all?: true;
118
114
  };
119
115
  export type ProductCategoryAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
120
- /**
121
- * Filter which ProductCategory to aggregate.
122
- */
123
116
  where?: Prisma.ProductCategoryWhereInput;
124
- /**
125
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
126
- *
127
- * Determine the order of ProductCategories to fetch.
128
- */
129
117
  orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
130
- /**
131
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
132
- *
133
- * Sets the start position
134
- */
135
118
  cursor?: Prisma.ProductCategoryWhereUniqueInput;
136
- /**
137
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
138
- *
139
- * Take `±n` ProductCategories from the position of the cursor.
140
- */
141
119
  take?: number;
142
- /**
143
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
144
- *
145
- * Skip the first `n` ProductCategories.
146
- */
147
120
  skip?: number;
148
- /**
149
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
150
- *
151
- * Count returned ProductCategories
152
- **/
153
121
  _count?: true | ProductCategoryCountAggregateInputType;
154
- /**
155
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
156
- *
157
- * Select which fields to average
158
- **/
159
122
  _avg?: ProductCategoryAvgAggregateInputType;
160
- /**
161
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
162
- *
163
- * Select which fields to sum
164
- **/
165
123
  _sum?: ProductCategorySumAggregateInputType;
166
- /**
167
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
168
- *
169
- * Select which fields to find the minimum value
170
- **/
171
124
  _min?: ProductCategoryMinAggregateInputType;
172
- /**
173
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
174
- *
175
- * Select which fields to find the maximum value
176
- **/
177
125
  _max?: ProductCategoryMaxAggregateInputType;
178
126
  };
179
127
  export type GetProductCategoryAggregateType<T extends ProductCategoryAggregateArgs> = {
@@ -987,9 +935,6 @@ export type ProductCategoryUncheckedUpdateManyWithoutProductsInput = {
987
935
  publishedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
988
936
  publishedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
989
937
  };
990
- /**
991
- * Count Type ProductCategoryCountOutputType
992
- */
993
938
  export type ProductCategoryCountOutputType = {
994
939
  translations: number;
995
940
  products: number;
@@ -998,24 +943,12 @@ export type ProductCategoryCountOutputTypeSelect<ExtArgs extends runtime.Types.E
998
943
  translations?: boolean | ProductCategoryCountOutputTypeCountTranslationsArgs;
999
944
  products?: boolean | ProductCategoryCountOutputTypeCountProductsArgs;
1000
945
  };
1001
- /**
1002
- * ProductCategoryCountOutputType without action
1003
- */
1004
946
  export type ProductCategoryCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1005
- /**
1006
- * Select specific fields to fetch from the ProductCategoryCountOutputType
1007
- */
1008
947
  select?: Prisma.ProductCategoryCountOutputTypeSelect<ExtArgs> | null;
1009
948
  };
1010
- /**
1011
- * ProductCategoryCountOutputType without action
1012
- */
1013
949
  export type ProductCategoryCountOutputTypeCountTranslationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1014
950
  where?: Prisma.ProductCategoryTranslationWhereInput;
1015
951
  };
1016
- /**
1017
- * ProductCategoryCountOutputType without action
1018
- */
1019
952
  export type ProductCategoryCountOutputTypeCountProductsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1020
953
  where?: Prisma.ProductWhereInput;
1021
954
  };
@@ -1140,290 +1073,22 @@ export interface ProductCategoryDelegate<ExtArgs extends runtime.Types.Extension
1140
1073
  name: 'ProductCategory';
1141
1074
  };
1142
1075
  };
1143
- /**
1144
- * Find zero or one ProductCategory that matches the filter.
1145
- * @param {ProductCategoryFindUniqueArgs} args - Arguments to find a ProductCategory
1146
- * @example
1147
- * // Get one ProductCategory
1148
- * const productCategory = await prisma.productCategory.findUnique({
1149
- * where: {
1150
- * // ... provide filter here
1151
- * }
1152
- * })
1153
- */
1154
1076
  findUnique<T extends ProductCategoryFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductCategoryFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1155
- /**
1156
- * Find one ProductCategory that matches the filter or throw an error with `error.code='P2025'`
1157
- * if no matches were found.
1158
- * @param {ProductCategoryFindUniqueOrThrowArgs} args - Arguments to find a ProductCategory
1159
- * @example
1160
- * // Get one ProductCategory
1161
- * const productCategory = await prisma.productCategory.findUniqueOrThrow({
1162
- * where: {
1163
- * // ... provide filter here
1164
- * }
1165
- * })
1166
- */
1167
1077
  findUniqueOrThrow<T extends ProductCategoryFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductCategoryFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1168
- /**
1169
- * Find the first ProductCategory that matches the filter.
1170
- * Note, that providing `undefined` is treated as the value not being there.
1171
- * Read more here: https://pris.ly/d/null-undefined
1172
- * @param {ProductCategoryFindFirstArgs} args - Arguments to find a ProductCategory
1173
- * @example
1174
- * // Get one ProductCategory
1175
- * const productCategory = await prisma.productCategory.findFirst({
1176
- * where: {
1177
- * // ... provide filter here
1178
- * }
1179
- * })
1180
- */
1181
1078
  findFirst<T extends ProductCategoryFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductCategoryFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1182
- /**
1183
- * Find the first ProductCategory that matches the filter or
1184
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1185
- * Note, that providing `undefined` is treated as the value not being there.
1186
- * Read more here: https://pris.ly/d/null-undefined
1187
- * @param {ProductCategoryFindFirstOrThrowArgs} args - Arguments to find a ProductCategory
1188
- * @example
1189
- * // Get one ProductCategory
1190
- * const productCategory = await prisma.productCategory.findFirstOrThrow({
1191
- * where: {
1192
- * // ... provide filter here
1193
- * }
1194
- * })
1195
- */
1196
1079
  findFirstOrThrow<T extends ProductCategoryFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductCategoryFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1197
- /**
1198
- * Find zero or more ProductCategories that matches the filter.
1199
- * Note, that providing `undefined` is treated as the value not being there.
1200
- * Read more here: https://pris.ly/d/null-undefined
1201
- * @param {ProductCategoryFindManyArgs} args - Arguments to filter and select certain fields only.
1202
- * @example
1203
- * // Get all ProductCategories
1204
- * const productCategories = await prisma.productCategory.findMany()
1205
- *
1206
- * // Get first 10 ProductCategories
1207
- * const productCategories = await prisma.productCategory.findMany({ take: 10 })
1208
- *
1209
- * // Only select the `id`
1210
- * const productCategoryWithIdOnly = await prisma.productCategory.findMany({ select: { id: true } })
1211
- *
1212
- */
1213
1080
  findMany<T extends ProductCategoryFindManyArgs>(args?: Prisma.SelectSubset<T, ProductCategoryFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1214
- /**
1215
- * Create a ProductCategory.
1216
- * @param {ProductCategoryCreateArgs} args - Arguments to create a ProductCategory.
1217
- * @example
1218
- * // Create one ProductCategory
1219
- * const ProductCategory = await prisma.productCategory.create({
1220
- * data: {
1221
- * // ... data to create a ProductCategory
1222
- * }
1223
- * })
1224
- *
1225
- */
1226
1081
  create<T extends ProductCategoryCreateArgs>(args: Prisma.SelectSubset<T, ProductCategoryCreateArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1227
- /**
1228
- * Create many ProductCategories.
1229
- * @param {ProductCategoryCreateManyArgs} args - Arguments to create many ProductCategories.
1230
- * @example
1231
- * // Create many ProductCategories
1232
- * const productCategory = await prisma.productCategory.createMany({
1233
- * data: [
1234
- * // ... provide data here
1235
- * ]
1236
- * })
1237
- *
1238
- */
1239
1082
  createMany<T extends ProductCategoryCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductCategoryCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1240
- /**
1241
- * Create many ProductCategories and returns the data saved in the database.
1242
- * @param {ProductCategoryCreateManyAndReturnArgs} args - Arguments to create many ProductCategories.
1243
- * @example
1244
- * // Create many ProductCategories
1245
- * const productCategory = await prisma.productCategory.createManyAndReturn({
1246
- * data: [
1247
- * // ... provide data here
1248
- * ]
1249
- * })
1250
- *
1251
- * // Create many ProductCategories and only return the `id`
1252
- * const productCategoryWithIdOnly = await prisma.productCategory.createManyAndReturn({
1253
- * select: { id: true },
1254
- * data: [
1255
- * // ... provide data here
1256
- * ]
1257
- * })
1258
- * Note, that providing `undefined` is treated as the value not being there.
1259
- * Read more here: https://pris.ly/d/null-undefined
1260
- *
1261
- */
1262
1083
  createManyAndReturn<T extends ProductCategoryCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductCategoryCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1263
- /**
1264
- * Delete a ProductCategory.
1265
- * @param {ProductCategoryDeleteArgs} args - Arguments to delete one ProductCategory.
1266
- * @example
1267
- * // Delete one ProductCategory
1268
- * const ProductCategory = await prisma.productCategory.delete({
1269
- * where: {
1270
- * // ... filter to delete one ProductCategory
1271
- * }
1272
- * })
1273
- *
1274
- */
1275
1084
  delete<T extends ProductCategoryDeleteArgs>(args: Prisma.SelectSubset<T, ProductCategoryDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1276
- /**
1277
- * Update one ProductCategory.
1278
- * @param {ProductCategoryUpdateArgs} args - Arguments to update one ProductCategory.
1279
- * @example
1280
- * // Update one ProductCategory
1281
- * const productCategory = await prisma.productCategory.update({
1282
- * where: {
1283
- * // ... provide filter here
1284
- * },
1285
- * data: {
1286
- * // ... provide data here
1287
- * }
1288
- * })
1289
- *
1290
- */
1291
1085
  update<T extends ProductCategoryUpdateArgs>(args: Prisma.SelectSubset<T, ProductCategoryUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1292
- /**
1293
- * Delete zero or more ProductCategories.
1294
- * @param {ProductCategoryDeleteManyArgs} args - Arguments to filter ProductCategories to delete.
1295
- * @example
1296
- * // Delete a few ProductCategories
1297
- * const { count } = await prisma.productCategory.deleteMany({
1298
- * where: {
1299
- * // ... provide filter here
1300
- * }
1301
- * })
1302
- *
1303
- */
1304
1086
  deleteMany<T extends ProductCategoryDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductCategoryDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1305
- /**
1306
- * Update zero or more ProductCategories.
1307
- * Note, that providing `undefined` is treated as the value not being there.
1308
- * Read more here: https://pris.ly/d/null-undefined
1309
- * @param {ProductCategoryUpdateManyArgs} args - Arguments to update one or more rows.
1310
- * @example
1311
- * // Update many ProductCategories
1312
- * const productCategory = await prisma.productCategory.updateMany({
1313
- * where: {
1314
- * // ... provide filter here
1315
- * },
1316
- * data: {
1317
- * // ... provide data here
1318
- * }
1319
- * })
1320
- *
1321
- */
1322
1087
  updateMany<T extends ProductCategoryUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductCategoryUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1323
- /**
1324
- * Update zero or more ProductCategories and returns the data updated in the database.
1325
- * @param {ProductCategoryUpdateManyAndReturnArgs} args - Arguments to update many ProductCategories.
1326
- * @example
1327
- * // Update many ProductCategories
1328
- * const productCategory = await prisma.productCategory.updateManyAndReturn({
1329
- * where: {
1330
- * // ... provide filter here
1331
- * },
1332
- * data: [
1333
- * // ... provide data here
1334
- * ]
1335
- * })
1336
- *
1337
- * // Update zero or more ProductCategories and only return the `id`
1338
- * const productCategoryWithIdOnly = await prisma.productCategory.updateManyAndReturn({
1339
- * select: { id: true },
1340
- * where: {
1341
- * // ... provide filter here
1342
- * },
1343
- * data: [
1344
- * // ... provide data here
1345
- * ]
1346
- * })
1347
- * Note, that providing `undefined` is treated as the value not being there.
1348
- * Read more here: https://pris.ly/d/null-undefined
1349
- *
1350
- */
1351
1088
  updateManyAndReturn<T extends ProductCategoryUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductCategoryUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1352
- /**
1353
- * Create or update one ProductCategory.
1354
- * @param {ProductCategoryUpsertArgs} args - Arguments to update or create a ProductCategory.
1355
- * @example
1356
- * // Update or create a ProductCategory
1357
- * const productCategory = await prisma.productCategory.upsert({
1358
- * create: {
1359
- * // ... data to create a ProductCategory
1360
- * },
1361
- * update: {
1362
- * // ... in case it already exists, update
1363
- * },
1364
- * where: {
1365
- * // ... the filter for the ProductCategory we want to update
1366
- * }
1367
- * })
1368
- */
1369
1089
  upsert<T extends ProductCategoryUpsertArgs>(args: Prisma.SelectSubset<T, ProductCategoryUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductCategoryClient<runtime.Types.Result.GetResult<Prisma.$ProductCategoryPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1370
- /**
1371
- * Count the number of ProductCategories.
1372
- * Note, that providing `undefined` is treated as the value not being there.
1373
- * Read more here: https://pris.ly/d/null-undefined
1374
- * @param {ProductCategoryCountArgs} args - Arguments to filter ProductCategories to count.
1375
- * @example
1376
- * // Count the number of ProductCategories
1377
- * const count = await prisma.productCategory.count({
1378
- * where: {
1379
- * // ... the filter for the ProductCategories we want to count
1380
- * }
1381
- * })
1382
- **/
1383
1090
  count<T extends ProductCategoryCountArgs>(args?: Prisma.Subset<T, ProductCategoryCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductCategoryCountAggregateOutputType> : number>;
1384
- /**
1385
- * Allows you to perform aggregations operations on a ProductCategory.
1386
- * Note, that providing `undefined` is treated as the value not being there.
1387
- * Read more here: https://pris.ly/d/null-undefined
1388
- * @param {ProductCategoryAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1389
- * @example
1390
- * // Ordered by age ascending
1391
- * // Where email contains prisma.io
1392
- * // Limited to the 10 users
1393
- * const aggregations = await prisma.user.aggregate({
1394
- * _avg: {
1395
- * age: true,
1396
- * },
1397
- * where: {
1398
- * email: {
1399
- * contains: "prisma.io",
1400
- * },
1401
- * },
1402
- * orderBy: {
1403
- * age: "asc",
1404
- * },
1405
- * take: 10,
1406
- * })
1407
- **/
1408
1091
  aggregate<T extends ProductCategoryAggregateArgs>(args: Prisma.Subset<T, ProductCategoryAggregateArgs>): Prisma.PrismaPromise<GetProductCategoryAggregateType<T>>;
1409
- /**
1410
- * Group by ProductCategory.
1411
- * Note, that providing `undefined` is treated as the value not being there.
1412
- * Read more here: https://pris.ly/d/null-undefined
1413
- * @param {ProductCategoryGroupByArgs} args - Group by arguments.
1414
- * @example
1415
- * // Group by city, order by createdAt, get count
1416
- * const result = await prisma.user.groupBy({
1417
- * by: ['city', 'createdAt'],
1418
- * orderBy: {
1419
- * createdAt: true
1420
- * },
1421
- * _count: {
1422
- * _all: true
1423
- * },
1424
- * })
1425
- *
1426
- **/
1427
1092
  groupBy<T extends ProductCategoryGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1428
1093
  orderBy: ProductCategoryGroupByArgs['orderBy'];
1429
1094
  } : {
@@ -1442,47 +1107,18 @@ export interface ProductCategoryDelegate<ExtArgs extends runtime.Types.Extension
1442
1107
  }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1443
1108
  [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1444
1109
  }[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductCategoryGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductCategoryGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1445
- /**
1446
- * Fields of the ProductCategory model
1447
- */
1448
1110
  readonly fields: ProductCategoryFieldRefs;
1449
1111
  }
1450
- /**
1451
- * The delegate class that acts as a "Promise-like" for ProductCategory.
1452
- * Why is this prefixed with `Prisma__`?
1453
- * Because we want to prevent naming conflicts as mentioned in
1454
- * https://github.com/prisma/prisma-client-js/issues/707
1455
- */
1456
1112
  export interface Prisma__ProductCategoryClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1457
1113
  readonly [Symbol.toStringTag]: "PrismaPromise";
1458
1114
  organization<T extends Prisma.OrganizationDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.OrganizationDefaultArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1459
1115
  image<T extends Prisma.ProductCategory$imageArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$imageArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1460
1116
  translations<T extends Prisma.ProductCategory$translationsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$translationsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1461
1117
  products<T extends Prisma.ProductCategory$productsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductCategory$productsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1462
- /**
1463
- * Attaches callbacks for the resolution and/or rejection of the Promise.
1464
- * @param onfulfilled The callback to execute when the Promise is resolved.
1465
- * @param onrejected The callback to execute when the Promise is rejected.
1466
- * @returns A Promise for the completion of which ever callback is executed.
1467
- */
1468
1118
  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>;
1469
- /**
1470
- * Attaches a callback for only the rejection of the Promise.
1471
- * @param onrejected The callback to execute when the Promise is rejected.
1472
- * @returns A Promise for the completion of the callback.
1473
- */
1474
1119
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1475
- /**
1476
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1477
- * resolved value cannot be modified from the callback.
1478
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1479
- * @returns A Promise for the completion of the callback.
1480
- */
1481
1120
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1482
1121
  }
1483
- /**
1484
- * Fields of the ProductCategory model
1485
- */
1486
1122
  export interface ProductCategoryFieldRefs {
1487
1123
  readonly id: Prisma.FieldRef<"ProductCategory", 'String'>;
1488
1124
  readonly slug: Prisma.FieldRef<"ProductCategory", 'String'>;
@@ -1498,416 +1134,115 @@ export interface ProductCategoryFieldRefs {
1498
1134
  readonly publishedAt: Prisma.FieldRef<"ProductCategory", 'DateTime'>;
1499
1135
  readonly publishedBy: Prisma.FieldRef<"ProductCategory", 'String'>;
1500
1136
  }
1501
- /**
1502
- * ProductCategory findUnique
1503
- */
1504
1137
  export type ProductCategoryFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1505
- /**
1506
- * Select specific fields to fetch from the ProductCategory
1507
- */
1508
1138
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1509
- /**
1510
- * Omit specific fields from the ProductCategory
1511
- */
1512
1139
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1513
- /**
1514
- * Choose, which related nodes to fetch as well
1515
- */
1516
1140
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1517
- /**
1518
- * Filter, which ProductCategory to fetch.
1519
- */
1520
1141
  where: Prisma.ProductCategoryWhereUniqueInput;
1521
1142
  };
1522
- /**
1523
- * ProductCategory findUniqueOrThrow
1524
- */
1525
1143
  export type ProductCategoryFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1526
- /**
1527
- * Select specific fields to fetch from the ProductCategory
1528
- */
1529
1144
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1530
- /**
1531
- * Omit specific fields from the ProductCategory
1532
- */
1533
1145
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1534
- /**
1535
- * Choose, which related nodes to fetch as well
1536
- */
1537
1146
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1538
- /**
1539
- * Filter, which ProductCategory to fetch.
1540
- */
1541
1147
  where: Prisma.ProductCategoryWhereUniqueInput;
1542
1148
  };
1543
- /**
1544
- * ProductCategory findFirst
1545
- */
1546
1149
  export type ProductCategoryFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1547
- /**
1548
- * Select specific fields to fetch from the ProductCategory
1549
- */
1550
1150
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1551
- /**
1552
- * Omit specific fields from the ProductCategory
1553
- */
1554
1151
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1555
- /**
1556
- * Choose, which related nodes to fetch as well
1557
- */
1558
1152
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1559
- /**
1560
- * Filter, which ProductCategory to fetch.
1561
- */
1562
1153
  where?: Prisma.ProductCategoryWhereInput;
1563
- /**
1564
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1565
- *
1566
- * Determine the order of ProductCategories to fetch.
1567
- */
1568
1154
  orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
1569
- /**
1570
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1571
- *
1572
- * Sets the position for searching for ProductCategories.
1573
- */
1574
1155
  cursor?: Prisma.ProductCategoryWhereUniqueInput;
1575
- /**
1576
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1577
- *
1578
- * Take `±n` ProductCategories from the position of the cursor.
1579
- */
1580
1156
  take?: number;
1581
- /**
1582
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1583
- *
1584
- * Skip the first `n` ProductCategories.
1585
- */
1586
1157
  skip?: number;
1587
- /**
1588
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1589
- *
1590
- * Filter by unique combinations of ProductCategories.
1591
- */
1592
1158
  distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
1593
1159
  };
1594
- /**
1595
- * ProductCategory findFirstOrThrow
1596
- */
1597
1160
  export type ProductCategoryFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1598
- /**
1599
- * Select specific fields to fetch from the ProductCategory
1600
- */
1601
1161
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1602
- /**
1603
- * Omit specific fields from the ProductCategory
1604
- */
1605
1162
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1606
- /**
1607
- * Choose, which related nodes to fetch as well
1608
- */
1609
1163
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1610
- /**
1611
- * Filter, which ProductCategory to fetch.
1612
- */
1613
1164
  where?: Prisma.ProductCategoryWhereInput;
1614
- /**
1615
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1616
- *
1617
- * Determine the order of ProductCategories to fetch.
1618
- */
1619
1165
  orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
1620
- /**
1621
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1622
- *
1623
- * Sets the position for searching for ProductCategories.
1624
- */
1625
1166
  cursor?: Prisma.ProductCategoryWhereUniqueInput;
1626
- /**
1627
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1628
- *
1629
- * Take `±n` ProductCategories from the position of the cursor.
1630
- */
1631
1167
  take?: number;
1632
- /**
1633
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1634
- *
1635
- * Skip the first `n` ProductCategories.
1636
- */
1637
1168
  skip?: number;
1638
- /**
1639
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1640
- *
1641
- * Filter by unique combinations of ProductCategories.
1642
- */
1643
1169
  distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
1644
1170
  };
1645
- /**
1646
- * ProductCategory findMany
1647
- */
1648
1171
  export type ProductCategoryFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1649
- /**
1650
- * Select specific fields to fetch from the ProductCategory
1651
- */
1652
1172
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1653
- /**
1654
- * Omit specific fields from the ProductCategory
1655
- */
1656
1173
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1657
- /**
1658
- * Choose, which related nodes to fetch as well
1659
- */
1660
1174
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1661
- /**
1662
- * Filter, which ProductCategories to fetch.
1663
- */
1664
1175
  where?: Prisma.ProductCategoryWhereInput;
1665
- /**
1666
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1667
- *
1668
- * Determine the order of ProductCategories to fetch.
1669
- */
1670
1176
  orderBy?: Prisma.ProductCategoryOrderByWithRelationInput | Prisma.ProductCategoryOrderByWithRelationInput[];
1671
- /**
1672
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1673
- *
1674
- * Sets the position for listing ProductCategories.
1675
- */
1676
1177
  cursor?: Prisma.ProductCategoryWhereUniqueInput;
1677
- /**
1678
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1679
- *
1680
- * Take `±n` ProductCategories from the position of the cursor.
1681
- */
1682
1178
  take?: number;
1683
- /**
1684
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1685
- *
1686
- * Skip the first `n` ProductCategories.
1687
- */
1688
1179
  skip?: number;
1689
1180
  distinct?: Prisma.ProductCategoryScalarFieldEnum | Prisma.ProductCategoryScalarFieldEnum[];
1690
1181
  };
1691
- /**
1692
- * ProductCategory create
1693
- */
1694
1182
  export type ProductCategoryCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1695
- /**
1696
- * Select specific fields to fetch from the ProductCategory
1697
- */
1698
1183
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1699
- /**
1700
- * Omit specific fields from the ProductCategory
1701
- */
1702
1184
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1703
- /**
1704
- * Choose, which related nodes to fetch as well
1705
- */
1706
1185
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1707
- /**
1708
- * The data needed to create a ProductCategory.
1709
- */
1710
1186
  data: Prisma.XOR<Prisma.ProductCategoryCreateInput, Prisma.ProductCategoryUncheckedCreateInput>;
1711
1187
  };
1712
- /**
1713
- * ProductCategory createMany
1714
- */
1715
1188
  export type ProductCategoryCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1716
- /**
1717
- * The data used to create many ProductCategories.
1718
- */
1719
1189
  data: Prisma.ProductCategoryCreateManyInput | Prisma.ProductCategoryCreateManyInput[];
1720
1190
  skipDuplicates?: boolean;
1721
1191
  };
1722
- /**
1723
- * ProductCategory createManyAndReturn
1724
- */
1725
1192
  export type ProductCategoryCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1726
- /**
1727
- * Select specific fields to fetch from the ProductCategory
1728
- */
1729
1193
  select?: Prisma.ProductCategorySelectCreateManyAndReturn<ExtArgs> | null;
1730
- /**
1731
- * Omit specific fields from the ProductCategory
1732
- */
1733
1194
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1734
- /**
1735
- * The data used to create many ProductCategories.
1736
- */
1737
1195
  data: Prisma.ProductCategoryCreateManyInput | Prisma.ProductCategoryCreateManyInput[];
1738
1196
  skipDuplicates?: boolean;
1739
- /**
1740
- * Choose, which related nodes to fetch as well
1741
- */
1742
1197
  include?: Prisma.ProductCategoryIncludeCreateManyAndReturn<ExtArgs> | null;
1743
1198
  };
1744
- /**
1745
- * ProductCategory update
1746
- */
1747
1199
  export type ProductCategoryUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1748
- /**
1749
- * Select specific fields to fetch from the ProductCategory
1750
- */
1751
1200
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1752
- /**
1753
- * Omit specific fields from the ProductCategory
1754
- */
1755
1201
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1756
- /**
1757
- * Choose, which related nodes to fetch as well
1758
- */
1759
1202
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1760
- /**
1761
- * The data needed to update a ProductCategory.
1762
- */
1763
1203
  data: Prisma.XOR<Prisma.ProductCategoryUpdateInput, Prisma.ProductCategoryUncheckedUpdateInput>;
1764
- /**
1765
- * Choose, which ProductCategory to update.
1766
- */
1767
1204
  where: Prisma.ProductCategoryWhereUniqueInput;
1768
1205
  };
1769
- /**
1770
- * ProductCategory updateMany
1771
- */
1772
1206
  export type ProductCategoryUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1773
- /**
1774
- * The data used to update ProductCategories.
1775
- */
1776
1207
  data: Prisma.XOR<Prisma.ProductCategoryUpdateManyMutationInput, Prisma.ProductCategoryUncheckedUpdateManyInput>;
1777
- /**
1778
- * Filter which ProductCategories to update
1779
- */
1780
1208
  where?: Prisma.ProductCategoryWhereInput;
1781
- /**
1782
- * Limit how many ProductCategories to update.
1783
- */
1784
1209
  limit?: number;
1785
1210
  };
1786
- /**
1787
- * ProductCategory updateManyAndReturn
1788
- */
1789
1211
  export type ProductCategoryUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1790
- /**
1791
- * Select specific fields to fetch from the ProductCategory
1792
- */
1793
1212
  select?: Prisma.ProductCategorySelectUpdateManyAndReturn<ExtArgs> | null;
1794
- /**
1795
- * Omit specific fields from the ProductCategory
1796
- */
1797
1213
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1798
- /**
1799
- * The data used to update ProductCategories.
1800
- */
1801
1214
  data: Prisma.XOR<Prisma.ProductCategoryUpdateManyMutationInput, Prisma.ProductCategoryUncheckedUpdateManyInput>;
1802
- /**
1803
- * Filter which ProductCategories to update
1804
- */
1805
1215
  where?: Prisma.ProductCategoryWhereInput;
1806
- /**
1807
- * Limit how many ProductCategories to update.
1808
- */
1809
1216
  limit?: number;
1810
- /**
1811
- * Choose, which related nodes to fetch as well
1812
- */
1813
1217
  include?: Prisma.ProductCategoryIncludeUpdateManyAndReturn<ExtArgs> | null;
1814
1218
  };
1815
- /**
1816
- * ProductCategory upsert
1817
- */
1818
1219
  export type ProductCategoryUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1819
- /**
1820
- * Select specific fields to fetch from the ProductCategory
1821
- */
1822
1220
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1823
- /**
1824
- * Omit specific fields from the ProductCategory
1825
- */
1826
1221
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1827
- /**
1828
- * Choose, which related nodes to fetch as well
1829
- */
1830
1222
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1831
- /**
1832
- * The filter to search for the ProductCategory to update in case it exists.
1833
- */
1834
1223
  where: Prisma.ProductCategoryWhereUniqueInput;
1835
- /**
1836
- * In case the ProductCategory found by the `where` argument doesn't exist, create a new ProductCategory with this data.
1837
- */
1838
1224
  create: Prisma.XOR<Prisma.ProductCategoryCreateInput, Prisma.ProductCategoryUncheckedCreateInput>;
1839
- /**
1840
- * In case the ProductCategory was found with the provided `where` argument, update it with this data.
1841
- */
1842
1225
  update: Prisma.XOR<Prisma.ProductCategoryUpdateInput, Prisma.ProductCategoryUncheckedUpdateInput>;
1843
1226
  };
1844
- /**
1845
- * ProductCategory delete
1846
- */
1847
1227
  export type ProductCategoryDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1848
- /**
1849
- * Select specific fields to fetch from the ProductCategory
1850
- */
1851
1228
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1852
- /**
1853
- * Omit specific fields from the ProductCategory
1854
- */
1855
1229
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1856
- /**
1857
- * Choose, which related nodes to fetch as well
1858
- */
1859
1230
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1860
- /**
1861
- * Filter which ProductCategory to delete.
1862
- */
1863
1231
  where: Prisma.ProductCategoryWhereUniqueInput;
1864
1232
  };
1865
- /**
1866
- * ProductCategory deleteMany
1867
- */
1868
1233
  export type ProductCategoryDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1869
- /**
1870
- * Filter which ProductCategories to delete
1871
- */
1872
1234
  where?: Prisma.ProductCategoryWhereInput;
1873
- /**
1874
- * Limit how many ProductCategories to delete.
1875
- */
1876
1235
  limit?: number;
1877
1236
  };
1878
- /**
1879
- * ProductCategory.image
1880
- */
1881
1237
  export type ProductCategory$imageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1882
- /**
1883
- * Select specific fields to fetch from the File
1884
- */
1885
1238
  select?: Prisma.FileSelect<ExtArgs> | null;
1886
- /**
1887
- * Omit specific fields from the File
1888
- */
1889
1239
  omit?: Prisma.FileOmit<ExtArgs> | null;
1890
- /**
1891
- * Choose, which related nodes to fetch as well
1892
- */
1893
1240
  include?: Prisma.FileInclude<ExtArgs> | null;
1894
1241
  where?: Prisma.FileWhereInput;
1895
1242
  };
1896
- /**
1897
- * ProductCategory.translations
1898
- */
1899
1243
  export type ProductCategory$translationsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1900
- /**
1901
- * Select specific fields to fetch from the ProductCategoryTranslation
1902
- */
1903
1244
  select?: Prisma.ProductCategoryTranslationSelect<ExtArgs> | null;
1904
- /**
1905
- * Omit specific fields from the ProductCategoryTranslation
1906
- */
1907
1245
  omit?: Prisma.ProductCategoryTranslationOmit<ExtArgs> | null;
1908
- /**
1909
- * Choose, which related nodes to fetch as well
1910
- */
1911
1246
  include?: Prisma.ProductCategoryTranslationInclude<ExtArgs> | null;
1912
1247
  where?: Prisma.ProductCategoryTranslationWhereInput;
1913
1248
  orderBy?: Prisma.ProductCategoryTranslationOrderByWithRelationInput | Prisma.ProductCategoryTranslationOrderByWithRelationInput[];
@@ -1916,21 +1251,9 @@ export type ProductCategory$translationsArgs<ExtArgs extends runtime.Types.Exten
1916
1251
  skip?: number;
1917
1252
  distinct?: Prisma.ProductCategoryTranslationScalarFieldEnum | Prisma.ProductCategoryTranslationScalarFieldEnum[];
1918
1253
  };
1919
- /**
1920
- * ProductCategory.products
1921
- */
1922
1254
  export type ProductCategory$productsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1923
- /**
1924
- * Select specific fields to fetch from the Product
1925
- */
1926
1255
  select?: Prisma.ProductSelect<ExtArgs> | null;
1927
- /**
1928
- * Omit specific fields from the Product
1929
- */
1930
1256
  omit?: Prisma.ProductOmit<ExtArgs> | null;
1931
- /**
1932
- * Choose, which related nodes to fetch as well
1933
- */
1934
1257
  include?: Prisma.ProductInclude<ExtArgs> | null;
1935
1258
  where?: Prisma.ProductWhereInput;
1936
1259
  orderBy?: Prisma.ProductOrderByWithRelationInput | Prisma.ProductOrderByWithRelationInput[];
@@ -1939,21 +1262,9 @@ export type ProductCategory$productsArgs<ExtArgs extends runtime.Types.Extension
1939
1262
  skip?: number;
1940
1263
  distinct?: Prisma.ProductScalarFieldEnum | Prisma.ProductScalarFieldEnum[];
1941
1264
  };
1942
- /**
1943
- * ProductCategory without action
1944
- */
1945
1265
  export type ProductCategoryDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1946
- /**
1947
- * Select specific fields to fetch from the ProductCategory
1948
- */
1949
1266
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
1950
- /**
1951
- * Omit specific fields from the ProductCategory
1952
- */
1953
1267
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
1954
- /**
1955
- * Choose, which related nodes to fetch as well
1956
- */
1957
1268
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1958
1269
  };
1959
1270
  export {};