@shophost/rest-api 2.0.31 → 2.0.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (348) hide show
  1. package/package.json +13 -14
  2. package/src/app.js +53 -1
  3. package/src/app.js.map +1 -0
  4. package/src/core/auth/auth.schema.js +41 -1
  5. package/src/core/auth/auth.schema.js.map +1 -0
  6. package/src/core/auth/auth.util.js +44 -1
  7. package/src/core/auth/auth.util.js.map +1 -0
  8. package/src/core/auth/better-auth.lib.js +100 -1
  9. package/src/core/auth/better-auth.lib.js.map +1 -0
  10. package/src/core/auth/generate-password-hash.util.d.ts +3 -0
  11. package/src/core/auth/generate-password-hash.util.js +30 -1
  12. package/src/core/auth/generate-password-hash.util.js.map +1 -0
  13. package/src/core/auth/headers.schema.js +22 -1
  14. package/src/core/auth/headers.schema.js.map +1 -0
  15. package/src/core/auth/user.schema.js +30 -1
  16. package/src/core/auth/user.schema.js.map +1 -0
  17. package/src/core/db/__generated__/client/browser.d.ts +128 -0
  18. package/src/core/db/__generated__/client/browser.js +18 -1
  19. package/src/core/db/__generated__/client/browser.js.map +1 -0
  20. package/src/core/db/__generated__/client/client.d.ts +143 -0
  21. package/src/core/db/__generated__/client/client.js +35 -1
  22. package/src/core/db/__generated__/client/client.js.map +1 -0
  23. package/src/core/db/__generated__/client/commonInputTypes.js +11 -1
  24. package/src/core/db/__generated__/client/commonInputTypes.js.map +1 -0
  25. package/src/core/db/__generated__/client/enums.js +200 -1
  26. package/src/core/db/__generated__/client/enums.js.map +1 -0
  27. package/src/core/db/__generated__/client/internal/class.d.ts +343 -0
  28. package/src/core/db/__generated__/client/internal/class.js +55 -1
  29. package/src/core/db/__generated__/client/internal/class.js.map +1 -0
  30. package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +234 -0
  31. package/src/core/db/__generated__/client/internal/prismaNamespace.js +541 -1
  32. package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +1 -0
  33. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +15 -0
  34. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +512 -1
  35. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +1 -0
  36. package/src/core/db/__generated__/client/models/Account.d.ts +633 -0
  37. package/src/core/db/__generated__/client/models/Account.js +2 -1
  38. package/src/core/db/__generated__/client/models/Account.js.map +1 -0
  39. package/src/core/db/__generated__/client/models/Address.d.ts +706 -0
  40. package/src/core/db/__generated__/client/models/Address.js +2 -1
  41. package/src/core/db/__generated__/client/models/Address.js.map +1 -0
  42. package/src/core/db/__generated__/client/models/Campaign.d.ts +643 -0
  43. package/src/core/db/__generated__/client/models/Campaign.js +2 -1
  44. package/src/core/db/__generated__/client/models/Campaign.js.map +1 -0
  45. package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +639 -0
  46. package/src/core/db/__generated__/client/models/ClosingTimes.js +2 -1
  47. package/src/core/db/__generated__/client/models/ClosingTimes.js.map +1 -0
  48. package/src/core/db/__generated__/client/models/File.d.ts +757 -0
  49. package/src/core/db/__generated__/client/models/File.js +2 -1
  50. package/src/core/db/__generated__/client/models/File.js.map +1 -0
  51. package/src/core/db/__generated__/client/models/Invitation.d.ts +633 -0
  52. package/src/core/db/__generated__/client/models/Invitation.js +2 -1
  53. package/src/core/db/__generated__/client/models/Invitation.js.map +1 -0
  54. package/src/core/db/__generated__/client/models/LegalEntity.d.ts +657 -0
  55. package/src/core/db/__generated__/client/models/LegalEntity.js +2 -1
  56. package/src/core/db/__generated__/client/models/LegalEntity.js.map +1 -0
  57. package/src/core/db/__generated__/client/models/Manufacturer.d.ts +684 -0
  58. package/src/core/db/__generated__/client/models/Manufacturer.js +2 -1
  59. package/src/core/db/__generated__/client/models/Manufacturer.js.map +1 -0
  60. package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +633 -0
  61. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +2 -1
  62. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +1 -0
  63. package/src/core/db/__generated__/client/models/Member.d.ts +633 -0
  64. package/src/core/db/__generated__/client/models/Member.js +2 -1
  65. package/src/core/db/__generated__/client/models/Member.js.map +1 -0
  66. package/src/core/db/__generated__/client/models/Modifier.d.ts +667 -0
  67. package/src/core/db/__generated__/client/models/Modifier.js +2 -1
  68. package/src/core/db/__generated__/client/models/Modifier.js.map +1 -0
  69. package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +691 -0
  70. package/src/core/db/__generated__/client/models/ModifierGroup.js +2 -1
  71. package/src/core/db/__generated__/client/models/ModifierGroup.js.map +1 -0
  72. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +633 -0
  73. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +2 -1
  74. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +1 -0
  75. package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +639 -0
  76. package/src/core/db/__generated__/client/models/OpeningTimes.js +2 -1
  77. package/src/core/db/__generated__/client/models/OpeningTimes.js.map +1 -0
  78. package/src/core/db/__generated__/client/models/Order.d.ts +705 -0
  79. package/src/core/db/__generated__/client/models/Order.js +2 -1
  80. package/src/core/db/__generated__/client/models/Order.js.map +1 -0
  81. package/src/core/db/__generated__/client/models/OrderItem.d.ts +691 -0
  82. package/src/core/db/__generated__/client/models/OrderItem.js +2 -1
  83. package/src/core/db/__generated__/client/models/OrderItem.js.map +1 -0
  84. package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +633 -0
  85. package/src/core/db/__generated__/client/models/OrderItemTranslation.js +2 -1
  86. package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +1 -0
  87. package/src/core/db/__generated__/client/models/Organization.d.ts +816 -0
  88. package/src/core/db/__generated__/client/models/Organization.js +2 -1
  89. package/src/core/db/__generated__/client/models/Organization.js.map +1 -0
  90. package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +681 -0
  91. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +2 -1
  92. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +1 -0
  93. package/src/core/db/__generated__/client/models/Payment.d.ts +673 -0
  94. package/src/core/db/__generated__/client/models/Payment.js +2 -1
  95. package/src/core/db/__generated__/client/models/Payment.js.map +1 -0
  96. package/src/core/db/__generated__/client/models/PaymentSession.d.ts +643 -0
  97. package/src/core/db/__generated__/client/models/PaymentSession.js +2 -1
  98. package/src/core/db/__generated__/client/models/PaymentSession.js.map +1 -0
  99. package/src/core/db/__generated__/client/models/Product.d.ts +751 -0
  100. package/src/core/db/__generated__/client/models/Product.js +2 -1
  101. package/src/core/db/__generated__/client/models/Product.js.map +1 -0
  102. package/src/core/db/__generated__/client/models/ProductCategory.d.ts +694 -0
  103. package/src/core/db/__generated__/client/models/ProductCategory.js +2 -1
  104. package/src/core/db/__generated__/client/models/ProductCategory.js.map +1 -0
  105. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +633 -0
  106. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +2 -1
  107. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +1 -0
  108. package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +669 -0
  109. package/src/core/db/__generated__/client/models/ProductSnapshot.js +2 -1
  110. package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +1 -0
  111. package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +633 -0
  112. package/src/core/db/__generated__/client/models/ProductTranslation.js +2 -1
  113. package/src/core/db/__generated__/client/models/ProductTranslation.js.map +1 -0
  114. package/src/core/db/__generated__/client/models/Reservation.d.ts +655 -0
  115. package/src/core/db/__generated__/client/models/Reservation.js +2 -1
  116. package/src/core/db/__generated__/client/models/Reservation.js.map +1 -0
  117. package/src/core/db/__generated__/client/models/Session.d.ts +633 -0
  118. package/src/core/db/__generated__/client/models/Session.js +2 -1
  119. package/src/core/db/__generated__/client/models/Session.js.map +1 -0
  120. package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +684 -0
  121. package/src/core/db/__generated__/client/models/ShippingMethod.js +2 -1
  122. package/src/core/db/__generated__/client/models/ShippingMethod.js.map +1 -0
  123. package/src/core/db/__generated__/client/models/ShippingZone.d.ts +643 -0
  124. package/src/core/db/__generated__/client/models/ShippingZone.js +2 -1
  125. package/src/core/db/__generated__/client/models/ShippingZone.js.map +1 -0
  126. package/src/core/db/__generated__/client/models/User.d.ts +741 -0
  127. package/src/core/db/__generated__/client/models/User.js +2 -1
  128. package/src/core/db/__generated__/client/models/User.js.map +1 -0
  129. package/src/core/db/__generated__/client/models/Verification.d.ts +597 -0
  130. package/src/core/db/__generated__/client/models/Verification.js +2 -1
  131. package/src/core/db/__generated__/client/models/Verification.js.map +1 -0
  132. package/src/core/db/__generated__/client/models.js +2 -1
  133. package/src/core/db/__generated__/client/models.js.map +1 -0
  134. package/src/core/db/index.js +2 -1
  135. package/src/core/db/index.js.map +1 -0
  136. package/src/core/exceptions/http-exception.js +9 -1
  137. package/src/core/exceptions/http-exception.js.map +1 -0
  138. package/src/core/hono/hono.js +123 -1
  139. package/src/core/hono/hono.js.map +1 -0
  140. package/src/core/lib/prisma.js +11 -1
  141. package/src/core/lib/prisma.js.map +1 -0
  142. package/src/core/logging/pino.js +5 -1
  143. package/src/core/logging/pino.js.map +1 -0
  144. package/src/core/notifications/email.service.d.ts +15 -0
  145. package/src/core/notifications/email.service.js +116 -1
  146. package/src/core/notifications/email.service.js.map +1 -0
  147. package/src/core/openapi/openapi.lib.js +26 -1
  148. package/src/core/openapi/openapi.lib.js.map +1 -0
  149. package/src/core/types/google-maps.types.js +2 -1
  150. package/src/core/types/google-maps.types.js.map +1 -0
  151. package/src/core/utils/currency.util.js +11 -1
  152. package/src/core/utils/currency.util.js.map +1 -0
  153. package/src/core/utils/env.util.js +8 -1
  154. package/src/core/utils/env.util.js.map +1 -0
  155. package/src/core/utils/object.util.d.ts +10 -0
  156. package/src/core/utils/object.util.js +39 -1
  157. package/src/core/utils/object.util.js.map +1 -0
  158. package/src/core/utils/translations.util.js +2 -0
  159. package/src/core/utils/translations.util.js.map +1 -0
  160. package/src/core/utils/zod.util.d.ts +12 -0
  161. package/src/core/utils/zod.util.js +85 -1
  162. package/src/core/utils/zod.util.js.map +1 -0
  163. package/src/db.js +3 -1
  164. package/src/db.js.map +1 -0
  165. package/src/features/access/access.handler.js +91 -1
  166. package/src/features/access/access.handler.js.map +1 -0
  167. package/src/features/access/access.route.js +220 -1
  168. package/src/features/access/access.route.js.map +1 -0
  169. package/src/features/access/access.schema.js +108 -1
  170. package/src/features/access/access.schema.js.map +1 -0
  171. package/src/features/access/access.service.js +294 -1
  172. package/src/features/access/access.service.js.map +1 -0
  173. package/src/features/cart/cart.handler.js +17 -1
  174. package/src/features/cart/cart.handler.js.map +1 -0
  175. package/src/features/cart/cart.route.js +32 -1
  176. package/src/features/cart/cart.route.js.map +1 -0
  177. package/src/features/cart/cart.schema.js +39 -1
  178. package/src/features/cart/cart.schema.js.map +1 -0
  179. package/src/features/cart/cart.service.d.ts +7 -0
  180. package/src/features/cart/cart.service.js +97 -1
  181. package/src/features/cart/cart.service.js.map +1 -0
  182. package/src/features/cart/cart.util.js +76 -1
  183. package/src/features/cart/cart.util.js.map +1 -0
  184. package/src/features/file/file.handler.js +23 -1
  185. package/src/features/file/file.handler.js.map +1 -0
  186. package/src/features/file/file.route.js +34 -1
  187. package/src/features/file/file.route.js.map +1 -0
  188. package/src/features/file/file.schema.js +77 -1
  189. package/src/features/file/file.schema.js.map +1 -0
  190. package/src/features/file/file.service.d.ts +6 -0
  191. package/src/features/file/file.service.js +66 -1
  192. package/src/features/file/file.service.js.map +1 -0
  193. package/src/features/health/health.handler.js +10 -1
  194. package/src/features/health/health.handler.js.map +1 -0
  195. package/src/features/health/health.route.js +25 -1
  196. package/src/features/health/health.route.js.map +1 -0
  197. package/src/features/index.js +16 -1
  198. package/src/features/index.js.map +1 -0
  199. package/src/features/location/location.handler.js +25 -1
  200. package/src/features/location/location.handler.js.map +1 -0
  201. package/src/features/location/location.route.js +56 -1
  202. package/src/features/location/location.route.js.map +1 -0
  203. package/src/features/location/location.schema.js +50 -1
  204. package/src/features/location/location.schema.js.map +1 -0
  205. package/src/features/location/location.service.d.ts +3 -0
  206. package/src/features/location/location.service.js +141 -1
  207. package/src/features/location/location.service.js.map +1 -0
  208. package/src/features/manufacturer/manufacturer.handler.js +53 -1
  209. package/src/features/manufacturer/manufacturer.handler.js.map +1 -0
  210. package/src/features/manufacturer/manufacturer.route.js +97 -1
  211. package/src/features/manufacturer/manufacturer.route.js.map +1 -0
  212. package/src/features/manufacturer/manufacturer.schema.js +125 -1
  213. package/src/features/manufacturer/manufacturer.schema.js.map +1 -0
  214. package/src/features/manufacturer/manufacturer.service.d.ts +19 -0
  215. package/src/features/manufacturer/manufacturer.service.js +190 -1
  216. package/src/features/manufacturer/manufacturer.service.js.map +1 -0
  217. package/src/features/order/emails/order-confirmation.email.js +229 -1
  218. package/src/features/order/emails/order-confirmation.email.js.map +1 -0
  219. package/src/features/order/emails/order-notification.email.js +229 -1
  220. package/src/features/order/emails/order-notification.email.js.map +1 -0
  221. package/src/features/order/fulfilment.schema.js +3 -1
  222. package/src/features/order/fulfilment.schema.js.map +1 -0
  223. package/src/features/order/order.handler.js +54 -1
  224. package/src/features/order/order.handler.js.map +1 -0
  225. package/src/features/order/order.route.js +111 -1
  226. package/src/features/order/order.route.js.map +1 -0
  227. package/src/features/order/order.schema.js +158 -1
  228. package/src/features/order/order.schema.js.map +1 -0
  229. package/src/features/order/order.service.d.ts +15 -0
  230. package/src/features/order/order.service.js +306 -1
  231. package/src/features/order/order.service.js.map +1 -0
  232. package/src/features/order/recipient.schema.js +38 -1
  233. package/src/features/order/recipient.schema.js.map +1 -0
  234. package/src/features/organization/legal-entity.schema.js +83 -1
  235. package/src/features/organization/legal-entity.schema.js.map +1 -0
  236. package/src/features/organization/organization-configuration.schema.js +115 -1
  237. package/src/features/organization/organization-configuration.schema.js.map +1 -0
  238. package/src/features/organization/organization.handler.js +48 -1
  239. package/src/features/organization/organization.handler.js.map +1 -0
  240. package/src/features/organization/organization.route.js +84 -1
  241. package/src/features/organization/organization.route.js.map +1 -0
  242. package/src/features/organization/organization.schema.js +64 -1
  243. package/src/features/organization/organization.schema.js.map +1 -0
  244. package/src/features/organization/organization.service.d.ts +15 -0
  245. package/src/features/organization/organization.service.js +334 -1
  246. package/src/features/organization/organization.service.js.map +1 -0
  247. package/src/features/payment/payment.handler.js +16 -1
  248. package/src/features/payment/payment.handler.js.map +1 -0
  249. package/src/features/payment/payment.route.js +22 -1
  250. package/src/features/payment/payment.route.js.map +1 -0
  251. package/src/features/payment/payment.schema.js +46 -1
  252. package/src/features/payment/payment.schema.js.map +1 -0
  253. package/src/features/payment/payment.service.js +100 -1
  254. package/src/features/payment/payment.service.js.map +1 -0
  255. package/src/features/payment/stripe.service.js +164 -1
  256. package/src/features/payment/stripe.service.js.map +1 -0
  257. package/src/features/product/product-modifier.schema.js +84 -1
  258. package/src/features/product/product-modifier.schema.js.map +1 -0
  259. package/src/features/product/product.handler.js +87 -1
  260. package/src/features/product/product.handler.js.map +1 -0
  261. package/src/features/product/product.route.js +179 -1
  262. package/src/features/product/product.route.js.map +1 -0
  263. package/src/features/product/product.schema.js +143 -1
  264. package/src/features/product/product.schema.js.map +1 -0
  265. package/src/features/product/product.service.d.ts +25 -0
  266. package/src/features/product/product.service.js +440 -1
  267. package/src/features/product/product.service.js.map +1 -0
  268. package/src/features/product-category/product-category.handler.js +59 -1
  269. package/src/features/product-category/product-category.handler.js.map +1 -0
  270. package/src/features/product-category/product-category.route.js +139 -1
  271. package/src/features/product-category/product-category.route.js.map +1 -0
  272. package/src/features/product-category/product-category.schema.js +86 -1
  273. package/src/features/product-category/product-category.schema.js.map +1 -0
  274. package/src/features/product-category/product-category.service.d.ts +22 -0
  275. package/src/features/product-category/product-category.service.js +220 -1
  276. package/src/features/product-category/product-category.service.js.map +1 -0
  277. package/src/features/reservation/emails/reservation-cancellation.email.js +82 -1
  278. package/src/features/reservation/emails/reservation-cancellation.email.js.map +1 -0
  279. package/src/features/reservation/emails/reservation-confirmation.email.js +82 -1
  280. package/src/features/reservation/emails/reservation-confirmation.email.js.map +1 -0
  281. package/src/features/reservation/emails/reservation-notification.email.js +93 -1
  282. package/src/features/reservation/emails/reservation-notification.email.js.map +1 -0
  283. package/src/features/reservation/reservation.handler.js +65 -1
  284. package/src/features/reservation/reservation.handler.js.map +1 -0
  285. package/src/features/reservation/reservation.route.js +167 -1
  286. package/src/features/reservation/reservation.route.js.map +1 -0
  287. package/src/features/reservation/reservation.schema.js +51 -1
  288. package/src/features/reservation/reservation.schema.js.map +1 -0
  289. package/src/features/reservation/reservation.service.d.ts +18 -0
  290. package/src/features/reservation/reservation.service.js +231 -1
  291. package/src/features/reservation/reservation.service.js.map +1 -0
  292. package/src/features/shipping/shipping.handler.js +32 -1
  293. package/src/features/shipping/shipping.handler.js.map +1 -0
  294. package/src/features/shipping/shipping.route.js +51 -1
  295. package/src/features/shipping/shipping.route.js.map +1 -0
  296. package/src/features/shipping/shipping.service.d.ts +7 -0
  297. package/src/features/shipping/shipping.service.js +96 -1
  298. package/src/features/shipping/shipping.service.js.map +1 -0
  299. package/src/features/shipping-method/shipping-method.handler.js +60 -1
  300. package/src/features/shipping-method/shipping-method.handler.js.map +1 -0
  301. package/src/features/shipping-method/shipping-method.route.js +144 -1
  302. package/src/features/shipping-method/shipping-method.route.js.map +1 -0
  303. package/src/features/shipping-method/shipping-method.schema.js +48 -1
  304. package/src/features/shipping-method/shipping-method.schema.js.map +1 -0
  305. package/src/features/shipping-method/shipping-method.service.d.ts +25 -0
  306. package/src/features/shipping-method/shipping-method.service.js +229 -1
  307. package/src/features/shipping-method/shipping-method.service.js.map +1 -0
  308. package/src/features/shipping-method/shipping-zone.schema.js +31 -1
  309. package/src/features/shipping-method/shipping-zone.schema.js.map +1 -0
  310. package/src/features/webhook/webhook.handler.js +50 -1
  311. package/src/features/webhook/webhook.handler.js.map +1 -0
  312. package/src/features/webhook/webhook.route.js +33 -1
  313. package/src/features/webhook/webhook.route.js.map +1 -0
  314. package/src/index.js +6 -1
  315. package/src/index.js.map +1 -0
  316. package/src/integrations/next.js +82 -1
  317. package/src/integrations/next.js.map +1 -0
  318. package/src/schemas/address.schema.d.ts +8 -0
  319. package/src/schemas/address.schema.js +112 -1
  320. package/src/schemas/address.schema.js.map +1 -0
  321. package/src/schemas/currency.schema.d.ts +42 -0
  322. package/src/schemas/currency.schema.js +118 -1
  323. package/src/schemas/currency.schema.js.map +1 -0
  324. package/src/schemas/error.schema.js +12 -1
  325. package/src/schemas/error.schema.js.map +1 -0
  326. package/src/schemas/index.js +29 -1
  327. package/src/schemas/index.js.map +1 -0
  328. package/src/schemas/locales.schema.js +238 -1
  329. package/src/schemas/locales.schema.js.map +1 -0
  330. package/src/schemas/number.schema.js +29 -1
  331. package/src/schemas/number.schema.js.map +1 -0
  332. package/src/schemas/pagination.schema.js +54 -1
  333. package/src/schemas/pagination.schema.js.map +1 -0
  334. package/src/schemas/params.schema.js +20 -1
  335. package/src/schemas/params.schema.js.map +1 -0
  336. package/src/schemas/queries.schema.js +6 -1
  337. package/src/schemas/queries.schema.js.map +1 -0
  338. package/src/test/global-setup.js +37 -1
  339. package/src/test/global-setup.js.map +1 -0
  340. package/src/test/integration/api-fixtures.js +160 -1
  341. package/src/test/integration/api-fixtures.js.map +1 -0
  342. package/src/test/integration/seed.js +368 -1
  343. package/src/test/integration/seed.js.map +1 -0
  344. package/src/test/integration/test-helpers.js +154 -1
  345. package/src/test/integration/test-helpers.js.map +1 -0
  346. package/src/test/setup-test-env.js +7 -1
  347. package/src/test/setup-test-env.js.map +1 -0
  348. package/scripts/minify.mjs +0 -110
