@shophost/rest-api 2.0.30 → 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,10 +1,6 @@
1
1
  import type * as runtime from "@prisma/client/runtime/client";
2
2
  import type * as $Enums from "../enums";
3
3
  import type * as Prisma from "../internal/prismaNamespace";
4
- /**
5
- * Model File
6
- *
7
- */
8
4
  export type FileModel = runtime.Types.Result.DefaultSelection<Prisma.$FilePayload>;
9
5
  export type AggregateFile = {
10
6
  _count: FileCountAggregateOutputType | null;
@@ -118,63 +114,15 @@ export type FileCountAggregateInputType = {
118
114
  _all?: true;
119
115
  };
120
116
  export type FileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
121
- /**
122
- * Filter which File to aggregate.
123
- */
124
117
  where?: Prisma.FileWhereInput;
125
- /**
126
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
127
- *
128
- * Determine the order of Files to fetch.
129
- */
130
118
  orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
131
- /**
132
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
133
- *
134
- * Sets the start position
135
- */
136
119
  cursor?: Prisma.FileWhereUniqueInput;
137
- /**
138
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
139
- *
140
- * Take `±n` Files from the position of the cursor.
141
- */
142
120
  take?: number;
143
- /**
144
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
145
- *
146
- * Skip the first `n` Files.
147
- */
148
121
  skip?: number;
149
- /**
150
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
- *
152
- * Count returned Files
153
- **/
154
122
  _count?: true | FileCountAggregateInputType;
155
- /**
156
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
157
- *
158
- * Select which fields to average
159
- **/
160
123
  _avg?: FileAvgAggregateInputType;
161
- /**
162
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
163
- *
164
- * Select which fields to sum
165
- **/
166
124
  _sum?: FileSumAggregateInputType;
167
- /**
168
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
169
- *
170
- * Select which fields to find the minimum value
171
- **/
172
125
  _min?: FileMinAggregateInputType;
173
- /**
174
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
175
- *
176
- * Select which fields to find the maximum value
177
- **/
178
126
  _max?: FileMaxAggregateInputType;
179
127
  };
180
128
  export type GetFileAggregateType<T extends FileAggregateArgs> = {
@@ -1578,9 +1526,6 @@ export type FileUncheckedUpdateManyWithoutModifierImagesInput = {
1578
1526
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1579
1527
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1580
1528
  };
1581
- /**
1582
- * Count Type FileCountOutputType
1583
- */
1584
1529
  export type FileCountOutputType = {
1585
1530
  productImages: number;
1586
1531
  modifierImages: number;
@@ -1591,30 +1536,15 @@ export type FileCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
1591
1536
  modifierImages?: boolean | FileCountOutputTypeCountModifierImagesArgs;
1592
1537
  orderItemImages?: boolean | FileCountOutputTypeCountOrderItemImagesArgs;
1593
1538
  };
1594
- /**
1595
- * FileCountOutputType without action
1596
- */
1597
1539
  export type FileCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1598
- /**
1599
- * Select specific fields to fetch from the FileCountOutputType
1600
- */
1601
1540
  select?: Prisma.FileCountOutputTypeSelect<ExtArgs> | null;
1602
1541
  };
1603
- /**
1604
- * FileCountOutputType without action
1605
- */
1606
1542
  export type FileCountOutputTypeCountProductImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1607
1543
  where?: Prisma.ProductWhereInput;
1608
1544
  };
1609
- /**
1610
- * FileCountOutputType without action
1611
- */
1612
1545
  export type FileCountOutputTypeCountModifierImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1613
1546
  where?: Prisma.ModifierWhereInput;
1614
1547
  };
1615
- /**
1616
- * FileCountOutputType without action
1617
- */
1618
1548
  export type FileCountOutputTypeCountOrderItemImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1619
1549
  where?: Prisma.OrderItemWhereInput;
1620
1550
  };
@@ -1747,290 +1677,22 @@ export interface FileDelegate<ExtArgs extends runtime.Types.Extensions.InternalA
1747
1677
  name: 'File';
1748
1678
  };
1749
1679
  };
