@shophost/rest-api 0.1.0

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