@@ -1,6 +1,10 @@
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
+ */
4
8
  export type FileModel = runtime.Types.Result.DefaultSelection<Prisma.$FilePayload>;
5
9
  export type AggregateFile = {
6
10
  _count: FileCountAggregateOutputType | null;
@@ -114,15 +118,63 @@ export type FileCountAggregateInputType = {
114
118
  _all?: true;
115
119
  };
116
120
  export type FileAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
121
+ /**
122
+ * Filter which File to aggregate.
123
+ */
117
124
  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
+ */
118
130
  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
+ */
119
136
  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
+ */
120
142
  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
+ */
121
148
  skip?: number;
149
+ /**
150
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
151
+ *
152
+ * Count returned Files
153
+ **/
122
154
  _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
+ **/
123
160
  _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
+ **/
124
166
  _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
+ **/
125
172
  _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
+ **/
126
178
  _max?: FileMaxAggregateInputType;
127
179
  };
128
180
  export type GetFileAggregateType<T extends FileAggregateArgs> = {
@@ -1526,6 +1578,9 @@ export type FileUncheckedUpdateManyWithoutModifierImagesInput = {
1526
1578
  deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
1527
1579
  deletedBy?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
1528
1580
  };
1581
+ /**
1582
+ * Count Type FileCountOutputType
1583
+ */
1529
1584
  export type FileCountOutputType = {
1530
1585
  productImages: number;
1531
1586
  modifierImages: number;
@@ -1536,15 +1591,30 @@ export type FileCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.I
1536
1591
  modifierImages?: boolean | FileCountOutputTypeCountModifierImagesArgs;
1537
1592
  orderItemImages?: boolean | FileCountOutputTypeCountOrderItemImagesArgs;
1538
1593
  };
1594
+ /**
1595
+ * FileCountOutputType without action
1596
+ */
1539
1597
  export type FileCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1598
+ /**
1599
+ * Select specific fields to fetch from the FileCountOutputType
1600
+ */
1540
1601
  select?: Prisma.FileCountOutputTypeSelect<ExtArgs> | null;
1541
1602
  };