1750
- /**
1751
- * Find zero or one File that matches the filter.
1752
- * @param {FileFindUniqueArgs} args - Arguments to find a File
1753
- * @example
1754
- * // Get one File
1755
- * const file = await prisma.file.findUnique({
1756
- * where: {
1757
- * // ... provide filter here
1758
- * }
1759
- * })
1760
- */
1761
1680
  findUnique<T extends FileFindUniqueArgs>(args: Prisma.SelectSubset<T, FileFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1762
- /**
1763
- * Find one File that matches the filter or throw an error with `error.code='P2025'`
1764
- * if no matches were found.
1765
- * @param {FileFindUniqueOrThrowArgs} args - Arguments to find a File
1766
- * @example
1767
- * // Get one File
1768
- * const file = await prisma.file.findUniqueOrThrow({
1769
- * where: {
1770
- * // ... provide filter here
1771
- * }
1772
- * })
1773
- */
1774
1681
  findUniqueOrThrow<T extends FileFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FileFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1775
- /**
1776
- * Find the first File that matches the filter.
1777
- * Note, that providing `undefined` is treated as the value not being there.
1778
- * Read more here: https://pris.ly/d/null-undefined
1779
- * @param {FileFindFirstArgs} args - Arguments to find a File
1780
- * @example
1781
- * // Get one File
1782
- * const file = await prisma.file.findFirst({
1783
- * where: {
1784
- * // ... provide filter here
1785
- * }
1786
- * })
1787
- */
1788
1682
  findFirst<T extends FileFindFirstArgs>(args?: Prisma.SelectSubset<T, FileFindFirstArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1789
- /**
1790
- * Find the first File that matches the filter or
1791
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1792
- * Note, that providing `undefined` is treated as the value not being there.
1793
- * Read more here: https://pris.ly/d/null-undefined
1794
- * @param {FileFindFirstOrThrowArgs} args - Arguments to find a File
1795
- * @example
1796
- * // Get one File
1797
- * const file = await prisma.file.findFirstOrThrow({
1798
- * where: {
1799
- * // ... provide filter here
1800
- * }
1801
- * })
1802
- */
1803
1683
  findFirstOrThrow<T extends FileFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FileFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1804
- /**
1805
- * Find zero or more Files that matches the filter.
1806
- * Note, that providing `undefined` is treated as the value not being there.
1807
- * Read more here: https://pris.ly/d/null-undefined
1808
- * @param {FileFindManyArgs} args - Arguments to filter and select certain fields only.
1809
- * @example
1810
- * // Get all Files
1811
- * const files = await prisma.file.findMany()
1812
- *
1813
- * // Get first 10 Files
1814
- * const files = await prisma.file.findMany({ take: 10 })
1815
- *
1816
- * // Only select the `id`
1817
- * const fileWithIdOnly = await prisma.file.findMany({ select: { id: true } })
1818
- *
1819
- */
1820
1684
  findMany<T extends FileFindManyArgs>(args?: Prisma.SelectSubset<T, FileFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1821
- /**
1822
- * Create a File.
1823
- * @param {FileCreateArgs} args - Arguments to create a File.
1824
- * @example
1825
- * // Create one File
1826
- * const File = await prisma.file.create({
1827
- * data: {
1828
- * // ... data to create a File
1829
- * }
1830
- * })
1831
- *
1832
- */
1833
1685
  create<T extends FileCreateArgs>(args: Prisma.SelectSubset<T, FileCreateArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1834
- /**
1835
- * Create many Files.
1836
- * @param {FileCreateManyArgs} args - Arguments to create many Files.
1837
- * @example
1838
- * // Create many Files
1839
- * const file = await prisma.file.createMany({
1840
- * data: [
1841
- * // ... provide data here
1842
- * ]
1843
- * })
1844
- *
1845
- */
1846
1686
  createMany<T extends FileCreateManyArgs>(args?: Prisma.SelectSubset<T, FileCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1847
- /**
1848
- * Create many Files and returns the data saved in the database.
1849
- * @param {FileCreateManyAndReturnArgs} args - Arguments to create many Files.
1850
- * @example
1851
- * // Create many Files
1852
- * const file = await prisma.file.createManyAndReturn({
1853
- * data: [
1854
- * // ... provide data here
1855
- * ]
1856
- * })
1857
- *
1858
- * // Create many Files and only return the `id`
1859
- * const fileWithIdOnly = await prisma.file.createManyAndReturn({
1860
- * select: { id: true },
1861
- * data: [
1862
- * // ... provide data here
1863
- * ]
1864
- * })
1865
- * Note, that providing `undefined` is treated as the value not being there.
1866
- * Read more here: https://pris.ly/d/null-undefined
1867
- *
1868
- */
1869
1687
  createManyAndReturn<T extends FileCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FileCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1870
- /**
1871
- * Delete a File.
1872
- * @param {FileDeleteArgs} args - Arguments to delete one File.
1873
- * @example
1874
- * // Delete one File
1875
- * const File = await prisma.file.delete({
1876
- * where: {
1877
- * // ... filter to delete one File
1878
- * }
1879
- * })
1880
- *
1881
- */
1882
1688
  delete<T extends FileDeleteArgs>(args: Prisma.SelectSubset<T, FileDeleteArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1883
- /**
1884
- * Update one File.
1885
- * @param {FileUpdateArgs} args - Arguments to update one File.
1886
- * @example
1887
- * // Update one File
1888
- * const file = await prisma.file.update({
1889
- * where: {
1890
- * // ... provide filter here
1891
- * },
1892
- * data: {
1893
- * // ... provide data here
1894
- * }
1895
- * })
1896
- *
1897
- */
1898
1689
  update<T extends FileUpdateArgs>(args: Prisma.SelectSubset<T, FileUpdateArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1899
- /**
1900
- * Delete zero or more Files.
1901
- * @param {FileDeleteManyArgs} args - Arguments to filter Files to delete.
1902
- * @example
1903
- * // Delete a few Files
1904
- * const { count } = await prisma.file.deleteMany({
1905
- * where: {
1906
- * // ... provide filter here
1907
- * }
1908
- * })
1909
- *
1910
- */
1911
1690
  deleteMany<T extends FileDeleteManyArgs>(args?: Prisma.SelectSubset<T, FileDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1912
- /**
1913
- * Update zero or more Files.
1914
- * Note, that providing `undefined` is treated as the value not being there.
1915
- * Read more here: https://pris.ly/d/null-undefined
1916
- * @param {FileUpdateManyArgs} args - Arguments to update one or more rows.
1917
- * @example
1918
- * // Update many Files
1919
- * const file = await prisma.file.updateMany({
1920
- * where: {
1921
- * // ... provide filter here
1922
- * },
1923
- * data: {
1924
- * // ... provide data here
1925
- * }
1926
- * })
1927
- *
1928
- */
1929
1691
  updateMany<T extends FileUpdateManyArgs>(args: Prisma.SelectSubset<T, FileUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1930
- /**
1931
- * Update zero or more Files and returns the data updated in the database.
1932
- * @param {FileUpdateManyAndReturnArgs} args - Arguments to update many Files.
1933
- * @example
1934
- * // Update many Files
1935
- * const file = await prisma.file.updateManyAndReturn({
1936
- * where: {
1937
- * // ... provide filter here
1938
- * },
1939
- * data: [
1940
- * // ... provide data here
1941
- * ]
1942
- * })
1943
- *
1944
- * // Update zero or more Files and only return the `id`
1945
- * const fileWithIdOnly = await prisma.file.updateManyAndReturn({
1946
- * select: { id: true },
1947
- * where: {
1948
- * // ... provide filter here
1949
- * },
1950
- * data: [
1951
- * // ... provide data here
1952
- * ]
1953
- * })
1954
- * Note, that providing `undefined` is treated as the value not being there.
1955
- * Read more here: https://pris.ly/d/null-undefined
1956
- *
1957
- */
1958
1692
  updateManyAndReturn<T extends FileUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FileUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1959
- /**
1960
- * Create or update one File.
1961
- * @param {FileUpsertArgs} args - Arguments to update or create a File.
1962
- * @example
1963
- * // Update or create a File
1964
- * const file = await prisma.file.upsert({
1965
- * create: {
1966
- * // ... data to create a File
1967
- * },
1968
- * update: {
1969
- * // ... in case it already exists, update
1970
- * },
1971
- * where: {
1972
- * // ... the filter for the File we want to update
1973
- * }
1974
- * })
1975
- */
1976
1693
  upsert<T extends FileUpsertArgs>(args: Prisma.SelectSubset<T, FileUpsertArgs<ExtArgs>>): Prisma.Prisma__FileClient<runtime.Types.Result.GetResult<Prisma.$FilePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1977
- /**
1978
- * Count the number of Files.
1979
- * Note, that providing `undefined` is treated as the value not being there.
1980
- * Read more here: https://pris.ly/d/null-undefined
1981
- * @param {FileCountArgs} args - Arguments to filter Files to count.
1982
- * @example
1983
- * // Count the number of Files
1984
- * const count = await prisma.file.count({
1985
- * where: {
1986
- * // ... the filter for the Files we want to count
1987
- * }
1988
- * })
1989
- **/
1990
1694
  count<T extends FileCountArgs>(args?: Prisma.Subset<T, FileCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FileCountAggregateOutputType> : number>;
1991
- /**
1992
- * Allows you to perform aggregations operations on a File.
1993
- * Note, that providing `undefined` is treated as the value not being there.
1994
- * Read more here: https://pris.ly/d/null-undefined
1995
- * @param {FileAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1996
- * @example
1997
- * // Ordered by age ascending
1998
- * // Where email contains prisma.io
1999
- * // Limited to the 10 users
2000
- * const aggregations = await prisma.user.aggregate({
2001
- * _avg: {
2002
- * age: true,
2003
- * },
2004
- * where: {
2005
- * email: {
2006
- * contains: "prisma.io",
2007
- * },
2008
- * },
2009
- * orderBy: {
2010
- * age: "asc",
2011
- * },
2012
- * take: 10,
2013
- * })
2014
- **/
2015
1695
  aggregate<T extends FileAggregateArgs>(args: Prisma.Subset<T, FileAggregateArgs>): Prisma.PrismaPromise<GetFileAggregateType<T>>;
2016
- /**
2017
- * Group by File.
2018
- * Note, that providing `undefined` is treated as the value not being there.
2019
- * Read more here: https://pris.ly/d/null-undefined
2020
- * @param {FileGroupByArgs} args - Group by arguments.
2021
- * @example
2022
- * // Group by city, order by createdAt, get count
2023
- * const result = await prisma.user.groupBy({
2024
- * by: ['city', 'createdAt'],
2025
- * orderBy: {
2026
- * createdAt: true
2027
- * },
2028
- * _count: {
2029
- * _all: true
2030
- * },
2031
- * })
2032
- *
2033
- **/
2034
1696
  groupBy<T extends FileGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
2035
1697
  orderBy: FileGroupByArgs['orderBy'];
2036
1698
  } : {
@@ -2049,17 +1711,8 @@ export interface FileDelegate<ExtArgs extends runtime.Types.Extensions.InternalA
2049
1711
  }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
2050
1712
  [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
2051
1713
  }[OrderFields]>(args: Prisma.SubsetIntersection<T, FileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
2052
- /**
2053
- * Fields of the File model
2054
- */
2055
1714
  readonly fields: FileFieldRefs;
2056
1715
  }
2057
- /**
2058
- * The delegate class that acts as a "Promise-like" for File.
2059
- * Why is this prefixed with `Prisma__`?
2060
- * Because we want to prevent naming conflicts as mentioned in
2061
- * https://github.com/prisma/prisma-client-js/issues/707
2062
- */
2063
1716
  export interface Prisma__FileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
2064
1717
  readonly [Symbol.toStringTag]: "PrismaPromise";
2065
1718
  organization<T extends Prisma.File$organizationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$organizationArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
@@ -2070,30 +1723,10 @@ export interface Prisma__FileClient<T, Null = never, ExtArgs extends runtime.Typ
2070
1723
  shippingMethodLogoFor<T extends Prisma.File$shippingMethodLogoForArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$shippingMethodLogoForArgs<ExtArgs>>): Prisma.Prisma__ShippingMethodClient<runtime.Types.Result.GetResult<Prisma.$ShippingMethodPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2071
1724
  organizationLogo<T extends Prisma.File$organizationLogoArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$organizationLogoArgs<ExtArgs>>): Prisma.Prisma__OrganizationClient<runtime.Types.Result.GetResult<Prisma.$OrganizationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
2072
1725
  orderItemImages<T extends Prisma.File$orderItemImagesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.File$orderItemImagesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$OrderItemPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
2073
- /**
2074
- * Attaches callbacks for the resolution and/or rejection of the Promise.
2075
- * @param onfulfilled The callback to execute when the Promise is resolved.
2076
- * @param onrejected The callback to execute when the Promise is rejected.
2077
- * @returns A Promise for the completion of which ever callback is executed.
2078
- */
2079
1726
  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>;
2080
- /**
2081
- * Attaches a callback for only the rejection of the Promise.
2082
- * @param onrejected The callback to execute when the Promise is rejected.
2083
- * @returns A Promise for the completion of the callback.
2084
- */
2085
1727
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
2086
- /**
2087
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
2088
- * resolved value cannot be modified from the callback.
2089
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
2090
- * @returns A Promise for the completion of the callback.
2091
- */
2092
1728
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
2093
1729
  }
2094
- /**
2095
- * Fields of the File model
2096
- */
2097
1730
  export interface FileFieldRefs {
2098
1731
  readonly id: Prisma.FieldRef<"File", 'String'>;
2099
1732
  readonly mimeType: Prisma.FieldRef<"File", 'String'>;
@@ -2109,452 +1742,127 @@ export interface FileFieldRefs {
2109
1742
  readonly deletedAt: Prisma.FieldRef<"File", 'DateTime'>;
2110
1743
  readonly deletedBy: Prisma.FieldRef<"File", 'String'>;
2111
1744
  }
2112
- /**
2113
- * File findUnique
2114
- */
2115
1745
  export type FileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2116
- /**
2117
- * Select specific fields to fetch from the File
2118
- */
2119
1746
  select?: Prisma.FileSelect<ExtArgs> | null;
2120
- /**
2121
- * Omit specific fields from the File
2122
- */
2123
1747
  omit?: Prisma.FileOmit<ExtArgs> | null;
2124
- /**
2125
- * Choose, which related nodes to fetch as well
2126
- */
2127
1748
  include?: Prisma.FileInclude<ExtArgs> | null;
2128
- /**
2129
- * Filter, which File to fetch.
2130
- */
2131
1749
  where: Prisma.FileWhereUniqueInput;
2132
1750
  };
2133
- /**
2134
- * File findUniqueOrThrow
2135
- */
2136
1751
  export type FileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2137
- /**
2138
- * Select specific fields to fetch from the File
2139
- */
2140
1752
  select?: Prisma.FileSelect<ExtArgs> | null;
2141
- /**
2142
- * Omit specific fields from the File
2143
- */
2144
1753
  omit?: Prisma.FileOmit<ExtArgs> | null;
2145
- /**
2146
- * Choose, which related nodes to fetch as well
2147
- */
2148
1754
  include?: Prisma.FileInclude<ExtArgs> | null;
2149
- /**
2150
- * Filter, which File to fetch.
2151
- */
2152
1755
  where: Prisma.FileWhereUniqueInput;
2153
1756
  };
2154
- /**
2155
- * File findFirst
2156
- */
2157
1757
  export type FileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2158
- /**
2159
- * Select specific fields to fetch from the File
2160
- */
2161
1758
  select?: Prisma.FileSelect<ExtArgs> | null;
2162
- /**
2163
- * Omit specific fields from the File
2164
- */
2165
1759
  omit?: Prisma.FileOmit<ExtArgs> | null;
2166
- /**
2167
- * Choose, which related nodes to fetch as well
2168
- */
2169
1760
  include?: Prisma.FileInclude<ExtArgs> | null;
2170
- /**
2171
- * Filter, which File to fetch.
2172
- */
2173
1761
  where?: Prisma.FileWhereInput;
2174
- /**
2175
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2176
- *
2177
- * Determine the order of Files to fetch.
2178
- */
2179
1762
  orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
2180
- /**
2181
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2182
- *
2183
- * Sets the position for searching for Files.
2184
- */
2185
1763
  cursor?: Prisma.FileWhereUniqueInput;
2186
- /**
2187
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2188
- *
2189
- * Take `±n` Files from the position of the cursor.
2190
- */
2191
1764
  take?: number;
2192
- /**
2193
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2194
- *
2195
- * Skip the first `n` Files.
2196
- */
2197
1765
  skip?: number;
2198
- /**
2199
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2200
- *
2201
- * Filter by unique combinations of Files.
2202
- */
2203
1766
  distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
2204
1767
  };
2205
- /**
2206
- * File findFirstOrThrow
2207
- */
2208
1768
  export type FileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2209
- /**
2210
- * Select specific fields to fetch from the File
2211
- */
2212
1769
  select?: Prisma.FileSelect<ExtArgs> | null;
2213
- /**
2214
- * Omit specific fields from the File
2215
- */
2216
1770
  omit?: Prisma.FileOmit<ExtArgs> | null;
2217
- /**
2218
- * Choose, which related nodes to fetch as well
2219
- */
2220
1771
  include?: Prisma.FileInclude<ExtArgs> | null;
2221
- /**
2222
- * Filter, which File to fetch.
2223
- */
2224
1772
  where?: Prisma.FileWhereInput;
2225
- /**
2226
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2227
- *
2228
- * Determine the order of Files to fetch.
2229
- */
2230
1773
  orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
2231
- /**
2232
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2233
- *
2234
- * Sets the position for searching for Files.
2235
- */
2236
1774
  cursor?: Prisma.FileWhereUniqueInput;
2237
- /**
2238
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2239
- *
2240
- * Take `±n` Files from the position of the cursor.
2241
- */
2242
1775
  take?: number;
2243
- /**
2244
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2245
- *
2246
- * Skip the first `n` Files.
2247
- */
2248
1776
  skip?: number;
2249
- /**
2250
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2251
- *
2252
- * Filter by unique combinations of Files.
2253
- */
2254
1777
  distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
2255
1778
  };
2256
- /**
2257
- * File findMany
2258
- */
2259
1779
  export type FileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2260
- /**
2261
- * Select specific fields to fetch from the File
2262
- */
2263
1780
  select?: Prisma.FileSelect<ExtArgs> | null;
2264
- /**
2265
- * Omit specific fields from the File
2266
- */
2267
1781
  omit?: Prisma.FileOmit<ExtArgs> | null;
2268
- /**
2269
- * Choose, which related nodes to fetch as well
2270
- */
2271
1782
  include?: Prisma.FileInclude<ExtArgs> | null;
2272
- /**
2273
- * Filter, which Files to fetch.
2274
- */
2275
1783
  where?: Prisma.FileWhereInput;
2276
- /**
2277
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
2278
- *
2279
- * Determine the order of Files to fetch.
2280
- */
2281
1784
  orderBy?: Prisma.FileOrderByWithRelationInput | Prisma.FileOrderByWithRelationInput[];
2282
- /**
2283
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
2284
- *
2285
- * Sets the position for listing Files.
2286
- */
2287
1785
  cursor?: Prisma.FileWhereUniqueInput;
2288
- /**
2289
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2290
- *
2291
- * Take `±n` Files from the position of the cursor.
2292
- */
2293
1786
  take?: number;
2294
- /**
2295
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
2296
- *
2297
- * Skip the first `n` Files.
2298
- */
2299
1787
  skip?: number;
2300
1788
  distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
2301
1789
  };
2302
- /**
2303
- * File create
2304
- */
2305
1790
  export type FileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2306
- /**
2307
- * Select specific fields to fetch from the File
2308
- */
2309
1791
  select?: Prisma.FileSelect<ExtArgs> | null;
2310
- /**
2311
- * Omit specific fields from the File
2312
- */
2313
1792
  omit?: Prisma.FileOmit<ExtArgs> | null;
2314
- /**
2315
- * Choose, which related nodes to fetch as well
2316
- */
2317
1793
  include?: Prisma.FileInclude<ExtArgs> | null;
2318
- /**
2319
- * The data needed to create a File.
2320
- */
2321
1794
  data: Prisma.XOR<Prisma.FileCreateInput, Prisma.FileUncheckedCreateInput>;
2322
1795
  };
2323
- /**
2324
- * File createMany
2325
- */
2326
1796
  export type FileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2327
- /**
2328
- * The data used to create many Files.
2329
- */
2330
1797
  data: Prisma.FileCreateManyInput | Prisma.FileCreateManyInput[];
2331
1798
  skipDuplicates?: boolean;
2332
1799
  };
