@shophost/rest-api 2.0.29 → 2.0.31

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (352) hide show
  1. package/package.json +18 -13
  2. package/scripts/minify.mjs +110 -0
  3. package/src/app.js +1 -53
  4. package/src/core/auth/auth.schema.js +1 -41
  5. package/src/core/auth/auth.util.js +1 -44
  6. package/src/core/auth/better-auth.lib.js +1 -100
  7. package/src/core/auth/generate-password-hash.util.d.ts +0 -3
  8. package/src/core/auth/generate-password-hash.util.js +1 -30
  9. package/src/core/auth/headers.schema.js +1 -22
  10. package/src/core/auth/user.schema.js +1 -30
  11. package/src/core/db/__generated__/client/browser.d.ts +0 -128
  12. package/src/core/db/__generated__/client/browser.js +1 -18
  13. package/src/core/db/__generated__/client/client.d.ts +0 -143
  14. package/src/core/db/__generated__/client/client.js +1 -35
  15. package/src/core/db/__generated__/client/commonInputTypes.js +1 -11
  16. package/src/core/db/__generated__/client/enums.js +1 -200
  17. package/src/core/db/__generated__/client/internal/class.d.ts +0 -343
  18. package/src/core/db/__generated__/client/internal/class.js +1 -55
  19. package/src/core/db/__generated__/client/internal/prismaNamespace.d.ts +0 -234
  20. package/src/core/db/__generated__/client/internal/prismaNamespace.js +1 -541
  21. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.d.ts +0 -15
  22. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js +1 -512
  23. package/src/core/db/__generated__/client/models/Account.d.ts +0 -628
  24. package/src/core/db/__generated__/client/models/Account.js +1 -2
  25. package/src/core/db/__generated__/client/models/Address.d.ts +0 -701
  26. package/src/core/db/__generated__/client/models/Address.js +1 -2
  27. package/src/core/db/__generated__/client/models/Campaign.d.ts +0 -638
  28. package/src/core/db/__generated__/client/models/Campaign.js +1 -2
  29. package/src/core/db/__generated__/client/models/ClosingTimes.d.ts +0 -634
  30. package/src/core/db/__generated__/client/models/ClosingTimes.js +1 -2
  31. package/src/core/db/__generated__/client/models/File.d.ts +0 -752
  32. package/src/core/db/__generated__/client/models/File.js +1 -2
  33. package/src/core/db/__generated__/client/models/Invitation.d.ts +0 -628
  34. package/src/core/db/__generated__/client/models/Invitation.js +1 -2
  35. package/src/core/db/__generated__/client/models/LegalEntity.d.ts +0 -652
  36. package/src/core/db/__generated__/client/models/LegalEntity.js +1 -2
  37. package/src/core/db/__generated__/client/models/Manufacturer.d.ts +0 -679
  38. package/src/core/db/__generated__/client/models/Manufacturer.js +1 -2
  39. package/src/core/db/__generated__/client/models/ManufacturerTranslation.d.ts +0 -628
  40. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js +1 -2
  41. package/src/core/db/__generated__/client/models/Member.d.ts +0 -628
  42. package/src/core/db/__generated__/client/models/Member.js +1 -2
  43. package/src/core/db/__generated__/client/models/Modifier.d.ts +0 -662
  44. package/src/core/db/__generated__/client/models/Modifier.js +1 -2
  45. package/src/core/db/__generated__/client/models/ModifierGroup.d.ts +0 -686
  46. package/src/core/db/__generated__/client/models/ModifierGroup.js +1 -2
  47. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.d.ts +0 -628
  48. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js +1 -2
  49. package/src/core/db/__generated__/client/models/OpeningTimes.d.ts +0 -634
  50. package/src/core/db/__generated__/client/models/OpeningTimes.js +1 -2
  51. package/src/core/db/__generated__/client/models/Order.d.ts +0 -700
  52. package/src/core/db/__generated__/client/models/Order.js +1 -2
  53. package/src/core/db/__generated__/client/models/OrderItem.d.ts +0 -686
  54. package/src/core/db/__generated__/client/models/OrderItem.js +1 -2
  55. package/src/core/db/__generated__/client/models/OrderItemTranslation.d.ts +0 -628
  56. package/src/core/db/__generated__/client/models/OrderItemTranslation.js +1 -2
  57. package/src/core/db/__generated__/client/models/Organization.d.ts +0 -811
  58. package/src/core/db/__generated__/client/models/Organization.js +1 -2
  59. package/src/core/db/__generated__/client/models/OrganizationConfiguration.d.ts +0 -676
  60. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js +1 -2
  61. package/src/core/db/__generated__/client/models/Payment.d.ts +0 -668
  62. package/src/core/db/__generated__/client/models/Payment.js +1 -2
  63. package/src/core/db/__generated__/client/models/PaymentSession.d.ts +0 -638
  64. package/src/core/db/__generated__/client/models/PaymentSession.js +1 -2
  65. package/src/core/db/__generated__/client/models/Product.d.ts +0 -746
  66. package/src/core/db/__generated__/client/models/Product.js +1 -2
  67. package/src/core/db/__generated__/client/models/ProductCategory.d.ts +0 -689
  68. package/src/core/db/__generated__/client/models/ProductCategory.js +1 -2
  69. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.d.ts +0 -628
  70. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js +1 -2
  71. package/src/core/db/__generated__/client/models/ProductSnapshot.d.ts +0 -664
  72. package/src/core/db/__generated__/client/models/ProductSnapshot.js +1 -2
  73. package/src/core/db/__generated__/client/models/ProductTranslation.d.ts +0 -628
  74. package/src/core/db/__generated__/client/models/ProductTranslation.js +1 -2
  75. package/src/core/db/__generated__/client/models/Reservation.d.ts +0 -650
  76. package/src/core/db/__generated__/client/models/Reservation.js +1 -2
  77. package/src/core/db/__generated__/client/models/Session.d.ts +0 -628
  78. package/src/core/db/__generated__/client/models/Session.js +1 -2
  79. package/src/core/db/__generated__/client/models/ShippingMethod.d.ts +0 -679
  80. package/src/core/db/__generated__/client/models/ShippingMethod.js +1 -2
  81. package/src/core/db/__generated__/client/models/ShippingZone.d.ts +0 -638
  82. package/src/core/db/__generated__/client/models/ShippingZone.js +1 -2
  83. package/src/core/db/__generated__/client/models/User.d.ts +0 -736
  84. package/src/core/db/__generated__/client/models/User.js +1 -2
  85. package/src/core/db/__generated__/client/models/Verification.d.ts +0 -592
  86. package/src/core/db/__generated__/client/models/Verification.js +1 -2
  87. package/src/core/db/__generated__/client/models.js +1 -2
  88. package/src/core/db/index.js +1 -2
  89. package/src/core/exceptions/http-exception.js +1 -9
  90. package/src/core/hono/hono.js +1 -123
  91. package/src/core/lib/prisma.d.ts +9 -1
  92. package/src/core/lib/prisma.js +1 -11
  93. package/src/core/logging/pino.js +1 -5
  94. package/src/core/notifications/email.service.d.ts +0 -15
  95. package/src/core/notifications/email.service.js +1 -116
  96. package/src/core/openapi/openapi.lib.js +1 -26
  97. package/src/core/types/google-maps.types.js +1 -2
  98. package/src/core/utils/currency.util.js +1 -11
  99. package/src/core/utils/env.util.js +1 -8
  100. package/src/core/utils/object.util.d.ts +0 -10
  101. package/src/core/utils/object.util.js +1 -39
  102. package/src/core/utils/translations.util.js +0 -2
  103. package/src/core/utils/zod.util.d.ts +0 -12
  104. package/src/core/utils/zod.util.js +1 -85
  105. package/src/db.js +1 -3
  106. package/src/features/access/access.handler.js +1 -91
  107. package/src/features/access/access.route.js +1 -220
  108. package/src/features/access/access.schema.js +1 -108
  109. package/src/features/access/access.service.js +1 -294
  110. package/src/features/cart/cart.handler.js +1 -17
  111. package/src/features/cart/cart.route.js +1 -32
  112. package/src/features/cart/cart.schema.js +1 -39
  113. package/src/features/cart/cart.service.d.ts +0 -7
  114. package/src/features/cart/cart.service.js +1 -97
  115. package/src/features/cart/cart.util.js +1 -76
  116. package/src/features/file/file.handler.js +1 -23
  117. package/src/features/file/file.route.js +1 -34
  118. package/src/features/file/file.schema.js +1 -77
  119. package/src/features/file/file.service.d.ts +0 -6
  120. package/src/features/file/file.service.js +1 -66
  121. package/src/features/health/health.handler.js +1 -10
  122. package/src/features/health/health.route.js +1 -25
  123. package/src/features/index.js +1 -16
  124. package/src/features/location/location.handler.js +1 -25
  125. package/src/features/location/location.route.js +1 -56
  126. package/src/features/location/location.schema.js +1 -50
  127. package/src/features/location/location.service.d.ts +0 -3
  128. package/src/features/location/location.service.js +1 -141
  129. package/src/features/manufacturer/manufacturer.handler.js +1 -53
  130. package/src/features/manufacturer/manufacturer.route.js +1 -97
  131. package/src/features/manufacturer/manufacturer.schema.js +1 -125
  132. package/src/features/manufacturer/manufacturer.service.d.ts +0 -19
  133. package/src/features/manufacturer/manufacturer.service.js +1 -190
  134. package/src/features/order/emails/order-confirmation.email.js +1 -229
  135. package/src/features/order/emails/order-notification.email.js +1 -229
  136. package/src/features/order/fulfilment.schema.js +1 -3
  137. package/src/features/order/order.handler.js +1 -54
  138. package/src/features/order/order.route.js +1 -111
  139. package/src/features/order/order.schema.js +1 -158
  140. package/src/features/order/order.service.d.ts +0 -15
  141. package/src/features/order/order.service.js +1 -306
  142. package/src/features/order/recipient.schema.js +1 -38
  143. package/src/features/organization/legal-entity.schema.js +1 -83
  144. package/src/features/organization/organization-configuration.schema.js +1 -115
  145. package/src/features/organization/organization.handler.js +1 -48
  146. package/src/features/organization/organization.route.js +1 -84
  147. package/src/features/organization/organization.schema.js +1 -64
  148. package/src/features/organization/organization.service.d.ts +0 -15
  149. package/src/features/organization/organization.service.js +1 -334
  150. package/src/features/payment/payment.handler.js +1 -16
  151. package/src/features/payment/payment.route.js +1 -22
  152. package/src/features/payment/payment.schema.js +1 -46
  153. package/src/features/payment/payment.service.js +1 -100
  154. package/src/features/payment/stripe.service.js +1 -164
  155. package/src/features/product/product-modifier.schema.js +1 -84
  156. package/src/features/product/product.handler.js +1 -87
  157. package/src/features/product/product.route.js +1 -179
  158. package/src/features/product/product.schema.js +1 -143
  159. package/src/features/product/product.service.d.ts +0 -25
  160. package/src/features/product/product.service.js +1 -440
  161. package/src/features/product-category/product-category.handler.js +1 -59
  162. package/src/features/product-category/product-category.route.js +1 -139
  163. package/src/features/product-category/product-category.schema.js +1 -86
  164. package/src/features/product-category/product-category.service.d.ts +0 -22
  165. package/src/features/product-category/product-category.service.js +1 -220
  166. package/src/features/reservation/emails/reservation-cancellation.email.js +1 -82
  167. package/src/features/reservation/emails/reservation-confirmation.email.js +1 -82
  168. package/src/features/reservation/emails/reservation-notification.email.js +1 -93
  169. package/src/features/reservation/reservation.handler.js +1 -65
  170. package/src/features/reservation/reservation.route.js +1 -167
  171. package/src/features/reservation/reservation.schema.js +1 -51
  172. package/src/features/reservation/reservation.service.d.ts +0 -18
  173. package/src/features/reservation/reservation.service.js +1 -231
  174. package/src/features/shipping/shipping.handler.js +1 -32
  175. package/src/features/shipping/shipping.route.js +1 -51
  176. package/src/features/shipping/shipping.service.d.ts +0 -7
  177. package/src/features/shipping/shipping.service.js +1 -96
  178. package/src/features/shipping-method/shipping-method.handler.js +1 -60
  179. package/src/features/shipping-method/shipping-method.route.js +1 -144
  180. package/src/features/shipping-method/shipping-method.schema.js +1 -48
  181. package/src/features/shipping-method/shipping-method.service.d.ts +0 -25
  182. package/src/features/shipping-method/shipping-method.service.js +1 -229
  183. package/src/features/shipping-method/shipping-zone.schema.js +1 -31
  184. package/src/features/webhook/webhook.handler.js +1 -50
  185. package/src/features/webhook/webhook.route.js +1 -33
  186. package/src/index.js +1 -6
  187. package/src/integrations/next.js +1 -82
  188. package/src/schemas/address.schema.d.ts +0 -8
  189. package/src/schemas/address.schema.js +1 -112
  190. package/src/schemas/currency.schema.d.ts +0 -42
  191. package/src/schemas/currency.schema.js +1 -118
  192. package/src/schemas/error.schema.js +1 -12
  193. package/src/schemas/index.js +1 -29
  194. package/src/schemas/locales.schema.js +1 -238
  195. package/src/schemas/number.schema.js +1 -29
  196. package/src/schemas/pagination.schema.js +1 -54
  197. package/src/schemas/params.schema.js +1 -20
  198. package/src/schemas/queries.schema.js +1 -6
  199. package/src/test/global-setup.d.ts +1 -0
  200. package/src/test/global-setup.js +1 -0
  201. package/src/test/integration/api-fixtures.d.ts +4 -16
  202. package/src/test/integration/api-fixtures.js +1 -225
  203. package/src/test/integration/seed.d.ts +81 -0
  204. package/src/test/integration/seed.js +1 -0
  205. package/src/test/integration/test-helpers.d.ts +107 -924
  206. package/src/test/integration/test-helpers.js +1 -1100
  207. package/src/test/setup-test-env.d.ts +1 -1
  208. package/src/test/setup-test-env.js +1 -29
  209. package/src/app.js.map +0 -1
  210. package/src/core/auth/auth.schema.js.map +0 -1
  211. package/src/core/auth/auth.util.js.map +0 -1
  212. package/src/core/auth/better-auth.lib.js.map +0 -1
  213. package/src/core/auth/generate-password-hash.util.js.map +0 -1
  214. package/src/core/auth/headers.schema.js.map +0 -1
  215. package/src/core/auth/user.schema.js.map +0 -1
  216. package/src/core/db/__generated__/client/browser.js.map +0 -1
  217. package/src/core/db/__generated__/client/client.js.map +0 -1
  218. package/src/core/db/__generated__/client/commonInputTypes.js.map +0 -1
  219. package/src/core/db/__generated__/client/enums.js.map +0 -1
  220. package/src/core/db/__generated__/client/internal/class.js.map +0 -1
  221. package/src/core/db/__generated__/client/internal/prismaNamespace.js.map +0 -1
  222. package/src/core/db/__generated__/client/internal/prismaNamespaceBrowser.js.map +0 -1
  223. package/src/core/db/__generated__/client/models/Account.js.map +0 -1
  224. package/src/core/db/__generated__/client/models/Address.js.map +0 -1
  225. package/src/core/db/__generated__/client/models/Campaign.js.map +0 -1
  226. package/src/core/db/__generated__/client/models/ClosingTimes.js.map +0 -1
  227. package/src/core/db/__generated__/client/models/File.js.map +0 -1
  228. package/src/core/db/__generated__/client/models/Invitation.js.map +0 -1
  229. package/src/core/db/__generated__/client/models/LegalEntity.js.map +0 -1
  230. package/src/core/db/__generated__/client/models/Manufacturer.js.map +0 -1
  231. package/src/core/db/__generated__/client/models/ManufacturerTranslation.js.map +0 -1
  232. package/src/core/db/__generated__/client/models/Member.js.map +0 -1
  233. package/src/core/db/__generated__/client/models/Modifier.js.map +0 -1
  234. package/src/core/db/__generated__/client/models/ModifierGroup.js.map +0 -1
  235. package/src/core/db/__generated__/client/models/ModifierGroupTranslation.js.map +0 -1
  236. package/src/core/db/__generated__/client/models/OpeningTimes.js.map +0 -1
  237. package/src/core/db/__generated__/client/models/Order.js.map +0 -1
  238. package/src/core/db/__generated__/client/models/OrderItem.js.map +0 -1
  239. package/src/core/db/__generated__/client/models/OrderItemTranslation.js.map +0 -1
  240. package/src/core/db/__generated__/client/models/Organization.js.map +0 -1
  241. package/src/core/db/__generated__/client/models/OrganizationConfiguration.js.map +0 -1
  242. package/src/core/db/__generated__/client/models/Payment.js.map +0 -1
  243. package/src/core/db/__generated__/client/models/PaymentSession.js.map +0 -1
  244. package/src/core/db/__generated__/client/models/Product.js.map +0 -1
  245. package/src/core/db/__generated__/client/models/ProductCategory.js.map +0 -1
  246. package/src/core/db/__generated__/client/models/ProductCategoryTranslation.js.map +0 -1
  247. package/src/core/db/__generated__/client/models/ProductSnapshot.js.map +0 -1
  248. package/src/core/db/__generated__/client/models/ProductTranslation.js.map +0 -1
  249. package/src/core/db/__generated__/client/models/Reservation.js.map +0 -1
  250. package/src/core/db/__generated__/client/models/Session.js.map +0 -1
  251. package/src/core/db/__generated__/client/models/ShippingMethod.js.map +0 -1
  252. package/src/core/db/__generated__/client/models/ShippingZone.js.map +0 -1
  253. package/src/core/db/__generated__/client/models/User.js.map +0 -1
  254. package/src/core/db/__generated__/client/models/Verification.js.map +0 -1
  255. package/src/core/db/__generated__/client/models.js.map +0 -1
  256. package/src/core/db/index.js.map +0 -1
  257. package/src/core/exceptions/http-exception.js.map +0 -1
  258. package/src/core/hono/hono.js.map +0 -1
  259. package/src/core/lib/prisma.js.map +0 -1
  260. package/src/core/logging/pino.js.map +0 -1
  261. package/src/core/notifications/email.service.js.map +0 -1
  262. package/src/core/openapi/openapi.lib.js.map +0 -1
  263. package/src/core/types/google-maps.types.js.map +0 -1
  264. package/src/core/utils/currency.util.js.map +0 -1
  265. package/src/core/utils/env.util.js.map +0 -1
  266. package/src/core/utils/object.util.js.map +0 -1
  267. package/src/core/utils/translations.util.js.map +0 -1
  268. package/src/core/utils/zod.util.js.map +0 -1
  269. package/src/db.js.map +0 -1
  270. package/src/features/access/access.handler.js.map +0 -1
  271. package/src/features/access/access.route.js.map +0 -1
  272. package/src/features/access/access.schema.js.map +0 -1
  273. package/src/features/access/access.service.js.map +0 -1
  274. package/src/features/cart/cart.handler.js.map +0 -1
  275. package/src/features/cart/cart.route.js.map +0 -1
  276. package/src/features/cart/cart.schema.js.map +0 -1
  277. package/src/features/cart/cart.service.js.map +0 -1
  278. package/src/features/cart/cart.util.js.map +0 -1
  279. package/src/features/file/file.handler.js.map +0 -1
  280. package/src/features/file/file.route.js.map +0 -1
  281. package/src/features/file/file.schema.js.map +0 -1
  282. package/src/features/file/file.service.js.map +0 -1
  283. package/src/features/health/health.handler.js.map +0 -1
  284. package/src/features/health/health.route.js.map +0 -1
  285. package/src/features/index.js.map +0 -1
  286. package/src/features/location/location.handler.js.map +0 -1
  287. package/src/features/location/location.route.js.map +0 -1
  288. package/src/features/location/location.schema.js.map +0 -1
  289. package/src/features/location/location.service.js.map +0 -1
  290. package/src/features/manufacturer/manufacturer.handler.js.map +0 -1
  291. package/src/features/manufacturer/manufacturer.route.js.map +0 -1
  292. package/src/features/manufacturer/manufacturer.schema.js.map +0 -1
  293. package/src/features/manufacturer/manufacturer.service.js.map +0 -1
  294. package/src/features/order/emails/order-confirmation.email.js.map +0 -1
  295. package/src/features/order/emails/order-notification.email.js.map +0 -1
  296. package/src/features/order/fulfilment.schema.js.map +0 -1
  297. package/src/features/order/order.handler.js.map +0 -1
  298. package/src/features/order/order.route.js.map +0 -1
  299. package/src/features/order/order.schema.js.map +0 -1
  300. package/src/features/order/order.service.js.map +0 -1
  301. package/src/features/order/recipient.schema.js.map +0 -1
  302. package/src/features/organization/legal-entity.schema.js.map +0 -1
  303. package/src/features/organization/organization-configuration.schema.js.map +0 -1
  304. package/src/features/organization/organization.handler.js.map +0 -1
  305. package/src/features/organization/organization.route.js.map +0 -1
  306. package/src/features/organization/organization.schema.js.map +0 -1
  307. package/src/features/organization/organization.service.js.map +0 -1
  308. package/src/features/payment/payment.handler.js.map +0 -1
  309. package/src/features/payment/payment.route.js.map +0 -1
  310. package/src/features/payment/payment.schema.js.map +0 -1
  311. package/src/features/payment/payment.service.js.map +0 -1
  312. package/src/features/payment/stripe.service.js.map +0 -1
  313. package/src/features/product/product-modifier.schema.js.map +0 -1
  314. package/src/features/product/product.handler.js.map +0 -1
  315. package/src/features/product/product.route.js.map +0 -1
  316. package/src/features/product/product.schema.js.map +0 -1
  317. package/src/features/product/product.service.js.map +0 -1
  318. package/src/features/product-category/product-category.handler.js.map +0 -1
  319. package/src/features/product-category/product-category.route.js.map +0 -1
  320. package/src/features/product-category/product-category.schema.js.map +0 -1
  321. package/src/features/product-category/product-category.service.js.map +0 -1
  322. package/src/features/reservation/emails/reservation-cancellation.email.js.map +0 -1
  323. package/src/features/reservation/emails/reservation-confirmation.email.js.map +0 -1
  324. package/src/features/reservation/emails/reservation-notification.email.js.map +0 -1
  325. package/src/features/reservation/reservation.handler.js.map +0 -1
  326. package/src/features/reservation/reservation.route.js.map +0 -1
  327. package/src/features/reservation/reservation.schema.js.map +0 -1
  328. package/src/features/reservation/reservation.service.js.map +0 -1
  329. package/src/features/shipping/shipping.handler.js.map +0 -1
  330. package/src/features/shipping/shipping.route.js.map +0 -1
  331. package/src/features/shipping/shipping.service.js.map +0 -1
  332. package/src/features/shipping-method/shipping-method.handler.js.map +0 -1
  333. package/src/features/shipping-method/shipping-method.route.js.map +0 -1
  334. package/src/features/shipping-method/shipping-method.schema.js.map +0 -1
  335. package/src/features/shipping-method/shipping-method.service.js.map +0 -1
  336. package/src/features/shipping-method/shipping-zone.schema.js.map +0 -1
  337. package/src/features/webhook/webhook.handler.js.map +0 -1
  338. package/src/features/webhook/webhook.route.js.map +0 -1
  339. package/src/index.js.map +0 -1
  340. package/src/integrations/next.js.map +0 -1
  341. package/src/schemas/address.schema.js.map +0 -1
  342. package/src/schemas/currency.schema.js.map +0 -1
  343. package/src/schemas/error.schema.js.map +0 -1
  344. package/src/schemas/index.js.map +0 -1
  345. package/src/schemas/locales.schema.js.map +0 -1
  346. package/src/schemas/number.schema.js.map +0 -1
  347. package/src/schemas/pagination.schema.js.map +0 -1
  348. package/src/schemas/params.schema.js.map +0 -1
  349. package/src/schemas/queries.schema.js.map +0 -1
  350. package/src/test/integration/api-fixtures.js.map +0 -1
  351. package/src/test/integration/test-helpers.js.map +0 -1
  352. package/src/test/setup-test-env.js.map +0 -1