1603
+ /**
1604
+ * FileCountOutputType without action
1605
+ */
1542
1606
  export type FileCountOutputTypeCountProductImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1543
1607
  where?: Prisma.ProductWhereInput;
1544
1608
  };
1609
+ /**
1610
+ * FileCountOutputType without action
1611
+ */
1545
1612
  export type FileCountOutputTypeCountModifierImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1546
1613
  where?: Prisma.ModifierWhereInput;
1547
1614
  };
1615
+ /**
1616
+ * FileCountOutputType without action
1617
+ */
1548
1618
  export type FileCountOutputTypeCountOrderItemImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1549
1619
  where?: Prisma.OrderItemWhereInput;
1550
1620
  };
@@ -1677,22 +1747,290 @@ export interface FileDelegate<ExtArgs extends runtime.Types.Extensions.InternalA
1677
1747
  name: 'File';
1678
1748
  };
1679
1749
  };
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
+ */
1680
1761
  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
+ */
1681
1774
  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
+ */
1682
1788
  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
+ */
1683
1803
  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
+ */
1684
1820
  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
+ */
1685
1833
  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
+ */
1686
1846
  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
+ */
1687
1869
  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
+ */
1688
1882
  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
+ */
1689
1898
  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
+ */
1690
1911
  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
