@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,5 +1,9 @@
1
1
  import type * as runtime from "@prisma/client/runtime/client";
2
2
  import type * as Prisma from "../internal/prismaNamespace";
3
+ /**
4
+ * Model ManufacturerTranslation
5
+ *
6
+ */
3
7
  export type ManufacturerTranslationModel = runtime.Types.Result.DefaultSelection<Prisma.$ManufacturerTranslationPayload>;
4
8
  export type AggregateManufacturerTranslation = {
5
9
  _count: ManufacturerTranslationCountAggregateOutputType | null;
@@ -69,13 +73,51 @@ export type ManufacturerTranslationCountAggregateInputType = {
69
73
  _all?: true;
70
74
  };
71
75
  export type ManufacturerTranslationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
76
+ /**
77
+ * Filter which ManufacturerTranslation to aggregate.
78
+ */
72
79
  where?: Prisma.ManufacturerTranslationWhereInput;
80
+ /**
81
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
82
+ *
83
+ * Determine the order of ManufacturerTranslations to fetch.
84
+ */
73
85
  orderBy?: Prisma.ManufacturerTranslationOrderByWithRelationInput | Prisma.ManufacturerTranslationOrderByWithRelationInput[];
86
+ /**
87
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
88
+ *
89
+ * Sets the start position
90
+ */
74
91
  cursor?: Prisma.ManufacturerTranslationWhereUniqueInput;
92
+ /**
93
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
94
+ *
95
+ * Take `±n` ManufacturerTranslations from the position of the cursor.
96
+ */
75
97
  take?: number;
98
+ /**
99
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
100
+ *
101
+ * Skip the first `n` ManufacturerTranslations.
102
+ */
76
103
  skip?: number;
104
+ /**
105
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
106
+ *
107
+ * Count returned ManufacturerTranslations
108
+ **/
77
109
  _count?: true | ManufacturerTranslationCountAggregateInputType;
110
+ /**
111
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
112
+ *
113
+ * Select which fields to find the minimum value
114
+ **/
78
115
  _min?: ManufacturerTranslationMinAggregateInputType;
116
+ /**
117
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
118
+ *
119
+ * Select which fields to find the maximum value
120
+ **/
79
121
  _max?: ManufacturerTranslationMaxAggregateInputType;
80
122
  };
81
123
  export type GetManufacturerTranslationAggregateType<T extends ManufacturerTranslationAggregateArgs> = {
@@ -492,22 +534,290 @@ export interface ManufacturerTranslationDelegate<ExtArgs extends runtime.Types.E
492
534
  name: 'ManufacturerTranslation';
493
535
  };
494
536
  };
537
+ /**
538
+ * Find zero or one ManufacturerTranslation that matches the filter.
539
+ * @param {ManufacturerTranslationFindUniqueArgs} args - Arguments to find a ManufacturerTranslation
540
+ * @example
541
+ * // Get one ManufacturerTranslation
542
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.findUnique({
543
+ * where: {
544
+ * // ... provide filter here
545
+ * }
546
+ * })
547
+ */
495
548
  findUnique<T extends ManufacturerTranslationFindUniqueArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
549
+ /**
550
+ * Find one ManufacturerTranslation that matches the filter or throw an error with `error.code='P2025'`
551
+ * if no matches were found.
552
+ * @param {ManufacturerTranslationFindUniqueOrThrowArgs} args - Arguments to find a ManufacturerTranslation
553
+ * @example
554
+ * // Get one ManufacturerTranslation
555
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.findUniqueOrThrow({
556
+ * where: {
557
+ * // ... provide filter here
558
+ * }
559
+ * })
560
+ */
496
561
  findUniqueOrThrow<T extends ManufacturerTranslationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
562
+ /**
563
+ * Find the first ManufacturerTranslation that matches the filter.
564
+ * Note, that providing `undefined` is treated as the value not being there.
565
+ * Read more here: https://pris.ly/d/null-undefined
566
+ * @param {ManufacturerTranslationFindFirstArgs} args - Arguments to find a ManufacturerTranslation
567
+ * @example
568
+ * // Get one ManufacturerTranslation
569
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.findFirst({
570
+ * where: {
571
+ * // ... provide filter here
572
+ * }
573
+ * })
574
+ */
497
575
  findFirst<T extends ManufacturerTranslationFindFirstArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