@@ -1,9 +1,5 @@
1
1
  import type * as runtime from "@prisma/client/runtime/client";
2
2
  import type * as Prisma from "../internal/prismaNamespace";
3
- /**
4
- * Model ModifierGroupTranslation
5
- *
6
- */
7
3
  export type ModifierGroupTranslationModel = runtime.Types.Result.DefaultSelection<Prisma.$ModifierGroupTranslationPayload>;
8
4
  export type AggregateModifierGroupTranslation = {
9
5
  _count: ModifierGroupTranslationCountAggregateOutputType | null;
@@ -55,51 +51,13 @@ export type ModifierGroupTranslationCountAggregateInputType = {
55
51
  _all?: true;
56
52
  };
57
53
  export type ModifierGroupTranslationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
58
- /**
59
- * Filter which ModifierGroupTranslation to aggregate.
60
- */
61
54
  where?: Prisma.ModifierGroupTranslationWhereInput;
62
- /**
63
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
64
- *
65
- * Determine the order of ModifierGroupTranslations to fetch.
66
- */
67
55
  orderBy?: Prisma.ModifierGroupTranslationOrderByWithRelationInput | Prisma.ModifierGroupTranslationOrderByWithRelationInput[];
68
- /**
69
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
70
- *
71
- * Sets the start position
72
- */
73
56
  cursor?: Prisma.ModifierGroupTranslationWhereUniqueInput;
74
- /**
75
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
76
- *
77
- * Take `±n` ModifierGroupTranslations from the position of the cursor.
78
- */
79
57
  take?: number;
80
- /**
81
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
82
- *
83
- * Skip the first `n` ModifierGroupTranslations.
84
- */
85
58
  skip?: number;
86
- /**
87
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
88
- *
89
- * Count returned ModifierGroupTranslations
90
- **/
91
59
  _count?: true | ModifierGroupTranslationCountAggregateInputType;
92
- /**
93
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
94
- *
95
- * Select which fields to find the minimum value
96
- **/
97
60
  _min?: ModifierGroupTranslationMinAggregateInputType;
98
- /**
99
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
100
- *
101
- * Select which fields to find the maximum value
102
- **/
103
61
  _max?: ModifierGroupTranslationMaxAggregateInputType;
104
62
  };