+ */
1691
1929
  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
+ */
1692
1958
  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
+ */
1693
1976
  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
+ **/
1694
1990
  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
+ **/
1695
2015
  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
+ **/
1696
2034
  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 ? {
1697
2035
  orderBy: FileGroupByArgs['orderBy'];
1698
2036
  } : {
@@ -1711,8 +2049,17 @@ export interface FileDelegate<ExtArgs extends runtime.Types.Extensions.InternalA
1711
2049
  }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1712
2050
  [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1713
2051
  }[OrderFields]>(args: Prisma.SubsetIntersection<T, FileGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFileGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
2052
+ /**
2053
+ * Fields of the File model
2054
+ */
1714
2055
  readonly fields: FileFieldRefs;
1715
2056
  }
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
+ */
1716
2063
  export interface Prisma__FileClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1717
2064
  readonly [Symbol.toStringTag]: "PrismaPromise";
1718
2065
  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>;
@@ -1723,10 +2070,30 @@ export interface Prisma__FileClient<T, Null = never, ExtArgs extends runtime.Typ
1723
2070
  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>;
1724
2071
  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>;
1725
2072
  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
+ */
1726
2079
  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
+ */
1727
2085
  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
+ */
1728
2092
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1729
2093
  }
2094
+ /**
2095
+ * Fields of the File model
2096
+ */
1730
2097
  export interface FileFieldRefs {
1731
2098
  readonly id: Prisma.FieldRef<"File", 'String'>;
1732
2099
  readonly mimeType: Prisma.FieldRef<"File", 'String'>;
@@ -1742,127 +2109,457 @@ export interface FileFieldRefs {
1742
2109
  readonly deletedAt: Prisma.FieldRef<"File", 'DateTime'>;
1743
2110
  readonly deletedBy: Prisma.FieldRef<"File", 'String'>;
1744
2111
  }
2112
+ /**
2113
+ * File findUnique
2114
+ */
1745
2115
  export type FileFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2116
+ /**
2117
+ * Select specific fields to fetch from the File
2118
+ */
1746
2119
  select?: Prisma.FileSelect<ExtArgs> | null;
2120
+ /**
2121
+ * Omit specific fields from the File
2122
+ */
1747
2123
  omit?: Prisma.FileOmit<ExtArgs> | null;
2124
+ /**
2125
+ * Choose, which related nodes to fetch as well
2126
+ */
1748
2127
  include?: Prisma.FileInclude<ExtArgs> | null;
2128
+ /**
2129
+ * Filter, which File to fetch.
2130
+ */
1749
2131
  where: Prisma.FileWhereUniqueInput;
1750
2132
  };