576
+ /**
577
+ * Find the first ManufacturerTranslation that matches the filter or
578
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
579
+ * Note, that providing `undefined` is treated as the value not being there.
580
+ * Read more here: https://pris.ly/d/null-undefined
581
+ * @param {ManufacturerTranslationFindFirstOrThrowArgs} args - Arguments to find a ManufacturerTranslation
582
+ * @example
583
+ * // Get one ManufacturerTranslation
584
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.findFirstOrThrow({
585
+ * where: {
586
+ * // ... provide filter here
587
+ * }
588
+ * })
589
+ */
498
590
  findFirstOrThrow<T extends ManufacturerTranslationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
591
+ /**
592
+ * Find zero or more ManufacturerTranslations that matches the filter.
593
+ * Note, that providing `undefined` is treated as the value not being there.
594
+ * Read more here: https://pris.ly/d/null-undefined
595
+ * @param {ManufacturerTranslationFindManyArgs} args - Arguments to filter and select certain fields only.
596
+ * @example
597
+ * // Get all ManufacturerTranslations
598
+ * const manufacturerTranslations = await prisma.manufacturerTranslation.findMany()
599
+ *
600
+ * // Get first 10 ManufacturerTranslations
601
+ * const manufacturerTranslations = await prisma.manufacturerTranslation.findMany({ take: 10 })
602
+ *
603
+ * // Only select the `id`
604
+ * const manufacturerTranslationWithIdOnly = await prisma.manufacturerTranslation.findMany({ select: { id: true } })
605
+ *
606
+ */
499
607
  findMany<T extends ManufacturerTranslationFindManyArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
608
+ /**
609
+ * Create a ManufacturerTranslation.
610
+ * @param {ManufacturerTranslationCreateArgs} args - Arguments to create a ManufacturerTranslation.
611
+ * @example
612
+ * // Create one ManufacturerTranslation
613
+ * const ManufacturerTranslation = await prisma.manufacturerTranslation.create({
614
+ * data: {
615
+ * // ... data to create a ManufacturerTranslation
616
+ * }
617
+ * })
618
+ *
619
+ */
500
620
  create<T extends ManufacturerTranslationCreateArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationCreateArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
621
+ /**
622
+ * Create many ManufacturerTranslations.
623
+ * @param {ManufacturerTranslationCreateManyArgs} args - Arguments to create many ManufacturerTranslations.
624
+ * @example
625
+ * // Create many ManufacturerTranslations
626
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.createMany({
627
+ * data: [
628
+ * // ... provide data here
629
+ * ]
630
+ * })
631
+ *
632
+ */
501
633
  createMany<T extends ManufacturerTranslationCreateManyArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
634
+ /**
635
+ * Create many ManufacturerTranslations and returns the data saved in the database.
636
+ * @param {ManufacturerTranslationCreateManyAndReturnArgs} args - Arguments to create many ManufacturerTranslations.
637
+ * @example
638
+ * // Create many ManufacturerTranslations
639
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.createManyAndReturn({
640
+ * data: [
641
+ * // ... provide data here
642
+ * ]
643
+ * })
644
+ *
645
+ * // Create many ManufacturerTranslations and only return the `id`
646
+ * const manufacturerTranslationWithIdOnly = await prisma.manufacturerTranslation.createManyAndReturn({
647
+ * select: { id: true },
648
+ * data: [
649
+ * // ... provide data here
650
+ * ]
651
+ * })
652
+ * Note, that providing `undefined` is treated as the value not being there.
653
+ * Read more here: https://pris.ly/d/null-undefined
654
+ *
655
+ */
502
656
  createManyAndReturn<T extends ManufacturerTranslationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
657
+ /**
658
+ * Delete a ManufacturerTranslation.
659
+ * @param {ManufacturerTranslationDeleteArgs} args - Arguments to delete one ManufacturerTranslation.
660
+ * @example
661
+ * // Delete one ManufacturerTranslation
662
+ * const ManufacturerTranslation = await prisma.manufacturerTranslation.delete({
663
+ * where: {
664
+ * // ... filter to delete one ManufacturerTranslation
665
+ * }
666
+ * })
667
+ *
668
+ */
503
669
  delete<T extends ManufacturerTranslationDeleteArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationDeleteArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