2333
- /**
2334
- * File createManyAndReturn
2335
- */
2336
1800
  export type FileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2337
- /**
2338
- * Select specific fields to fetch from the File
2339
- */
2340
1801
  select?: Prisma.FileSelectCreateManyAndReturn<ExtArgs> | null;
2341
- /**
2342
- * Omit specific fields from the File
2343
- */
2344
1802
  omit?: Prisma.FileOmit<ExtArgs> | null;
2345
- /**
2346
- * The data used to create many Files.
2347
- */
2348
1803
  data: Prisma.FileCreateManyInput | Prisma.FileCreateManyInput[];
2349
1804
  skipDuplicates?: boolean;
2350
- /**
2351
- * Choose, which related nodes to fetch as well
2352
- */
2353
1805
  include?: Prisma.FileIncludeCreateManyAndReturn<ExtArgs> | null;
2354
1806
  };
2355
- /**
2356
- * File update
2357
- */
2358
1807
  export type FileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2359
- /**
2360
- * Select specific fields to fetch from the File
2361
- */
2362
1808
  select?: Prisma.FileSelect<ExtArgs> | null;
2363
- /**
2364
- * Omit specific fields from the File
2365
- */
2366
1809
  omit?: Prisma.FileOmit<ExtArgs> | null;
2367
- /**
2368
- * Choose, which related nodes to fetch as well
2369
- */
2370
1810
  include?: Prisma.FileInclude<ExtArgs> | null;