105
63
  export type GetModifierGroupTranslationAggregateType<T extends ModifierGroupTranslationAggregateArgs> = {
@@ -432,290 +390,22 @@ export interface ModifierGroupTranslationDelegate<ExtArgs extends runtime.Types.
432
390
  name: 'ModifierGroupTranslation';
433
391
  };
434
392
  };
435
- /**
436
- * Find zero or one ModifierGroupTranslation that matches the filter.
437
- * @param {ModifierGroupTranslationFindUniqueArgs} args - Arguments to find a ModifierGroupTranslation
438
- * @example
439
- * // Get one ModifierGroupTranslation
440
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.findUnique({
441
- * where: {
442
- * // ... provide filter here
443
- * }
444
- * })
445
- */
446
393
  findUnique<T extends ModifierGroupTranslationFindUniqueArgs>(args: Prisma.SelectSubset<T, ModifierGroupTranslationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupTranslationClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
447
- /**
448
- * Find one ModifierGroupTranslation that matches the filter or throw an error with `error.code='P2025'`
449
- * if no matches were found.
450
- * @param {ModifierGroupTranslationFindUniqueOrThrowArgs} args - Arguments to find a ModifierGroupTranslation
451
- * @example
452
- * // Get one ModifierGroupTranslation
453
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.findUniqueOrThrow({
454
- * where: {
455
- * // ... provide filter here
456
- * }
457
- * })
458
- */
459
394
  findUniqueOrThrow<T extends ModifierGroupTranslationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ModifierGroupTranslationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupTranslationClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
460
- /**
461
- * Find the first ModifierGroupTranslation that matches the filter.
462
- * Note, that providing `undefined` is treated as the value not being there.
463
- * Read more here: https://pris.ly/d/null-undefined
464
- * @param {ModifierGroupTranslationFindFirstArgs} args - Arguments to find a ModifierGroupTranslation
465
- * @example
466
- * // Get one ModifierGroupTranslation
467
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.findFirst({
468
- * where: {
469
- * // ... provide filter here
470
- * }
471
- * })
472
- */
473
395
  findFirst<T extends ModifierGroupTranslationFindFirstArgs>(args?: Prisma.SelectSubset<T, ModifierGroupTranslationFindFirstArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupTranslationClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
474
- /**
475
- * Find the first ModifierGroupTranslation that matches the filter or
476
- * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
477
- * Note, that providing `undefined` is treated as the value not being there.
478
- * Read more here: https://pris.ly/d/null-undefined
479
- * @param {ModifierGroupTranslationFindFirstOrThrowArgs} args - Arguments to find a ModifierGroupTranslation
480
- * @example
481
- * // Get one ModifierGroupTranslation
482
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.findFirstOrThrow({
483
- * where: {
484
- * // ... provide filter here
485
- * }
486
- * })
487
- */
488
396
  findFirstOrThrow<T extends ModifierGroupTranslationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ModifierGroupTranslationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupTranslationClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
489
- /**
490
- * Find zero or more ModifierGroupTranslations that matches the filter.
491
- * Note, that providing `undefined` is treated as the value not being there.
492
- * Read more here: https://pris.ly/d/null-undefined
493
- * @param {ModifierGroupTranslationFindManyArgs} args - Arguments to filter and select certain fields only.
494
- * @example
495
- * // Get all ModifierGroupTranslations
496
- * const modifierGroupTranslations = await prisma.modifierGroupTranslation.findMany()
497
- *
498
- * // Get first 10 ModifierGroupTranslations
499
- * const modifierGroupTranslations = await prisma.modifierGroupTranslation.findMany({ take: 10 })
500
- *
501
- * // Only select the `id`
502
- * const modifierGroupTranslationWithIdOnly = await prisma.modifierGroupTranslation.findMany({ select: { id: true } })
503
- *
504
- */
505
397
  findMany<T extends ModifierGroupTranslationFindManyArgs>(args?: Prisma.SelectSubset<T, ModifierGroupTranslationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
506
- /**
507
- * Create a ModifierGroupTranslation.
508
- * @param {ModifierGroupTranslationCreateArgs} args - Arguments to create a ModifierGroupTranslation.
509
- * @example
510
- * // Create one ModifierGroupTranslation
511
- * const ModifierGroupTranslation = await prisma.modifierGroupTranslation.create({
512
- * data: {
513
- * // ... data to create a ModifierGroupTranslation
514
- * }
515
- * })
516
- *
517
- */
518
398
  create<T extends ModifierGroupTranslationCreateArgs>(args: Prisma.SelectSubset<T, ModifierGroupTranslationCreateArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupTranslationClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
519
- /**
520
- * Create many ModifierGroupTranslations.
521
- * @param {ModifierGroupTranslationCreateManyArgs} args - Arguments to create many ModifierGroupTranslations.
522
- * @example
523
- * // Create many ModifierGroupTranslations
524
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.createMany({
525
- * data: [
526
- * // ... provide data here
527
- * ]
528
- * })
529
- *
530
- */
531
399
  createMany<T extends ModifierGroupTranslationCreateManyArgs>(args?: Prisma.SelectSubset<T, ModifierGroupTranslationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
532
- /**
533
- * Create many ModifierGroupTranslations and returns the data saved in the database.
534
- * @param {ModifierGroupTranslationCreateManyAndReturnArgs} args - Arguments to create many ModifierGroupTranslations.
535
- * @example
536
- * // Create many ModifierGroupTranslations
537
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.createManyAndReturn({
538
- * data: [
539
- * // ... provide data here
540
- * ]
541
- * })
542
- *
543
- * // Create many ModifierGroupTranslations and only return the `id`
544
- * const modifierGroupTranslationWithIdOnly = await prisma.modifierGroupTranslation.createManyAndReturn({
545
- * select: { id: true },
546
- * data: [
547
- * // ... provide data here
548
- * ]
549
- * })
550
- * Note, that providing `undefined` is treated as the value not being there.
551
- * Read more here: https://pris.ly/d/null-undefined
552
- *
553
- */
554
400
  createManyAndReturn<T extends ModifierGroupTranslationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ModifierGroupTranslationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
555
- /**
556
- * Delete a ModifierGroupTranslation.
557
- * @param {ModifierGroupTranslationDeleteArgs} args - Arguments to delete one ModifierGroupTranslation.
558
- * @example
559
- * // Delete one ModifierGroupTranslation
560
- * const ModifierGroupTranslation = await prisma.modifierGroupTranslation.delete({
561
- * where: {
562
- * // ... filter to delete one ModifierGroupTranslation
563
- * }
564
- * })
565
- *
566
- */
567
401
  delete<T extends ModifierGroupTranslationDeleteArgs>(args: Prisma.SelectSubset<T, ModifierGroupTranslationDeleteArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupTranslationClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
568
- /**
569
- * Update one ModifierGroupTranslation.
570
- * @param {ModifierGroupTranslationUpdateArgs} args - Arguments to update one ModifierGroupTranslation.
571
- * @example
572
- * // Update one ModifierGroupTranslation
573
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.update({
574
- * where: {
575
- * // ... provide filter here
576
- * },
577
- * data: {
578
- * // ... provide data here
579
- * }
580
- * })
581
- *
582
- */
583
402
  update<T extends ModifierGroupTranslationUpdateArgs>(args: Prisma.SelectSubset<T, ModifierGroupTranslationUpdateArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupTranslationClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
584
- /**
585
- * Delete zero or more ModifierGroupTranslations.
586
- * @param {ModifierGroupTranslationDeleteManyArgs} args - Arguments to filter ModifierGroupTranslations to delete.
587
- * @example
588
- * // Delete a few ModifierGroupTranslations
589
- * const { count } = await prisma.modifierGroupTranslation.deleteMany({
590
- * where: {
591
- * // ... provide filter here
592
- * }
593
- * })
594
- *
595
- */
596
403
  deleteMany<T extends ModifierGroupTranslationDeleteManyArgs>(args?: Prisma.SelectSubset<T, ModifierGroupTranslationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
597
- /**
598
- * Update zero or more ModifierGroupTranslations.
599
- * Note, that providing `undefined` is treated as the value not being there.
600
- * Read more here: https://pris.ly/d/null-undefined
601
- * @param {ModifierGroupTranslationUpdateManyArgs} args - Arguments to update one or more rows.
602
- * @example
603
- * // Update many ModifierGroupTranslations
604
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.updateMany({
605
- * where: {
606
- * // ... provide filter here
607
- * },
608
- * data: {
609
- * // ... provide data here
610
- * }
611
- * })
612
- *
613
- */
614
404
  updateMany<T extends ModifierGroupTranslationUpdateManyArgs>(args: Prisma.SelectSubset<T, ModifierGroupTranslationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
615
- /**
616
- * Update zero or more ModifierGroupTranslations and returns the data updated in the database.
617
- * @param {ModifierGroupTranslationUpdateManyAndReturnArgs} args - Arguments to update many ModifierGroupTranslations.
618
- * @example
619
- * // Update many ModifierGroupTranslations
620
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.updateManyAndReturn({
621
- * where: {
622
- * // ... provide filter here
623
- * },
624
- * data: [
625
- * // ... provide data here
626
- * ]
627
- * })
628
- *
629
- * // Update zero or more ModifierGroupTranslations and only return the `id`
630
- * const modifierGroupTranslationWithIdOnly = await prisma.modifierGroupTranslation.updateManyAndReturn({
631
- * select: { id: true },
632
- * where: {
633
- * // ... provide filter here
634
- * },
635
- * data: [
636
- * // ... provide data here
637
- * ]
638
- * })
639
- * Note, that providing `undefined` is treated as the value not being there.
640
- * Read more here: https://pris.ly/d/null-undefined
641
- *
642
- */
643
405
  updateManyAndReturn<T extends ModifierGroupTranslationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ModifierGroupTranslationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
644
- /**
645
- * Create or update one ModifierGroupTranslation.
646
- * @param {ModifierGroupTranslationUpsertArgs} args - Arguments to update or create a ModifierGroupTranslation.
647
- * @example
648
- * // Update or create a ModifierGroupTranslation
649
- * const modifierGroupTranslation = await prisma.modifierGroupTranslation.upsert({
650
- * create: {
651
- * // ... data to create a ModifierGroupTranslation
652
- * },
653
- * update: {
654
- * // ... in case it already exists, update
655
- * },
656
- * where: {
657
- * // ... the filter for the ModifierGroupTranslation we want to update
658
- * }
659
- * })
660
- */
661
406
  upsert<T extends ModifierGroupTranslationUpsertArgs>(args: Prisma.SelectSubset<T, ModifierGroupTranslationUpsertArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupTranslationClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupTranslationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
662
- /**
663
- * Count the number of ModifierGroupTranslations.
664
- * Note, that providing `undefined` is treated as the value not being there.
665
- * Read more here: https://pris.ly/d/null-undefined
666
- * @param {ModifierGroupTranslationCountArgs} args - Arguments to filter ModifierGroupTranslations to count.
667
- * @example
668
- * // Count the number of ModifierGroupTranslations
669
- * const count = await prisma.modifierGroupTranslation.count({
670
- * where: {
671
- * // ... the filter for the ModifierGroupTranslations we want to count
672
- * }
673
- * })
674
- **/
675
407
  count<T extends ModifierGroupTranslationCountArgs>(args?: Prisma.Subset<T, ModifierGroupTranslationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ModifierGroupTranslationCountAggregateOutputType> : number>;
676
- /**
677
- * Allows you to perform aggregations operations on a ModifierGroupTranslation.
678
- * Note, that providing `undefined` is treated as the value not being there.
679
- * Read more here: https://pris.ly/d/null-undefined
680
- * @param {ModifierGroupTranslationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
681
- * @example
682
- * // Ordered by age ascending
683
- * // Where email contains prisma.io
684
- * // Limited to the 10 users
685
- * const aggregations = await prisma.user.aggregate({
686
- * _avg: {
687
- * age: true,
688
- * },
689
- * where: {
690
- * email: {
691
- * contains: "prisma.io",
692
- * },
693
- * },
694
- * orderBy: {
695
- * age: "asc",
696
- * },
697
- * take: 10,
698
- * })
699
- **/
700
408
  aggregate<T extends ModifierGroupTranslationAggregateArgs>(args: Prisma.Subset<T, ModifierGroupTranslationAggregateArgs>): Prisma.PrismaPromise<GetModifierGroupTranslationAggregateType<T>>;
701
- /**
702
- * Group by ModifierGroupTranslation.
703
- * Note, that providing `undefined` is treated as the value not being there.
704
- * Read more here: https://pris.ly/d/null-undefined
705
- * @param {ModifierGroupTranslationGroupByArgs} args - Group by arguments.
706
- * @example
707
- * // Group by city, order by createdAt, get count
708
- * const result = await prisma.user.groupBy({
709
- * by: ['city', 'createdAt'],
710
- * orderBy: {
711
- * createdAt: true
712
- * },
713
- * _count: {
714
- * _all: true
715
- * },
716
- * })
717
- *
718
- **/
719
409
  groupBy<T extends ModifierGroupTranslationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
720
410
  orderBy: ModifierGroupTranslationGroupByArgs['orderBy'];
721
411
  } : {
@@ -734,44 +424,15 @@ export interface ModifierGroupTranslationDelegate<ExtArgs extends runtime.Types.
734
424
  }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
735
425
  [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
736
426
  }[OrderFields]>(args: Prisma.SubsetIntersection<T, ModifierGroupTranslationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModifierGroupTranslationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
737
- /**
738
- * Fields of the ModifierGroupTranslation model
739
- */
740
427
  readonly fields: ModifierGroupTranslationFieldRefs;
741
428
  }
742
- /**
743
- * The delegate class that acts as a "Promise-like" for ModifierGroupTranslation.
744
- * Why is this prefixed with `Prisma__`?
745
- * Because we want to prevent naming conflicts as mentioned in
746
- * https://github.com/prisma/prisma-client-js/issues/707
747
- */
748
429
  export interface Prisma__ModifierGroupTranslationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
749
430
  readonly [Symbol.toStringTag]: "PrismaPromise";
750
431
  modifierGroup<T extends Prisma.ModifierGroupDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModifierGroupDefaultArgs<ExtArgs>>): Prisma.Prisma__ModifierGroupClient<runtime.Types.Result.GetResult<Prisma.$ModifierGroupPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
751
- /**
752
- * Attaches callbacks for the resolution and/or rejection of the Promise.
753
- * @param onfulfilled The callback to execute when the Promise is resolved.
754
- * @param onrejected The callback to execute when the Promise is rejected.
755
- * @returns A Promise for the completion of which ever callback is executed.
756
- */
757
432
  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>;
758
- /**
759
- * Attaches a callback for only the rejection of the Promise.
760
- * @param onrejected The callback to execute when the Promise is rejected.
761
- * @returns A Promise for the completion of the callback.
762
- */
763
433
  catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
764
- /**
765
- * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
766
- * resolved value cannot be modified from the callback.
767
- * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
768
- * @returns A Promise for the completion of the callback.
769
- */
770
434
  finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
771
435
  }
772
- /**
773
- * Fields of the ModifierGroupTranslation model
774
- */
775
436
  export interface ModifierGroupTranslationFieldRefs {
776
437
  readonly id: Prisma.FieldRef<"ModifierGroupTranslation", 'String'>;
777
438
  readonly locale: Prisma.FieldRef<"ModifierGroupTranslation", 'String'>;
@@ -779,398 +440,109 @@ export interface ModifierGroupTranslationFieldRefs {
779
440
  readonly description: Prisma.FieldRef<"ModifierGroupTranslation", 'String'>;
780
441
  readonly modifierGroupId: Prisma.FieldRef<"ModifierGroupTranslation", 'String'>;
781
442
  }
782
- /**
783
- * ModifierGroupTranslation findUnique
784
- */
785
443
  export type ModifierGroupTranslationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
786
- /**
787
- * Select specific fields to fetch from the ModifierGroupTranslation
788
- */
789
444
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
790
- /**
791
- * Omit specific fields from the ModifierGroupTranslation
792
- */
793
445
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
794
- /**
795
- * Choose, which related nodes to fetch as well
796
- */
797
446
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
798
- /**
799
- * Filter, which ModifierGroupTranslation to fetch.
800
- */
801
447
  where: Prisma.ModifierGroupTranslationWhereUniqueInput;
802
448
  };
803
- /**
804
- * ModifierGroupTranslation findUniqueOrThrow
805
- */
806
449
  export type ModifierGroupTranslationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
807
- /**
808
- * Select specific fields to fetch from the ModifierGroupTranslation
809
- */
810
450
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
811
- /**
812
- * Omit specific fields from the ModifierGroupTranslation
813
- */
814
451
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
815
- /**
816
- * Choose, which related nodes to fetch as well
817
- */
818
452
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
819
- /**
820
- * Filter, which ModifierGroupTranslation to fetch.
821
- */
822
453
  where: Prisma.ModifierGroupTranslationWhereUniqueInput;
823
454
  };
824
- /**
825
- * ModifierGroupTranslation findFirst
826
- */
827
455
  export type ModifierGroupTranslationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
828
- /**
829
- * Select specific fields to fetch from the ModifierGroupTranslation
830
- */
831
456
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
832
- /**
833
- * Omit specific fields from the ModifierGroupTranslation
834
- */
835
457
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
836
- /**
837
- * Choose, which related nodes to fetch as well
838
- */
839
458
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
840
- /**
841
- * Filter, which ModifierGroupTranslation to fetch.
842
- */
843
459
  where?: Prisma.ModifierGroupTranslationWhereInput;
844
- /**
845
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
846
- *
847
- * Determine the order of ModifierGroupTranslations to fetch.
848
- */
849
460
  orderBy?: Prisma.ModifierGroupTranslationOrderByWithRelationInput | Prisma.ModifierGroupTranslationOrderByWithRelationInput[];
850
- /**
851
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
852
- *
853
- * Sets the position for searching for ModifierGroupTranslations.
854
- */
855
461
  cursor?: Prisma.ModifierGroupTranslationWhereUniqueInput;
856
- /**
857
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
858
- *
859
- * Take `±n` ModifierGroupTranslations from the position of the cursor.
860
- */
861
462
  take?: number;
862
- /**
863
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
864
- *
865
- * Skip the first `n` ModifierGroupTranslations.
866
- */
867
463
  skip?: number;
868
- /**
869
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
870
- *
871
- * Filter by unique combinations of ModifierGroupTranslations.
872
- */
873
464
  distinct?: Prisma.ModifierGroupTranslationScalarFieldEnum | Prisma.ModifierGroupTranslationScalarFieldEnum[];
874
465
  };
875
- /**
876
- * ModifierGroupTranslation findFirstOrThrow
877
- */
878
466
  export type ModifierGroupTranslationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
879
- /**
880
- * Select specific fields to fetch from the ModifierGroupTranslation
881
- */
882
467
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
883
- /**
884
- * Omit specific fields from the ModifierGroupTranslation
885
- */
886
468
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
887
- /**
888
- * Choose, which related nodes to fetch as well
889
- */
890
469
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
891
- /**
892
- * Filter, which ModifierGroupTranslation to fetch.
893
- */
894
470
  where?: Prisma.ModifierGroupTranslationWhereInput;
895
- /**
896
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
897
- *
898
- * Determine the order of ModifierGroupTranslations to fetch.
899
- */
900
471
  orderBy?: Prisma.ModifierGroupTranslationOrderByWithRelationInput | Prisma.ModifierGroupTranslationOrderByWithRelationInput[];
901
- /**
902
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
903
- *
904
- * Sets the position for searching for ModifierGroupTranslations.
905
- */
906
472
  cursor?: Prisma.ModifierGroupTranslationWhereUniqueInput;
907
- /**
908
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
909
- *
910
- * Take `±n` ModifierGroupTranslations from the position of the cursor.
911
- */
912
473
  take?: number;
913
- /**
914
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
915
- *
916
- * Skip the first `n` ModifierGroupTranslations.
917
- */
918
474
  skip?: number;
919
- /**
920
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
921
- *
922
- * Filter by unique combinations of ModifierGroupTranslations.
923
- */
924
475
  distinct?: Prisma.ModifierGroupTranslationScalarFieldEnum | Prisma.ModifierGroupTranslationScalarFieldEnum[];
925
476
  };
926
- /**
927
- * ModifierGroupTranslation findMany
928
- */
929
477
  export type ModifierGroupTranslationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
930
- /**
931
- * Select specific fields to fetch from the ModifierGroupTranslation
932
- */
933
478
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
934
- /**
935
- * Omit specific fields from the ModifierGroupTranslation
936
- */
937
479
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
938
- /**
939
- * Choose, which related nodes to fetch as well
940
- */
941
480
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
942
- /**
943
- * Filter, which ModifierGroupTranslations to fetch.
944
- */
945
481
  where?: Prisma.ModifierGroupTranslationWhereInput;
946
- /**
947
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
948
- *
949
- * Determine the order of ModifierGroupTranslations to fetch.
950
- */
951
482
  orderBy?: Prisma.ModifierGroupTranslationOrderByWithRelationInput | Prisma.ModifierGroupTranslationOrderByWithRelationInput[];
952
- /**
953
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
954
- *
955
- * Sets the position for listing ModifierGroupTranslations.
956
- */
957
483
  cursor?: Prisma.ModifierGroupTranslationWhereUniqueInput;
958
- /**
959
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
960
- *
961
- * Take `±n` ModifierGroupTranslations from the position of the cursor.
962
- */
963
484
  take?: number;
964
- /**
965
- * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
966
- *
967
- * Skip the first `n` ModifierGroupTranslations.
968
- */
969
485
  skip?: number;
970
486
  distinct?: Prisma.ModifierGroupTranslationScalarFieldEnum | Prisma.ModifierGroupTranslationScalarFieldEnum[];
971
487
  };
972
- /**
973
- * ModifierGroupTranslation create
974
- */
975
488
  export type ModifierGroupTranslationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
976
- /**
977
- * Select specific fields to fetch from the ModifierGroupTranslation
978
- */
979
489
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
980
- /**
981
- * Omit specific fields from the ModifierGroupTranslation
982
- */
983
490
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
984
- /**
985
- * Choose, which related nodes to fetch as well
986
- */
987
491
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
988
- /**
989
- * The data needed to create a ModifierGroupTranslation.
990
- */
991
492
  data: Prisma.XOR<Prisma.ModifierGroupTranslationCreateInput, Prisma.ModifierGroupTranslationUncheckedCreateInput>;
992
493
  };
993
- /**
994
- * ModifierGroupTranslation createMany
995
- */
996
494
  export type ModifierGroupTranslationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
997
- /**
998
- * The data used to create many ModifierGroupTranslations.
999
- */
1000
495
  data: Prisma.ModifierGroupTranslationCreateManyInput | Prisma.ModifierGroupTranslationCreateManyInput[];
1001
496
  skipDuplicates?: boolean;
1002
497
  };
1003
- /**
1004
- * ModifierGroupTranslation createManyAndReturn
1005
- */
1006
498
  export type ModifierGroupTranslationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1007
- /**
1008
- * Select specific fields to fetch from the ModifierGroupTranslation
1009
- */
1010
499
  select?: Prisma.ModifierGroupTranslationSelectCreateManyAndReturn<ExtArgs> | null;
1011
- /**
1012
- * Omit specific fields from the ModifierGroupTranslation
1013
- */
1014
500
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
1015
- /**
1016
- * The data used to create many ModifierGroupTranslations.
1017
- */
1018
501
  data: Prisma.ModifierGroupTranslationCreateManyInput | Prisma.ModifierGroupTranslationCreateManyInput[];
1019
502
  skipDuplicates?: boolean;
1020
- /**
1021
- * Choose, which related nodes to fetch as well
1022
- */
1023
503
  include?: Prisma.ModifierGroupTranslationIncludeCreateManyAndReturn<ExtArgs> | null;
1024
504
  };
1025
- /**
1026
- * ModifierGroupTranslation update
1027
- */
1028
505
  export type ModifierGroupTranslationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1029
- /**
1030
- * Select specific fields to fetch from the ModifierGroupTranslation
1031
- */
1032
506
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
1033
- /**
1034
- * Omit specific fields from the ModifierGroupTranslation
1035
- */
1036
507
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
1037
- /**
1038
- * Choose, which related nodes to fetch as well
1039
- */
1040
508
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
1041
- /**
1042
- * The data needed to update a ModifierGroupTranslation.
1043
- */
1044
509
  data: Prisma.XOR<Prisma.ModifierGroupTranslationUpdateInput, Prisma.ModifierGroupTranslationUncheckedUpdateInput>;
1045
- /**
1046
- * Choose, which ModifierGroupTranslation to update.
1047
- */
1048
510
  where: Prisma.ModifierGroupTranslationWhereUniqueInput;
1049
511
  };