670
+ /**
671
+ * Update one ManufacturerTranslation.
672
+ * @param {ManufacturerTranslationUpdateArgs} args - Arguments to update one ManufacturerTranslation.
673
+ * @example
674
+ * // Update one ManufacturerTranslation
675
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.update({
676
+ * where: {
677
+ * // ... provide filter here
678
+ * },
679
+ * data: {
680
+ * // ... provide data here
681
+ * }
682
+ * })
683
+ *
684
+ */
504
685
  update<T extends ManufacturerTranslationUpdateArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationUpdateArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
686
+ /**
687
+ * Delete zero or more ManufacturerTranslations.
688
+ * @param {ManufacturerTranslationDeleteManyArgs} args - Arguments to filter ManufacturerTranslations to delete.
689
+ * @example
690
+ * // Delete a few ManufacturerTranslations
691
+ * const { count } = await prisma.manufacturerTranslation.deleteMany({
692
+ * where: {
693
+ * // ... provide filter here
694
+ * }
695
+ * })
696
+ *
697
+ */
505
698
  deleteMany<T extends ManufacturerTranslationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ManufacturerTranslationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
699
+ /**
700
+ * Update zero or more ManufacturerTranslations.
701
+ * Note, that providing `undefined` is treated as the value not being there.
702
+ * Read more here: https://pris.ly/d/null-undefined
703
+ * @param {ManufacturerTranslationUpdateManyArgs} args - Arguments to update one or more rows.
704
+ * @example
705
+ * // Update many ManufacturerTranslations
706
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.updateMany({
707
+ * where: {
708
+ * // ... provide filter here
709
+ * },
710
+ * data: {
711
+ * // ... provide data here
712
+ * }
713
+ * })
714
+ *
715
+ */
506
716
  updateMany<T extends ManufacturerTranslationUpdateManyArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
717
+ /**
718
+ * Update zero or more ManufacturerTranslations and returns the data updated in the database.
719
+ * @param {ManufacturerTranslationUpdateManyAndReturnArgs} args - Arguments to update many ManufacturerTranslations.
720
+ * @example
721
+ * // Update many ManufacturerTranslations
722
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.updateManyAndReturn({
723
+ * where: {
724
+ * // ... provide filter here
725
+ * },
726
+ * data: [
727
+ * // ... provide data here
728
+ * ]
729
+ * })
730
+ *
731
+ * // Update zero or more ManufacturerTranslations and only return the `id`
732
+ * const manufacturerTranslationWithIdOnly = await prisma.manufacturerTranslation.updateManyAndReturn({
733
+ * select: { id: true },
734
+ * where: {
735
+ * // ... provide filter here
736
+ * },
737
+ * data: [
738
+ * // ... provide data here
739
+ * ]
740
+ * })
741
+ * Note, that providing `undefined` is treated as the value not being there.
742
+ * Read more here: https://pris.ly/d/null-undefined
743
+ *
744
+ */
507
745
  updateManyAndReturn<T extends ManufacturerTranslationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
746
+ /**
747
+ * Create or update one ManufacturerTranslation.
748
+ * @param {ManufacturerTranslationUpsertArgs} args - Arguments to update or create a ManufacturerTranslation.
749
+ * @example
750
+ * // Update or create a ManufacturerTranslation
751
+ * const manufacturerTranslation = await prisma.manufacturerTranslation.upsert({
752
+ * create: {
753
+ * // ... data to create a ManufacturerTranslation
754
+ * },
755
+ * update: {
756
+ * // ... in case it already exists, update
757
+ * },
758
+ * where: {
759
+ * // ... the filter for the ManufacturerTranslation we want to update
760
+ * }
761
+ * })
762
+ */
508
763
  upsert<T extends ManufacturerTranslationUpsertArgs>(args: Prisma.SelectSubset<T, ManufacturerTranslationUpsertArgs<ExtArgs>>): Prisma.Prisma__ManufacturerTranslationClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerTranslationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
