@commercejs/platform 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 (402) hide show
  1. package/README.md +156 -0
  2. package/dist/__tests__/platform.drizzle.test.d.ts +2 -0
  3. package/dist/__tests__/platform.drizzle.test.d.ts.map +1 -0
  4. package/dist/__tests__/platform.drizzle.test.js +27 -0
  5. package/dist/__tests__/platform.drizzle.test.js.map +1 -0
  6. package/dist/__tests__/platform.prisma.test.d.ts +2 -0
  7. package/dist/__tests__/platform.prisma.test.d.ts.map +1 -0
  8. package/dist/__tests__/platform.prisma.test.js +27 -0
  9. package/dist/__tests__/platform.prisma.test.js.map +1 -0
  10. package/dist/__tests__/platform.suite.d.ts +8 -0
  11. package/dist/__tests__/platform.suite.d.ts.map +1 -0
  12. package/dist/__tests__/platform.suite.js +406 -0
  13. package/dist/__tests__/platform.suite.js.map +1 -0
  14. package/dist/adapter.d.ts +20 -0
  15. package/dist/adapter.d.ts.map +1 -0
  16. package/dist/adapter.js +122 -0
  17. package/dist/adapter.js.map +1 -0
  18. package/dist/database/drizzle/client.d.ts +13 -0
  19. package/dist/database/drizzle/client.d.ts.map +1 -0
  20. package/dist/database/drizzle/client.js +29 -0
  21. package/dist/database/drizzle/client.js.map +1 -0
  22. package/dist/database/drizzle/index.d.ts +5 -0
  23. package/dist/database/drizzle/index.d.ts.map +1 -0
  24. package/dist/database/drizzle/index.js +7 -0
  25. package/dist/database/drizzle/index.js.map +1 -0
  26. package/dist/database/drizzle/migrate.d.ts +9 -0
  27. package/dist/database/drizzle/migrate.d.ts.map +1 -0
  28. package/dist/database/drizzle/migrate.js +317 -0
  29. package/dist/database/drizzle/migrate.js.map +1 -0
  30. package/dist/database/drizzle/queries/brands.d.ts +26 -0
  31. package/dist/database/drizzle/queries/brands.d.ts.map +1 -0
  32. package/dist/database/drizzle/queries/brands.js +19 -0
  33. package/dist/database/drizzle/queries/brands.js.map +1 -0
  34. package/dist/database/drizzle/queries/cart.d.ts +61 -0
  35. package/dist/database/drizzle/queries/cart.d.ts.map +1 -0
  36. package/dist/database/drizzle/queries/cart.js +57 -0
  37. package/dist/database/drizzle/queries/cart.js.map +1 -0
  38. package/dist/database/drizzle/queries/catalog.d.ts +149 -0
  39. package/dist/database/drizzle/queries/catalog.d.ts.map +1 -0
  40. package/dist/database/drizzle/queries/catalog.js +88 -0
  41. package/dist/database/drizzle/queries/catalog.js.map +1 -0
  42. package/dist/database/drizzle/queries/countries.d.ts +22 -0
  43. package/dist/database/drizzle/queries/countries.d.ts.map +1 -0
  44. package/dist/database/drizzle/queries/countries.js +19 -0
  45. package/dist/database/drizzle/queries/countries.js.map +1 -0
  46. package/dist/database/drizzle/queries/customers.d.ts +87 -0
  47. package/dist/database/drizzle/queries/customers.d.ts.map +1 -0
  48. package/dist/database/drizzle/queries/customers.js +41 -0
  49. package/dist/database/drizzle/queries/customers.js.map +1 -0
  50. package/dist/database/drizzle/queries/index.d.ts +12 -0
  51. package/dist/database/drizzle/queries/index.d.ts.map +1 -0
  52. package/dist/database/drizzle/queries/index.js +28 -0
  53. package/dist/database/drizzle/queries/index.js.map +1 -0
  54. package/dist/database/drizzle/queries/orders.d.ts +74 -0
  55. package/dist/database/drizzle/queries/orders.d.ts.map +1 -0
  56. package/dist/database/drizzle/queries/orders.js +39 -0
  57. package/dist/database/drizzle/queries/orders.js.map +1 -0
  58. package/dist/database/drizzle/queries/promotions.d.ts +61 -0
  59. package/dist/database/drizzle/queries/promotions.d.ts.map +1 -0
  60. package/dist/database/drizzle/queries/promotions.js +39 -0
  61. package/dist/database/drizzle/queries/promotions.js.map +1 -0
  62. package/dist/database/drizzle/queries/returns.d.ts +62 -0
  63. package/dist/database/drizzle/queries/returns.d.ts.map +1 -0
  64. package/dist/database/drizzle/queries/returns.js +58 -0
  65. package/dist/database/drizzle/queries/returns.js.map +1 -0
  66. package/dist/database/drizzle/queries/reviews.d.ts +25 -0
  67. package/dist/database/drizzle/queries/reviews.d.ts.map +1 -0
  68. package/dist/database/drizzle/queries/reviews.js +57 -0
  69. package/dist/database/drizzle/queries/reviews.js.map +1 -0
  70. package/dist/database/drizzle/queries/store.d.ts +22 -0
  71. package/dist/database/drizzle/queries/store.d.ts.map +1 -0
  72. package/dist/database/drizzle/queries/store.js +14 -0
  73. package/dist/database/drizzle/queries/store.js.map +1 -0
  74. package/dist/database/drizzle/queries/wishlists.d.ts +31 -0
  75. package/dist/database/drizzle/queries/wishlists.d.ts.map +1 -0
  76. package/dist/database/drizzle/queries/wishlists.js +44 -0
  77. package/dist/database/drizzle/queries/wishlists.js.map +1 -0
  78. package/dist/database/drizzle/schema/brands.d.ts +196 -0
  79. package/dist/database/drizzle/schema/brands.d.ts.map +1 -0
  80. package/dist/database/drizzle/schema/brands.js +17 -0
  81. package/dist/database/drizzle/schema/brands.js.map +1 -0
  82. package/dist/database/drizzle/schema/carts.d.ts +294 -0
  83. package/dist/database/drizzle/schema/carts.d.ts.map +1 -0
  84. package/dist/database/drizzle/schema/carts.js +28 -0
  85. package/dist/database/drizzle/schema/carts.js.map +1 -0
  86. package/dist/database/drizzle/schema/categories.d.ts +215 -0
  87. package/dist/database/drizzle/schema/categories.d.ts.map +1 -0
  88. package/dist/database/drizzle/schema/categories.js +18 -0
  89. package/dist/database/drizzle/schema/categories.js.map +1 -0
  90. package/dist/database/drizzle/schema/countries.d.ts +158 -0
  91. package/dist/database/drizzle/schema/countries.d.ts.map +1 -0
  92. package/dist/database/drizzle/schema/countries.js +15 -0
  93. package/dist/database/drizzle/schema/countries.js.map +1 -0
  94. package/dist/database/drizzle/schema/customers.d.ts +469 -0
  95. package/dist/database/drizzle/schema/customers.d.ts.map +1 -0
  96. package/dist/database/drizzle/schema/customers.js +33 -0
  97. package/dist/database/drizzle/schema/customers.js.map +1 -0
  98. package/dist/database/drizzle/schema/index.d.ts +13 -0
  99. package/dist/database/drizzle/schema/index.d.ts.map +1 -0
  100. package/dist/database/drizzle/schema/index.js +16 -0
  101. package/dist/database/drizzle/schema/index.js.map +1 -0
  102. package/dist/database/drizzle/schema/orders.d.ts +722 -0
  103. package/dist/database/drizzle/schema/orders.d.ts.map +1 -0
  104. package/dist/database/drizzle/schema/orders.js +63 -0
  105. package/dist/database/drizzle/schema/orders.js.map +1 -0
  106. package/dist/database/drizzle/schema/products.d.ts +1180 -0
  107. package/dist/database/drizzle/schema/products.d.ts.map +1 -0
  108. package/dist/database/drizzle/schema/products.js +99 -0
  109. package/dist/database/drizzle/schema/products.js.map +1 -0
  110. package/dist/database/drizzle/schema/promotions.d.ts +474 -0
  111. package/dist/database/drizzle/schema/promotions.d.ts.map +1 -0
  112. package/dist/database/drizzle/schema/promotions.js +34 -0
  113. package/dist/database/drizzle/schema/promotions.js.map +1 -0
  114. package/dist/database/drizzle/schema/returns.d.ts +467 -0
  115. package/dist/database/drizzle/schema/returns.d.ts.map +1 -0
  116. package/dist/database/drizzle/schema/returns.js +34 -0
  117. package/dist/database/drizzle/schema/returns.js.map +1 -0
  118. package/dist/database/drizzle/schema/reviews.d.ts +175 -0
  119. package/dist/database/drizzle/schema/reviews.d.ts.map +1 -0
  120. package/dist/database/drizzle/schema/reviews.js +17 -0
  121. package/dist/database/drizzle/schema/reviews.js.map +1 -0
  122. package/dist/database/drizzle/schema/store.d.ts +350 -0
  123. package/dist/database/drizzle/schema/store.d.ts.map +1 -0
  124. package/dist/database/drizzle/schema/store.js +25 -0
  125. package/dist/database/drizzle/schema/store.js.map +1 -0
  126. package/dist/database/drizzle/schema/wishlists.d.ts +167 -0
  127. package/dist/database/drizzle/schema/wishlists.d.ts.map +1 -0
  128. package/dist/database/drizzle/schema/wishlists.js +19 -0
  129. package/dist/database/drizzle/schema/wishlists.js.map +1 -0
  130. package/dist/database/drizzle/seed.d.ts +6 -0
  131. package/dist/database/drizzle/seed.d.ts.map +1 -0
  132. package/dist/database/drizzle/seed.js +166 -0
  133. package/dist/database/drizzle/seed.js.map +1 -0
  134. package/dist/database/index.d.ts +8 -0
  135. package/dist/database/index.d.ts.map +1 -0
  136. package/dist/database/index.js +12 -0
  137. package/dist/database/index.js.map +1 -0
  138. package/dist/database/prisma/client.d.ts +13 -0
  139. package/dist/database/prisma/client.d.ts.map +1 -0
  140. package/dist/database/prisma/client.js +25 -0
  141. package/dist/database/prisma/client.js.map +1 -0
  142. package/dist/database/prisma/generated/browser.d.ts +135 -0
  143. package/dist/database/prisma/generated/browser.d.ts.map +1 -0
  144. package/dist/database/prisma/generated/browser.js +18 -0
  145. package/dist/database/prisma/generated/browser.js.map +1 -0
  146. package/dist/database/prisma/generated/client.d.ts +152 -0
  147. package/dist/database/prisma/generated/client.d.ts.map +1 -0
  148. package/dist/database/prisma/generated/client.js +33 -0
  149. package/dist/database/prisma/generated/client.js.map +1 -0
  150. package/dist/database/prisma/generated/commonInputTypes.d.ts +344 -0
  151. package/dist/database/prisma/generated/commonInputTypes.d.ts.map +1 -0
  152. package/dist/database/prisma/generated/commonInputTypes.js +11 -0
  153. package/dist/database/prisma/generated/commonInputTypes.js.map +1 -0
  154. package/dist/database/prisma/generated/enums.d.ts +2 -0
  155. package/dist/database/prisma/generated/enums.d.ts.map +1 -0
  156. package/dist/database/prisma/generated/enums.js +11 -0
  157. package/dist/database/prisma/generated/enums.js.map +1 -0
  158. package/dist/database/prisma/generated/internal/class.d.ts +402 -0
  159. package/dist/database/prisma/generated/internal/class.d.ts.map +1 -0
  160. package/dist/database/prisma/generated/internal/class.js +42 -0
  161. package/dist/database/prisma/generated/internal/class.js.map +1 -0
  162. package/dist/database/prisma/generated/internal/prismaNamespace.d.ts +2735 -0
  163. package/dist/database/prisma/generated/internal/prismaNamespace.d.ts.map +1 -0
  164. package/dist/database/prisma/generated/internal/prismaNamespace.js +415 -0
  165. package/dist/database/prisma/generated/internal/prismaNamespace.js.map +1 -0
  166. package/dist/database/prisma/generated/internal/prismaNamespaceBrowser.d.ts +400 -0
  167. package/dist/database/prisma/generated/internal/prismaNamespaceBrowser.d.ts.map +1 -0
  168. package/dist/database/prisma/generated/internal/prismaNamespaceBrowser.js +386 -0
  169. package/dist/database/prisma/generated/internal/prismaNamespaceBrowser.js.map +1 -0
  170. package/dist/database/prisma/generated/models/Brand.d.ts +1141 -0
  171. package/dist/database/prisma/generated/models/Brand.d.ts.map +1 -0
  172. package/dist/database/prisma/generated/models/Brand.js +2 -0
  173. package/dist/database/prisma/generated/models/Brand.js.map +1 -0
  174. package/dist/database/prisma/generated/models/Cart.d.ts +1464 -0
  175. package/dist/database/prisma/generated/models/Cart.d.ts.map +1 -0
  176. package/dist/database/prisma/generated/models/Cart.js +2 -0
  177. package/dist/database/prisma/generated/models/Cart.js.map +1 -0
  178. package/dist/database/prisma/generated/models/CartItem.d.ts +1487 -0
  179. package/dist/database/prisma/generated/models/CartItem.d.ts.map +1 -0
  180. package/dist/database/prisma/generated/models/CartItem.js +2 -0
  181. package/dist/database/prisma/generated/models/CartItem.js.map +1 -0
  182. package/dist/database/prisma/generated/models/Category.d.ts +1717 -0
  183. package/dist/database/prisma/generated/models/Category.d.ts.map +1 -0
  184. package/dist/database/prisma/generated/models/Category.js +2 -0
  185. package/dist/database/prisma/generated/models/Category.js.map +1 -0
  186. package/dist/database/prisma/generated/models/Country.d.ts +1076 -0
  187. package/dist/database/prisma/generated/models/Country.d.ts.map +1 -0
  188. package/dist/database/prisma/generated/models/Country.js +2 -0
  189. package/dist/database/prisma/generated/models/Country.js.map +1 -0
  190. package/dist/database/prisma/generated/models/Coupon.d.ts +1242 -0
  191. package/dist/database/prisma/generated/models/Coupon.d.ts.map +1 -0
  192. package/dist/database/prisma/generated/models/Coupon.js +2 -0
  193. package/dist/database/prisma/generated/models/Coupon.js.map +1 -0
  194. package/dist/database/prisma/generated/models/Customer.d.ts +1536 -0
  195. package/dist/database/prisma/generated/models/Customer.d.ts.map +1 -0
  196. package/dist/database/prisma/generated/models/Customer.js +2 -0
  197. package/dist/database/prisma/generated/models/Customer.js.map +1 -0
  198. package/dist/database/prisma/generated/models/CustomerAddress.d.ts +1519 -0
  199. package/dist/database/prisma/generated/models/CustomerAddress.d.ts.map +1 -0
  200. package/dist/database/prisma/generated/models/CustomerAddress.js +2 -0
  201. package/dist/database/prisma/generated/models/CustomerAddress.js.map +1 -0
  202. package/dist/database/prisma/generated/models/Order.d.ts +2136 -0
  203. package/dist/database/prisma/generated/models/Order.d.ts.map +1 -0
  204. package/dist/database/prisma/generated/models/Order.js +2 -0
  205. package/dist/database/prisma/generated/models/Order.js.map +1 -0
  206. package/dist/database/prisma/generated/models/OrderHistory.d.ts +1204 -0
  207. package/dist/database/prisma/generated/models/OrderHistory.d.ts.map +1 -0
  208. package/dist/database/prisma/generated/models/OrderHistory.js +2 -0
  209. package/dist/database/prisma/generated/models/OrderHistory.js.map +1 -0
  210. package/dist/database/prisma/generated/models/OrderItem.d.ts +1464 -0
  211. package/dist/database/prisma/generated/models/OrderItem.d.ts.map +1 -0
  212. package/dist/database/prisma/generated/models/OrderItem.js +2 -0
  213. package/dist/database/prisma/generated/models/OrderItem.js.map +1 -0
  214. package/dist/database/prisma/generated/models/Product.d.ts +2969 -0
  215. package/dist/database/prisma/generated/models/Product.d.ts.map +1 -0
  216. package/dist/database/prisma/generated/models/Product.js +2 -0
  217. package/dist/database/prisma/generated/models/Product.js.map +1 -0
  218. package/dist/database/prisma/generated/models/ProductAttribute.d.ts +1239 -0
  219. package/dist/database/prisma/generated/models/ProductAttribute.d.ts.map +1 -0
  220. package/dist/database/prisma/generated/models/ProductAttribute.js +2 -0
  221. package/dist/database/prisma/generated/models/ProductAttribute.js.map +1 -0
  222. package/dist/database/prisma/generated/models/ProductCategory.d.ts +1154 -0
  223. package/dist/database/prisma/generated/models/ProductCategory.d.ts.map +1 -0
  224. package/dist/database/prisma/generated/models/ProductCategory.js +2 -0
  225. package/dist/database/prisma/generated/models/ProductCategory.js.map +1 -0
  226. package/dist/database/prisma/generated/models/ProductImage.d.ts +1242 -0
  227. package/dist/database/prisma/generated/models/ProductImage.d.ts.map +1 -0
  228. package/dist/database/prisma/generated/models/ProductImage.js +2 -0
  229. package/dist/database/prisma/generated/models/ProductImage.js.map +1 -0
  230. package/dist/database/prisma/generated/models/ProductOption.d.ts +1328 -0
  231. package/dist/database/prisma/generated/models/ProductOption.d.ts.map +1 -0
  232. package/dist/database/prisma/generated/models/ProductOption.js +2 -0
  233. package/dist/database/prisma/generated/models/ProductOption.js.map +1 -0
  234. package/dist/database/prisma/generated/models/ProductOptionValue.d.ts +1207 -0
  235. package/dist/database/prisma/generated/models/ProductOptionValue.d.ts.map +1 -0
  236. package/dist/database/prisma/generated/models/ProductOptionValue.js +2 -0
  237. package/dist/database/prisma/generated/models/ProductOptionValue.js.map +1 -0
  238. package/dist/database/prisma/generated/models/ProductTag.d.ts +1099 -0
  239. package/dist/database/prisma/generated/models/ProductTag.d.ts.map +1 -0
  240. package/dist/database/prisma/generated/models/ProductTag.js +2 -0
  241. package/dist/database/prisma/generated/models/ProductTag.js.map +1 -0
  242. package/dist/database/prisma/generated/models/ProductVariant.d.ts +1543 -0
  243. package/dist/database/prisma/generated/models/ProductVariant.d.ts.map +1 -0
  244. package/dist/database/prisma/generated/models/ProductVariant.js +2 -0
  245. package/dist/database/prisma/generated/models/ProductVariant.js.map +1 -0
  246. package/dist/database/prisma/generated/models/Promotion.d.ts +1658 -0
  247. package/dist/database/prisma/generated/models/Promotion.d.ts.map +1 -0
  248. package/dist/database/prisma/generated/models/Promotion.js +2 -0
  249. package/dist/database/prisma/generated/models/Promotion.js.map +1 -0
  250. package/dist/database/prisma/generated/models/Return.d.ts +1448 -0
  251. package/dist/database/prisma/generated/models/Return.d.ts.map +1 -0
  252. package/dist/database/prisma/generated/models/Return.js +2 -0
  253. package/dist/database/prisma/generated/models/Return.js.map +1 -0
  254. package/dist/database/prisma/generated/models/ReturnItem.d.ts +1417 -0
  255. package/dist/database/prisma/generated/models/ReturnItem.d.ts.map +1 -0
  256. package/dist/database/prisma/generated/models/ReturnItem.js +2 -0
  257. package/dist/database/prisma/generated/models/ReturnItem.js.map +1 -0
  258. package/dist/database/prisma/generated/models/Review.d.ts +1142 -0
  259. package/dist/database/prisma/generated/models/Review.d.ts.map +1 -0
  260. package/dist/database/prisma/generated/models/Review.js +2 -0
  261. package/dist/database/prisma/generated/models/Review.js.map +1 -0
  262. package/dist/database/prisma/generated/models/StoreInfo.d.ts +1356 -0
  263. package/dist/database/prisma/generated/models/StoreInfo.d.ts.map +1 -0
  264. package/dist/database/prisma/generated/models/StoreInfo.js +2 -0
  265. package/dist/database/prisma/generated/models/StoreInfo.js.map +1 -0
  266. package/dist/database/prisma/generated/models/Wishlist.d.ts +1090 -0
  267. package/dist/database/prisma/generated/models/Wishlist.d.ts.map +1 -0
  268. package/dist/database/prisma/generated/models/Wishlist.js +2 -0
  269. package/dist/database/prisma/generated/models/Wishlist.js.map +1 -0
  270. package/dist/database/prisma/generated/models/WishlistItem.d.ts +1169 -0
  271. package/dist/database/prisma/generated/models/WishlistItem.d.ts.map +1 -0
  272. package/dist/database/prisma/generated/models/WishlistItem.js +2 -0
  273. package/dist/database/prisma/generated/models/WishlistItem.js.map +1 -0
  274. package/dist/database/prisma/generated/models.d.ts +28 -0
  275. package/dist/database/prisma/generated/models.d.ts.map +1 -0
  276. package/dist/database/prisma/generated/models.js +2 -0
  277. package/dist/database/prisma/generated/models.js.map +1 -0
  278. package/dist/database/prisma/index.d.ts +5 -0
  279. package/dist/database/prisma/index.d.ts.map +1 -0
  280. package/dist/database/prisma/index.js +7 -0
  281. package/dist/database/prisma/index.js.map +1 -0
  282. package/dist/database/prisma/migrate.d.ts +8 -0
  283. package/dist/database/prisma/migrate.d.ts.map +1 -0
  284. package/dist/database/prisma/migrate.js +323 -0
  285. package/dist/database/prisma/migrate.js.map +1 -0
  286. package/dist/database/prisma/queries/brands.d.ts +26 -0
  287. package/dist/database/prisma/queries/brands.d.ts.map +1 -0
  288. package/dist/database/prisma/queries/brands.js +17 -0
  289. package/dist/database/prisma/queries/brands.js.map +1 -0
  290. package/dist/database/prisma/queries/cart.d.ts +61 -0
  291. package/dist/database/prisma/queries/cart.d.ts.map +1 -0
  292. package/dist/database/prisma/queries/cart.js +68 -0
  293. package/dist/database/prisma/queries/cart.js.map +1 -0
  294. package/dist/database/prisma/queries/catalog.d.ts +149 -0
  295. package/dist/database/prisma/queries/catalog.d.ts.map +1 -0
  296. package/dist/database/prisma/queries/catalog.js +94 -0
  297. package/dist/database/prisma/queries/catalog.js.map +1 -0
  298. package/dist/database/prisma/queries/countries.d.ts +22 -0
  299. package/dist/database/prisma/queries/countries.d.ts.map +1 -0
  300. package/dist/database/prisma/queries/countries.js +17 -0
  301. package/dist/database/prisma/queries/countries.js.map +1 -0
  302. package/dist/database/prisma/queries/customers.d.ts +87 -0
  303. package/dist/database/prisma/queries/customers.d.ts.map +1 -0
  304. package/dist/database/prisma/queries/customers.js +32 -0
  305. package/dist/database/prisma/queries/customers.js.map +1 -0
  306. package/dist/database/prisma/queries/index.d.ts +12 -0
  307. package/dist/database/prisma/queries/index.d.ts.map +1 -0
  308. package/dist/database/prisma/queries/index.js +28 -0
  309. package/dist/database/prisma/queries/index.js.map +1 -0
  310. package/dist/database/prisma/queries/orders.d.ts +74 -0
  311. package/dist/database/prisma/queries/orders.d.ts.map +1 -0
  312. package/dist/database/prisma/queries/orders.js +49 -0
  313. package/dist/database/prisma/queries/orders.js.map +1 -0
  314. package/dist/database/prisma/queries/promotions.d.ts +81 -0
  315. package/dist/database/prisma/queries/promotions.d.ts.map +1 -0
  316. package/dist/database/prisma/queries/promotions.js +31 -0
  317. package/dist/database/prisma/queries/promotions.js.map +1 -0
  318. package/dist/database/prisma/queries/returns.d.ts +102 -0
  319. package/dist/database/prisma/queries/returns.d.ts.map +1 -0
  320. package/dist/database/prisma/queries/returns.js +50 -0
  321. package/dist/database/prisma/queries/returns.js.map +1 -0
  322. package/dist/database/prisma/queries/reviews.d.ts +25 -0
  323. package/dist/database/prisma/queries/reviews.d.ts.map +1 -0
  324. package/dist/database/prisma/queries/reviews.js +50 -0
  325. package/dist/database/prisma/queries/reviews.js.map +1 -0
  326. package/dist/database/prisma/queries/store.d.ts +22 -0
  327. package/dist/database/prisma/queries/store.d.ts.map +1 -0
  328. package/dist/database/prisma/queries/store.js +31 -0
  329. package/dist/database/prisma/queries/store.js.map +1 -0
  330. package/dist/database/prisma/queries/wishlists.d.ts +37 -0
  331. package/dist/database/prisma/queries/wishlists.d.ts.map +1 -0
  332. package/dist/database/prisma/queries/wishlists.js +37 -0
  333. package/dist/database/prisma/queries/wishlists.js.map +1 -0
  334. package/dist/database/prisma/seed.d.ts +5 -0
  335. package/dist/database/prisma/seed.d.ts.map +1 -0
  336. package/dist/database/prisma/seed.js +127 -0
  337. package/dist/database/prisma/seed.js.map +1 -0
  338. package/dist/domains/brands.d.ts +5 -0
  339. package/dist/domains/brands.d.ts.map +1 -0
  340. package/dist/domains/brands.js +21 -0
  341. package/dist/domains/brands.js.map +1 -0
  342. package/dist/domains/cart.d.ts +11 -0
  343. package/dist/domains/cart.d.ts.map +1 -0
  344. package/dist/domains/cart.js +110 -0
  345. package/dist/domains/cart.js.map +1 -0
  346. package/dist/domains/catalog.d.ts +7 -0
  347. package/dist/domains/catalog.d.ts.map +1 -0
  348. package/dist/domains/catalog.js +157 -0
  349. package/dist/domains/catalog.js.map +1 -0
  350. package/dist/domains/checkout.d.ts +11 -0
  351. package/dist/domains/checkout.d.ts.map +1 -0
  352. package/dist/domains/checkout.js +174 -0
  353. package/dist/domains/checkout.js.map +1 -0
  354. package/dist/domains/countries.d.ts +5 -0
  355. package/dist/domains/countries.d.ts.map +1 -0
  356. package/dist/domains/countries.js +21 -0
  357. package/dist/domains/countries.js.map +1 -0
  358. package/dist/domains/customers.d.ts +17 -0
  359. package/dist/domains/customers.d.ts.map +1 -0
  360. package/dist/domains/customers.js +179 -0
  361. package/dist/domains/customers.js.map +1 -0
  362. package/dist/domains/helpers.d.ts +14 -0
  363. package/dist/domains/helpers.d.ts.map +1 -0
  364. package/dist/domains/helpers.js +46 -0
  365. package/dist/domains/helpers.js.map +1 -0
  366. package/dist/domains/not-supported.d.ts +31 -0
  367. package/dist/domains/not-supported.d.ts.map +1 -0
  368. package/dist/domains/not-supported.js +43 -0
  369. package/dist/domains/not-supported.js.map +1 -0
  370. package/dist/domains/orders.d.ts +12 -0
  371. package/dist/domains/orders.d.ts.map +1 -0
  372. package/dist/domains/orders.js +184 -0
  373. package/dist/domains/orders.js.map +1 -0
  374. package/dist/domains/promotions.d.ts +6 -0
  375. package/dist/domains/promotions.d.ts.map +1 -0
  376. package/dist/domains/promotions.js +56 -0
  377. package/dist/domains/promotions.js.map +1 -0
  378. package/dist/domains/returns.d.ts +15 -0
  379. package/dist/domains/returns.d.ts.map +1 -0
  380. package/dist/domains/returns.js +83 -0
  381. package/dist/domains/returns.js.map +1 -0
  382. package/dist/domains/reviews.d.ts +16 -0
  383. package/dist/domains/reviews.d.ts.map +1 -0
  384. package/dist/domains/reviews.js +60 -0
  385. package/dist/domains/reviews.js.map +1 -0
  386. package/dist/domains/store.d.ts +5 -0
  387. package/dist/domains/store.d.ts.map +1 -0
  388. package/dist/domains/store.js +45 -0
  389. package/dist/domains/store.js.map +1 -0
  390. package/dist/domains/wishlist.d.ts +9 -0
  391. package/dist/domains/wishlist.d.ts.map +1 -0
  392. package/dist/domains/wishlist.js +76 -0
  393. package/dist/domains/wishlist.js.map +1 -0
  394. package/dist/index.d.ts +9 -0
  395. package/dist/index.d.ts.map +1 -0
  396. package/dist/index.js +15 -0
  397. package/dist/index.js.map +1 -0
  398. package/dist/types.d.ts +8 -0
  399. package/dist/types.d.ts.map +1 -0
  400. package/dist/types.js +5 -0
  401. package/dist/types.js.map +1 -0
  402. package/package.json +49 -0