1050
- /**
1051
- * ModifierGroupTranslation updateMany
1052
- */
1053
512
  export type ModifierGroupTranslationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1054
- /**
1055
- * The data used to update ModifierGroupTranslations.
1056
- */
1057
513
  data: Prisma.XOR<Prisma.ModifierGroupTranslationUpdateManyMutationInput, Prisma.ModifierGroupTranslationUncheckedUpdateManyInput>;
1058
- /**
1059
- * Filter which ModifierGroupTranslations to update
1060
- */
1061
514
  where?: Prisma.ModifierGroupTranslationWhereInput;
1062
- /**
1063
- * Limit how many ModifierGroupTranslations to update.
1064
- */
1065
515
  limit?: number;
1066
516
  };
1067
- /**
1068
- * ModifierGroupTranslation updateManyAndReturn
1069
- */
1070
517
  export type ModifierGroupTranslationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1071
- /**
1072
- * Select specific fields to fetch from the ModifierGroupTranslation
1073
- */
1074
518
  select?: Prisma.ModifierGroupTranslationSelectUpdateManyAndReturn<ExtArgs> | null;
1075
- /**
1076
- * Omit specific fields from the ModifierGroupTranslation
1077
- */
1078
519
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
1079
- /**
1080
- * The data used to update ModifierGroupTranslations.
1081
- */
1082
520
  data: Prisma.XOR<Prisma.ModifierGroupTranslationUpdateManyMutationInput, Prisma.ModifierGroupTranslationUncheckedUpdateManyInput>;