764
+ /**
765
+ * Count the number of ManufacturerTranslations.
766
+ * Note, that providing `undefined` is treated as the value not being there.
767
+ * Read more here: https://pris.ly/d/null-undefined
768
+ * @param {ManufacturerTranslationCountArgs} args - Arguments to filter ManufacturerTranslations to count.
769
+ * @example
770
+ * // Count the number of ManufacturerTranslations
771
+ * const count = await prisma.manufacturerTranslation.count({
772
+ * where: {
773
+ * // ... the filter for the ManufacturerTranslations we want to count
774
+ * }
775
+ * })
776
+ **/
509
777
  count<T extends ManufacturerTranslationCountArgs>(args?: Prisma.Subset<T, ManufacturerTranslationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ManufacturerTranslationCountAggregateOutputType> : number>;
778
+ /**
779
+ * Allows you to perform aggregations operations on a ManufacturerTranslation.
780
+ * Note, that providing `undefined` is treated as the value not being there.
781
+ * Read more here: https://pris.ly/d/null-undefined
782
+ * @param {ManufacturerTranslationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
783
+ * @example
784
+ * // Ordered by age ascending
785
+ * // Where email contains prisma.io
786
+ * // Limited to the 10 users
787
+ * const aggregations = await prisma.user.aggregate({
788
+ * _avg: {
789
+ * age: true,
790
+ * },
791
+ * where: {
792
+ * email: {
793
+ * contains: "prisma.io",
794
+ * },
795
+ * },
796
+ * orderBy: {
797
+ * age: "asc",
798
+ * },
799
+ * take: 10,
800
+ * })
801
+ **/
510
802
  aggregate<T extends ManufacturerTranslationAggregateArgs>(args: Prisma.Subset<T, ManufacturerTranslationAggregateArgs>): Prisma.PrismaPromise<GetManufacturerTranslationAggregateType<T>>;
803
+ /**
804
+ * Group by ManufacturerTranslation.
805
+ * Note, that providing `undefined` is treated as the value not being there.
806
+ * Read more here: https://pris.ly/d/null-undefined
807
+ * @param {ManufacturerTranslationGroupByArgs} args - Group by arguments.
808
+ * @example
809
+ * // Group by city, order by createdAt, get count
810
+ * const result = await prisma.user.groupBy({
811
+ * by: ['city', 'createdAt'],
812
+ * orderBy: {
813
+ * createdAt: true
814
+ * },
815
+ * _count: {
816
+ * _all: true
817
+ * },
818
+ * })
819
+ *
820
+ **/
511
821
  groupBy<T extends ManufacturerTranslationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
512
822
  orderBy: ManufacturerTranslationGroupByArgs['orderBy'];
513
823
  } : {
@@ -526,15 +836,44 @@ export interface ManufacturerTranslationDelegate<ExtArgs extends runtime.Types.E
526
836
  }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
527
837
  [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
528
838
  }[OrderFields]>(args: Prisma.SubsetIntersection<T, ManufacturerTranslationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetManufacturerTranslationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
839
+ /**
840
+ * Fields of the ManufacturerTranslation model
841
+ */
529
842
  readonly fields: ManufacturerTranslationFieldRefs;
530
843
  }
844
+ /**
845
+ * The delegate class that acts as a "Promise-like" for ManufacturerTranslation.
846
+ * Why is this prefixed with `Prisma__`?
847
+ * Because we want to prevent naming conflicts as mentioned in
848
+ * https://github.com/prisma/prisma-client-js/issues/707
849
+ */
531
850
  export interface Prisma__ManufacturerTranslationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
532
851
  readonly [Symbol.toStringTag]: "PrismaPromise";
533
852
  manufacturer<T extends Prisma.ManufacturerDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ManufacturerDefaultArgs<ExtArgs>>): Prisma.Prisma__ManufacturerClient<runtime.Types.Result.GetResult<Prisma.$ManufacturerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
853
+ /**
854
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
855
+ * @param onfulfilled The callback to execute when the Promise is resolved.
856
+ * @param onrejected The callback to execute when the Promise is rejected.
857
+ * @returns A Promise for the completion of which ever callback is executed.
858
+ */
534
859
  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>;