2133
+ /**
2134
+ * File findUniqueOrThrow
2135
+ */
1751
2136
  export type FileFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2137
+ /**
2138
+ * Select specific fields to fetch from the File
2139
+ */
1752
2140
  select?: Prisma.FileSelect<ExtArgs> | null;
2141
+ /**
2142
+ * Omit specific fields from the File
2143
+ */
1753
2144
  omit?: Prisma.FileOmit<ExtArgs> | null;
2145
+ /**
2146
+ * Choose, which related nodes to fetch as well
2147
+ */
1754
2148
  include?: Prisma.FileInclude<ExtArgs> | null;
2149
+ /**
2150
+ * Filter, which File to fetch.
2151
+ */
1755
2152
  where: Prisma.FileWhereUniqueInput;
1756
2153
  };
2154
+ /**
2155
+ * File findFirst
2156
+ */
1757
2157
  export type FileFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2158
+ /**
2159
+ * Select specific fields to fetch from the File
2160
+ */
1758
2161
  select?: Prisma.FileSelect<ExtArgs> | null;
2162
+ /**
2163
+ * Omit specific fields from the File
2164
+ */
1759
2165
  omit?: Prisma.FileOmit<ExtArgs> | null;
2166
+ /**
2167
+ * Choose, which related nodes to fetch as well
2168
+ */
1760
2169
  include?: Prisma.FileInclude<ExtArgs> | null;