1083
- /**
1084
- * Filter which ModifierGroupTranslations to update
1085
- */
1086
521
  where?: Prisma.ModifierGroupTranslationWhereInput;
1087
- /**
1088
- * Limit how many ModifierGroupTranslations to update.
1089
- */
1090
522
  limit?: number;
1091
- /**
1092
- * Choose, which related nodes to fetch as well
1093
- */
1094
523
  include?: Prisma.ModifierGroupTranslationIncludeUpdateManyAndReturn<ExtArgs> | null;
1095
524
  };
1096
- /**
1097
- * ModifierGroupTranslation upsert
1098
- */
1099
525
  export type ModifierGroupTranslationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1100
- /**
1101
- * Select specific fields to fetch from the ModifierGroupTranslation
1102
- */
1103
526
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
1104
- /**
1105
- * Omit specific fields from the ModifierGroupTranslation
1106
- */
1107
527
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
1108
- /**
1109
- * Choose, which related nodes to fetch as well
1110
- */
1111
528
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
1112
- /**
1113
- * The filter to search for the ModifierGroupTranslation to update in case it exists.
1114
- */
1115
529
  where: Prisma.ModifierGroupTranslationWhereUniqueInput;
1116
- /**
1117
- * In case the ModifierGroupTranslation found by the `where` argument doesn't exist, create a new ModifierGroupTranslation with this data.
1118
- */
1119
530
  create: Prisma.XOR<Prisma.ModifierGroupTranslationCreateInput, Prisma.ModifierGroupTranslationUncheckedCreateInput>;