2371
- /**
2372
- * The data needed to update a File.
2373
- */
2374
1811
  data: Prisma.XOR<Prisma.FileUpdateInput, Prisma.FileUncheckedUpdateInput>;
2375
- /**
2376
- * Choose, which File to update.
2377
- */
2378
1812
  where: Prisma.FileWhereUniqueInput;
2379
1813
  };
2380
- /**
2381
- * File updateMany
2382
- */
2383
1814
  export type FileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2384
- /**
2385
- * The data used to update Files.
2386
- */
2387
1815
  data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyInput>;
2388
- /**
2389
- * Filter which Files to update
2390
- */
2391
1816
  where?: Prisma.FileWhereInput;
2392
- /**
2393
- * Limit how many Files to update.
2394
- */
2395
1817
  limit?: number;
2396
1818
  };
2397
- /**
2398
- * File updateManyAndReturn
2399
- */
2400
1819
  export type FileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2401
- /**
2402
- * Select specific fields to fetch from the File
2403
- */
2404
1820
  select?: Prisma.FileSelectUpdateManyAndReturn<ExtArgs> | null;
2405
- /**
2406
- * Omit specific fields from the File
2407
- */
2408
1821
  omit?: Prisma.FileOmit<ExtArgs> | null;
2409
- /**
2410
- * The data used to update Files.
2411
- */
2412
1822
  data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyInput>;