2170
+ /**
2171
+ * Filter, which File to fetch.
2172
+ */
1761
2173
  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
+ */
1762
2179
  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
+ */
1763
2185
  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
+ */
1764
2191
  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
+ */
1765
2197
  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
+ */
1766
2203
  distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
1767
2204
  };
2205
+ /**
2206
+ * File findFirstOrThrow
2207
+ */
1768
2208
  export type FileFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2209
+ /**
2210
+ * Select specific fields to fetch from the File
2211
+ */
1769
2212
  select?: Prisma.FileSelect<ExtArgs> | null;
2213
+ /**
2214
+ * Omit specific fields from the File
2215
+ */
1770
2216
  omit?: Prisma.FileOmit<ExtArgs> | null;
2217
+ /**
2218
+ * Choose, which related nodes to fetch as well
2219
+ */
1771
2220
  include?: Prisma.FileInclude<ExtArgs> | null;
2221
+ /**
2222
+ * Filter, which File to fetch.
2223
+ */
1772
2224
  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
+ */
1773
2230
  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
+ */
1774
2236
  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
+ */
1775
2242
  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
+ */
1776
2248
  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
+ */
1777
2254
  distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
1778
2255
  };
2256
+ /**
2257
+ * File findMany
2258
+ */
1779
2259
  export type FileFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2260
+ /**
2261
+ * Select specific fields to fetch from the File
2262
+ */
1780
2263
  select?: Prisma.FileSelect<ExtArgs> | null;
2264
+ /**
2265
+ * Omit specific fields from the File
2266
+ */
1781
2267
  omit?: Prisma.FileOmit<ExtArgs> | null;
2268
+ /**
2269
+ * Choose, which related nodes to fetch as well
2270
+ */
1782
2271
  include?: Prisma.FileInclude<ExtArgs> | null;
2272
+ /**
2273
+ * Filter, which Files to fetch.
2274
+ */
1783
2275
  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
+ */
1784
2281
  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
+ */
1785
2287
  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
+ */
1786
2293
  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
+ */
1787
2299
  skip?: number;
2300
+ /**
2301
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
2302
+ *
2303
+ * Filter by unique combinations of Files.
2304
+ */
1788
2305
  distinct?: Prisma.FileScalarFieldEnum | Prisma.FileScalarFieldEnum[];
1789
2306
  };
2307
+ /**
2308
+ * File create
2309
+ */
1790
2310
  export type FileCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2311
+ /**
2312
+ * Select specific fields to fetch from the File
2313
+ */
1791
2314
  select?: Prisma.FileSelect<ExtArgs> | null;
2315
+ /**
2316
+ * Omit specific fields from the File
2317
+ */
1792
2318
  omit?: Prisma.FileOmit<ExtArgs> | null;
2319
+ /**
2320
+ * Choose, which related nodes to fetch as well
2321
+ */
1793
2322
  include?: Prisma.FileInclude<ExtArgs> | null;
2323
+ /**
2324
+ * The data needed to create a File.
2325
+ */
1794
2326
  data: Prisma.XOR<Prisma.FileCreateInput, Prisma.FileUncheckedCreateInput>;
1795
2327
  };
2328
+ /**
2329
+ * File createMany
2330
+ */
1796
2331
  export type FileCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2332
+ /**
2333
+ * The data used to create many Files.
2334
+ */
1797
2335
  data: Prisma.FileCreateManyInput | Prisma.FileCreateManyInput[];
1798
2336
  skipDuplicates?: boolean;
1799
2337
  };
2338
+ /**
2339
+ * File createManyAndReturn
2340
+ */
1800
2341
  export type FileCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2342
+ /**
2343
+ * Select specific fields to fetch from the File
2344
+ */
1801
2345
  select?: Prisma.FileSelectCreateManyAndReturn<ExtArgs> | null;
2346
+ /**
2347
+ * Omit specific fields from the File
2348
+ */
1802
2349
  omit?: Prisma.FileOmit<ExtArgs> | null;
2350
+ /**
2351
+ * The data used to create many Files.
2352
+ */
1803
2353
  data: Prisma.FileCreateManyInput | Prisma.FileCreateManyInput[];
1804
2354
  skipDuplicates?: boolean;
2355
+ /**
2356
+ * Choose, which related nodes to fetch as well
2357
+ */
1805
2358
  include?: Prisma.FileIncludeCreateManyAndReturn<ExtArgs> | null;
1806
2359
  };
2360
+ /**
2361
+ * File update
2362
+ */
1807
2363
  export type FileUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2364
+ /**
2365
+ * Select specific fields to fetch from the File
2366
+ */
1808
2367
  select?: Prisma.FileSelect<ExtArgs> | null;
2368
+ /**
2369
+ * Omit specific fields from the File
2370
+ */
1809
2371
  omit?: Prisma.FileOmit<ExtArgs> | null;
2372
+ /**
2373
+ * Choose, which related nodes to fetch as well
2374
+ */
1810
2375
  include?: Prisma.FileInclude<ExtArgs> | null;
2376
+ /**
2377
+ * The data needed to update a File.
2378
+ */
1811
2379
  data: Prisma.XOR<Prisma.FileUpdateInput, Prisma.FileUncheckedUpdateInput>;
2380
+ /**
2381
+ * Choose, which File to update.
2382
+ */
1812
2383
  where: Prisma.FileWhereUniqueInput;