860
+ /**
861
+ * Attaches a callback for only the rejection of the Promise.
862
+ * @param onrejected The callback to execute when the Promise is rejected.
863
+ * @returns A Promise for the completion of the callback.
864
+ */
535
865
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
866
+ /**
867
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
868
+ * resolved value cannot be modified from the callback.
869
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
870
+ * @returns A Promise for the completion of the callback.
871
+ */
536
872
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
537
873
  }
874
+ /**
875
+ * Fields of the ManufacturerTranslation model
876
+ */
538
877
  export interface ManufacturerTranslationFieldRefs {
539
878
  readonly id: Prisma.FieldRef<"ManufacturerTranslation", 'String'>;
540
879
  readonly locale: Prisma.FieldRef<"ManufacturerTranslation", 'String'>;
@@ -545,109 +884,403 @@ export interface ManufacturerTranslationFieldRefs {
545
884
  readonly updatedAt: Prisma.FieldRef<"ManufacturerTranslation", 'DateTime'>;
546
885
  readonly updatedBy: Prisma.FieldRef<"ManufacturerTranslation", 'String'>;
547
886
  }
887
+ /**
888
+ * ManufacturerTranslation findUnique
889
+ */
548
890
  export type ManufacturerTranslationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
891
+ /**
892
+ * Select specific fields to fetch from the ManufacturerTranslation
893
+ */
549
894
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
895
+ /**
896
+ * Omit specific fields from the ManufacturerTranslation
897
+ */
550
898
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
899
+ /**
900
+ * Choose, which related nodes to fetch as well
901
+ */
551
902
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
903
+ /**
904
+ * Filter, which ManufacturerTranslation to fetch.
905
+ */
552
906
  where: Prisma.ManufacturerTranslationWhereUniqueInput;
553
907
  };
908
+ /**
909
+ * ManufacturerTranslation findUniqueOrThrow
910
+ */
554
911
  export type ManufacturerTranslationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
912
+ /**
913
+ * Select specific fields to fetch from the ManufacturerTranslation
914
+ */
555
915
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
916
+ /**
917
+ * Omit specific fields from the ManufacturerTranslation
918
+ */
556
919
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
920
+ /**
921
+ * Choose, which related nodes to fetch as well
922
+ */
557
923
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
924
+ /**
925
+ * Filter, which ManufacturerTranslation to fetch.
926
+ */
558
927
  where: Prisma.ManufacturerTranslationWhereUniqueInput;
559
928
  };
929
+ /**
930
+ * ManufacturerTranslation findFirst
931
+ */
560
932
  export type ManufacturerTranslationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
933
+ /**
934
+ * Select specific fields to fetch from the ManufacturerTranslation
935
+ */
561
936
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
937
+ /**
938
+ * Omit specific fields from the ManufacturerTranslation
939
+ */
562
940
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
941
+ /**
942
+ * Choose, which related nodes to fetch as well
943
+ */
563
944
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
945
+ /**
946
+ * Filter, which ManufacturerTranslation to fetch.
947
+ */
564
948
  where?: Prisma.ManufacturerTranslationWhereInput;
949
+ /**
950
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
951
+ *
952
+ * Determine the order of ManufacturerTranslations to fetch.
953
+ */
565
954
  orderBy?: Prisma.ManufacturerTranslationOrderByWithRelationInput | Prisma.ManufacturerTranslationOrderByWithRelationInput[];
955
+ /**
956
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
957
+ *
958
+ * Sets the position for searching for ManufacturerTranslations.
959
+ */
566
960
  cursor?: Prisma.ManufacturerTranslationWhereUniqueInput;
961
+ /**
962
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
963
+ *
964
+ * Take `±n` ManufacturerTranslations from the position of the cursor.
965
+ */
567
966
  take?: number;
967
+ /**
968
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
969
+ *
970
+ * Skip the first `n` ManufacturerTranslations.
971
+ */
568
972
  skip?: number;
973
+ /**
974
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
975
+ *
976
+ * Filter by unique combinations of ManufacturerTranslations.
977
+ */
569
978
  distinct?: Prisma.ManufacturerTranslationScalarFieldEnum | Prisma.ManufacturerTranslationScalarFieldEnum[];