2413
- /**
2414
- * Filter which Files to update
2415
- */
2416
1823
  where?: Prisma.FileWhereInput;
2417
- /**
2418
- * Limit how many Files to update.
2419
- */
2420
1824
  limit?: number;
2421
- /**
2422
- * Choose, which related nodes to fetch as well
2423
- */
2424
1825
  include?: Prisma.FileIncludeUpdateManyAndReturn<ExtArgs> | null;
2425
1826
  };
2426
- /**
2427
- * File upsert
2428
- */
2429
1827
  export type FileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2430
- /**
2431
- * Select specific fields to fetch from the File
2432
- */
2433
1828
  select?: Prisma.FileSelect<ExtArgs> | null;
2434
- /**
2435
- * Omit specific fields from the File
2436
- */
2437
1829
  omit?: Prisma.FileOmit<ExtArgs> | null;
2438
- /**
2439
- * Choose, which related nodes to fetch as well
2440
- */
2441
1830
  include?: Prisma.FileInclude<ExtArgs> | null;
2442
- /**
2443
- * The filter to search for the File to update in case it exists.
2444
- */
2445
1831
  where: Prisma.FileWhereUniqueInput;
2446
- /**
2447
- * In case the File found by the `where` argument doesn't exist, create a new File with this data.
2448
- */
2449
1832
  create: Prisma.XOR<Prisma.FileCreateInput, Prisma.FileUncheckedCreateInput>;