1813
2384
  };
2385
+ /**
2386
+ * File updateMany
2387
+ */
1814
2388
  export type FileUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2389
+ /**
2390
+ * The data used to update Files.
2391
+ */
1815
2392
  data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyInput>;
2393
+ /**
2394
+ * Filter which Files to update
2395
+ */
1816
2396
  where?: Prisma.FileWhereInput;
2397
+ /**
2398
+ * Limit how many Files to update.
2399
+ */
1817
2400
  limit?: number;
1818
2401
  };
2402
+ /**
2403
+ * File updateManyAndReturn
2404
+ */
1819
2405
  export type FileUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2406
+ /**
2407
+ * Select specific fields to fetch from the File
2408
+ */
1820
2409
  select?: Prisma.FileSelectUpdateManyAndReturn<ExtArgs> | null;
2410
+ /**
2411
+ * Omit specific fields from the File
2412
+ */
1821
2413
  omit?: Prisma.FileOmit<ExtArgs> | null;
2414
+ /**
2415
+ * The data used to update Files.
2416
+ */
1822
2417
  data: Prisma.XOR<Prisma.FileUpdateManyMutationInput, Prisma.FileUncheckedUpdateManyInput>;
2418
+ /**
2419
+ * Filter which Files to update
2420
+ */
1823
2421
  where?: Prisma.FileWhereInput;
2422
+ /**
2423
+ * Limit how many Files to update.
2424
+ */
1824
2425
  limit?: number;
2426
+ /**
2427
+ * Choose, which related nodes to fetch as well
2428
+ */
1825
2429
  include?: Prisma.FileIncludeUpdateManyAndReturn<ExtArgs> | null;
1826
2430
  };
2431
+ /**
2432
+ * File upsert
2433
+ */
1827
2434
  export type FileUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2435
+ /**
2436
+ * Select specific fields to fetch from the File
2437
+ */
1828
2438
  select?: Prisma.FileSelect<ExtArgs> | null;
2439
+ /**
2440
+ * Omit specific fields from the File
2441
+ */
1829
2442
  omit?: Prisma.FileOmit<ExtArgs> | null;
2443
+ /**
2444
+ * Choose, which related nodes to fetch as well
2445
+ */
1830
2446
  include?: Prisma.FileInclude<ExtArgs> | null;
2447
+ /**
2448
+ * The filter to search for the File to update in case it exists.
2449
+ */
1831
2450
  where: Prisma.FileWhereUniqueInput;
2451
+ /**
2452
+ * In case the File found by the `where` argument doesn't exist, create a new File with this data.
2453
+ */
1832
2454
  create: Prisma.XOR<Prisma.FileCreateInput, Prisma.FileUncheckedCreateInput>;
2455
+ /**
2456
+ * In case the File was found with the provided `where` argument, update it with this data.
2457
+ */
1833
2458
  update: Prisma.XOR<Prisma.FileUpdateInput, Prisma.FileUncheckedUpdateInput>;
1834
2459
  };
2460
+ /**
2461
+ * File delete
2462
+ */
1835
2463
  export type FileDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2464
+ /**
2465
+ * Select specific fields to fetch from the File
2466
+ */
1836
2467
  select?: Prisma.FileSelect<ExtArgs> | null;
2468
+ /**
2469
+ * Omit specific fields from the File
2470
+ */
1837
2471
  omit?: Prisma.FileOmit<ExtArgs> | null;
2472
+ /**
2473
+ * Choose, which related nodes to fetch as well
2474
+ */
1838
2475
  include?: Prisma.FileInclude<ExtArgs> | null;
2476
+ /**
2477
+ * Filter which File to delete.
2478
+ */
1839
2479
  where: Prisma.FileWhereUniqueInput;
1840
2480
  };
2481
+ /**
2482
+ * File deleteMany
2483
+ */
1841
2484
  export type FileDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2485
+ /**
2486
+ * Filter which Files to delete
2487
+ */
1842
2488
  where?: Prisma.FileWhereInput;
2489
+ /**
2490
+ * Limit how many Files to delete.
2491
+ */
1843
2492
  limit?: number;
1844
2493
  };
2494
+ /**
2495
+ * File.organization
2496
+ */
1845
2497
  export type File$organizationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2498
+ /**
2499
+ * Select specific fields to fetch from the Organization
2500
+ */
1846
2501
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
2502
+ /**
2503
+ * Omit specific fields from the Organization
2504
+ */
1847
2505
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
2506
+ /**
2507
+ * Choose, which related nodes to fetch as well
2508
+ */
1848
2509
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
1849
2510
  where?: Prisma.OrganizationWhereInput;
1850
2511
  };
2512
+ /**
2513
+ * File.manufacturerLogo
2514
+ */
1851
2515
  export type File$manufacturerLogoArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2516
+ /**
2517
+ * Select specific fields to fetch from the Manufacturer
2518
+ */
1852
2519
  select?: Prisma.ManufacturerSelect<ExtArgs> | null;
2520
+ /**
2521
+ * Omit specific fields from the Manufacturer
2522
+ */
1853
2523
  omit?: Prisma.ManufacturerOmit<ExtArgs> | null;
2524
+ /**
2525
+ * Choose, which related nodes to fetch as well
2526
+ */
1854
2527
  include?: Prisma.ManufacturerInclude<ExtArgs> | null;
1855
2528
  where?: Prisma.ManufacturerWhereInput;
1856
2529
  };
2530
+ /**
2531
+ * File.productCategoryImage
2532
+ */
1857
2533
  export type File$productCategoryImageArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2534
+ /**
2535
+ * Select specific fields to fetch from the ProductCategory
2536
+ */
1858
2537
  select?: Prisma.ProductCategorySelect<ExtArgs> | null;
2538
+ /**
2539
+ * Omit specific fields from the ProductCategory
2540
+ */
1859
2541
  omit?: Prisma.ProductCategoryOmit<ExtArgs> | null;