570
979
  };
980
+ /**
981
+ * ManufacturerTranslation findFirstOrThrow
982
+ */
571
983
  export type ManufacturerTranslationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
984
+ /**
985
+ * Select specific fields to fetch from the ManufacturerTranslation
986
+ */
572
987
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
988
+ /**
989
+ * Omit specific fields from the ManufacturerTranslation
990
+ */
573
991
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
992
+ /**
993
+ * Choose, which related nodes to fetch as well
994
+ */
574
995
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
996
+ /**
997
+ * Filter, which ManufacturerTranslation to fetch.
998
+ */
575
999
  where?: Prisma.ManufacturerTranslationWhereInput;
1000
+ /**
1001
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1002
+ *
1003
+ * Determine the order of ManufacturerTranslations to fetch.
1004
+ */
576
1005
  orderBy?: Prisma.ManufacturerTranslationOrderByWithRelationInput | Prisma.ManufacturerTranslationOrderByWithRelationInput[];
1006
+ /**
1007
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1008
+ *
1009
+ * Sets the position for searching for ManufacturerTranslations.
1010
+ */
577
1011
  cursor?: Prisma.ManufacturerTranslationWhereUniqueInput;
1012
+ /**
1013
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1014
+ *
1015
+ * Take `±n` ManufacturerTranslations from the position of the cursor.
1016
+ */
578
1017
  take?: number;
1018
+ /**
1019
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1020
+ *
1021
+ * Skip the first `n` ManufacturerTranslations.
1022
+ */
579
1023
  skip?: number;
1024
+ /**
1025
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1026
+ *
1027
+ * Filter by unique combinations of ManufacturerTranslations.
1028
+ */
580
1029
  distinct?: Prisma.ManufacturerTranslationScalarFieldEnum | Prisma.ManufacturerTranslationScalarFieldEnum[];
581
1030
  };
1031
+ /**
1032
+ * ManufacturerTranslation findMany
1033
+ */
582
1034
  export type ManufacturerTranslationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1035
+ /**
1036
+ * Select specific fields to fetch from the ManufacturerTranslation
1037
+ */
583
1038
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
1039
+ /**
1040
+ * Omit specific fields from the ManufacturerTranslation
1041
+ */
584
1042
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
1043
+ /**
1044
+ * Choose, which related nodes to fetch as well
1045
+ */
585
1046
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
1047
+ /**
1048
+ * Filter, which ManufacturerTranslations to fetch.
1049
+ */
586
1050
  where?: Prisma.ManufacturerTranslationWhereInput;
1051
+ /**
1052
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1053
+ *
1054
+ * Determine the order of ManufacturerTranslations to fetch.
1055
+ */
587
1056
  orderBy?: Prisma.ManufacturerTranslationOrderByWithRelationInput | Prisma.ManufacturerTranslationOrderByWithRelationInput[];
1057
+ /**
1058
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1059
+ *
1060
+ * Sets the position for listing ManufacturerTranslations.
1061
+ */
588
1062
  cursor?: Prisma.ManufacturerTranslationWhereUniqueInput;
1063
+ /**
1064
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1065
+ *
1066
+ * Take `±n` ManufacturerTranslations from the position of the cursor.
1067
+ */
589
1068
  take?: number;
1069
+ /**
1070
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1071
+ *
1072
+ * Skip the first `n` ManufacturerTranslations.
1073
+ */
590
1074
  skip?: number;
1075
+ /**
1076
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1077
+ *
1078
+ * Filter by unique combinations of ManufacturerTranslations.
1079
+ */
591
1080
  distinct?: Prisma.ManufacturerTranslationScalarFieldEnum | Prisma.ManufacturerTranslationScalarFieldEnum[];
592
1081
  };
1082
+ /**
1083
+ * ManufacturerTranslation create
1084
+ */
593
1085
  export type ManufacturerTranslationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1086