2450
- /**
2451
- * In case the File was found with the provided `where` argument, update it with this data.
2452
- */
2453
1833
  update: Prisma.XOR<Prisma.FileUpdateInput, Prisma.FileUncheckedUpdateInput>;
2454
1834
  };
2455
- /**
2456
- * File delete
2457
- */
2458
1835
  export type FileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2459
- /**
2460
- * Select specific fields to fetch from the File
2461
- */
2462
1836
  select?: Prisma.FileSelect<ExtArgs> | null;
2463
- /**
2464
- * Omit specific fields from the File
2465
- */
2466
1837
  omit?: Prisma.FileOmit<ExtArgs> | null;
2467
- /**
2468
- * Choose, which related nodes to fetch as well
2469
- */
2470
1838
  include?: Prisma.FileInclude<ExtArgs> | null;
2471
- /**
2472
- * Filter which File to delete.
2473
- */
2474
1839
  where: Prisma.FileWhereUniqueInput;
2475
1840
  };
2476
- /**
2477
- * File deleteMany
2478
- */
2479
1841
  export type FileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2480
- /**
2481
- * Filter which Files to delete
2482
- */
2483
1842
  where?: Prisma.FileWhereInput;
2484
- /**
2485
- * Limit how many Files to delete.
2486
- */
2487
1843
  limit?: number;