2542
+ /**
2543
+ * Choose, which related nodes to fetch as well
2544
+ */
1860
2545
  include?: Prisma.ProductCategoryInclude<ExtArgs> | null;
1861
2546
  where?: Prisma.ProductCategoryWhereInput;
1862
2547
  };
2548
+ /**
2549
+ * File.productImages
2550
+ */
1863
2551
  export type File$productImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2552
+ /**
2553
+ * Select specific fields to fetch from the Product
2554
+ */
1864
2555
  select?: Prisma.ProductSelect<ExtArgs> | null;
2556
+ /**
2557
+ * Omit specific fields from the Product
2558
+ */
1865
2559
  omit?: Prisma.ProductOmit<ExtArgs> | null;
2560
+ /**
2561
+ * Choose, which related nodes to fetch as well
2562
+ */
1866
2563
  include?: Prisma.ProductInclude<ExtArgs> | null;
1867
2564
  where?: Prisma.ProductWhereInput;
1868
2565
  orderBy?: Prisma.ProductOrderByWithRelationInput | Prisma.ProductOrderByWithRelationInput[];
@@ -1871,9 +2568,21 @@ export type File$productImagesArgs<ExtArgs extends runtime.Types.Extensions.Inte
1871
2568
  skip?: number;
1872
2569
  distinct?: Prisma.ProductScalarFieldEnum | Prisma.ProductScalarFieldEnum[];
1873
2570
  };
2571
+ /**
2572
+ * File.modifierImages
2573
+ */
1874
2574
  export type File$modifierImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2575
+ /**
2576
+ * Select specific fields to fetch from the Modifier
2577
+ */
1875
2578
  select?: Prisma.ModifierSelect<ExtArgs> | null;
2579
+ /**
2580
+ * Omit specific fields from the Modifier
2581
+ */
1876
2582
  omit?: Prisma.ModifierOmit<ExtArgs> | null;
2583
+ /**
2584
+ * Choose, which related nodes to fetch as well
2585
+ */
1877
2586
  include?: Prisma.ModifierInclude<ExtArgs> | null;
1878
2587
  where?: Prisma.ModifierWhereInput;
1879
2588
  orderBy?: Prisma.ModifierOrderByWithRelationInput | Prisma.ModifierOrderByWithRelationInput[];
@@ -1882,21 +2591,57 @@ export type File$modifierImagesArgs<ExtArgs extends runtime.Types.Extensions.Int
1882
2591
  skip?: number;
1883
2592
  distinct?: Prisma.ModifierScalarFieldEnum | Prisma.ModifierScalarFieldEnum[];
1884
2593
  };
2594
+ /**
2595
+ * File.shippingMethodLogoFor
2596
+ */
1885
2597
  export type File$shippingMethodLogoForArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2598
+ /**
2599
+ * Select specific fields to fetch from the ShippingMethod
2600
+ */
1886
2601
  select?: Prisma.ShippingMethodSelect<ExtArgs> | null;
2602
+ /**
2603
+ * Omit specific fields from the ShippingMethod
2604
+ */
1887
2605
  omit?: Prisma.ShippingMethodOmit<ExtArgs> | null;
2606
+ /**
2607
+ * Choose, which related nodes to fetch as well
2608
+ */
1888
2609
  include?: Prisma.ShippingMethodInclude<ExtArgs> | null;
1889
2610
  where?: Prisma.ShippingMethodWhereInput;
1890
2611
  };
2612
+ /**
2613
+ * File.organizationLogo
2614
+ */
1891
2615
  export type File$organizationLogoArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2616
+ /**
2617
+ * Select specific fields to fetch from the Organization
2618
+ */
1892
2619
  select?: Prisma.OrganizationSelect<ExtArgs> | null;
2620
+ /**
2621
+ * Omit specific fields from the Organization
2622
+ */
1893
2623
  omit?: Prisma.OrganizationOmit<ExtArgs> | null;
2624
+ /**
2625
+ * Choose, which related nodes to fetch as well
2626
+ */
1894
2627
  include?: Prisma.OrganizationInclude<ExtArgs> | null;
1895
2628
  where?: Prisma.OrganizationWhereInput;
1896
2629
  };
2630
+ /**
2631
+ * File.orderItemImages
2632
+ */
1897
2633
  export type File$orderItemImagesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2634
+ /**
2635
+ * Select specific fields to fetch from the OrderItem
2636
+ */
1898
2637
  select?: Prisma.OrderItemSelect<ExtArgs> | null;
2638
+ /**
2639
+ * Omit specific fields from the OrderItem
2640
+ */
1899
2641
  omit?: Prisma.OrderItemOmit<ExtArgs> | null;
2642
+ /**
2643
+ * Choose, which related nodes to fetch as well
2644
+ */
1900
2645
  include?: Prisma.OrderItemInclude<ExtArgs> | null;
1901
2646
  where?: Prisma.OrderItemWhereInput;
1902
2647
  orderBy?: Prisma.OrderItemOrderByWithRelationInput | Prisma.OrderItemOrderByWithRelationInput[];
@@ -1905,9 +2650,21 @@ export type File$orderItemImagesArgs<ExtArgs extends runtime.Types.Extensions.In
1905
2650
  skip?: number;
1906
2651
  distinct?: Prisma.OrderItemScalarFieldEnum | Prisma.OrderItemScalarFieldEnum[];
1907
2652
  };
2653
+ /**
2654
+ * File without action
2655
+ */
1908
2656
  export type FileDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
2657
+ /**
2658
+ * Select specific fields to fetch from the File
2659
+ */
1909
2660
  select?: Prisma.FileSelect<ExtArgs> | null;
2661
+ /**
2662
+ * Omit specific fields from the File
2663
+ */
1910
2664
  omit?: Prisma.FileOmit<ExtArgs> | null;
2665
+ /**
2666
+ * Choose, which related nodes to fetch as well
2667
+ */
1911
2668
  include?: Prisma.FileInclude<ExtArgs> | null;
1912
2669
  };
1913
2670
  export {};