+ /**
1087
+ * Select specific fields to fetch from the ManufacturerTranslation
1088
+ */
594
1089
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
1090
+ /**
1091
+ * Omit specific fields from the ManufacturerTranslation
1092
+ */
595
1093
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
1094
+ /**
1095
+ * Choose, which related nodes to fetch as well
1096
+ */
596
1097
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
1098
+ /**
1099
+ * The data needed to create a ManufacturerTranslation.
1100
+ */
597
1101
  data: Prisma.XOR<Prisma.ManufacturerTranslationCreateInput, Prisma.ManufacturerTranslationUncheckedCreateInput>;
598
1102
  };
1103
+ /**
1104
+ * ManufacturerTranslation createMany
1105
+ */
599
1106
  export type ManufacturerTranslationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1107
+ /**
1108
+ * The data used to create many ManufacturerTranslations.
1109
+ */
600
1110
  data: Prisma.ManufacturerTranslationCreateManyInput | Prisma.ManufacturerTranslationCreateManyInput[];
601
1111
  skipDuplicates?: boolean;
602
1112
  };
1113
+ /**
1114
+ * ManufacturerTranslation createManyAndReturn
1115
+ */
603
1116
  export type ManufacturerTranslationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1117
+ /**
1118
+ * Select specific fields to fetch from the ManufacturerTranslation
1119
+ */
604
1120
  select?: Prisma.ManufacturerTranslationSelectCreateManyAndReturn<ExtArgs> | null;
1121
+ /**
1122
+ * Omit specific fields from the ManufacturerTranslation
1123
+ */
605
1124
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
1125
+ /**
1126
+ * The data used to create many ManufacturerTranslations.
1127
+ */
606
1128
  data: Prisma.ManufacturerTranslationCreateManyInput | Prisma.ManufacturerTranslationCreateManyInput[];
607
1129
  skipDuplicates?: boolean;
1130
+ /**
1131
+ * Choose, which related nodes to fetch as well
1132
+ */
608
1133
  include?: Prisma.ManufacturerTranslationIncludeCreateManyAndReturn<ExtArgs> | null;
609
1134
  };
1135
+ /**
1136
+ * ManufacturerTranslation update
1137
+ */
610
1138
  export type ManufacturerTranslationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1139
+ /**
1140
+ * Select specific fields to fetch from the ManufacturerTranslation
1141
+ */
611
1142
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
1143
+ /**
1144
+ * Omit specific fields from the ManufacturerTranslation
1145
+ */
612
1146
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
1147
+ /**
1148
+ * Choose, which related nodes to fetch as well
1149
+ */
613
1150
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
1151
+ /**
1152
+ * The data needed to update a ManufacturerTranslation.
1153
+ */
614
1154
  data: Prisma.XOR<Prisma.ManufacturerTranslationUpdateInput, Prisma.ManufacturerTranslationUncheckedUpdateInput>;
1155
+ /**
1156
+ * Choose, which ManufacturerTranslation to update.
1157
+ */
615
1158
  where: Prisma.ManufacturerTranslationWhereUniqueInput;
616
1159
  };
1160
+ /**
1161
+ * ManufacturerTranslation updateMany
1162
+ */
617
1163
  export type ManufacturerTranslationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1164
+ /**
1165
+ * The data used to update ManufacturerTranslations.
1166
+ */
618
1167
  data: Prisma.XOR<Prisma.ManufacturerTranslationUpdateManyMutationInput, Prisma.ManufacturerTranslationUncheckedUpdateManyInput>;
1168
+ /**
1169
+ * Filter which ManufacturerTranslations to update
1170
+ */
619
1171
  where?: Prisma.ManufacturerTranslationWhereInput;
1172
+ /**
1173
+ * Limit how many ManufacturerTranslations to update.
1174
+ */
620
1175
  limit?: number;
621
1176
  };
1177
+ /**
1178
+ * ManufacturerTranslation updateManyAndReturn
1179
+ */
622
1180
  export type ManufacturerTranslationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1181
+ /**
1182
+ * Select specific fields to fetch from the ManufacturerTranslation
1183
+ */
623
1184
  select?: Prisma.ManufacturerTranslationSelectUpdateManyAndReturn<ExtArgs> | null;