2488
1844
  };
2489
- /**
2490
- * File.organization
2491
- */
2492
1845
  export type File$organizationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2493
- /**
2494
- * Select specific fields to fetch from the Organization
2495
- */
2496
1846
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
2497
- /**
2498
- * Omit specific fields from the Organization
2499
- */
2500
1847
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
2501
- /**
2502
- * Choose, which related nodes to fetch as well
2503
- */
2504
1848
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
2505
1849
  where?: Prisma.OrganizationWhereInput;
2506
1850
  };
2507
- /**
2508
- * File.manufacturerLogo
2509
- */
2510
1851
  export type File$manufacturerLogoArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2511
- /**
2512
- * Select specific fields to fetch from the Manufacturer
2513
- */
2514
1852
  select?: Prisma.ManufacturerSelect<ExtArgs> | null;
2515
- /**
2516
- * Omit specific fields from the Manufacturer
2517
- */
2518
1853
  omit?: Prisma.ManufacturerOmit<ExtArgs> | null;
2519
- /**
2520
- * Choose, which related nodes to fetch as well
2521
- */
2522
1854
  include?: Prisma.ManufacturerInclude<ExtArgs> | null;
2523
1855
  where?: Prisma.ManufacturerWhereInput;
2524
1856
  };
2525
- /**
2526
- * File.productCategoryImage
2527
- */
2528
1857
  export type File$productCategoryImageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2529
- /**
2530
- * Select specific fields to fetch from the ProductCategory
2531
- */
2532
1858
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
2533
- /**
2534
- * Omit specific fields from the ProductCategory
2535
- */
2536
1859
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
2537
- /**
2538
- * Choose, which related nodes to fetch as well
2539
- */
2540
1860
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
2541
1861
  where?: Prisma.ProductCategoryWhereInput;
2542
1862
  };
2543
- /**
2544
- * File.productImages
2545
- */
2546
1863
  export type File$productImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2547
- /**
2548
- * Select specific fields to fetch from the Product
2549
- */
2550
1864
  select?: Prisma.ProductSelect<ExtArgs> | null;