@@ -0,0 +1,1207 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model ProductOptionValue
5
+ *
6
+ */
7
+ export type ProductOptionValueModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductOptionValuePayload>;
8
+ export type AggregateProductOptionValue = {
9
+ _count: ProductOptionValueCountAggregateOutputType | null;
10
+ _avg: ProductOptionValueAvgAggregateOutputType | null;
11
+ _sum: ProductOptionValueSumAggregateOutputType | null;
12
+ _min: ProductOptionValueMinAggregateOutputType | null;
13
+ _max: ProductOptionValueMaxAggregateOutputType | null;
14
+ };
15
+ export type ProductOptionValueAvgAggregateOutputType = {
16
+ sortOrder: number | null;
17
+ };
18
+ export type ProductOptionValueSumAggregateOutputType = {
19
+ sortOrder: number | null;
20
+ };
21
+ export type ProductOptionValueMinAggregateOutputType = {
22
+ id: string | null;
23
+ optionId: string | null;
24
+ name: string | null;
25
+ nameAr: string | null;
26
+ sortOrder: number | null;
27
+ };
28
+ export type ProductOptionValueMaxAggregateOutputType = {
29
+ id: string | null;
30
+ optionId: string | null;
31
+ name: string | null;
32
+ nameAr: string | null;
33
+ sortOrder: number | null;
34
+ };
35
+ export type ProductOptionValueCountAggregateOutputType = {
36
+ id: number;
37
+ optionId: number;
38
+ name: number;
39
+ nameAr: number;
40
+ sortOrder: number;
41
+ _all: number;
42
+ };
43
+ export type ProductOptionValueAvgAggregateInputType = {
44
+ sortOrder?: true;
45
+ };
46
+ export type ProductOptionValueSumAggregateInputType = {
47
+ sortOrder?: true;
48
+ };
49
+ export type ProductOptionValueMinAggregateInputType = {
50
+ id?: true;
51
+ optionId?: true;
52
+ name?: true;
53
+ nameAr?: true;
54
+ sortOrder?: true;
55
+ };
56
+ export type ProductOptionValueMaxAggregateInputType = {
57
+ id?: true;
58
+ optionId?: true;
59
+ name?: true;
60
+ nameAr?: true;
61
+ sortOrder?: true;
62
+ };
63
+ export type ProductOptionValueCountAggregateInputType = {
64
+ id?: true;
65
+ optionId?: true;
66
+ name?: true;
67
+ nameAr?: true;
68
+ sortOrder?: true;
69
+ _all?: true;
70
+ };
71
+ export type ProductOptionValueAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
72
+ /**
73
+ * Filter which ProductOptionValue to aggregate.
74
+ */
75
+ where?: Prisma.ProductOptionValueWhereInput;
76
+ /**
77
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
78
+ *
79
+ * Determine the order of ProductOptionValues to fetch.
80
+ */
81
+ orderBy?: Prisma.ProductOptionValueOrderByWithRelationInput | Prisma.ProductOptionValueOrderByWithRelationInput[];
82
+ /**
83
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
84
+ *
85
+ * Sets the start position
86
+ */
87
+ cursor?: Prisma.ProductOptionValueWhereUniqueInput;
88
+ /**
89
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
90
+ *
91
+ * Take `±n` ProductOptionValues from the position of the cursor.
92
+ */
93
+ take?: number;
94
+ /**
95
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
96
+ *
97
+ * Skip the first `n` ProductOptionValues.
98
+ */
99
+ skip?: number;
100
+ /**
101
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
102
+ *
103
+ * Count returned ProductOptionValues
104
+ **/
105
+ _count?: true | ProductOptionValueCountAggregateInputType;
106
+ /**
107
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
108
+ *
109
+ * Select which fields to average
110
+ **/
111
+ _avg?: ProductOptionValueAvgAggregateInputType;
112
+ /**
113
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
114
+ *
115
+ * Select which fields to sum
116
+ **/
117
+ _sum?: ProductOptionValueSumAggregateInputType;
118
+ /**
119
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
120
+ *
121
+ * Select which fields to find the minimum value
122
+ **/
123
+ _min?: ProductOptionValueMinAggregateInputType;
124
+ /**
125
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
126
+ *
127
+ * Select which fields to find the maximum value
128
+ **/
129
+ _max?: ProductOptionValueMaxAggregateInputType;
130
+ };
131
+ export type GetProductOptionValueAggregateType<T extends ProductOptionValueAggregateArgs> = {
132
+ [P in keyof T & keyof AggregateProductOptionValue]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProductOptionValue[P]> : Prisma.GetScalarType<T[P], AggregateProductOptionValue[P]>;
133
+ };
134
+ export type ProductOptionValueGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
135
+ where?: Prisma.ProductOptionValueWhereInput;
136
+ orderBy?: Prisma.ProductOptionValueOrderByWithAggregationInput | Prisma.ProductOptionValueOrderByWithAggregationInput[];
137
+ by: Prisma.ProductOptionValueScalarFieldEnum[] | Prisma.ProductOptionValueScalarFieldEnum;
138
+ having?: Prisma.ProductOptionValueScalarWhereWithAggregatesInput;
139
+ take?: number;
140
+ skip?: number;
141
+ _count?: ProductOptionValueCountAggregateInputType | true;
142
+ _avg?: ProductOptionValueAvgAggregateInputType;
143
+ _sum?: ProductOptionValueSumAggregateInputType;
144
+ _min?: ProductOptionValueMinAggregateInputType;
145
+ _max?: ProductOptionValueMaxAggregateInputType;
146
+ };
147
+ export type ProductOptionValueGroupByOutputType = {
148
+ id: string;
149
+ optionId: string;
150
+ name: string;
151
+ nameAr: string | null;
152
+ sortOrder: number;
153
+ _count: ProductOptionValueCountAggregateOutputType | null;
154
+ _avg: ProductOptionValueAvgAggregateOutputType | null;
155
+ _sum: ProductOptionValueSumAggregateOutputType | null;
156
+ _min: ProductOptionValueMinAggregateOutputType | null;
157
+ _max: ProductOptionValueMaxAggregateOutputType | null;
158
+ };
159
+ type GetProductOptionValueGroupByPayload<T extends ProductOptionValueGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProductOptionValueGroupByOutputType, T['by']> & {
160
+ [P in ((keyof T) & (keyof ProductOptionValueGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProductOptionValueGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProductOptionValueGroupByOutputType[P]>;
161
+ }>>;
162
+ export type ProductOptionValueWhereInput = {
163
+ AND?: Prisma.ProductOptionValueWhereInput | Prisma.ProductOptionValueWhereInput[];
164
+ OR?: Prisma.ProductOptionValueWhereInput[];
165
+ NOT?: Prisma.ProductOptionValueWhereInput | Prisma.ProductOptionValueWhereInput[];
166
+ id?: Prisma.StringFilter<"ProductOptionValue"> | string;
167
+ optionId?: Prisma.StringFilter<"ProductOptionValue"> | string;
168
+ name?: Prisma.StringFilter<"ProductOptionValue"> | string;
169
+ nameAr?: Prisma.StringNullableFilter<"ProductOptionValue"> | string | null;
170
+ sortOrder?: Prisma.IntFilter<"ProductOptionValue"> | number;
171
+ option?: Prisma.XOR<Prisma.ProductOptionScalarRelationFilter, Prisma.ProductOptionWhereInput>;
172
+ };
173
+ export type ProductOptionValueOrderByWithRelationInput = {
174
+ id?: Prisma.SortOrder;
175
+ optionId?: Prisma.SortOrder;
176
+ name?: Prisma.SortOrder;
177
+ nameAr?: Prisma.SortOrderInput | Prisma.SortOrder;
178
+ sortOrder?: Prisma.SortOrder;
179
+ option?: Prisma.ProductOptionOrderByWithRelationInput;
180
+ };
181
+ export type ProductOptionValueWhereUniqueInput = Prisma.AtLeast<{
182
+ id?: string;
183
+ AND?: Prisma.ProductOptionValueWhereInput | Prisma.ProductOptionValueWhereInput[];
184
+ OR?: Prisma.ProductOptionValueWhereInput[];
185
+ NOT?: Prisma.ProductOptionValueWhereInput | Prisma.ProductOptionValueWhereInput[];
186
+ optionId?: Prisma.StringFilter<"ProductOptionValue"> | string;
187
+ name?: Prisma.StringFilter<"ProductOptionValue"> | string;
188
+ nameAr?: Prisma.StringNullableFilter<"ProductOptionValue"> | string | null;
189
+ sortOrder?: Prisma.IntFilter<"ProductOptionValue"> | number;
190
+ option?: Prisma.XOR<Prisma.ProductOptionScalarRelationFilter, Prisma.ProductOptionWhereInput>;
191
+ }, "id">;
192
+ export type ProductOptionValueOrderByWithAggregationInput = {
193
+ id?: Prisma.SortOrder;
194
+ optionId?: Prisma.SortOrder;
195
+ name?: Prisma.SortOrder;
196
+ nameAr?: Prisma.SortOrderInput | Prisma.SortOrder;
197
+ sortOrder?: Prisma.SortOrder;
198
+ _count?: Prisma.ProductOptionValueCountOrderByAggregateInput;
199
+ _avg?: Prisma.ProductOptionValueAvgOrderByAggregateInput;
200
+ _max?: Prisma.ProductOptionValueMaxOrderByAggregateInput;
201
+ _min?: Prisma.ProductOptionValueMinOrderByAggregateInput;
202
+ _sum?: Prisma.ProductOptionValueSumOrderByAggregateInput;
203
+ };
204
+ export type ProductOptionValueScalarWhereWithAggregatesInput = {
205
+ AND?: Prisma.ProductOptionValueScalarWhereWithAggregatesInput | Prisma.ProductOptionValueScalarWhereWithAggregatesInput[];
206
+ OR?: Prisma.ProductOptionValueScalarWhereWithAggregatesInput[];
207
+ NOT?: Prisma.ProductOptionValueScalarWhereWithAggregatesInput | Prisma.ProductOptionValueScalarWhereWithAggregatesInput[];
208
+ id?: Prisma.StringWithAggregatesFilter<"ProductOptionValue"> | string;
209
+ optionId?: Prisma.StringWithAggregatesFilter<"ProductOptionValue"> | string;
210
+ name?: Prisma.StringWithAggregatesFilter<"ProductOptionValue"> | string;
211
+ nameAr?: Prisma.StringNullableWithAggregatesFilter<"ProductOptionValue"> | string | null;
212
+ sortOrder?: Prisma.IntWithAggregatesFilter<"ProductOptionValue"> | number;
213
+ };
214
+ export type ProductOptionValueCreateInput = {
215
+ id?: string;
216
+ name: string;
217
+ nameAr?: string | null;
218
+ sortOrder?: number;
219
+ option: Prisma.ProductOptionCreateNestedOneWithoutValuesInput;
220
+ };
221
+ export type ProductOptionValueUncheckedCreateInput = {
222
+ id?: string;
223
+ optionId: string;
224
+ name: string;
225
+ nameAr?: string | null;
226
+ sortOrder?: number;
227
+ };
228
+ export type ProductOptionValueUpdateInput = {
229
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
230
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
231
+ nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
232
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
233
+ option?: Prisma.ProductOptionUpdateOneRequiredWithoutValuesNestedInput;
234
+ };
235
+ export type ProductOptionValueUncheckedUpdateInput = {
236
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
237
+ optionId?: Prisma.StringFieldUpdateOperationsInput | string;
238
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
239
+ nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
240
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
241
+ };
242
+ export type ProductOptionValueCreateManyInput = {
243
+ id?: string;
244
+ optionId: string;
245
+ name: string;
246
+ nameAr?: string | null;
247
+ sortOrder?: number;
248
+ };
249
+ export type ProductOptionValueUpdateManyMutationInput = {
250
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
251
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
252
+ nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
253
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
254
+ };
255
+ export type ProductOptionValueUncheckedUpdateManyInput = {
256
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
257
+ optionId?: Prisma.StringFieldUpdateOperationsInput | string;
258
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
259
+ nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
260
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
261
+ };
262
+ export type ProductOptionValueListRelationFilter = {
263
+ every?: Prisma.ProductOptionValueWhereInput;
264
+ some?: Prisma.ProductOptionValueWhereInput;
265
+ none?: Prisma.ProductOptionValueWhereInput;
266
+ };
267
+ export type ProductOptionValueOrderByRelationAggregateInput = {
268
+ _count?: Prisma.SortOrder;
269
+ };
270
+ export type ProductOptionValueCountOrderByAggregateInput = {
271
+ id?: Prisma.SortOrder;
272
+ optionId?: Prisma.SortOrder;
273
+ name?: Prisma.SortOrder;
274
+ nameAr?: Prisma.SortOrder;
275
+ sortOrder?: Prisma.SortOrder;
276
+ };
277
+ export type ProductOptionValueAvgOrderByAggregateInput = {
278
+ sortOrder?: Prisma.SortOrder;
279
+ };
280
+ export type ProductOptionValueMaxOrderByAggregateInput = {
281
+ id?: Prisma.SortOrder;
282
+ optionId?: Prisma.SortOrder;
283
+ name?: Prisma.SortOrder;
284
+ nameAr?: Prisma.SortOrder;
285
+ sortOrder?: Prisma.SortOrder;
286
+ };
287
+ export type ProductOptionValueMinOrderByAggregateInput = {
288
+ id?: Prisma.SortOrder;
289
+ optionId?: Prisma.SortOrder;
290
+ name?: Prisma.SortOrder;
291
+ nameAr?: Prisma.SortOrder;
292
+ sortOrder?: Prisma.SortOrder;
293
+ };
294
+ export type ProductOptionValueSumOrderByAggregateInput = {
295
+ sortOrder?: Prisma.SortOrder;
296
+ };
297
+ export type ProductOptionValueCreateNestedManyWithoutOptionInput = {
298
+ create?: Prisma.XOR<Prisma.ProductOptionValueCreateWithoutOptionInput, Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput> | Prisma.ProductOptionValueCreateWithoutOptionInput[] | Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput[];
299
+ connectOrCreate?: Prisma.ProductOptionValueCreateOrConnectWithoutOptionInput | Prisma.ProductOptionValueCreateOrConnectWithoutOptionInput[];
300
+ createMany?: Prisma.ProductOptionValueCreateManyOptionInputEnvelope;
301
+ connect?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
302
+ };
303
+ export type ProductOptionValueUncheckedCreateNestedManyWithoutOptionInput = {
304
+ create?: Prisma.XOR<Prisma.ProductOptionValueCreateWithoutOptionInput, Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput> | Prisma.ProductOptionValueCreateWithoutOptionInput[] | Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput[];
305
+ connectOrCreate?: Prisma.ProductOptionValueCreateOrConnectWithoutOptionInput | Prisma.ProductOptionValueCreateOrConnectWithoutOptionInput[];
306
+ createMany?: Prisma.ProductOptionValueCreateManyOptionInputEnvelope;
307
+ connect?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
308
+ };
309
+ export type ProductOptionValueUpdateManyWithoutOptionNestedInput = {
310
+ create?: Prisma.XOR<Prisma.ProductOptionValueCreateWithoutOptionInput, Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput> | Prisma.ProductOptionValueCreateWithoutOptionInput[] | Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput[];
311
+ connectOrCreate?: Prisma.ProductOptionValueCreateOrConnectWithoutOptionInput | Prisma.ProductOptionValueCreateOrConnectWithoutOptionInput[];
312
+ upsert?: Prisma.ProductOptionValueUpsertWithWhereUniqueWithoutOptionInput | Prisma.ProductOptionValueUpsertWithWhereUniqueWithoutOptionInput[];
313
+ createMany?: Prisma.ProductOptionValueCreateManyOptionInputEnvelope;
314
+ set?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
315
+ disconnect?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
316
+ delete?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
317
+ connect?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
318
+ update?: Prisma.ProductOptionValueUpdateWithWhereUniqueWithoutOptionInput | Prisma.ProductOptionValueUpdateWithWhereUniqueWithoutOptionInput[];
319
+ updateMany?: Prisma.ProductOptionValueUpdateManyWithWhereWithoutOptionInput | Prisma.ProductOptionValueUpdateManyWithWhereWithoutOptionInput[];
320
+ deleteMany?: Prisma.ProductOptionValueScalarWhereInput | Prisma.ProductOptionValueScalarWhereInput[];
321
+ };
322
+ export type ProductOptionValueUncheckedUpdateManyWithoutOptionNestedInput = {
323
+ create?: Prisma.XOR<Prisma.ProductOptionValueCreateWithoutOptionInput, Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput> | Prisma.ProductOptionValueCreateWithoutOptionInput[] | Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput[];
324
+ connectOrCreate?: Prisma.ProductOptionValueCreateOrConnectWithoutOptionInput | Prisma.ProductOptionValueCreateOrConnectWithoutOptionInput[];
325
+ upsert?: Prisma.ProductOptionValueUpsertWithWhereUniqueWithoutOptionInput | Prisma.ProductOptionValueUpsertWithWhereUniqueWithoutOptionInput[];
326
+ createMany?: Prisma.ProductOptionValueCreateManyOptionInputEnvelope;
327
+ set?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
328
+ disconnect?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
329
+ delete?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
330
+ connect?: Prisma.ProductOptionValueWhereUniqueInput | Prisma.ProductOptionValueWhereUniqueInput[];
331
+ update?: Prisma.ProductOptionValueUpdateWithWhereUniqueWithoutOptionInput | Prisma.ProductOptionValueUpdateWithWhereUniqueWithoutOptionInput[];
332
+ updateMany?: Prisma.ProductOptionValueUpdateManyWithWhereWithoutOptionInput | Prisma.ProductOptionValueUpdateManyWithWhereWithoutOptionInput[];
333
+ deleteMany?: Prisma.ProductOptionValueScalarWhereInput | Prisma.ProductOptionValueScalarWhereInput[];
334
+ };
335
+ export type ProductOptionValueCreateWithoutOptionInput = {
336
+ id?: string;
337
+ name: string;
338
+ nameAr?: string | null;
339
+ sortOrder?: number;
340
+ };
341
+ export type ProductOptionValueUncheckedCreateWithoutOptionInput = {
342
+ id?: string;
343
+ name: string;
344
+ nameAr?: string | null;
345
+ sortOrder?: number;
346
+ };
347
+ export type ProductOptionValueCreateOrConnectWithoutOptionInput = {
348
+ where: Prisma.ProductOptionValueWhereUniqueInput;
349
+ create: Prisma.XOR<Prisma.ProductOptionValueCreateWithoutOptionInput, Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput>;
350
+ };
351
+ export type ProductOptionValueCreateManyOptionInputEnvelope = {
352
+ data: Prisma.ProductOptionValueCreateManyOptionInput | Prisma.ProductOptionValueCreateManyOptionInput[];
353
+ };
354
+ export type ProductOptionValueUpsertWithWhereUniqueWithoutOptionInput = {
355
+ where: Prisma.ProductOptionValueWhereUniqueInput;
356
+ update: Prisma.XOR<Prisma.ProductOptionValueUpdateWithoutOptionInput, Prisma.ProductOptionValueUncheckedUpdateWithoutOptionInput>;
357
+ create: Prisma.XOR<Prisma.ProductOptionValueCreateWithoutOptionInput, Prisma.ProductOptionValueUncheckedCreateWithoutOptionInput>;
358
+ };
359
+ export type ProductOptionValueUpdateWithWhereUniqueWithoutOptionInput = {
360
+ where: Prisma.ProductOptionValueWhereUniqueInput;
361
+ data: Prisma.XOR<Prisma.ProductOptionValueUpdateWithoutOptionInput, Prisma.ProductOptionValueUncheckedUpdateWithoutOptionInput>;
362
+ };
363
+ export type ProductOptionValueUpdateManyWithWhereWithoutOptionInput = {
364
+ where: Prisma.ProductOptionValueScalarWhereInput;
365
+ data: Prisma.XOR<Prisma.ProductOptionValueUpdateManyMutationInput, Prisma.ProductOptionValueUncheckedUpdateManyWithoutOptionInput>;
366
+ };
367
+ export type ProductOptionValueScalarWhereInput = {
368
+ AND?: Prisma.ProductOptionValueScalarWhereInput | Prisma.ProductOptionValueScalarWhereInput[];
369
+ OR?: Prisma.ProductOptionValueScalarWhereInput[];
370
+ NOT?: Prisma.ProductOptionValueScalarWhereInput | Prisma.ProductOptionValueScalarWhereInput[];
371
+ id?: Prisma.StringFilter<"ProductOptionValue"> | string;
372
+ optionId?: Prisma.StringFilter<"ProductOptionValue"> | string;
373
+ name?: Prisma.StringFilter<"ProductOptionValue"> | string;
374
+ nameAr?: Prisma.StringNullableFilter<"ProductOptionValue"> | string | null;
375
+ sortOrder?: Prisma.IntFilter<"ProductOptionValue"> | number;
376
+ };
377
+ export type ProductOptionValueCreateManyOptionInput = {
378
+ id?: string;
379
+ name: string;
380
+ nameAr?: string | null;
381
+ sortOrder?: number;
382
+ };
383
+ export type ProductOptionValueUpdateWithoutOptionInput = {
384
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
385
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
386
+ nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
387
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
388
+ };
389
+ export type ProductOptionValueUncheckedUpdateWithoutOptionInput = {
390
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
391
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
392
+ nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
393
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
394
+ };
395
+ export type ProductOptionValueUncheckedUpdateManyWithoutOptionInput = {
396
+ id?: Prisma.StringFieldUpdateOperationsInput | string;
397
+ name?: Prisma.StringFieldUpdateOperationsInput | string;
398
+ nameAr?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
399
+ sortOrder?: Prisma.IntFieldUpdateOperationsInput | number;
400
+ };
401
+ export type ProductOptionValueSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
402
+ id?: boolean;
403
+ optionId?: boolean;
404
+ name?: boolean;
405
+ nameAr?: boolean;
406
+ sortOrder?: boolean;
407
+ option?: boolean | Prisma.ProductOptionDefaultArgs<ExtArgs>;
408
+ }, ExtArgs["result"]["productOptionValue"]>;
409
+ export type ProductOptionValueSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
410
+ id?: boolean;
411
+ optionId?: boolean;
412
+ name?: boolean;
413
+ nameAr?: boolean;
414
+ sortOrder?: boolean;
415
+ option?: boolean | Prisma.ProductOptionDefaultArgs<ExtArgs>;
416
+ }, ExtArgs["result"]["productOptionValue"]>;
417
+ export type ProductOptionValueSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
418
+ id?: boolean;
419
+ optionId?: boolean;
420
+ name?: boolean;
421
+ nameAr?: boolean;
422
+ sortOrder?: boolean;
423
+ option?: boolean | Prisma.ProductOptionDefaultArgs<ExtArgs>;
424
+ }, ExtArgs["result"]["productOptionValue"]>;
425
+ export type ProductOptionValueSelectScalar = {
426
+ id?: boolean;
427
+ optionId?: boolean;
428
+ name?: boolean;
429
+ nameAr?: boolean;
430
+ sortOrder?: boolean;
431
+ };
432
+ export type ProductOptionValueOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "optionId" | "name" | "nameAr" | "sortOrder", ExtArgs["result"]["productOptionValue"]>;
433
+ export type ProductOptionValueInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
434
+ option?: boolean | Prisma.ProductOptionDefaultArgs<ExtArgs>;
435
+ };
436
+ export type ProductOptionValueIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
437
+ option?: boolean | Prisma.ProductOptionDefaultArgs<ExtArgs>;
438
+ };
439
+ export type ProductOptionValueIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
440
+ option?: boolean | Prisma.ProductOptionDefaultArgs<ExtArgs>;
441
+ };
442
+ export type $ProductOptionValuePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
443
+ name: "ProductOptionValue";
444
+ objects: {
445
+ option: Prisma.$ProductOptionPayload<ExtArgs>;
446
+ };
447
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
448
+ id: string;
449
+ optionId: string;
450
+ name: string;
451
+ nameAr: string | null;
452
+ sortOrder: number;
453
+ }, ExtArgs["result"]["productOptionValue"]>;
454
+ composites: {};
455
+ };
456
+ export type ProductOptionValueGetPayload<S extends boolean | null | undefined | ProductOptionValueDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload, S>;
457
+ export type ProductOptionValueCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProductOptionValueFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
458
+ select?: ProductOptionValueCountAggregateInputType | true;
459
+ };
460
+ export interface ProductOptionValueDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
461
+ [K: symbol]: {
462
+ types: Prisma.TypeMap<ExtArgs>['model']['ProductOptionValue'];
463
+ meta: {
464
+ name: 'ProductOptionValue';
465
+ };
466
+ };
467
+ /**
468
+ * Find zero or one ProductOptionValue that matches the filter.
469
+ * @param {ProductOptionValueFindUniqueArgs} args - Arguments to find a ProductOptionValue
470
+ * @example
471
+ * // Get one ProductOptionValue
472
+ * const productOptionValue = await prisma.productOptionValue.findUnique({
473
+ * where: {
474
+ * // ... provide filter here
475
+ * }
476
+ * })
477
+ */
478
+ findUnique<T extends ProductOptionValueFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductOptionValueFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductOptionValueClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
479
+ /**
480
+ * Find one ProductOptionValue that matches the filter or throw an error with `error.code='P2025'`
481
+ * if no matches were found.
482
+ * @param {ProductOptionValueFindUniqueOrThrowArgs} args - Arguments to find a ProductOptionValue
483
+ * @example
484
+ * // Get one ProductOptionValue
485
+ * const productOptionValue = await prisma.productOptionValue.findUniqueOrThrow({
486
+ * where: {
487
+ * // ... provide filter here
488
+ * }
489
+ * })
490
+ */
491
+ findUniqueOrThrow<T extends ProductOptionValueFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductOptionValueFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductOptionValueClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
492
+ /**
493
+ * Find the first ProductOptionValue that matches the filter.
494
+ * Note, that providing `undefined` is treated as the value not being there.
495
+ * Read more here: https://pris.ly/d/null-undefined
496
+ * @param {ProductOptionValueFindFirstArgs} args - Arguments to find a ProductOptionValue
497
+ * @example
498
+ * // Get one ProductOptionValue
499
+ * const productOptionValue = await prisma.productOptionValue.findFirst({
500
+ * where: {
501
+ * // ... provide filter here
502
+ * }
503
+ * })
504
+ */
505
+ findFirst<T extends ProductOptionValueFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductOptionValueFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductOptionValueClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
506
+ /**
507
+ * Find the first ProductOptionValue that matches the filter or
508
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
509
+ * Note, that providing `undefined` is treated as the value not being there.
510
+ * Read more here: https://pris.ly/d/null-undefined
511
+ * @param {ProductOptionValueFindFirstOrThrowArgs} args - Arguments to find a ProductOptionValue
512
+ * @example
513
+ * // Get one ProductOptionValue
514
+ * const productOptionValue = await prisma.productOptionValue.findFirstOrThrow({
515
+ * where: {
516
+ * // ... provide filter here
517
+ * }
518
+ * })
519
+ */
520
+ findFirstOrThrow<T extends ProductOptionValueFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductOptionValueFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductOptionValueClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
521
+ /**
522
+ * Find zero or more ProductOptionValues that matches the filter.
523
+ * Note, that providing `undefined` is treated as the value not being there.
524
+ * Read more here: https://pris.ly/d/null-undefined
525
+ * @param {ProductOptionValueFindManyArgs} args - Arguments to filter and select certain fields only.
526
+ * @example
527
+ * // Get all ProductOptionValues
528
+ * const productOptionValues = await prisma.productOptionValue.findMany()
529
+ *
530
+ * // Get first 10 ProductOptionValues
531
+ * const productOptionValues = await prisma.productOptionValue.findMany({ take: 10 })
532
+ *
533
+ * // Only select the `id`
534
+ * const productOptionValueWithIdOnly = await prisma.productOptionValue.findMany({ select: { id: true } })
535
+ *
536
+ */
537
+ findMany<T extends ProductOptionValueFindManyArgs>(args?: Prisma.SelectSubset<T, ProductOptionValueFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
538
+ /**
539
+ * Create a ProductOptionValue.
540
+ * @param {ProductOptionValueCreateArgs} args - Arguments to create a ProductOptionValue.
541
+ * @example
542
+ * // Create one ProductOptionValue
543
+ * const ProductOptionValue = await prisma.productOptionValue.create({
544
+ * data: {
545
+ * // ... data to create a ProductOptionValue
546
+ * }
547
+ * })
548
+ *
549
+ */
550
+ create<T extends ProductOptionValueCreateArgs>(args: Prisma.SelectSubset<T, ProductOptionValueCreateArgs<ExtArgs>>): Prisma.Prisma__ProductOptionValueClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
551
+ /**
552
+ * Create many ProductOptionValues.
553
+ * @param {ProductOptionValueCreateManyArgs} args - Arguments to create many ProductOptionValues.
554
+ * @example
555
+ * // Create many ProductOptionValues
556
+ * const productOptionValue = await prisma.productOptionValue.createMany({
557
+ * data: [
558
+ * // ... provide data here
559
+ * ]
560
+ * })
561
+ *
562
+ */
563
+ createMany<T extends ProductOptionValueCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductOptionValueCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
564
+ /**
565
+ * Create many ProductOptionValues and returns the data saved in the database.
566
+ * @param {ProductOptionValueCreateManyAndReturnArgs} args - Arguments to create many ProductOptionValues.
567
+ * @example
568
+ * // Create many ProductOptionValues
569
+ * const productOptionValue = await prisma.productOptionValue.createManyAndReturn({
570
+ * data: [
571
+ * // ... provide data here
572
+ * ]
573
+ * })
574
+ *
575
+ * // Create many ProductOptionValues and only return the `id`
576
+ * const productOptionValueWithIdOnly = await prisma.productOptionValue.createManyAndReturn({
577
+ * select: { id: true },
578
+ * data: [
579
+ * // ... provide data here
580
+ * ]
581
+ * })
582
+ * Note, that providing `undefined` is treated as the value not being there.
583
+ * Read more here: https://pris.ly/d/null-undefined
584
+ *
585
+ */
586
+ createManyAndReturn<T extends ProductOptionValueCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductOptionValueCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
587
+ /**
588
+ * Delete a ProductOptionValue.
589
+ * @param {ProductOptionValueDeleteArgs} args - Arguments to delete one ProductOptionValue.
590
+ * @example
591
+ * // Delete one ProductOptionValue
592
+ * const ProductOptionValue = await prisma.productOptionValue.delete({
593
+ * where: {
594
+ * // ... filter to delete one ProductOptionValue
595
+ * }
596
+ * })
597
+ *
598
+ */
599
+ delete<T extends ProductOptionValueDeleteArgs>(args: Prisma.SelectSubset<T, ProductOptionValueDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductOptionValueClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
600
+ /**
601
+ * Update one ProductOptionValue.
602
+ * @param {ProductOptionValueUpdateArgs} args - Arguments to update one ProductOptionValue.
603
+ * @example
604
+ * // Update one ProductOptionValue
605
+ * const productOptionValue = await prisma.productOptionValue.update({
606
+ * where: {
607
+ * // ... provide filter here
608
+ * },
609
+ * data: {
610
+ * // ... provide data here
611
+ * }
612
+ * })
613
+ *
614
+ */
615
+ update<T extends ProductOptionValueUpdateArgs>(args: Prisma.SelectSubset<T, ProductOptionValueUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductOptionValueClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
616
+ /**
617
+ * Delete zero or more ProductOptionValues.
618
+ * @param {ProductOptionValueDeleteManyArgs} args - Arguments to filter ProductOptionValues to delete.
619
+ * @example
620
+ * // Delete a few ProductOptionValues
621
+ * const { count } = await prisma.productOptionValue.deleteMany({
622
+ * where: {
623
+ * // ... provide filter here
624
+ * }
625
+ * })
626
+ *
627
+ */
628
+ deleteMany<T extends ProductOptionValueDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductOptionValueDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
629
+ /**
630
+ * Update zero or more ProductOptionValues.
631
+ * Note, that providing `undefined` is treated as the value not being there.
632
+ * Read more here: https://pris.ly/d/null-undefined
633
+ * @param {ProductOptionValueUpdateManyArgs} args - Arguments to update one or more rows.
634
+ * @example
635
+ * // Update many ProductOptionValues
636
+ * const productOptionValue = await prisma.productOptionValue.updateMany({
637
+ * where: {
638
+ * // ... provide filter here
639
+ * },
640
+ * data: {
641
+ * // ... provide data here
642
+ * }
643
+ * })
644
+ *
645
+ */
646
+ updateMany<T extends ProductOptionValueUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductOptionValueUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
647
+ /**
648
+ * Update zero or more ProductOptionValues and returns the data updated in the database.
649
+ * @param {ProductOptionValueUpdateManyAndReturnArgs} args - Arguments to update many ProductOptionValues.
650
+ * @example
651
+ * // Update many ProductOptionValues
652
+ * const productOptionValue = await prisma.productOptionValue.updateManyAndReturn({
653
+ * where: {
654
+ * // ... provide filter here
655
+ * },
656
+ * data: [
657
+ * // ... provide data here
658
+ * ]
659
+ * })
660
+ *
661
+ * // Update zero or more ProductOptionValues and only return the `id`
662
+ * const productOptionValueWithIdOnly = await prisma.productOptionValue.updateManyAndReturn({
663
+ * select: { id: true },
664
+ * where: {
665
+ * // ... provide filter here
666
+ * },
667
+ * data: [
668
+ * // ... provide data here
669
+ * ]
670
+ * })
671
+ * Note, that providing `undefined` is treated as the value not being there.
672
+ * Read more here: https://pris.ly/d/null-undefined
673
+ *
674
+ */
675
+ updateManyAndReturn<T extends ProductOptionValueUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductOptionValueUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
676
+ /**
677
+ * Create or update one ProductOptionValue.
678
+ * @param {ProductOptionValueUpsertArgs} args - Arguments to update or create a ProductOptionValue.
679
+ * @example
680
+ * // Update or create a ProductOptionValue
681
+ * const productOptionValue = await prisma.productOptionValue.upsert({
682
+ * create: {
683
+ * // ... data to create a ProductOptionValue
684
+ * },
685
+ * update: {
686
+ * // ... in case it already exists, update
687
+ * },
688
+ * where: {
689
+ * // ... the filter for the ProductOptionValue we want to update
690
+ * }
691
+ * })
692
+ */
693
+ upsert<T extends ProductOptionValueUpsertArgs>(args: Prisma.SelectSubset<T, ProductOptionValueUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductOptionValueClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionValuePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
694
+ /**
695
+ * Count the number of ProductOptionValues.
696
+ * Note, that providing `undefined` is treated as the value not being there.
697
+ * Read more here: https://pris.ly/d/null-undefined
698
+ * @param {ProductOptionValueCountArgs} args - Arguments to filter ProductOptionValues to count.
699
+ * @example
700
+ * // Count the number of ProductOptionValues
701
+ * const count = await prisma.productOptionValue.count({
702
+ * where: {
703
+ * // ... the filter for the ProductOptionValues we want to count
704
+ * }
705
+ * })
706
+ **/
707
+ count<T extends ProductOptionValueCountArgs>(args?: Prisma.Subset<T, ProductOptionValueCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductOptionValueCountAggregateOutputType> : number>;
708
+ /**
709
+ * Allows you to perform aggregations operations on a ProductOptionValue.
710
+ * Note, that providing `undefined` is treated as the value not being there.
711
+ * Read more here: https://pris.ly/d/null-undefined
712
+ * @param {ProductOptionValueAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
713
+ * @example
714
+ * // Ordered by age ascending
715
+ * // Where email contains prisma.io
716
+ * // Limited to the 10 users
717
+ * const aggregations = await prisma.user.aggregate({
718
+ * _avg: {
719
+ * age: true,
720
+ * },
721
+ * where: {
722
+ * email: {
723
+ * contains: "prisma.io",
724
+ * },
725
+ * },
726
+ * orderBy: {
727
+ * age: "asc",
728
+ * },
729
+ * take: 10,
730
+ * })
731
+ **/
732
+ aggregate<T extends ProductOptionValueAggregateArgs>(args: Prisma.Subset<T, ProductOptionValueAggregateArgs>): Prisma.PrismaPromise<GetProductOptionValueAggregateType<T>>;
733
+ /**
734
+ * Group by ProductOptionValue.
735
+ * Note, that providing `undefined` is treated as the value not being there.
736
+ * Read more here: https://pris.ly/d/null-undefined
737
+ * @param {ProductOptionValueGroupByArgs} args - Group by arguments.
738
+ * @example
739
+ * // Group by city, order by createdAt, get count
740
+ * const result = await prisma.user.groupBy({
741
+ * by: ['city', 'createdAt'],
742
+ * orderBy: {
743
+ * createdAt: true
744
+ * },
745
+ * _count: {
746
+ * _all: true
747
+ * },
748
+ * })
749
+ *
750
+ **/
751
+ groupBy<T extends ProductOptionValueGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
752
+ orderBy: ProductOptionValueGroupByArgs['orderBy'];
753
+ } : {
754
+ orderBy?: ProductOptionValueGroupByArgs['orderBy'];
755
+ }, 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 ? {
756
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
757
+ Error,
758
+ 'Field ',
759
+ P,
760
+ ` in "having" needs to be provided in "by"`
761
+ ];
762
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
763
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
764
+ }[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 ? {} : {
765
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
766
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
767
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
768
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductOptionValueGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductOptionValueGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
769
+ /**
770
+ * Fields of the ProductOptionValue model
771
+ */
772
+ readonly fields: ProductOptionValueFieldRefs;
773
+ }
774
+ /**
775
+ * The delegate class that acts as a "Promise-like" for ProductOptionValue.
776
+ * Why is this prefixed with `Prisma__`?
777
+ * Because we want to prevent naming conflicts as mentioned in
778
+ * https://github.com/prisma/prisma-client-js/issues/707
779
+ */
780
+ export interface Prisma__ProductOptionValueClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
781
+ readonly [Symbol.toStringTag]: "PrismaPromise";
782
+ option<T extends Prisma.ProductOptionDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductOptionDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductOptionClient<runtime.Types.Result.GetResult<Prisma.$ProductOptionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
783
+ /**
784
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
785
+ * @param onfulfilled The callback to execute when the Promise is resolved.
786
+ * @param onrejected The callback to execute when the Promise is rejected.
787
+ * @returns A Promise for the completion of which ever callback is executed.
788
+ */
789
+ 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>;
790
+ /**
791
+ * Attaches a callback for only the rejection of the Promise.
792
+ * @param onrejected The callback to execute when the Promise is rejected.
793
+ * @returns A Promise for the completion of the callback.
794
+ */
795
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
796
+ /**
797
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
798
+ * resolved value cannot be modified from the callback.
799
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
800
+ * @returns A Promise for the completion of the callback.
801
+ */
802
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
803
+ }
804
+ /**
805
+ * Fields of the ProductOptionValue model
806
+ */
807
+ export interface ProductOptionValueFieldRefs {
808
+ readonly id: Prisma.FieldRef<"ProductOptionValue", 'String'>;
809
+ readonly optionId: Prisma.FieldRef<"ProductOptionValue", 'String'>;
810
+ readonly name: Prisma.FieldRef<"ProductOptionValue", 'String'>;
811
+ readonly nameAr: Prisma.FieldRef<"ProductOptionValue", 'String'>;
812
+ readonly sortOrder: Prisma.FieldRef<"ProductOptionValue", 'Int'>;
813
+ }
814
+ /**
815
+ * ProductOptionValue findUnique
816
+ */
817
+ export type ProductOptionValueFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
818
+ /**
819
+ * Select specific fields to fetch from the ProductOptionValue
820
+ */
821
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
822
+ /**
823
+ * Omit specific fields from the ProductOptionValue
824
+ */
825
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
826
+ /**
827
+ * Choose, which related nodes to fetch as well
828
+ */
829
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
830
+ /**
831
+ * Filter, which ProductOptionValue to fetch.
832
+ */
833
+ where: Prisma.ProductOptionValueWhereUniqueInput;
834
+ };
835
+ /**
836
+ * ProductOptionValue findUniqueOrThrow
837
+ */
838
+ export type ProductOptionValueFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
839
+ /**
840
+ * Select specific fields to fetch from the ProductOptionValue
841
+ */
842
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
843
+ /**
844
+ * Omit specific fields from the ProductOptionValue
845
+ */
846
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
847
+ /**
848
+ * Choose, which related nodes to fetch as well
849
+ */
850
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
851
+ /**
852
+ * Filter, which ProductOptionValue to fetch.
853
+ */
854
+ where: Prisma.ProductOptionValueWhereUniqueInput;
855
+ };
856
+ /**
857
+ * ProductOptionValue findFirst
858
+ */
859
+ export type ProductOptionValueFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
860
+ /**
861
+ * Select specific fields to fetch from the ProductOptionValue
862
+ */
863
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
864
+ /**
865
+ * Omit specific fields from the ProductOptionValue
866
+ */
867
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
868
+ /**
869
+ * Choose, which related nodes to fetch as well
870
+ */
871
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
872
+ /**
873
+ * Filter, which ProductOptionValue to fetch.
874
+ */
875
+ where?: Prisma.ProductOptionValueWhereInput;
876
+ /**
877
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
878
+ *
879
+ * Determine the order of ProductOptionValues to fetch.
880
+ */
881
+ orderBy?: Prisma.ProductOptionValueOrderByWithRelationInput | Prisma.ProductOptionValueOrderByWithRelationInput[];
882
+ /**
883
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
884
+ *
885
+ * Sets the position for searching for ProductOptionValues.
886
+ */
887
+ cursor?: Prisma.ProductOptionValueWhereUniqueInput;
888
+ /**
889
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
890
+ *
891
+ * Take `±n` ProductOptionValues from the position of the cursor.
892
+ */
893
+ take?: number;
894
+ /**
895
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
896
+ *
897
+ * Skip the first `n` ProductOptionValues.
898
+ */
899
+ skip?: number;
900
+ /**
901
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
902
+ *
903
+ * Filter by unique combinations of ProductOptionValues.
904
+ */
905
+ distinct?: Prisma.ProductOptionValueScalarFieldEnum | Prisma.ProductOptionValueScalarFieldEnum[];
906
+ };
907
+ /**
908
+ * ProductOptionValue findFirstOrThrow
909
+ */
910
+ export type ProductOptionValueFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
911
+ /**
912
+ * Select specific fields to fetch from the ProductOptionValue
913
+ */
914
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
915
+ /**
916
+ * Omit specific fields from the ProductOptionValue
917
+ */
918
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
919
+ /**
920
+ * Choose, which related nodes to fetch as well
921
+ */
922
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
923
+ /**
924
+ * Filter, which ProductOptionValue to fetch.
925
+ */
926
+ where?: Prisma.ProductOptionValueWhereInput;
927
+ /**
928
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
929
+ *
930
+ * Determine the order of ProductOptionValues to fetch.
931
+ */
932
+ orderBy?: Prisma.ProductOptionValueOrderByWithRelationInput | Prisma.ProductOptionValueOrderByWithRelationInput[];
933
+ /**
934
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
935
+ *
936
+ * Sets the position for searching for ProductOptionValues.
937
+ */
938
+ cursor?: Prisma.ProductOptionValueWhereUniqueInput;
939
+ /**
940
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
941
+ *
942
+ * Take `±n` ProductOptionValues from the position of the cursor.
943
+ */
944
+ take?: number;
945
+ /**
946
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
947
+ *
948
+ * Skip the first `n` ProductOptionValues.
949
+ */
950
+ skip?: number;
951
+ /**
952
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
953
+ *
954
+ * Filter by unique combinations of ProductOptionValues.
955
+ */
956
+ distinct?: Prisma.ProductOptionValueScalarFieldEnum | Prisma.ProductOptionValueScalarFieldEnum[];
957
+ };
958
+ /**
959
+ * ProductOptionValue findMany
960
+ */
961
+ export type ProductOptionValueFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
962
+ /**
963
+ * Select specific fields to fetch from the ProductOptionValue
964
+ */
965
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
966
+ /**
967
+ * Omit specific fields from the ProductOptionValue
968
+ */
969
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
970
+ /**
971
+ * Choose, which related nodes to fetch as well
972
+ */
973
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
974
+ /**
975
+ * Filter, which ProductOptionValues to fetch.
976
+ */
977
+ where?: Prisma.ProductOptionValueWhereInput;
978
+ /**
979
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
980
+ *
981
+ * Determine the order of ProductOptionValues to fetch.
982
+ */
983
+ orderBy?: Prisma.ProductOptionValueOrderByWithRelationInput | Prisma.ProductOptionValueOrderByWithRelationInput[];
984
+ /**
985
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
986
+ *
987
+ * Sets the position for listing ProductOptionValues.
988
+ */
989
+ cursor?: Prisma.ProductOptionValueWhereUniqueInput;
990
+ /**
991
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
992
+ *
993
+ * Take `±n` ProductOptionValues from the position of the cursor.
994
+ */
995
+ take?: number;
996
+ /**
997
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
998
+ *
999
+ * Skip the first `n` ProductOptionValues.
1000
+ */
1001
+ skip?: number;
1002
+ distinct?: Prisma.ProductOptionValueScalarFieldEnum | Prisma.ProductOptionValueScalarFieldEnum[];
1003
+ };
1004
+ /**
1005
+ * ProductOptionValue create
1006
+ */
1007
+ export type ProductOptionValueCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1008
+ /**
1009
+ * Select specific fields to fetch from the ProductOptionValue
1010
+ */
1011
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
1012
+ /**
1013
+ * Omit specific fields from the ProductOptionValue
1014
+ */
1015
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
1016
+ /**
1017
+ * Choose, which related nodes to fetch as well
1018
+ */
1019
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
1020
+ /**
1021
+ * The data needed to create a ProductOptionValue.
1022
+ */
1023
+ data: Prisma.XOR<Prisma.ProductOptionValueCreateInput, Prisma.ProductOptionValueUncheckedCreateInput>;
1024
+ };
1025
+ /**
1026
+ * ProductOptionValue createMany
1027
+ */
1028
+ export type ProductOptionValueCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1029
+ /**
1030
+ * The data used to create many ProductOptionValues.
1031
+ */
1032
+ data: Prisma.ProductOptionValueCreateManyInput | Prisma.ProductOptionValueCreateManyInput[];
1033
+ };
1034
+ /**
1035
+ * ProductOptionValue createManyAndReturn
1036
+ */
1037
+ export type ProductOptionValueCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1038
+ /**
1039
+ * Select specific fields to fetch from the ProductOptionValue
1040
+ */
1041
+ select?: Prisma.ProductOptionValueSelectCreateManyAndReturn<ExtArgs> | null;
1042
+ /**
1043
+ * Omit specific fields from the ProductOptionValue
1044
+ */
1045
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
1046
+ /**
1047
+ * The data used to create many ProductOptionValues.
1048
+ */
1049
+ data: Prisma.ProductOptionValueCreateManyInput | Prisma.ProductOptionValueCreateManyInput[];
1050
+ /**
1051
+ * Choose, which related nodes to fetch as well
1052
+ */
1053
+ include?: Prisma.ProductOptionValueIncludeCreateManyAndReturn<ExtArgs> | null;
1054
+ };
1055
+ /**
1056
+ * ProductOptionValue update
1057
+ */
1058
+ export type ProductOptionValueUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1059
+ /**
1060
+ * Select specific fields to fetch from the ProductOptionValue
1061
+ */
1062
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
1063
+ /**
1064
+ * Omit specific fields from the ProductOptionValue
1065
+ */
1066
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
1067
+ /**
1068
+ * Choose, which related nodes to fetch as well
1069
+ */
1070
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
1071
+ /**
1072
+ * The data needed to update a ProductOptionValue.
1073
+ */
1074
+ data: Prisma.XOR<Prisma.ProductOptionValueUpdateInput, Prisma.ProductOptionValueUncheckedUpdateInput>;
1075
+ /**
1076
+ * Choose, which ProductOptionValue to update.
1077
+ */
1078
+ where: Prisma.ProductOptionValueWhereUniqueInput;
1079
+ };
1080
+ /**
1081
+ * ProductOptionValue updateMany
1082
+ */
1083
+ export type ProductOptionValueUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1084
+ /**
1085
+ * The data used to update ProductOptionValues.
1086
+ */
1087
+ data: Prisma.XOR<Prisma.ProductOptionValueUpdateManyMutationInput, Prisma.ProductOptionValueUncheckedUpdateManyInput>;
1088
+ /**
1089
+ * Filter which ProductOptionValues to update
1090
+ */
1091
+ where?: Prisma.ProductOptionValueWhereInput;
1092
+ /**
1093
+ * Limit how many ProductOptionValues to update.
1094
+ */
1095
+ limit?: number;
1096
+ };
1097
+ /**
1098
+ * ProductOptionValue updateManyAndReturn
1099
+ */
1100
+ export type ProductOptionValueUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1101
+ /**
1102
+ * Select specific fields to fetch from the ProductOptionValue
1103
+ */
1104
+ select?: Prisma.ProductOptionValueSelectUpdateManyAndReturn<ExtArgs> | null;
1105
+ /**
1106
+ * Omit specific fields from the ProductOptionValue
1107
+ */
1108
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
1109
+ /**
1110
+ * The data used to update ProductOptionValues.
1111
+ */
1112
+ data: Prisma.XOR<Prisma.ProductOptionValueUpdateManyMutationInput, Prisma.ProductOptionValueUncheckedUpdateManyInput>;
1113
+ /**
1114
+ * Filter which ProductOptionValues to update
1115
+ */
1116
+ where?: Prisma.ProductOptionValueWhereInput;
1117
+ /**
1118
+ * Limit how many ProductOptionValues to update.
1119
+ */
1120
+ limit?: number;
1121
+ /**
1122
+ * Choose, which related nodes to fetch as well
1123
+ */
1124
+ include?: Prisma.ProductOptionValueIncludeUpdateManyAndReturn<ExtArgs> | null;
1125
+ };
1126
+ /**
1127
+ * ProductOptionValue upsert
1128
+ */
1129
+ export type ProductOptionValueUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1130
+ /**
1131
+ * Select specific fields to fetch from the ProductOptionValue
1132
+ */
1133
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
1134
+ /**
1135
+ * Omit specific fields from the ProductOptionValue
1136
+ */
1137
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
1138
+ /**
1139
+ * Choose, which related nodes to fetch as well
1140
+ */
1141
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
1142
+ /**
1143
+ * The filter to search for the ProductOptionValue to update in case it exists.
1144
+ */
1145
+ where: Prisma.ProductOptionValueWhereUniqueInput;
1146
+ /**
1147
+ * In case the ProductOptionValue found by the `where` argument doesn't exist, create a new ProductOptionValue with this data.
1148
+ */
1149
+ create: Prisma.XOR<Prisma.ProductOptionValueCreateInput, Prisma.ProductOptionValueUncheckedCreateInput>;
1150
+ /**
1151
+ * In case the ProductOptionValue was found with the provided `where` argument, update it with this data.
1152
+ */
1153
+ update: Prisma.XOR<Prisma.ProductOptionValueUpdateInput, Prisma.ProductOptionValueUncheckedUpdateInput>;
1154
+ };
1155
+ /**
1156
+ * ProductOptionValue delete
1157
+ */
1158
+ export type ProductOptionValueDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1159
+ /**
1160
+ * Select specific fields to fetch from the ProductOptionValue
1161
+ */
1162
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
1163
+ /**
1164
+ * Omit specific fields from the ProductOptionValue
1165
+ */
1166
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
1167
+ /**
1168
+ * Choose, which related nodes to fetch as well
1169
+ */
1170
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
1171
+ /**
1172
+ * Filter which ProductOptionValue to delete.
1173
+ */
1174
+ where: Prisma.ProductOptionValueWhereUniqueInput;
1175
+ };
1176
+ /**
1177
+ * ProductOptionValue deleteMany
1178
+ */
1179
+ export type ProductOptionValueDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1180
+ /**
1181
+ * Filter which ProductOptionValues to delete
1182
+ */
1183
+ where?: Prisma.ProductOptionValueWhereInput;
1184
+ /**
1185
+ * Limit how many ProductOptionValues to delete.
1186
+ */
1187
+ limit?: number;
1188
+ };
1189
+ /**
1190
+ * ProductOptionValue without action
1191
+ */
1192
+ export type ProductOptionValueDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1193
+ /**
1194
+ * Select specific fields to fetch from the ProductOptionValue
1195
+ */
1196
+ select?: Prisma.ProductOptionValueSelect<ExtArgs> | null;
1197
+ /**
1198
+ * Omit specific fields from the ProductOptionValue
1199
+ */
1200
+ omit?: Prisma.ProductOptionValueOmit<ExtArgs> | null;
1201
+ /**
1202
+ * Choose, which related nodes to fetch as well
1203
+ */
1204
+ include?: Prisma.ProductOptionValueInclude<ExtArgs> | null;
1205
+ };
1206
+ export {};
1207
+ //# sourceMappingURL=ProductOptionValue.d.ts.map