1185
+ /**
1186
+ * Omit specific fields from the ManufacturerTranslation
1187
+ */
624
1188
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
1189
+ /**
1190
+ * The data used to update ManufacturerTranslations.
1191
+ */
625
1192
  data: Prisma.XOR<Prisma.ManufacturerTranslationUpdateManyMutationInput, Prisma.ManufacturerTranslationUncheckedUpdateManyInput>;
1193
+ /**
1194
+ * Filter which ManufacturerTranslations to update
1195
+ */
626
1196
  where?: Prisma.ManufacturerTranslationWhereInput;
1197
+ /**
1198
+ * Limit how many ManufacturerTranslations to update.
1199
+ */
627
1200
  limit?: number;
1201
+ /**
1202
+ * Choose, which related nodes to fetch as well
1203
+ */
628
1204
  include?: Prisma.ManufacturerTranslationIncludeUpdateManyAndReturn<ExtArgs> | null;
629
1205
  };
1206
+ /**
1207
+ * ManufacturerTranslation upsert
1208
+ */
630
1209
  export type ManufacturerTranslationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1210
+ /**
1211
+ * Select specific fields to fetch from the ManufacturerTranslation
1212
+ */
631
1213
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
1214
+ /**
1215
+ * Omit specific fields from the ManufacturerTranslation
1216
+ */
632
1217
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
1218
+ /**
1219
+ * Choose, which related nodes to fetch as well
1220
+ */
633
1221
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
1222
+ /**
1223
+ * The filter to search for the ManufacturerTranslation to update in case it exists.
1224
+ */
634
1225
  where: Prisma.ManufacturerTranslationWhereUniqueInput;
1226
+ /**
1227
+ * In case the ManufacturerTranslation found by the `where` argument doesn't exist, create a new ManufacturerTranslation with this data.
1228
+ */
635
1229
  create: Prisma.XOR<Prisma.ManufacturerTranslationCreateInput, Prisma.ManufacturerTranslationUncheckedCreateInput>;
1230
+ /**
1231
+ * In case the ManufacturerTranslation was found with the provided `where` argument, update it with this data.
1232
+ */
636
1233
  update: Prisma.XOR<Prisma.ManufacturerTranslationUpdateInput, Prisma.ManufacturerTranslationUncheckedUpdateInput>;
637
1234
  };
1235
+ /**
1236
+ * ManufacturerTranslation delete
1237
+ */
638
1238
  export type ManufacturerTranslationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1239
+ /**
1240
+ * Select specific fields to fetch from the ManufacturerTranslation
1241
+ */
639
1242
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
1243
+ /**
1244
+ * Omit specific fields from the ManufacturerTranslation
1245
+ */
640
1246
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
1247
+ /**
1248
+ * Choose, which related nodes to fetch as well
1249
+ */
641
1250
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
1251
+ /**
1252
+ * Filter which ManufacturerTranslation to delete.
1253
+ */
642
1254
  where: Prisma.ManufacturerTranslationWhereUniqueInput;
643
1255
  };
1256
+ /**
1257
+ * ManufacturerTranslation deleteMany
1258
+ */
644
1259
  export type ManufacturerTranslationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1260
+ /**
1261
+ * Filter which ManufacturerTranslations to delete
1262
+ */
645
1263
  where?: Prisma.ManufacturerTranslationWhereInput;
1264
+ /**
1265
+ * Limit how many ManufacturerTranslations to delete.
1266
+ */
646
1267
  limit?: number;
647
1268
  };
1269
+ /**
1270
+ * ManufacturerTranslation without action
1271
+ */
648
1272
  export type ManufacturerTranslationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1273
+ /**
1274
+ * Select specific fields to fetch from the ManufacturerTranslation
1275
+ */
649
1276
  select?: Prisma.ManufacturerTranslationSelect<ExtArgs> | null;
1277
+ /**
1278
+ * Omit specific fields from the ManufacturerTranslation
1279
+ */
650
1280
  omit?: Prisma.ManufacturerTranslationOmit<ExtArgs> | null;
1281
+ /**
1282
+ * Choose, which related nodes to fetch as well
1283
+ */
651
1284
  include?: Prisma.ManufacturerTranslationInclude<ExtArgs> | null;
652
1285
  };
653
1286
  export {};