2551
- /**
2552
- * Omit specific fields from the Product
2553
- */
2554
1865
  omit?: Prisma.ProductOmit<ExtArgs> | null;
2555
- /**
2556
- * Choose, which related nodes to fetch as well
2557
- */
2558
1866
  include?: Prisma.ProductInclude<ExtArgs> | null;
2559
1867
  where?: Prisma.ProductWhereInput;
2560
1868
  orderBy?: Prisma.ProductOrderByWithRelationInput | Prisma.ProductOrderByWithRelationInput[];
@@ -2563,21 +1871,9 @@ export type File$productImagesArgs<ExtArgs extends runtime.Types.Extensions.Inte
2563
1871
  skip?: number;
2564
1872
  distinct?: Prisma.ProductScalarFieldEnum | Prisma.ProductScalarFieldEnum[];
2565
1873
  };
2566
- /**
2567
- * File.modifierImages
2568
- */
2569
1874
  export type File$modifierImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2570
- /**
2571
- * Select specific fields to fetch from the Modifier
2572
- */
2573
1875
  select?: Prisma.ModifierSelect<ExtArgs> | null;
2574
- /**
2575
- * Omit specific fields from the Modifier
2576
- */
2577
1876
  omit?: Prisma.ModifierOmit<ExtArgs> | null;
2578
- /**
2579
- * Choose, which related nodes to fetch as well
2580
- */
2581
1877
  include?: Prisma.ModifierInclude<ExtArgs> | null;
2582
1878
  where?: Prisma.ModifierWhereInput;
2583
1879
  orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
@@ -2586,57 +1882,21 @@ export type File$modifierImagesArgs<ExtArgs extends runtime.Types.Extensions.Int
2586
1882
  skip?: number;
2587
1883
  distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
2588
1884
  };
2589
- /**
2590
- * File.shippingMethodLogoFor
2591
- */
2592
1885
  export type File$shippingMethodLogoForArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2593
- /**
2594
- * Select specific fields to fetch from the ShippingMethod
2595
- */
2596
1886
  select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
2597
- /**
2598
- * Omit specific fields from the ShippingMethod
2599
- */
2600
1887
  omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
2601
- /**
2602
- * Choose, which related nodes to fetch as well
2603
- */
2604
1888
  include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
2605
1889
  where?: Prisma.ShippingMethodWhereInput;
2606
1890
  };
2607
- /**
2608
- * File.organizationLogo
2609
- */
2610
1891
  export type File$organizationLogoArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2611
- /**
2612
- * Select specific fields to fetch from the Organization
2613
- */
2614
1892
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
2615
- /**
2616
- * Omit specific fields from the Organization
2617
- */
2618
1893
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
2619
- /**
2620
- * Choose, which related nodes to fetch as well
2621
- */
2622
1894
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
2623
1895
  where?: Prisma.OrganizationWhereInput;
2624
1896
  };
2625
- /**
2626
- * File.orderItemImages
2627
- */
2628
1897
  export type File$orderItemImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2629
- /**
2630
- * Select specific fields to fetch from the OrderItem
2631
- */
2632
1898
  select?: Prisma.OrderItemSelect<ExtArgs> | null;
2633
- /**
2634
- * Omit specific fields from the OrderItem
2635
- */
2636
1899
  omit?: Prisma.OrderItemOmit<ExtArgs> | null;
2637
- /**
2638
- * Choose, which related nodes to fetch as well
2639
- */
2640
1900
  include?: Prisma.OrderItemInclude<ExtArgs> | null;
2641
1901
  where?: Prisma.OrderItemWhereInput;
2642
1902
  orderBy?: Prisma.OrderItemOrderByWithRelationInput | Prisma.OrderItemOrderByWithRelationInput[];
@@ -2645,21 +1905,9 @@ export type File$orderItemImagesArgs<ExtArgs extends runtime.Types.Extensions.In
2645
1905
  skip?: number;
2646
1906
  distinct?: Prisma.OrderItemScalarFieldEnum | Prisma.OrderItemScalarFieldEnum[];
2647
1907
  };
2648
- /**
2649
- * File without action
2650
- */
2651
1908
  export type FileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2652
- /**
2653
- * Select specific fields to fetch from the File
2654
- */
2655
1909
  select?: Prisma.FileSelect<ExtArgs> | null;
2656
- /**
2657
- * Omit specific fields from the File
2658
- */
2659
1910
  omit?: Prisma.FileOmit<ExtArgs> | null;
2660
- /**
2661
- * Choose, which related nodes to fetch as well
2662
- */
2663
1911
  include?: Prisma.FileInclude<ExtArgs> | null;
2664
1912
  };
2665
1913
  export {};