1120
- /**
1121
- * In case the ModifierGroupTranslation was found with the provided `where` argument, update it with this data.
1122
- */
1123
531
  update: Prisma.XOR<Prisma.ModifierGroupTranslationUpdateInput, Prisma.ModifierGroupTranslationUncheckedUpdateInput>;
1124
532
  };
1125
- /**
1126
- * ModifierGroupTranslation delete
1127
- */
1128
533
  export type ModifierGroupTranslationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1129
- /**
1130
- * Select specific fields to fetch from the ModifierGroupTranslation
1131
- */
1132
534
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
1133
- /**
1134
- * Omit specific fields from the ModifierGroupTranslation
1135
- */
1136
535
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
1137
- /**
1138
- * Choose, which related nodes to fetch as well
1139
- */
1140
536
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
1141
- /**
1142
- * Filter which ModifierGroupTranslation to delete.
1143
- */
1144
537
  where: Prisma.ModifierGroupTranslationWhereUniqueInput;
1145
538
  };
1146
- /**
1147
- * ModifierGroupTranslation deleteMany
1148
- */
1149
539
  export type ModifierGroupTranslationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1150
- /**
1151
- * Filter which ModifierGroupTranslations to delete
1152
- */
1153
540
  where?: Prisma.ModifierGroupTranslationWhereInput;
1154
- /**
1155
- * Limit how many ModifierGroupTranslations to delete.
1156
- */
1157
541
  limit?: number;
1158
542
  };
1159
- /**
1160
- * ModifierGroupTranslation without action
1161
- */
1162
543
  export type ModifierGroupTranslationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1163
- /**
1164
- * Select specific fields to fetch from the ModifierGroupTranslation
1165
- */
1166
544
  select?: Prisma.ModifierGroupTranslationSelect<ExtArgs> | null;
1167
- /**
1168
- * Omit specific fields from the ModifierGroupTranslation
1169
- */
1170
545
  omit?: Prisma.ModifierGroupTranslationOmit<ExtArgs> | null;
1171
- /**
1172
- * Choose, which related nodes to fetch as well
1173
- */
1174
546
  include?: Prisma.ModifierGroupTranslationInclude<ExtArgs> | null;
1175
547
  };
1176
548
  export {};