@pos-360/prisma 1.0.0-beta.0 → 1.0.0-beta.1

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 (412) hide show
  1. package/lib/generated/prisma/browser.d.ts +514 -0
  2. package/lib/generated/prisma/browser.js +57 -0
  3. package/lib/generated/prisma/browser.js.map +1 -0
  4. package/lib/generated/prisma/client.d.ts +531 -0
  5. package/lib/generated/prisma/client.js +69 -0
  6. package/lib/generated/prisma/client.js.map +1 -0
  7. package/lib/generated/prisma/commonInputTypes.d.ts +1529 -0
  8. package/lib/generated/prisma/commonInputTypes.js +12 -0
  9. package/lib/generated/prisma/commonInputTypes.js.map +1 -0
  10. package/lib/generated/prisma/dmmf.d.ts +4085 -0
  11. package/lib/generated/prisma/dmmf.js +27551 -0
  12. package/lib/generated/prisma/dmmf.js.map +1 -0
  13. package/lib/generated/prisma/enums.d.ts +216 -0
  14. package/lib/generated/prisma/enums.js +205 -0
  15. package/lib/generated/prisma/enums.js.map +1 -0
  16. package/lib/generated/prisma/internal/class.d.ts +1237 -0
  17. package/lib/generated/prisma/internal/class.js +79 -0
  18. package/lib/generated/prisma/internal/class.js.map +1 -0
  19. package/lib/generated/prisma/internal/prismaNamespace.d.ts +10091 -0
  20. package/lib/generated/prisma/internal/prismaNamespace.js +1721 -0
  21. package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -0
  22. package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +1816 -0
  23. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +1692 -0
  24. package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
  25. package/lib/generated/prisma/kysely-types.d.ts +1499 -0
  26. package/lib/generated/prisma/kysely-types.js +196 -0
  27. package/lib/generated/prisma/kysely-types.js.map +1 -0
  28. package/lib/generated/prisma/models/Address.d.ts +1339 -0
  29. package/lib/generated/prisma/models/Address.js +12 -0
  30. package/lib/generated/prisma/models/Address.js.map +1 -0
  31. package/lib/generated/prisma/models/Administrator.d.ts +1633 -0
  32. package/lib/generated/prisma/models/Administrator.js +12 -0
  33. package/lib/generated/prisma/models/Administrator.js.map +1 -0
  34. package/lib/generated/prisma/models/AdministratorToPlatform.d.ts +1208 -0
  35. package/lib/generated/prisma/models/AdministratorToPlatform.js +12 -0
  36. package/lib/generated/prisma/models/AdministratorToPlatform.js.map +1 -0
  37. package/lib/generated/prisma/models/AdministratorToStore.d.ts +1201 -0
  38. package/lib/generated/prisma/models/AdministratorToStore.js +12 -0
  39. package/lib/generated/prisma/models/AdministratorToStore.js.map +1 -0
  40. package/lib/generated/prisma/models/ApiToken.d.ts +1125 -0
  41. package/lib/generated/prisma/models/ApiToken.js +12 -0
  42. package/lib/generated/prisma/models/ApiToken.js.map +1 -0
  43. package/lib/generated/prisma/models/AwsBucket.d.ts +1435 -0
  44. package/lib/generated/prisma/models/AwsBucket.js +12 -0
  45. package/lib/generated/prisma/models/AwsBucket.js.map +1 -0
  46. package/lib/generated/prisma/models/Card.d.ts +1533 -0
  47. package/lib/generated/prisma/models/Card.js +12 -0
  48. package/lib/generated/prisma/models/Card.js.map +1 -0
  49. package/lib/generated/prisma/models/Cart.d.ts +2315 -0
  50. package/lib/generated/prisma/models/Cart.js +12 -0
  51. package/lib/generated/prisma/models/Cart.js.map +1 -0
  52. package/lib/generated/prisma/models/CartCost.d.ts +1368 -0
  53. package/lib/generated/prisma/models/CartCost.js +12 -0
  54. package/lib/generated/prisma/models/CartCost.js.map +1 -0
  55. package/lib/generated/prisma/models/CartLine.d.ts +1948 -0
  56. package/lib/generated/prisma/models/CartLine.js +12 -0
  57. package/lib/generated/prisma/models/CartLine.js.map +1 -0
  58. package/lib/generated/prisma/models/CartLineModifier.d.ts +2061 -0
  59. package/lib/generated/prisma/models/CartLineModifier.js +12 -0
  60. package/lib/generated/prisma/models/CartLineModifier.js.map +1 -0
  61. package/lib/generated/prisma/models/CartLineModifierOption.d.ts +1435 -0
  62. package/lib/generated/prisma/models/CartLineModifierOption.js +12 -0
  63. package/lib/generated/prisma/models/CartLineModifierOption.js.map +1 -0
  64. package/lib/generated/prisma/models/Checkout.d.ts +3989 -0
  65. package/lib/generated/prisma/models/Checkout.js +12 -0
  66. package/lib/generated/prisma/models/Checkout.js.map +1 -0
  67. package/lib/generated/prisma/models/CheckoutGroup.d.ts +2604 -0
  68. package/lib/generated/prisma/models/CheckoutGroup.js +12 -0
  69. package/lib/generated/prisma/models/CheckoutGroup.js.map +1 -0
  70. package/lib/generated/prisma/models/CheckoutLine.d.ts +1932 -0
  71. package/lib/generated/prisma/models/CheckoutLine.js +12 -0
  72. package/lib/generated/prisma/models/CheckoutLine.js.map +1 -0
  73. package/lib/generated/prisma/models/CheckoutLineModifierOption.d.ts +1702 -0
  74. package/lib/generated/prisma/models/CheckoutLineModifierOption.js +12 -0
  75. package/lib/generated/prisma/models/CheckoutLineModifierOption.js.map +1 -0
  76. package/lib/generated/prisma/models/CheckoutLinesModifier.d.ts +2124 -0
  77. package/lib/generated/prisma/models/CheckoutLinesModifier.js +12 -0
  78. package/lib/generated/prisma/models/CheckoutLinesModifier.js.map +1 -0
  79. package/lib/generated/prisma/models/Collection.d.ts +1961 -0
  80. package/lib/generated/prisma/models/Collection.js +12 -0
  81. package/lib/generated/prisma/models/Collection.js.map +1 -0
  82. package/lib/generated/prisma/models/CollectionToPlatform.d.ts +1313 -0
  83. package/lib/generated/prisma/models/CollectionToPlatform.js +12 -0
  84. package/lib/generated/prisma/models/CollectionToPlatform.js.map +1 -0
  85. package/lib/generated/prisma/models/CollectionToProduct.d.ts +1342 -0
  86. package/lib/generated/prisma/models/CollectionToProduct.js +12 -0
  87. package/lib/generated/prisma/models/CollectionToProduct.js.map +1 -0
  88. package/lib/generated/prisma/models/CollectionToProductVariant.d.ts +1201 -0
  89. package/lib/generated/prisma/models/CollectionToProductVariant.js +12 -0
  90. package/lib/generated/prisma/models/CollectionToProductVariant.js.map +1 -0
  91. package/lib/generated/prisma/models/Customer.d.ts +2964 -0
  92. package/lib/generated/prisma/models/Customer.js +12 -0
  93. package/lib/generated/prisma/models/Customer.js.map +1 -0
  94. package/lib/generated/prisma/models/CustomerGroup.d.ts +1167 -0
  95. package/lib/generated/prisma/models/CustomerGroup.js +12 -0
  96. package/lib/generated/prisma/models/CustomerGroup.js.map +1 -0
  97. package/lib/generated/prisma/models/CustomerToAddress.d.ts +1243 -0
  98. package/lib/generated/prisma/models/CustomerToAddress.js +12 -0
  99. package/lib/generated/prisma/models/CustomerToAddress.js.map +1 -0
  100. package/lib/generated/prisma/models/CustomerToCustomerGroup.d.ts +1201 -0
  101. package/lib/generated/prisma/models/CustomerToCustomerGroup.js +12 -0
  102. package/lib/generated/prisma/models/CustomerToCustomerGroup.js.map +1 -0
  103. package/lib/generated/prisma/models/DiscountCode.d.ts +3139 -0
  104. package/lib/generated/prisma/models/DiscountCode.js +12 -0
  105. package/lib/generated/prisma/models/DiscountCode.js.map +1 -0
  106. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.d.ts +1332 -0
  107. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js +12 -0
  108. package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js.map +1 -0
  109. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.d.ts +1389 -0
  110. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js +12 -0
  111. package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js.map +1 -0
  112. package/lib/generated/prisma/models/DiscountCodeRedemption.d.ts +1537 -0
  113. package/lib/generated/prisma/models/DiscountCodeRedemption.js +12 -0
  114. package/lib/generated/prisma/models/DiscountCodeRedemption.js.map +1 -0
  115. package/lib/generated/prisma/models/EventLog.d.ts +1295 -0
  116. package/lib/generated/prisma/models/EventLog.js +12 -0
  117. package/lib/generated/prisma/models/EventLog.js.map +1 -0
  118. package/lib/generated/prisma/models/Facet.d.ts +1266 -0
  119. package/lib/generated/prisma/models/Facet.js +12 -0
  120. package/lib/generated/prisma/models/Facet.js.map +1 -0
  121. package/lib/generated/prisma/models/FacetOption.d.ts +1342 -0
  122. package/lib/generated/prisma/models/FacetOption.js +12 -0
  123. package/lib/generated/prisma/models/FacetOption.js.map +1 -0
  124. package/lib/generated/prisma/models/FacetOptionToPlatform.d.ts +1201 -0
  125. package/lib/generated/prisma/models/FacetOptionToPlatform.js +12 -0
  126. package/lib/generated/prisma/models/FacetOptionToPlatform.js.map +1 -0
  127. package/lib/generated/prisma/models/FacetToPlatform.d.ts +1201 -0
  128. package/lib/generated/prisma/models/FacetToPlatform.js +12 -0
  129. package/lib/generated/prisma/models/FacetToPlatform.js.map +1 -0
  130. package/lib/generated/prisma/models/FeatureFlag.d.ts +1412 -0
  131. package/lib/generated/prisma/models/FeatureFlag.js +12 -0
  132. package/lib/generated/prisma/models/FeatureFlag.js.map +1 -0
  133. package/lib/generated/prisma/models/FirebaseAdminConfiguration.d.ts +1059 -0
  134. package/lib/generated/prisma/models/FirebaseAdminConfiguration.js +12 -0
  135. package/lib/generated/prisma/models/FirebaseAdminConfiguration.js.map +1 -0
  136. package/lib/generated/prisma/models/FlaggedPayment.d.ts +1065 -0
  137. package/lib/generated/prisma/models/FlaggedPayment.js +12 -0
  138. package/lib/generated/prisma/models/FlaggedPayment.js.map +1 -0
  139. package/lib/generated/prisma/models/FreeItemRule.d.ts +1021 -0
  140. package/lib/generated/prisma/models/FreeItemRule.js +12 -0
  141. package/lib/generated/prisma/models/FreeItemRule.js.map +1 -0
  142. package/lib/generated/prisma/models/FreeItemToCustomer.d.ts +993 -0
  143. package/lib/generated/prisma/models/FreeItemToCustomer.js +12 -0
  144. package/lib/generated/prisma/models/FreeItemToCustomer.js.map +1 -0
  145. package/lib/generated/prisma/models/FulfillmentFees.d.ts +1365 -0
  146. package/lib/generated/prisma/models/FulfillmentFees.js +12 -0
  147. package/lib/generated/prisma/models/FulfillmentFees.js.map +1 -0
  148. package/lib/generated/prisma/models/Ingredient.d.ts +1886 -0
  149. package/lib/generated/prisma/models/Ingredient.js +12 -0
  150. package/lib/generated/prisma/models/Ingredient.js.map +1 -0
  151. package/lib/generated/prisma/models/IngredientToProductVariant.d.ts +1561 -0
  152. package/lib/generated/prisma/models/IngredientToProductVariant.js +12 -0
  153. package/lib/generated/prisma/models/IngredientToProductVariant.js.map +1 -0
  154. package/lib/generated/prisma/models/IngredientToStore.d.ts +1507 -0
  155. package/lib/generated/prisma/models/IngredientToStore.js +12 -0
  156. package/lib/generated/prisma/models/IngredientToStore.js.map +1 -0
  157. package/lib/generated/prisma/models/ManualCollectionProduct.d.ts +1256 -0
  158. package/lib/generated/prisma/models/ManualCollectionProduct.js +12 -0
  159. package/lib/generated/prisma/models/ManualCollectionProduct.js.map +1 -0
  160. package/lib/generated/prisma/models/Media.d.ts +2127 -0
  161. package/lib/generated/prisma/models/Media.js +12 -0
  162. package/lib/generated/prisma/models/Media.js.map +1 -0
  163. package/lib/generated/prisma/models/Modifier.d.ts +2597 -0
  164. package/lib/generated/prisma/models/Modifier.js +12 -0
  165. package/lib/generated/prisma/models/Modifier.js.map +1 -0
  166. package/lib/generated/prisma/models/ModifierGroup.d.ts +2099 -0
  167. package/lib/generated/prisma/models/ModifierGroup.js +12 -0
  168. package/lib/generated/prisma/models/ModifierGroup.js.map +1 -0
  169. package/lib/generated/prisma/models/ModifierGroupToProduct.d.ts +1249 -0
  170. package/lib/generated/prisma/models/ModifierGroupToProduct.js +12 -0
  171. package/lib/generated/prisma/models/ModifierGroupToProduct.js.map +1 -0
  172. package/lib/generated/prisma/models/ModifierOption.d.ts +1838 -0
  173. package/lib/generated/prisma/models/ModifierOption.js +12 -0
  174. package/lib/generated/prisma/models/ModifierOption.js.map +1 -0
  175. package/lib/generated/prisma/models/ModifierToModifierGroup.d.ts +1343 -0
  176. package/lib/generated/prisma/models/ModifierToModifierGroup.js +12 -0
  177. package/lib/generated/prisma/models/ModifierToModifierGroup.js.map +1 -0
  178. package/lib/generated/prisma/models/NmiSecurityKey.d.ts +1087 -0
  179. package/lib/generated/prisma/models/NmiSecurityKey.js +12 -0
  180. package/lib/generated/prisma/models/NmiSecurityKey.js.map +1 -0
  181. package/lib/generated/prisma/models/OneTimeToken.d.ts +1115 -0
  182. package/lib/generated/prisma/models/OneTimeToken.js +12 -0
  183. package/lib/generated/prisma/models/OneTimeToken.js.map +1 -0
  184. package/lib/generated/prisma/models/Payment.d.ts +1560 -0
  185. package/lib/generated/prisma/models/Payment.js +12 -0
  186. package/lib/generated/prisma/models/Payment.js.map +1 -0
  187. package/lib/generated/prisma/models/Platform.d.ts +7442 -0
  188. package/lib/generated/prisma/models/Platform.js +12 -0
  189. package/lib/generated/prisma/models/Platform.js.map +1 -0
  190. package/lib/generated/prisma/models/PlatformAwsConfiguration.d.ts +1333 -0
  191. package/lib/generated/prisma/models/PlatformAwsConfiguration.js +12 -0
  192. package/lib/generated/prisma/models/PlatformAwsConfiguration.js.map +1 -0
  193. package/lib/generated/prisma/models/PlatformMailerMessage.d.ts +1299 -0
  194. package/lib/generated/prisma/models/PlatformMailerMessage.js +12 -0
  195. package/lib/generated/prisma/models/PlatformMailerMessage.js.map +1 -0
  196. package/lib/generated/prisma/models/PrepTime.d.ts +1420 -0
  197. package/lib/generated/prisma/models/PrepTime.js +12 -0
  198. package/lib/generated/prisma/models/PrepTime.js.map +1 -0
  199. package/lib/generated/prisma/models/Product.d.ts +2975 -0
  200. package/lib/generated/prisma/models/Product.js +12 -0
  201. package/lib/generated/prisma/models/Product.js.map +1 -0
  202. package/lib/generated/prisma/models/ProductCategory.d.ts +2057 -0
  203. package/lib/generated/prisma/models/ProductCategory.js +12 -0
  204. package/lib/generated/prisma/models/ProductCategory.js.map +1 -0
  205. package/lib/generated/prisma/models/ProductCategoryToTag.d.ts +1201 -0
  206. package/lib/generated/prisma/models/ProductCategoryToTag.js +12 -0
  207. package/lib/generated/prisma/models/ProductCategoryToTag.js.map +1 -0
  208. package/lib/generated/prisma/models/ProductListing.d.ts +1747 -0
  209. package/lib/generated/prisma/models/ProductListing.js +12 -0
  210. package/lib/generated/prisma/models/ProductListing.js.map +1 -0
  211. package/lib/generated/prisma/models/ProductToTag.d.ts +1201 -0
  212. package/lib/generated/prisma/models/ProductToTag.js +12 -0
  213. package/lib/generated/prisma/models/ProductToTag.js.map +1 -0
  214. package/lib/generated/prisma/models/ProductVariant.d.ts +6964 -0
  215. package/lib/generated/prisma/models/ProductVariant.js +12 -0
  216. package/lib/generated/prisma/models/ProductVariant.js.map +1 -0
  217. package/lib/generated/prisma/models/ProductVariantConfiguration.d.ts +1775 -0
  218. package/lib/generated/prisma/models/ProductVariantConfiguration.js +12 -0
  219. package/lib/generated/prisma/models/ProductVariantConfiguration.js.map +1 -0
  220. package/lib/generated/prisma/models/ProductVariantListing.d.ts +2152 -0
  221. package/lib/generated/prisma/models/ProductVariantListing.js +12 -0
  222. package/lib/generated/prisma/models/ProductVariantListing.js.map +1 -0
  223. package/lib/generated/prisma/models/ProductVariantListingToMedia.d.ts +1401 -0
  224. package/lib/generated/prisma/models/ProductVariantListingToMedia.js +12 -0
  225. package/lib/generated/prisma/models/ProductVariantListingToMedia.js.map +1 -0
  226. package/lib/generated/prisma/models/ProductVariantPlatformPricing.d.ts +1420 -0
  227. package/lib/generated/prisma/models/ProductVariantPlatformPricing.js +12 -0
  228. package/lib/generated/prisma/models/ProductVariantPlatformPricing.js.map +1 -0
  229. package/lib/generated/prisma/models/ProductVariantRanking.d.ts +1402 -0
  230. package/lib/generated/prisma/models/ProductVariantRanking.js +12 -0
  231. package/lib/generated/prisma/models/ProductVariantRanking.js.map +1 -0
  232. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.d.ts +1638 -0
  233. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js +12 -0
  234. package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js.map +1 -0
  235. package/lib/generated/prisma/models/ProductVariantStorePricing.d.ts +1467 -0
  236. package/lib/generated/prisma/models/ProductVariantStorePricing.js +12 -0
  237. package/lib/generated/prisma/models/ProductVariantStorePricing.js.map +1 -0
  238. package/lib/generated/prisma/models/ProductVariantStoreRanking.d.ts +1890 -0
  239. package/lib/generated/prisma/models/ProductVariantStoreRanking.js +12 -0
  240. package/lib/generated/prisma/models/ProductVariantStoreRanking.js.map +1 -0
  241. package/lib/generated/prisma/models/ProductVariantToMedia.d.ts +1250 -0
  242. package/lib/generated/prisma/models/ProductVariantToMedia.js +12 -0
  243. package/lib/generated/prisma/models/ProductVariantToMedia.js.map +1 -0
  244. package/lib/generated/prisma/models/ProductVariantToTag.d.ts +1201 -0
  245. package/lib/generated/prisma/models/ProductVariantToTag.js +12 -0
  246. package/lib/generated/prisma/models/ProductVariantToTag.js.map +1 -0
  247. package/lib/generated/prisma/models/ProductVarietal.d.ts +1385 -0
  248. package/lib/generated/prisma/models/ProductVarietal.js +12 -0
  249. package/lib/generated/prisma/models/ProductVarietal.js.map +1 -0
  250. package/lib/generated/prisma/models/ProductsWithOverrides.d.ts +1782 -0
  251. package/lib/generated/prisma/models/ProductsWithOverrides.js +12 -0
  252. package/lib/generated/prisma/models/ProductsWithOverrides.js.map +1 -0
  253. package/lib/generated/prisma/models/PvStoreScheduledAvailability.d.ts +1931 -0
  254. package/lib/generated/prisma/models/PvStoreScheduledAvailability.js +12 -0
  255. package/lib/generated/prisma/models/PvStoreScheduledAvailability.js.map +1 -0
  256. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.d.ts +1405 -0
  257. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js +12 -0
  258. package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js.map +1 -0
  259. package/lib/generated/prisma/models/Refund.d.ts +1707 -0
  260. package/lib/generated/prisma/models/Refund.js +12 -0
  261. package/lib/generated/prisma/models/Refund.js.map +1 -0
  262. package/lib/generated/prisma/models/RefundLine.d.ts +1373 -0
  263. package/lib/generated/prisma/models/RefundLine.js +12 -0
  264. package/lib/generated/prisma/models/RefundLine.js.map +1 -0
  265. package/lib/generated/prisma/models/RelatedItems.d.ts +1431 -0
  266. package/lib/generated/prisma/models/RelatedItems.js +12 -0
  267. package/lib/generated/prisma/models/RelatedItems.js.map +1 -0
  268. package/lib/generated/prisma/models/Role.d.ts +1264 -0
  269. package/lib/generated/prisma/models/Role.js +12 -0
  270. package/lib/generated/prisma/models/Role.js.map +1 -0
  271. package/lib/generated/prisma/models/ScheduledTask.d.ts +1146 -0
  272. package/lib/generated/prisma/models/ScheduledTask.js +12 -0
  273. package/lib/generated/prisma/models/ScheduledTask.js.map +1 -0
  274. package/lib/generated/prisma/models/ShippingConfiguration.d.ts +1659 -0
  275. package/lib/generated/prisma/models/ShippingConfiguration.js +12 -0
  276. package/lib/generated/prisma/models/ShippingConfiguration.js.map +1 -0
  277. package/lib/generated/prisma/models/ShippingLabelFee.d.ts +1705 -0
  278. package/lib/generated/prisma/models/ShippingLabelFee.js +12 -0
  279. package/lib/generated/prisma/models/ShippingLabelFee.js.map +1 -0
  280. package/lib/generated/prisma/models/ShippingLabelRefund.d.ts +1520 -0
  281. package/lib/generated/prisma/models/ShippingLabelRefund.js +12 -0
  282. package/lib/generated/prisma/models/ShippingLabelRefund.js.map +1 -0
  283. package/lib/generated/prisma/models/SmsConversation.d.ts +1548 -0
  284. package/lib/generated/prisma/models/SmsConversation.js +12 -0
  285. package/lib/generated/prisma/models/SmsConversation.js.map +1 -0
  286. package/lib/generated/prisma/models/SmsConversationMessage.d.ts +1326 -0
  287. package/lib/generated/prisma/models/SmsConversationMessage.js +12 -0
  288. package/lib/generated/prisma/models/SmsConversationMessage.js.map +1 -0
  289. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.d.ts +1125 -0
  290. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js +12 -0
  291. package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js.map +1 -0
  292. package/lib/generated/prisma/models/StockLevel.d.ts +1425 -0
  293. package/lib/generated/prisma/models/StockLevel.js +12 -0
  294. package/lib/generated/prisma/models/StockLevel.js.map +1 -0
  295. package/lib/generated/prisma/models/StockLocation.d.ts +1652 -0
  296. package/lib/generated/prisma/models/StockLocation.js +12 -0
  297. package/lib/generated/prisma/models/StockLocation.js.map +1 -0
  298. package/lib/generated/prisma/models/StockLocationToPlatform.d.ts +1201 -0
  299. package/lib/generated/prisma/models/StockLocationToPlatform.js +12 -0
  300. package/lib/generated/prisma/models/StockLocationToPlatform.js.map +1 -0
  301. package/lib/generated/prisma/models/StockMovement.d.ts +1608 -0
  302. package/lib/generated/prisma/models/StockMovement.js +12 -0
  303. package/lib/generated/prisma/models/StockMovement.js.map +1 -0
  304. package/lib/generated/prisma/models/Store.d.ts +4487 -0
  305. package/lib/generated/prisma/models/Store.js +12 -0
  306. package/lib/generated/prisma/models/Store.js.map +1 -0
  307. package/lib/generated/prisma/models/StoreRestockingLog.d.ts +1297 -0
  308. package/lib/generated/prisma/models/StoreRestockingLog.js +12 -0
  309. package/lib/generated/prisma/models/StoreRestockingLog.js.map +1 -0
  310. package/lib/generated/prisma/models/StoreRestockingSchedule.d.ts +1932 -0
  311. package/lib/generated/prisma/models/StoreRestockingSchedule.js +12 -0
  312. package/lib/generated/prisma/models/StoreRestockingSchedule.js.map +1 -0
  313. package/lib/generated/prisma/models/StoreToAssociatedStoreType.d.ts +1294 -0
  314. package/lib/generated/prisma/models/StoreToAssociatedStoreType.js +12 -0
  315. package/lib/generated/prisma/models/StoreToAssociatedStoreType.js.map +1 -0
  316. package/lib/generated/prisma/models/StoreToPlatform.d.ts +1331 -0
  317. package/lib/generated/prisma/models/StoreToPlatform.js +12 -0
  318. package/lib/generated/prisma/models/StoreToPlatform.js.map +1 -0
  319. package/lib/generated/prisma/models/Tag.d.ts +1581 -0
  320. package/lib/generated/prisma/models/Tag.js +12 -0
  321. package/lib/generated/prisma/models/Tag.js.map +1 -0
  322. package/lib/generated/prisma/models/TaxCategory.d.ts +1169 -0
  323. package/lib/generated/prisma/models/TaxCategory.js +12 -0
  324. package/lib/generated/prisma/models/TaxCategory.js.map +1 -0
  325. package/lib/generated/prisma/models/Transaction.d.ts +1551 -0
  326. package/lib/generated/prisma/models/Transaction.js +12 -0
  327. package/lib/generated/prisma/models/Transaction.js.map +1 -0
  328. package/lib/generated/prisma/models/User.d.ts +1907 -0
  329. package/lib/generated/prisma/models/User.js +12 -0
  330. package/lib/generated/prisma/models/User.js.map +1 -0
  331. package/lib/generated/prisma/models/UserToRole.d.ts +1201 -0
  332. package/lib/generated/prisma/models/UserToRole.js +12 -0
  333. package/lib/generated/prisma/models/UserToRole.js.map +1 -0
  334. package/lib/generated/prisma/models.d.ts +103 -0
  335. package/lib/generated/prisma/models.js +3 -0
  336. package/lib/generated/prisma/models.js.map +1 -0
  337. package/lib/generated/prisma/pjtg.d.ts +145 -0
  338. package/lib/generated/prisma/pjtg.js +3 -0
  339. package/lib/generated/prisma/pjtg.js.map +1 -0
  340. package/lib/helpers.d.ts +37 -0
  341. package/lib/helpers.js +226 -0
  342. package/lib/helpers.js.map +1 -0
  343. package/lib/index.d.ts +10 -0
  344. package/lib/index.js.map +1 -0
  345. package/lib/kysely/index.d.ts +2 -0
  346. package/lib/kysely/index.js +19 -0
  347. package/lib/kysely/index.js.map +1 -0
  348. package/lib/kysely/kysely-db.d.ts +3 -0
  349. package/lib/kysely/kysely-db.js +3 -0
  350. package/lib/kysely/kysely-db.js.map +1 -0
  351. package/lib/kysely/utils/index.d.ts +4 -0
  352. package/lib/kysely/utils/index.js +21 -0
  353. package/lib/kysely/utils/index.js.map +1 -0
  354. package/lib/kysely/utils/json-array-from-no-subquery.d.ts +38 -0
  355. package/lib/kysely/utils/json-array-from-no-subquery.js +43 -0
  356. package/lib/kysely/utils/json-array-from-no-subquery.js.map +1 -0
  357. package/lib/kysely/utils/json-object-from-no-subquery.d.ts +40 -0
  358. package/lib/kysely/utils/json-object-from-no-subquery.js +45 -0
  359. package/lib/kysely/utils/json-object-from-no-subquery.js.map +1 -0
  360. package/lib/kysely/utils/serialize-bigint-value.d.ts +3 -0
  361. package/lib/kysely/utils/serialize-bigint-value.js +13 -0
  362. package/lib/kysely/utils/serialize-bigint-value.js.map +1 -0
  363. package/lib/kysely/utils/serialize-numeric-value.d.ts +4 -0
  364. package/lib/kysely/utils/serialize-numeric-value.js +11 -0
  365. package/lib/kysely/utils/serialize-numeric-value.js.map +1 -0
  366. package/lib/kysely/utils/shallow-dehydrate.d.ts +18 -0
  367. package/lib/kysely/utils/shallow-dehydrate.js +3 -0
  368. package/lib/kysely/utils/shallow-dehydrate.js.map +1 -0
  369. package/lib/prisma-module/index.d.ts +4 -0
  370. package/lib/prisma-module/index.js +21 -0
  371. package/lib/prisma-module/index.js.map +1 -0
  372. package/lib/prisma-module/prisma-options.d.ts +59 -0
  373. package/lib/prisma-module/prisma-options.js +3 -0
  374. package/lib/prisma-module/prisma-options.js.map +1 -0
  375. package/lib/prisma-module/prisma.constants.d.ts +1 -0
  376. package/lib/prisma-module/prisma.constants.js +5 -0
  377. package/lib/prisma-module/prisma.constants.js.map +1 -0
  378. package/lib/prisma-module/prisma.module.d.ts +8 -0
  379. package/lib/prisma-module/prisma.module.js +73 -0
  380. package/lib/prisma-module/prisma.module.js.map +1 -0
  381. package/lib/prisma-module/prisma.service.d.ts +5 -0
  382. package/lib/prisma-module/prisma.service.js +29 -0
  383. package/lib/prisma-module/prisma.service.js.map +1 -0
  384. package/lib/tsconfig.build.tsbuildinfo +1 -0
  385. package/lib/types.d.ts +7 -0
  386. package/lib/types.js +3 -0
  387. package/lib/types.js.map +1 -0
  388. package/lib/utils/deep-convert-formatted-string-to-original.d.ts +1 -0
  389. package/lib/utils/deep-convert-formatted-string-to-original.js +40 -0
  390. package/lib/utils/deep-convert-formatted-string-to-original.js.map +1 -0
  391. package/lib/utils/ignore-prisma-builtins.d.ts +1 -0
  392. package/lib/utils/ignore-prisma-builtins.js +3 -0
  393. package/lib/utils/ignore-prisma-builtins.js.map +1 -0
  394. package/lib/utils/index.d.ts +3 -0
  395. package/lib/utils/index.js +20 -0
  396. package/lib/utils/index.js.map +1 -0
  397. package/lib/utils/prisma-where-to-sql.d.ts +5 -0
  398. package/lib/utils/prisma-where-to-sql.js +94 -0
  399. package/lib/utils/prisma-where-to-sql.js.map +1 -0
  400. package/lib/web360-prisma.constants.d.ts +2 -0
  401. package/lib/web360-prisma.constants.js +6 -0
  402. package/lib/web360-prisma.constants.js.map +1 -0
  403. package/lib/web360-prisma.module.d.ts +7 -0
  404. package/lib/web360-prisma.module.js +81 -0
  405. package/lib/web360-prisma.module.js.map +1 -0
  406. package/lib/web360-prisma.options.d.ts +38 -0
  407. package/lib/web360-prisma.options.js +3 -0
  408. package/lib/web360-prisma.options.js.map +1 -0
  409. package/lib/web360-prisma.service.d.ts +57 -0
  410. package/lib/web360-prisma.service.js +57 -0
  411. package/lib/web360-prisma.service.js.map +1 -0
  412. package/package.json +3 -2
@@ -0,0 +1,1890 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model ProductVariantStoreRanking
5
+ *
6
+ */
7
+ export type ProductVariantStoreRankingModel = runtime.Types.Result.DefaultSelection<Prisma.$ProductVariantStoreRankingPayload>;
8
+ export type AggregateProductVariantStoreRanking = {
9
+ _count: ProductVariantStoreRankingCountAggregateOutputType | null;
10
+ _avg: ProductVariantStoreRankingAvgAggregateOutputType | null;
11
+ _sum: ProductVariantStoreRankingSumAggregateOutputType | null;
12
+ _min: ProductVariantStoreRankingMinAggregateOutputType | null;
13
+ _max: ProductVariantStoreRankingMaxAggregateOutputType | null;
14
+ };
15
+ export type ProductVariantStoreRankingAvgAggregateOutputType = {
16
+ id: number | null;
17
+ productId: number | null;
18
+ productVariantId: number | null;
19
+ ranking: number | null;
20
+ boostValue: number | null;
21
+ grossRevenue: number | null;
22
+ numOrders: number | null;
23
+ };
24
+ export type ProductVariantStoreRankingSumAggregateOutputType = {
25
+ id: bigint | null;
26
+ productId: bigint | null;
27
+ productVariantId: bigint | null;
28
+ ranking: number | null;
29
+ boostValue: number | null;
30
+ grossRevenue: number | null;
31
+ numOrders: number | null;
32
+ };
33
+ export type ProductVariantStoreRankingMinAggregateOutputType = {
34
+ id: bigint | null;
35
+ createdAt: Date | null;
36
+ updatedAt: Date | null;
37
+ productId: bigint | null;
38
+ productVariantId: bigint | null;
39
+ storeId: string | null;
40
+ platformId: string | null;
41
+ ranking: number | null;
42
+ boostValue: number | null;
43
+ grossRevenue: number | null;
44
+ numOrders: number | null;
45
+ };
46
+ export type ProductVariantStoreRankingMaxAggregateOutputType = {
47
+ id: bigint | null;
48
+ createdAt: Date | null;
49
+ updatedAt: Date | null;
50
+ productId: bigint | null;
51
+ productVariantId: bigint | null;
52
+ storeId: string | null;
53
+ platformId: string | null;
54
+ ranking: number | null;
55
+ boostValue: number | null;
56
+ grossRevenue: number | null;
57
+ numOrders: number | null;
58
+ };
59
+ export type ProductVariantStoreRankingCountAggregateOutputType = {
60
+ id: number;
61
+ createdAt: number;
62
+ updatedAt: number;
63
+ productId: number;
64
+ productVariantId: number;
65
+ storeId: number;
66
+ platformId: number;
67
+ ranking: number;
68
+ boostValue: number;
69
+ grossRevenue: number;
70
+ numOrders: number;
71
+ _all: number;
72
+ };
73
+ export type ProductVariantStoreRankingAvgAggregateInputType = {
74
+ id?: true;
75
+ productId?: true;
76
+ productVariantId?: true;
77
+ ranking?: true;
78
+ boostValue?: true;
79
+ grossRevenue?: true;
80
+ numOrders?: true;
81
+ };
82
+ export type ProductVariantStoreRankingSumAggregateInputType = {
83
+ id?: true;
84
+ productId?: true;
85
+ productVariantId?: true;
86
+ ranking?: true;
87
+ boostValue?: true;
88
+ grossRevenue?: true;
89
+ numOrders?: true;
90
+ };
91
+ export type ProductVariantStoreRankingMinAggregateInputType = {
92
+ id?: true;
93
+ createdAt?: true;
94
+ updatedAt?: true;
95
+ productId?: true;
96
+ productVariantId?: true;
97
+ storeId?: true;
98
+ platformId?: true;
99
+ ranking?: true;
100
+ boostValue?: true;
101
+ grossRevenue?: true;
102
+ numOrders?: true;
103
+ };
104
+ export type ProductVariantStoreRankingMaxAggregateInputType = {
105
+ id?: true;
106
+ createdAt?: true;
107
+ updatedAt?: true;
108
+ productId?: true;
109
+ productVariantId?: true;
110
+ storeId?: true;
111
+ platformId?: true;
112
+ ranking?: true;
113
+ boostValue?: true;
114
+ grossRevenue?: true;
115
+ numOrders?: true;
116
+ };
117
+ export type ProductVariantStoreRankingCountAggregateInputType = {
118
+ id?: true;
119
+ createdAt?: true;
120
+ updatedAt?: true;
121
+ productId?: true;
122
+ productVariantId?: true;
123
+ storeId?: true;
124
+ platformId?: true;
125
+ ranking?: true;
126
+ boostValue?: true;
127
+ grossRevenue?: true;
128
+ numOrders?: true;
129
+ _all?: true;
130
+ };
131
+ export type ProductVariantStoreRankingAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
132
+ /**
133
+ * Filter which ProductVariantStoreRanking to aggregate.
134
+ */
135
+ where?: Prisma.ProductVariantStoreRankingWhereInput;
136
+ /**
137
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
138
+ *
139
+ * Determine the order of ProductVariantStoreRankings to fetch.
140
+ */
141
+ orderBy?: Prisma.ProductVariantStoreRankingOrderByWithRelationInput | Prisma.ProductVariantStoreRankingOrderByWithRelationInput[];
142
+ /**
143
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
144
+ *
145
+ * Sets the start position
146
+ */
147
+ cursor?: Prisma.ProductVariantStoreRankingWhereUniqueInput;
148
+ /**
149
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
150
+ *
151
+ * Take `±n` ProductVariantStoreRankings from the position of the cursor.
152
+ */
153
+ take?: number;
154
+ /**
155
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
156
+ *
157
+ * Skip the first `n` ProductVariantStoreRankings.
158
+ */
159
+ skip?: number;
160
+ /**
161
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
162
+ *
163
+ * Count returned ProductVariantStoreRankings
164
+ **/
165
+ _count?: true | ProductVariantStoreRankingCountAggregateInputType;
166
+ /**
167
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
168
+ *
169
+ * Select which fields to average
170
+ **/
171
+ _avg?: ProductVariantStoreRankingAvgAggregateInputType;
172
+ /**
173
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
174
+ *
175
+ * Select which fields to sum
176
+ **/
177
+ _sum?: ProductVariantStoreRankingSumAggregateInputType;
178
+ /**
179
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
180
+ *
181
+ * Select which fields to find the minimum value
182
+ **/
183
+ _min?: ProductVariantStoreRankingMinAggregateInputType;
184
+ /**
185
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
186
+ *
187
+ * Select which fields to find the maximum value
188
+ **/
189
+ _max?: ProductVariantStoreRankingMaxAggregateInputType;
190
+ };
191
+ export type GetProductVariantStoreRankingAggregateType<T extends ProductVariantStoreRankingAggregateArgs> = {
192
+ [P in keyof T & keyof AggregateProductVariantStoreRanking]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateProductVariantStoreRanking[P]> : Prisma.GetScalarType<T[P], AggregateProductVariantStoreRanking[P]>;
193
+ };
194
+ export type ProductVariantStoreRankingGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
195
+ where?: Prisma.ProductVariantStoreRankingWhereInput;
196
+ orderBy?: Prisma.ProductVariantStoreRankingOrderByWithAggregationInput | Prisma.ProductVariantStoreRankingOrderByWithAggregationInput[];
197
+ by: Prisma.ProductVariantStoreRankingScalarFieldEnum[] | Prisma.ProductVariantStoreRankingScalarFieldEnum;
198
+ having?: Prisma.ProductVariantStoreRankingScalarWhereWithAggregatesInput;
199
+ take?: number;
200
+ skip?: number;
201
+ _count?: ProductVariantStoreRankingCountAggregateInputType | true;
202
+ _avg?: ProductVariantStoreRankingAvgAggregateInputType;
203
+ _sum?: ProductVariantStoreRankingSumAggregateInputType;
204
+ _min?: ProductVariantStoreRankingMinAggregateInputType;
205
+ _max?: ProductVariantStoreRankingMaxAggregateInputType;
206
+ };
207
+ export type ProductVariantStoreRankingGroupByOutputType = {
208
+ id: bigint;
209
+ createdAt: Date;
210
+ updatedAt: Date;
211
+ productId: bigint;
212
+ productVariantId: bigint;
213
+ storeId: string;
214
+ platformId: string;
215
+ ranking: number;
216
+ boostValue: number;
217
+ grossRevenue: number;
218
+ numOrders: number;
219
+ _count: ProductVariantStoreRankingCountAggregateOutputType | null;
220
+ _avg: ProductVariantStoreRankingAvgAggregateOutputType | null;
221
+ _sum: ProductVariantStoreRankingSumAggregateOutputType | null;
222
+ _min: ProductVariantStoreRankingMinAggregateOutputType | null;
223
+ _max: ProductVariantStoreRankingMaxAggregateOutputType | null;
224
+ };
225
+ type GetProductVariantStoreRankingGroupByPayload<T extends ProductVariantStoreRankingGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ProductVariantStoreRankingGroupByOutputType, T['by']> & {
226
+ [P in ((keyof T) & (keyof ProductVariantStoreRankingGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ProductVariantStoreRankingGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ProductVariantStoreRankingGroupByOutputType[P]>;
227
+ }>>;
228
+ export type ProductVariantStoreRankingWhereInput = {
229
+ AND?: Prisma.ProductVariantStoreRankingWhereInput | Prisma.ProductVariantStoreRankingWhereInput[];
230
+ OR?: Prisma.ProductVariantStoreRankingWhereInput[];
231
+ NOT?: Prisma.ProductVariantStoreRankingWhereInput | Prisma.ProductVariantStoreRankingWhereInput[];
232
+ id?: Prisma.BigIntFilter<"ProductVariantStoreRanking"> | bigint | number;
233
+ createdAt?: Prisma.DateTimeFilter<"ProductVariantStoreRanking"> | Date | string;
234
+ updatedAt?: Prisma.DateTimeFilter<"ProductVariantStoreRanking"> | Date | string;
235
+ productId?: Prisma.BigIntFilter<"ProductVariantStoreRanking"> | bigint | number;
236
+ productVariantId?: Prisma.BigIntFilter<"ProductVariantStoreRanking"> | bigint | number;
237
+ storeId?: Prisma.StringFilter<"ProductVariantStoreRanking"> | string;
238
+ platformId?: Prisma.StringFilter<"ProductVariantStoreRanking"> | string;
239
+ ranking?: Prisma.IntFilter<"ProductVariantStoreRanking"> | number;
240
+ boostValue?: Prisma.FloatFilter<"ProductVariantStoreRanking"> | number;
241
+ grossRevenue?: Prisma.FloatFilter<"ProductVariantStoreRanking"> | number;
242
+ numOrders?: Prisma.FloatFilter<"ProductVariantStoreRanking"> | number;
243
+ productVariant?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
244
+ product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>;
245
+ store?: Prisma.XOR<Prisma.StoreScalarRelationFilter, Prisma.StoreWhereInput>;
246
+ platform?: Prisma.XOR<Prisma.PlatformScalarRelationFilter, Prisma.PlatformWhereInput>;
247
+ };
248
+ export type ProductVariantStoreRankingOrderByWithRelationInput = {
249
+ id?: Prisma.SortOrder;
250
+ createdAt?: Prisma.SortOrder;
251
+ updatedAt?: Prisma.SortOrder;
252
+ productId?: Prisma.SortOrder;
253
+ productVariantId?: Prisma.SortOrder;
254
+ storeId?: Prisma.SortOrder;
255
+ platformId?: Prisma.SortOrder;
256
+ ranking?: Prisma.SortOrder;
257
+ boostValue?: Prisma.SortOrder;
258
+ grossRevenue?: Prisma.SortOrder;
259
+ numOrders?: Prisma.SortOrder;
260
+ productVariant?: Prisma.ProductVariantOrderByWithRelationInput;
261
+ product?: Prisma.ProductOrderByWithRelationInput;
262
+ store?: Prisma.StoreOrderByWithRelationInput;
263
+ platform?: Prisma.PlatformOrderByWithRelationInput;
264
+ _relevance?: Prisma.ProductVariantStoreRankingOrderByRelevanceInput;
265
+ };
266
+ export type ProductVariantStoreRankingWhereUniqueInput = Prisma.AtLeast<{
267
+ id?: bigint | number;
268
+ productVariantId_storeId_platformId?: Prisma.ProductVariantStoreRankingProductVariantIdStoreIdPlatformIdCompoundUniqueInput;
269
+ AND?: Prisma.ProductVariantStoreRankingWhereInput | Prisma.ProductVariantStoreRankingWhereInput[];
270
+ OR?: Prisma.ProductVariantStoreRankingWhereInput[];
271
+ NOT?: Prisma.ProductVariantStoreRankingWhereInput | Prisma.ProductVariantStoreRankingWhereInput[];
272
+ createdAt?: Prisma.DateTimeFilter<"ProductVariantStoreRanking"> | Date | string;
273
+ updatedAt?: Prisma.DateTimeFilter<"ProductVariantStoreRanking"> | Date | string;
274
+ productId?: Prisma.BigIntFilter<"ProductVariantStoreRanking"> | bigint | number;
275
+ productVariantId?: Prisma.BigIntFilter<"ProductVariantStoreRanking"> | bigint | number;
276
+ storeId?: Prisma.StringFilter<"ProductVariantStoreRanking"> | string;
277
+ platformId?: Prisma.StringFilter<"ProductVariantStoreRanking"> | string;
278
+ ranking?: Prisma.IntFilter<"ProductVariantStoreRanking"> | number;
279
+ boostValue?: Prisma.FloatFilter<"ProductVariantStoreRanking"> | number;
280
+ grossRevenue?: Prisma.FloatFilter<"ProductVariantStoreRanking"> | number;
281
+ numOrders?: Prisma.FloatFilter<"ProductVariantStoreRanking"> | number;
282
+ productVariant?: Prisma.XOR<Prisma.ProductVariantScalarRelationFilter, Prisma.ProductVariantWhereInput>;
283
+ product?: Prisma.XOR<Prisma.ProductScalarRelationFilter, Prisma.ProductWhereInput>;
284
+ store?: Prisma.XOR<Prisma.StoreScalarRelationFilter, Prisma.StoreWhereInput>;
285
+ platform?: Prisma.XOR<Prisma.PlatformScalarRelationFilter, Prisma.PlatformWhereInput>;
286
+ }, "id" | "productVariantId_storeId_platformId">;
287
+ export type ProductVariantStoreRankingOrderByWithAggregationInput = {
288
+ id?: Prisma.SortOrder;
289
+ createdAt?: Prisma.SortOrder;
290
+ updatedAt?: Prisma.SortOrder;
291
+ productId?: Prisma.SortOrder;
292
+ productVariantId?: Prisma.SortOrder;
293
+ storeId?: Prisma.SortOrder;
294
+ platformId?: Prisma.SortOrder;
295
+ ranking?: Prisma.SortOrder;
296
+ boostValue?: Prisma.SortOrder;
297
+ grossRevenue?: Prisma.SortOrder;
298
+ numOrders?: Prisma.SortOrder;
299
+ _count?: Prisma.ProductVariantStoreRankingCountOrderByAggregateInput;
300
+ _avg?: Prisma.ProductVariantStoreRankingAvgOrderByAggregateInput;
301
+ _max?: Prisma.ProductVariantStoreRankingMaxOrderByAggregateInput;
302
+ _min?: Prisma.ProductVariantStoreRankingMinOrderByAggregateInput;
303
+ _sum?: Prisma.ProductVariantStoreRankingSumOrderByAggregateInput;
304
+ };
305
+ export type ProductVariantStoreRankingScalarWhereWithAggregatesInput = {
306
+ AND?: Prisma.ProductVariantStoreRankingScalarWhereWithAggregatesInput | Prisma.ProductVariantStoreRankingScalarWhereWithAggregatesInput[];
307
+ OR?: Prisma.ProductVariantStoreRankingScalarWhereWithAggregatesInput[];
308
+ NOT?: Prisma.ProductVariantStoreRankingScalarWhereWithAggregatesInput | Prisma.ProductVariantStoreRankingScalarWhereWithAggregatesInput[];
309
+ id?: Prisma.BigIntWithAggregatesFilter<"ProductVariantStoreRanking"> | bigint | number;
310
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"ProductVariantStoreRanking"> | Date | string;
311
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ProductVariantStoreRanking"> | Date | string;
312
+ productId?: Prisma.BigIntWithAggregatesFilter<"ProductVariantStoreRanking"> | bigint | number;
313
+ productVariantId?: Prisma.BigIntWithAggregatesFilter<"ProductVariantStoreRanking"> | bigint | number;
314
+ storeId?: Prisma.StringWithAggregatesFilter<"ProductVariantStoreRanking"> | string;
315
+ platformId?: Prisma.StringWithAggregatesFilter<"ProductVariantStoreRanking"> | string;
316
+ ranking?: Prisma.IntWithAggregatesFilter<"ProductVariantStoreRanking"> | number;
317
+ boostValue?: Prisma.FloatWithAggregatesFilter<"ProductVariantStoreRanking"> | number;
318
+ grossRevenue?: Prisma.FloatWithAggregatesFilter<"ProductVariantStoreRanking"> | number;
319
+ numOrders?: Prisma.FloatWithAggregatesFilter<"ProductVariantStoreRanking"> | number;
320
+ };
321
+ export type ProductVariantStoreRankingCreateInput = {
322
+ id?: bigint | number;
323
+ createdAt?: Date | string;
324
+ updatedAt?: Date | string;
325
+ ranking?: number;
326
+ boostValue?: number;
327
+ grossRevenue?: number;
328
+ numOrders?: number;
329
+ productVariant: Prisma.ProductVariantCreateNestedOneWithoutProductVariantStoreRankingsInput;
330
+ product: Prisma.ProductCreateNestedOneWithoutProductVariantStoreRankingsInput;
331
+ store: Prisma.StoreCreateNestedOneWithoutProductVariantStoreRankingsInput;
332
+ platform: Prisma.PlatformCreateNestedOneWithoutProductVariantStoreRankingsInput;
333
+ };
334
+ export type ProductVariantStoreRankingUncheckedCreateInput = {
335
+ id?: bigint | number;
336
+ createdAt?: Date | string;
337
+ updatedAt?: Date | string;
338
+ productId: bigint | number;
339
+ productVariantId: bigint | number;
340
+ storeId: string;
341
+ platformId: string;
342
+ ranking?: number;
343
+ boostValue?: number;
344
+ grossRevenue?: number;
345
+ numOrders?: number;
346
+ };
347
+ export type ProductVariantStoreRankingUpdateInput = {
348
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
349
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
350
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
351
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
352
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
353
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
354
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
355
+ productVariant?: Prisma.ProductVariantUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
356
+ product?: Prisma.ProductUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
357
+ store?: Prisma.StoreUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
358
+ platform?: Prisma.PlatformUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
359
+ };
360
+ export type ProductVariantStoreRankingUncheckedUpdateInput = {
361
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
362
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
363
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
364
+ productId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
365
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
366
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
367
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
368
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
369
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
370
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
371
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
372
+ };
373
+ export type ProductVariantStoreRankingCreateManyInput = {
374
+ id?: bigint | number;
375
+ createdAt?: Date | string;
376
+ updatedAt?: Date | string;
377
+ productId: bigint | number;
378
+ productVariantId: bigint | number;
379
+ storeId: string;
380
+ platformId: string;
381
+ ranking?: number;
382
+ boostValue?: number;
383
+ grossRevenue?: number;
384
+ numOrders?: number;
385
+ };
386
+ export type ProductVariantStoreRankingUpdateManyMutationInput = {
387
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
388
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
389
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
390
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
391
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
392
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
393
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
394
+ };
395
+ export type ProductVariantStoreRankingUncheckedUpdateManyInput = {
396
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
397
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
398
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
399
+ productId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
400
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
401
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
402
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
403
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
404
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
405
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
406
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
407
+ };
408
+ export type ProductVariantStoreRankingListRelationFilter = {
409
+ every?: Prisma.ProductVariantStoreRankingWhereInput;
410
+ some?: Prisma.ProductVariantStoreRankingWhereInput;
411
+ none?: Prisma.ProductVariantStoreRankingWhereInput;
412
+ };
413
+ export type ProductVariantStoreRankingOrderByRelationAggregateInput = {
414
+ _count?: Prisma.SortOrder;
415
+ };
416
+ export type ProductVariantStoreRankingOrderByRelevanceInput = {
417
+ fields: Prisma.ProductVariantStoreRankingOrderByRelevanceFieldEnum | Prisma.ProductVariantStoreRankingOrderByRelevanceFieldEnum[];
418
+ sort: Prisma.SortOrder;
419
+ search: string;
420
+ };
421
+ export type ProductVariantStoreRankingProductVariantIdStoreIdPlatformIdCompoundUniqueInput = {
422
+ productVariantId: bigint | number;
423
+ storeId: string;
424
+ platformId: string;
425
+ };
426
+ export type ProductVariantStoreRankingCountOrderByAggregateInput = {
427
+ id?: Prisma.SortOrder;
428
+ createdAt?: Prisma.SortOrder;
429
+ updatedAt?: Prisma.SortOrder;
430
+ productId?: Prisma.SortOrder;
431
+ productVariantId?: Prisma.SortOrder;
432
+ storeId?: Prisma.SortOrder;
433
+ platformId?: Prisma.SortOrder;
434
+ ranking?: Prisma.SortOrder;
435
+ boostValue?: Prisma.SortOrder;
436
+ grossRevenue?: Prisma.SortOrder;
437
+ numOrders?: Prisma.SortOrder;
438
+ };
439
+ export type ProductVariantStoreRankingAvgOrderByAggregateInput = {
440
+ id?: Prisma.SortOrder;
441
+ productId?: Prisma.SortOrder;
442
+ productVariantId?: Prisma.SortOrder;
443
+ ranking?: Prisma.SortOrder;
444
+ boostValue?: Prisma.SortOrder;
445
+ grossRevenue?: Prisma.SortOrder;
446
+ numOrders?: Prisma.SortOrder;
447
+ };
448
+ export type ProductVariantStoreRankingMaxOrderByAggregateInput = {
449
+ id?: Prisma.SortOrder;
450
+ createdAt?: Prisma.SortOrder;
451
+ updatedAt?: Prisma.SortOrder;
452
+ productId?: Prisma.SortOrder;
453
+ productVariantId?: Prisma.SortOrder;
454
+ storeId?: Prisma.SortOrder;
455
+ platformId?: Prisma.SortOrder;
456
+ ranking?: Prisma.SortOrder;
457
+ boostValue?: Prisma.SortOrder;
458
+ grossRevenue?: Prisma.SortOrder;
459
+ numOrders?: Prisma.SortOrder;
460
+ };
461
+ export type ProductVariantStoreRankingMinOrderByAggregateInput = {
462
+ id?: Prisma.SortOrder;
463
+ createdAt?: Prisma.SortOrder;
464
+ updatedAt?: Prisma.SortOrder;
465
+ productId?: Prisma.SortOrder;
466
+ productVariantId?: Prisma.SortOrder;
467
+ storeId?: Prisma.SortOrder;
468
+ platformId?: Prisma.SortOrder;
469
+ ranking?: Prisma.SortOrder;
470
+ boostValue?: Prisma.SortOrder;
471
+ grossRevenue?: Prisma.SortOrder;
472
+ numOrders?: Prisma.SortOrder;
473
+ };
474
+ export type ProductVariantStoreRankingSumOrderByAggregateInput = {
475
+ id?: Prisma.SortOrder;
476
+ productId?: Prisma.SortOrder;
477
+ productVariantId?: Prisma.SortOrder;
478
+ ranking?: Prisma.SortOrder;
479
+ boostValue?: Prisma.SortOrder;
480
+ grossRevenue?: Prisma.SortOrder;
481
+ numOrders?: Prisma.SortOrder;
482
+ };
483
+ export type ProductVariantStoreRankingCreateNestedManyWithoutPlatformInput = {
484
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput> | Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput[];
485
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutPlatformInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutPlatformInput[];
486
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyPlatformInputEnvelope;
487
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
488
+ };
489
+ export type ProductVariantStoreRankingUncheckedCreateNestedManyWithoutPlatformInput = {
490
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput> | Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput[];
491
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutPlatformInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutPlatformInput[];
492
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyPlatformInputEnvelope;
493
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
494
+ };
495
+ export type ProductVariantStoreRankingUpdateManyWithoutPlatformNestedInput = {
496
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput> | Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput[];
497
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutPlatformInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutPlatformInput[];
498
+ upsert?: Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutPlatformInput | Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutPlatformInput[];
499
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyPlatformInputEnvelope;
500
+ set?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
501
+ disconnect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
502
+ delete?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
503
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
504
+ update?: Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutPlatformInput | Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutPlatformInput[];
505
+ updateMany?: Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutPlatformInput | Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutPlatformInput[];
506
+ deleteMany?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
507
+ };
508
+ export type ProductVariantStoreRankingUncheckedUpdateManyWithoutPlatformNestedInput = {
509
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput> | Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput[];
510
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutPlatformInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutPlatformInput[];
511
+ upsert?: Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutPlatformInput | Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutPlatformInput[];
512
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyPlatformInputEnvelope;
513
+ set?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
514
+ disconnect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
515
+ delete?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
516
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
517
+ update?: Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutPlatformInput | Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutPlatformInput[];
518
+ updateMany?: Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutPlatformInput | Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutPlatformInput[];
519
+ deleteMany?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
520
+ };
521
+ export type ProductVariantStoreRankingCreateNestedManyWithoutProductInput = {
522
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput> | Prisma.ProductVariantStoreRankingCreateWithoutProductInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput[];
523
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductInput[];
524
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyProductInputEnvelope;
525
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
526
+ };
527
+ export type ProductVariantStoreRankingUncheckedCreateNestedManyWithoutProductInput = {
528
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput> | Prisma.ProductVariantStoreRankingCreateWithoutProductInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput[];
529
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductInput[];
530
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyProductInputEnvelope;
531
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
532
+ };
533
+ export type ProductVariantStoreRankingUpdateManyWithoutProductNestedInput = {
534
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput> | Prisma.ProductVariantStoreRankingCreateWithoutProductInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput[];
535
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductInput[];
536
+ upsert?: Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductInput | Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductInput[];
537
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyProductInputEnvelope;
538
+ set?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
539
+ disconnect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
540
+ delete?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
541
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
542
+ update?: Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductInput | Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductInput[];
543
+ updateMany?: Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutProductInput | Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutProductInput[];
544
+ deleteMany?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
545
+ };
546
+ export type ProductVariantStoreRankingUncheckedUpdateManyWithoutProductNestedInput = {
547
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput> | Prisma.ProductVariantStoreRankingCreateWithoutProductInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput[];
548
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductInput[];
549
+ upsert?: Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductInput | Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductInput[];
550
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyProductInputEnvelope;
551
+ set?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
552
+ disconnect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
553
+ delete?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
554
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
555
+ update?: Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductInput | Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductInput[];
556
+ updateMany?: Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutProductInput | Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutProductInput[];
557
+ deleteMany?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
558
+ };
559
+ export type ProductVariantStoreRankingCreateNestedManyWithoutProductVariantInput = {
560
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput[];
561
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductVariantInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductVariantInput[];
562
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyProductVariantInputEnvelope;
563
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
564
+ };
565
+ export type ProductVariantStoreRankingUncheckedCreateNestedManyWithoutProductVariantInput = {
566
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput[];
567
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductVariantInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductVariantInput[];
568
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyProductVariantInputEnvelope;
569
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
570
+ };
571
+ export type ProductVariantStoreRankingUpdateManyWithoutProductVariantNestedInput = {
572
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput[];
573
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductVariantInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductVariantInput[];
574
+ upsert?: Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductVariantInput[];
575
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyProductVariantInputEnvelope;
576
+ set?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
577
+ disconnect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
578
+ delete?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
579
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
580
+ update?: Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductVariantInput[];
581
+ updateMany?: Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutProductVariantInput | Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutProductVariantInput[];
582
+ deleteMany?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
583
+ };
584
+ export type ProductVariantStoreRankingUncheckedUpdateManyWithoutProductVariantNestedInput = {
585
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput> | Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput[];
586
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductVariantInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutProductVariantInput[];
587
+ upsert?: Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductVariantInput[];
588
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyProductVariantInputEnvelope;
589
+ set?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
590
+ disconnect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
591
+ delete?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
592
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
593
+ update?: Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductVariantInput[];
594
+ updateMany?: Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutProductVariantInput | Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutProductVariantInput[];
595
+ deleteMany?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
596
+ };
597
+ export type ProductVariantStoreRankingCreateNestedManyWithoutStoreInput = {
598
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutStoreInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput> | Prisma.ProductVariantStoreRankingCreateWithoutStoreInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput[];
599
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutStoreInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutStoreInput[];
600
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyStoreInputEnvelope;
601
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
602
+ };
603
+ export type ProductVariantStoreRankingUncheckedCreateNestedManyWithoutStoreInput = {
604
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutStoreInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput> | Prisma.ProductVariantStoreRankingCreateWithoutStoreInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput[];
605
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutStoreInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutStoreInput[];
606
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyStoreInputEnvelope;
607
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
608
+ };
609
+ export type ProductVariantStoreRankingUpdateManyWithoutStoreNestedInput = {
610
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutStoreInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput> | Prisma.ProductVariantStoreRankingCreateWithoutStoreInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput[];
611
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutStoreInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutStoreInput[];
612
+ upsert?: Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutStoreInput | Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutStoreInput[];
613
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyStoreInputEnvelope;
614
+ set?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
615
+ disconnect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
616
+ delete?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
617
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
618
+ update?: Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutStoreInput | Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutStoreInput[];
619
+ updateMany?: Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutStoreInput | Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutStoreInput[];
620
+ deleteMany?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
621
+ };
622
+ export type ProductVariantStoreRankingUncheckedUpdateManyWithoutStoreNestedInput = {
623
+ create?: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutStoreInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput> | Prisma.ProductVariantStoreRankingCreateWithoutStoreInput[] | Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput[];
624
+ connectOrCreate?: Prisma.ProductVariantStoreRankingCreateOrConnectWithoutStoreInput | Prisma.ProductVariantStoreRankingCreateOrConnectWithoutStoreInput[];
625
+ upsert?: Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutStoreInput | Prisma.ProductVariantStoreRankingUpsertWithWhereUniqueWithoutStoreInput[];
626
+ createMany?: Prisma.ProductVariantStoreRankingCreateManyStoreInputEnvelope;
627
+ set?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
628
+ disconnect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
629
+ delete?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
630
+ connect?: Prisma.ProductVariantStoreRankingWhereUniqueInput | Prisma.ProductVariantStoreRankingWhereUniqueInput[];
631
+ update?: Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutStoreInput | Prisma.ProductVariantStoreRankingUpdateWithWhereUniqueWithoutStoreInput[];
632
+ updateMany?: Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutStoreInput | Prisma.ProductVariantStoreRankingUpdateManyWithWhereWithoutStoreInput[];
633
+ deleteMany?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
634
+ };
635
+ export type ProductVariantStoreRankingCreateWithoutPlatformInput = {
636
+ id?: bigint | number;
637
+ createdAt?: Date | string;
638
+ updatedAt?: Date | string;
639
+ ranking?: number;
640
+ boostValue?: number;
641
+ grossRevenue?: number;
642
+ numOrders?: number;
643
+ productVariant: Prisma.ProductVariantCreateNestedOneWithoutProductVariantStoreRankingsInput;
644
+ product: Prisma.ProductCreateNestedOneWithoutProductVariantStoreRankingsInput;
645
+ store: Prisma.StoreCreateNestedOneWithoutProductVariantStoreRankingsInput;
646
+ };
647
+ export type ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput = {
648
+ id?: bigint | number;
649
+ createdAt?: Date | string;
650
+ updatedAt?: Date | string;
651
+ productId: bigint | number;
652
+ productVariantId: bigint | number;
653
+ storeId: string;
654
+ ranking?: number;
655
+ boostValue?: number;
656
+ grossRevenue?: number;
657
+ numOrders?: number;
658
+ };
659
+ export type ProductVariantStoreRankingCreateOrConnectWithoutPlatformInput = {
660
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
661
+ create: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput>;
662
+ };
663
+ export type ProductVariantStoreRankingCreateManyPlatformInputEnvelope = {
664
+ data: Prisma.ProductVariantStoreRankingCreateManyPlatformInput | Prisma.ProductVariantStoreRankingCreateManyPlatformInput[];
665
+ skipDuplicates?: boolean;
666
+ };
667
+ export type ProductVariantStoreRankingUpsertWithWhereUniqueWithoutPlatformInput = {
668
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
669
+ update: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateWithoutPlatformInput, Prisma.ProductVariantStoreRankingUncheckedUpdateWithoutPlatformInput>;
670
+ create: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutPlatformInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutPlatformInput>;
671
+ };
672
+ export type ProductVariantStoreRankingUpdateWithWhereUniqueWithoutPlatformInput = {
673
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
674
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateWithoutPlatformInput, Prisma.ProductVariantStoreRankingUncheckedUpdateWithoutPlatformInput>;
675
+ };
676
+ export type ProductVariantStoreRankingUpdateManyWithWhereWithoutPlatformInput = {
677
+ where: Prisma.ProductVariantStoreRankingScalarWhereInput;
678
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateManyMutationInput, Prisma.ProductVariantStoreRankingUncheckedUpdateManyWithoutPlatformInput>;
679
+ };
680
+ export type ProductVariantStoreRankingScalarWhereInput = {
681
+ AND?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
682
+ OR?: Prisma.ProductVariantStoreRankingScalarWhereInput[];
683
+ NOT?: Prisma.ProductVariantStoreRankingScalarWhereInput | Prisma.ProductVariantStoreRankingScalarWhereInput[];
684
+ id?: Prisma.BigIntFilter<"ProductVariantStoreRanking"> | bigint | number;
685
+ createdAt?: Prisma.DateTimeFilter<"ProductVariantStoreRanking"> | Date | string;
686
+ updatedAt?: Prisma.DateTimeFilter<"ProductVariantStoreRanking"> | Date | string;
687
+ productId?: Prisma.BigIntFilter<"ProductVariantStoreRanking"> | bigint | number;
688
+ productVariantId?: Prisma.BigIntFilter<"ProductVariantStoreRanking"> | bigint | number;
689
+ storeId?: Prisma.StringFilter<"ProductVariantStoreRanking"> | string;
690
+ platformId?: Prisma.StringFilter<"ProductVariantStoreRanking"> | string;
691
+ ranking?: Prisma.IntFilter<"ProductVariantStoreRanking"> | number;
692
+ boostValue?: Prisma.FloatFilter<"ProductVariantStoreRanking"> | number;
693
+ grossRevenue?: Prisma.FloatFilter<"ProductVariantStoreRanking"> | number;
694
+ numOrders?: Prisma.FloatFilter<"ProductVariantStoreRanking"> | number;
695
+ };
696
+ export type ProductVariantStoreRankingCreateWithoutProductInput = {
697
+ id?: bigint | number;
698
+ createdAt?: Date | string;
699
+ updatedAt?: Date | string;
700
+ ranking?: number;
701
+ boostValue?: number;
702
+ grossRevenue?: number;
703
+ numOrders?: number;
704
+ productVariant: Prisma.ProductVariantCreateNestedOneWithoutProductVariantStoreRankingsInput;
705
+ store: Prisma.StoreCreateNestedOneWithoutProductVariantStoreRankingsInput;
706
+ platform: Prisma.PlatformCreateNestedOneWithoutProductVariantStoreRankingsInput;
707
+ };
708
+ export type ProductVariantStoreRankingUncheckedCreateWithoutProductInput = {
709
+ id?: bigint | number;
710
+ createdAt?: Date | string;
711
+ updatedAt?: Date | string;
712
+ productVariantId: bigint | number;
713
+ storeId: string;
714
+ platformId: string;
715
+ ranking?: number;
716
+ boostValue?: number;
717
+ grossRevenue?: number;
718
+ numOrders?: number;
719
+ };
720
+ export type ProductVariantStoreRankingCreateOrConnectWithoutProductInput = {
721
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
722
+ create: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput>;
723
+ };
724
+ export type ProductVariantStoreRankingCreateManyProductInputEnvelope = {
725
+ data: Prisma.ProductVariantStoreRankingCreateManyProductInput | Prisma.ProductVariantStoreRankingCreateManyProductInput[];
726
+ skipDuplicates?: boolean;
727
+ };
728
+ export type ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductInput = {
729
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
730
+ update: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateWithoutProductInput, Prisma.ProductVariantStoreRankingUncheckedUpdateWithoutProductInput>;
731
+ create: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductInput>;
732
+ };
733
+ export type ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductInput = {
734
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
735
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateWithoutProductInput, Prisma.ProductVariantStoreRankingUncheckedUpdateWithoutProductInput>;
736
+ };
737
+ export type ProductVariantStoreRankingUpdateManyWithWhereWithoutProductInput = {
738
+ where: Prisma.ProductVariantStoreRankingScalarWhereInput;
739
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateManyMutationInput, Prisma.ProductVariantStoreRankingUncheckedUpdateManyWithoutProductInput>;
740
+ };
741
+ export type ProductVariantStoreRankingCreateWithoutProductVariantInput = {
742
+ id?: bigint | number;
743
+ createdAt?: Date | string;
744
+ updatedAt?: Date | string;
745
+ ranking?: number;
746
+ boostValue?: number;
747
+ grossRevenue?: number;
748
+ numOrders?: number;
749
+ product: Prisma.ProductCreateNestedOneWithoutProductVariantStoreRankingsInput;
750
+ store: Prisma.StoreCreateNestedOneWithoutProductVariantStoreRankingsInput;
751
+ platform: Prisma.PlatformCreateNestedOneWithoutProductVariantStoreRankingsInput;
752
+ };
753
+ export type ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput = {
754
+ id?: bigint | number;
755
+ createdAt?: Date | string;
756
+ updatedAt?: Date | string;
757
+ productId: bigint | number;
758
+ storeId: string;
759
+ platformId: string;
760
+ ranking?: number;
761
+ boostValue?: number;
762
+ grossRevenue?: number;
763
+ numOrders?: number;
764
+ };
765
+ export type ProductVariantStoreRankingCreateOrConnectWithoutProductVariantInput = {
766
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
767
+ create: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput>;
768
+ };
769
+ export type ProductVariantStoreRankingCreateManyProductVariantInputEnvelope = {
770
+ data: Prisma.ProductVariantStoreRankingCreateManyProductVariantInput | Prisma.ProductVariantStoreRankingCreateManyProductVariantInput[];
771
+ skipDuplicates?: boolean;
772
+ };
773
+ export type ProductVariantStoreRankingUpsertWithWhereUniqueWithoutProductVariantInput = {
774
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
775
+ update: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateWithoutProductVariantInput, Prisma.ProductVariantStoreRankingUncheckedUpdateWithoutProductVariantInput>;
776
+ create: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutProductVariantInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutProductVariantInput>;
777
+ };
778
+ export type ProductVariantStoreRankingUpdateWithWhereUniqueWithoutProductVariantInput = {
779
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
780
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateWithoutProductVariantInput, Prisma.ProductVariantStoreRankingUncheckedUpdateWithoutProductVariantInput>;
781
+ };
782
+ export type ProductVariantStoreRankingUpdateManyWithWhereWithoutProductVariantInput = {
783
+ where: Prisma.ProductVariantStoreRankingScalarWhereInput;
784
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateManyMutationInput, Prisma.ProductVariantStoreRankingUncheckedUpdateManyWithoutProductVariantInput>;
785
+ };
786
+ export type ProductVariantStoreRankingCreateWithoutStoreInput = {
787
+ id?: bigint | number;
788
+ createdAt?: Date | string;
789
+ updatedAt?: Date | string;
790
+ ranking?: number;
791
+ boostValue?: number;
792
+ grossRevenue?: number;
793
+ numOrders?: number;
794
+ productVariant: Prisma.ProductVariantCreateNestedOneWithoutProductVariantStoreRankingsInput;
795
+ product: Prisma.ProductCreateNestedOneWithoutProductVariantStoreRankingsInput;
796
+ platform: Prisma.PlatformCreateNestedOneWithoutProductVariantStoreRankingsInput;
797
+ };
798
+ export type ProductVariantStoreRankingUncheckedCreateWithoutStoreInput = {
799
+ id?: bigint | number;
800
+ createdAt?: Date | string;
801
+ updatedAt?: Date | string;
802
+ productId: bigint | number;
803
+ productVariantId: bigint | number;
804
+ platformId: string;
805
+ ranking?: number;
806
+ boostValue?: number;
807
+ grossRevenue?: number;
808
+ numOrders?: number;
809
+ };
810
+ export type ProductVariantStoreRankingCreateOrConnectWithoutStoreInput = {
811
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
812
+ create: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutStoreInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput>;
813
+ };
814
+ export type ProductVariantStoreRankingCreateManyStoreInputEnvelope = {
815
+ data: Prisma.ProductVariantStoreRankingCreateManyStoreInput | Prisma.ProductVariantStoreRankingCreateManyStoreInput[];
816
+ skipDuplicates?: boolean;
817
+ };
818
+ export type ProductVariantStoreRankingUpsertWithWhereUniqueWithoutStoreInput = {
819
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
820
+ update: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateWithoutStoreInput, Prisma.ProductVariantStoreRankingUncheckedUpdateWithoutStoreInput>;
821
+ create: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateWithoutStoreInput, Prisma.ProductVariantStoreRankingUncheckedCreateWithoutStoreInput>;
822
+ };
823
+ export type ProductVariantStoreRankingUpdateWithWhereUniqueWithoutStoreInput = {
824
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
825
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateWithoutStoreInput, Prisma.ProductVariantStoreRankingUncheckedUpdateWithoutStoreInput>;
826
+ };
827
+ export type ProductVariantStoreRankingUpdateManyWithWhereWithoutStoreInput = {
828
+ where: Prisma.ProductVariantStoreRankingScalarWhereInput;
829
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateManyMutationInput, Prisma.ProductVariantStoreRankingUncheckedUpdateManyWithoutStoreInput>;
830
+ };
831
+ export type ProductVariantStoreRankingCreateManyPlatformInput = {
832
+ id?: bigint | number;
833
+ createdAt?: Date | string;
834
+ updatedAt?: Date | string;
835
+ productId: bigint | number;
836
+ productVariantId: bigint | number;
837
+ storeId: string;
838
+ ranking?: number;
839
+ boostValue?: number;
840
+ grossRevenue?: number;
841
+ numOrders?: number;
842
+ };
843
+ export type ProductVariantStoreRankingUpdateWithoutPlatformInput = {
844
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
845
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
846
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
847
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
848
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
849
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
850
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
851
+ productVariant?: Prisma.ProductVariantUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
852
+ product?: Prisma.ProductUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
853
+ store?: Prisma.StoreUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
854
+ };
855
+ export type ProductVariantStoreRankingUncheckedUpdateWithoutPlatformInput = {
856
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
857
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
858
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
859
+ productId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
860
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
861
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
862
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
863
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
864
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
865
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
866
+ };
867
+ export type ProductVariantStoreRankingUncheckedUpdateManyWithoutPlatformInput = {
868
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
869
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
870
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
871
+ productId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
872
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
873
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
874
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
875
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
876
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
877
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
878
+ };
879
+ export type ProductVariantStoreRankingCreateManyProductInput = {
880
+ id?: bigint | number;
881
+ createdAt?: Date | string;
882
+ updatedAt?: Date | string;
883
+ productVariantId: bigint | number;
884
+ storeId: string;
885
+ platformId: string;
886
+ ranking?: number;
887
+ boostValue?: number;
888
+ grossRevenue?: number;
889
+ numOrders?: number;
890
+ };
891
+ export type ProductVariantStoreRankingUpdateWithoutProductInput = {
892
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
893
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
894
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
895
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
896
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
897
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
898
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
899
+ productVariant?: Prisma.ProductVariantUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
900
+ store?: Prisma.StoreUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
901
+ platform?: Prisma.PlatformUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
902
+ };
903
+ export type ProductVariantStoreRankingUncheckedUpdateWithoutProductInput = {
904
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
905
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
906
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
907
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
908
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
909
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
910
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
911
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
912
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
913
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
914
+ };
915
+ export type ProductVariantStoreRankingUncheckedUpdateManyWithoutProductInput = {
916
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
917
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
918
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
919
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
920
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
921
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
922
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
923
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
924
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
925
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
926
+ };
927
+ export type ProductVariantStoreRankingCreateManyProductVariantInput = {
928
+ id?: bigint | number;
929
+ createdAt?: Date | string;
930
+ updatedAt?: Date | string;
931
+ productId: bigint | number;
932
+ storeId: string;
933
+ platformId: string;
934
+ ranking?: number;
935
+ boostValue?: number;
936
+ grossRevenue?: number;
937
+ numOrders?: number;
938
+ };
939
+ export type ProductVariantStoreRankingUpdateWithoutProductVariantInput = {
940
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
941
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
942
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
943
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
944
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
945
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
946
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
947
+ product?: Prisma.ProductUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
948
+ store?: Prisma.StoreUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
949
+ platform?: Prisma.PlatformUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
950
+ };
951
+ export type ProductVariantStoreRankingUncheckedUpdateWithoutProductVariantInput = {
952
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
953
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
954
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
955
+ productId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
956
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
957
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
958
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
959
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
960
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
961
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
962
+ };
963
+ export type ProductVariantStoreRankingUncheckedUpdateManyWithoutProductVariantInput = {
964
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
965
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
966
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
967
+ productId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
968
+ storeId?: Prisma.StringFieldUpdateOperationsInput | string;
969
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
970
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
971
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
972
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
973
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
974
+ };
975
+ export type ProductVariantStoreRankingCreateManyStoreInput = {
976
+ id?: bigint | number;
977
+ createdAt?: Date | string;
978
+ updatedAt?: Date | string;
979
+ productId: bigint | number;
980
+ productVariantId: bigint | number;
981
+ platformId: string;
982
+ ranking?: number;
983
+ boostValue?: number;
984
+ grossRevenue?: number;
985
+ numOrders?: number;
986
+ };
987
+ export type ProductVariantStoreRankingUpdateWithoutStoreInput = {
988
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
989
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
990
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
991
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
992
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
993
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
994
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
995
+ productVariant?: Prisma.ProductVariantUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
996
+ product?: Prisma.ProductUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
997
+ platform?: Prisma.PlatformUpdateOneRequiredWithoutProductVariantStoreRankingsNestedInput;
998
+ };
999
+ export type ProductVariantStoreRankingUncheckedUpdateWithoutStoreInput = {
1000
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1001
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1002
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1003
+ productId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1004
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1005
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
1006
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
1007
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
1008
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
1009
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
1010
+ };
1011
+ export type ProductVariantStoreRankingUncheckedUpdateManyWithoutStoreInput = {
1012
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1013
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1014
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
1015
+ productId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1016
+ productVariantId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
1017
+ platformId?: Prisma.StringFieldUpdateOperationsInput | string;
1018
+ ranking?: Prisma.IntFieldUpdateOperationsInput | number;
1019
+ boostValue?: Prisma.FloatFieldUpdateOperationsInput | number;
1020
+ grossRevenue?: Prisma.FloatFieldUpdateOperationsInput | number;
1021
+ numOrders?: Prisma.FloatFieldUpdateOperationsInput | number;
1022
+ };
1023
+ export type ProductVariantStoreRankingSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1024
+ id?: boolean;
1025
+ createdAt?: boolean;
1026
+ updatedAt?: boolean;
1027
+ productId?: boolean;
1028
+ productVariantId?: boolean;
1029
+ storeId?: boolean;
1030
+ platformId?: boolean;
1031
+ ranking?: boolean;
1032
+ boostValue?: boolean;
1033
+ grossRevenue?: boolean;
1034
+ numOrders?: boolean;
1035
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1036
+ product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
1037
+ store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
1038
+ platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
1039
+ }, ExtArgs["result"]["productVariantStoreRanking"]>;
1040
+ export type ProductVariantStoreRankingSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1041
+ id?: boolean;
1042
+ createdAt?: boolean;
1043
+ updatedAt?: boolean;
1044
+ productId?: boolean;
1045
+ productVariantId?: boolean;
1046
+ storeId?: boolean;
1047
+ platformId?: boolean;
1048
+ ranking?: boolean;
1049
+ boostValue?: boolean;
1050
+ grossRevenue?: boolean;
1051
+ numOrders?: boolean;
1052
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1053
+ product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
1054
+ store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
1055
+ platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
1056
+ }, ExtArgs["result"]["productVariantStoreRanking"]>;
1057
+ export type ProductVariantStoreRankingSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
1058
+ id?: boolean;
1059
+ createdAt?: boolean;
1060
+ updatedAt?: boolean;
1061
+ productId?: boolean;
1062
+ productVariantId?: boolean;
1063
+ storeId?: boolean;
1064
+ platformId?: boolean;
1065
+ ranking?: boolean;
1066
+ boostValue?: boolean;
1067
+ grossRevenue?: boolean;
1068
+ numOrders?: boolean;
1069
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1070
+ product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
1071
+ store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
1072
+ platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
1073
+ }, ExtArgs["result"]["productVariantStoreRanking"]>;
1074
+ export type ProductVariantStoreRankingSelectScalar = {
1075
+ id?: boolean;
1076
+ createdAt?: boolean;
1077
+ updatedAt?: boolean;
1078
+ productId?: boolean;
1079
+ productVariantId?: boolean;
1080
+ storeId?: boolean;
1081
+ platformId?: boolean;
1082
+ ranking?: boolean;
1083
+ boostValue?: boolean;
1084
+ grossRevenue?: boolean;
1085
+ numOrders?: boolean;
1086
+ };
1087
+ export type ProductVariantStoreRankingOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "productId" | "productVariantId" | "storeId" | "platformId" | "ranking" | "boostValue" | "grossRevenue" | "numOrders", ExtArgs["result"]["productVariantStoreRanking"]>;
1088
+ export type ProductVariantStoreRankingInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1089
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1090
+ product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
1091
+ store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
1092
+ platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
1093
+ };
1094
+ export type ProductVariantStoreRankingIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1095
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1096
+ product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
1097
+ store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
1098
+ platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
1099
+ };
1100
+ export type ProductVariantStoreRankingIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1101
+ productVariant?: boolean | Prisma.ProductVariantDefaultArgs<ExtArgs>;
1102
+ product?: boolean | Prisma.ProductDefaultArgs<ExtArgs>;
1103
+ store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
1104
+ platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
1105
+ };
1106
+ export type $ProductVariantStoreRankingPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1107
+ name: "ProductVariantStoreRanking";
1108
+ objects: {
1109
+ productVariant: Prisma.$ProductVariantPayload<ExtArgs>;
1110
+ product: Prisma.$ProductPayload<ExtArgs>;
1111
+ store: Prisma.$StorePayload<ExtArgs>;
1112
+ platform: Prisma.$PlatformPayload<ExtArgs>;
1113
+ };
1114
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
1115
+ id: bigint;
1116
+ createdAt: Date;
1117
+ updatedAt: Date;
1118
+ productId: bigint;
1119
+ productVariantId: bigint;
1120
+ storeId: string;
1121
+ platformId: string;
1122
+ ranking: number;
1123
+ boostValue: number;
1124
+ grossRevenue: number;
1125
+ numOrders: number;
1126
+ }, ExtArgs["result"]["productVariantStoreRanking"]>;
1127
+ composites: {};
1128
+ };
1129
+ export type ProductVariantStoreRankingGetPayload<S extends boolean | null | undefined | ProductVariantStoreRankingDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload, S>;
1130
+ export type ProductVariantStoreRankingCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ProductVariantStoreRankingFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
1131
+ select?: ProductVariantStoreRankingCountAggregateInputType | true;
1132
+ };
1133
+ export interface ProductVariantStoreRankingDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
1134
+ [K: symbol]: {
1135
+ types: Prisma.TypeMap<ExtArgs>['model']['ProductVariantStoreRanking'];
1136
+ meta: {
1137
+ name: 'ProductVariantStoreRanking';
1138
+ };
1139
+ };
1140
+ /**
1141
+ * Find zero or one ProductVariantStoreRanking that matches the filter.
1142
+ * @param {ProductVariantStoreRankingFindUniqueArgs} args - Arguments to find a ProductVariantStoreRanking
1143
+ * @example
1144
+ * // Get one ProductVariantStoreRanking
1145
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.findUnique({
1146
+ * where: {
1147
+ * // ... provide filter here
1148
+ * }
1149
+ * })
1150
+ */
1151
+ findUnique<T extends ProductVariantStoreRankingFindUniqueArgs>(args: Prisma.SelectSubset<T, ProductVariantStoreRankingFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ProductVariantStoreRankingClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1152
+ /**
1153
+ * Find one ProductVariantStoreRanking that matches the filter or throw an error with `error.code='P2025'`
1154
+ * if no matches were found.
1155
+ * @param {ProductVariantStoreRankingFindUniqueOrThrowArgs} args - Arguments to find a ProductVariantStoreRanking
1156
+ * @example
1157
+ * // Get one ProductVariantStoreRanking
1158
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.findUniqueOrThrow({
1159
+ * where: {
1160
+ * // ... provide filter here
1161
+ * }
1162
+ * })
1163
+ */
1164
+ findUniqueOrThrow<T extends ProductVariantStoreRankingFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ProductVariantStoreRankingFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductVariantStoreRankingClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1165
+ /**
1166
+ * Find the first ProductVariantStoreRanking that matches the filter.
1167
+ * Note, that providing `undefined` is treated as the value not being there.
1168
+ * Read more here: https://pris.ly/d/null-undefined
1169
+ * @param {ProductVariantStoreRankingFindFirstArgs} args - Arguments to find a ProductVariantStoreRanking
1170
+ * @example
1171
+ * // Get one ProductVariantStoreRanking
1172
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.findFirst({
1173
+ * where: {
1174
+ * // ... provide filter here
1175
+ * }
1176
+ * })
1177
+ */
1178
+ findFirst<T extends ProductVariantStoreRankingFindFirstArgs>(args?: Prisma.SelectSubset<T, ProductVariantStoreRankingFindFirstArgs<ExtArgs>>): Prisma.Prisma__ProductVariantStoreRankingClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1179
+ /**
1180
+ * Find the first ProductVariantStoreRanking that matches the filter or
1181
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
1182
+ * Note, that providing `undefined` is treated as the value not being there.
1183
+ * Read more here: https://pris.ly/d/null-undefined
1184
+ * @param {ProductVariantStoreRankingFindFirstOrThrowArgs} args - Arguments to find a ProductVariantStoreRanking
1185
+ * @example
1186
+ * // Get one ProductVariantStoreRanking
1187
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.findFirstOrThrow({
1188
+ * where: {
1189
+ * // ... provide filter here
1190
+ * }
1191
+ * })
1192
+ */
1193
+ findFirstOrThrow<T extends ProductVariantStoreRankingFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ProductVariantStoreRankingFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ProductVariantStoreRankingClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1194
+ /**
1195
+ * Find zero or more ProductVariantStoreRankings that matches the filter.
1196
+ * Note, that providing `undefined` is treated as the value not being there.
1197
+ * Read more here: https://pris.ly/d/null-undefined
1198
+ * @param {ProductVariantStoreRankingFindManyArgs} args - Arguments to filter and select certain fields only.
1199
+ * @example
1200
+ * // Get all ProductVariantStoreRankings
1201
+ * const productVariantStoreRankings = await prisma.productVariantStoreRanking.findMany()
1202
+ *
1203
+ * // Get first 10 ProductVariantStoreRankings
1204
+ * const productVariantStoreRankings = await prisma.productVariantStoreRanking.findMany({ take: 10 })
1205
+ *
1206
+ * // Only select the `id`
1207
+ * const productVariantStoreRankingWithIdOnly = await prisma.productVariantStoreRanking.findMany({ select: { id: true } })
1208
+ *
1209
+ */
1210
+ findMany<T extends ProductVariantStoreRankingFindManyArgs>(args?: Prisma.SelectSubset<T, ProductVariantStoreRankingFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
1211
+ /**
1212
+ * Create a ProductVariantStoreRanking.
1213
+ * @param {ProductVariantStoreRankingCreateArgs} args - Arguments to create a ProductVariantStoreRanking.
1214
+ * @example
1215
+ * // Create one ProductVariantStoreRanking
1216
+ * const ProductVariantStoreRanking = await prisma.productVariantStoreRanking.create({
1217
+ * data: {
1218
+ * // ... data to create a ProductVariantStoreRanking
1219
+ * }
1220
+ * })
1221
+ *
1222
+ */
1223
+ create<T extends ProductVariantStoreRankingCreateArgs>(args: Prisma.SelectSubset<T, ProductVariantStoreRankingCreateArgs<ExtArgs>>): Prisma.Prisma__ProductVariantStoreRankingClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1224
+ /**
1225
+ * Create many ProductVariantStoreRankings.
1226
+ * @param {ProductVariantStoreRankingCreateManyArgs} args - Arguments to create many ProductVariantStoreRankings.
1227
+ * @example
1228
+ * // Create many ProductVariantStoreRankings
1229
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.createMany({
1230
+ * data: [
1231
+ * // ... provide data here
1232
+ * ]
1233
+ * })
1234
+ *
1235
+ */
1236
+ createMany<T extends ProductVariantStoreRankingCreateManyArgs>(args?: Prisma.SelectSubset<T, ProductVariantStoreRankingCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1237
+ /**
1238
+ * Create many ProductVariantStoreRankings and returns the data saved in the database.
1239
+ * @param {ProductVariantStoreRankingCreateManyAndReturnArgs} args - Arguments to create many ProductVariantStoreRankings.
1240
+ * @example
1241
+ * // Create many ProductVariantStoreRankings
1242
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.createManyAndReturn({
1243
+ * data: [
1244
+ * // ... provide data here
1245
+ * ]
1246
+ * })
1247
+ *
1248
+ * // Create many ProductVariantStoreRankings and only return the `id`
1249
+ * const productVariantStoreRankingWithIdOnly = await prisma.productVariantStoreRanking.createManyAndReturn({
1250
+ * select: { id: true },
1251
+ * data: [
1252
+ * // ... provide data here
1253
+ * ]
1254
+ * })
1255
+ * Note, that providing `undefined` is treated as the value not being there.
1256
+ * Read more here: https://pris.ly/d/null-undefined
1257
+ *
1258
+ */
1259
+ createManyAndReturn<T extends ProductVariantStoreRankingCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ProductVariantStoreRankingCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
1260
+ /**
1261
+ * Delete a ProductVariantStoreRanking.
1262
+ * @param {ProductVariantStoreRankingDeleteArgs} args - Arguments to delete one ProductVariantStoreRanking.
1263
+ * @example
1264
+ * // Delete one ProductVariantStoreRanking
1265
+ * const ProductVariantStoreRanking = await prisma.productVariantStoreRanking.delete({
1266
+ * where: {
1267
+ * // ... filter to delete one ProductVariantStoreRanking
1268
+ * }
1269
+ * })
1270
+ *
1271
+ */
1272
+ delete<T extends ProductVariantStoreRankingDeleteArgs>(args: Prisma.SelectSubset<T, ProductVariantStoreRankingDeleteArgs<ExtArgs>>): Prisma.Prisma__ProductVariantStoreRankingClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1273
+ /**
1274
+ * Update one ProductVariantStoreRanking.
1275
+ * @param {ProductVariantStoreRankingUpdateArgs} args - Arguments to update one ProductVariantStoreRanking.
1276
+ * @example
1277
+ * // Update one ProductVariantStoreRanking
1278
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.update({
1279
+ * where: {
1280
+ * // ... provide filter here
1281
+ * },
1282
+ * data: {
1283
+ * // ... provide data here
1284
+ * }
1285
+ * })
1286
+ *
1287
+ */
1288
+ update<T extends ProductVariantStoreRankingUpdateArgs>(args: Prisma.SelectSubset<T, ProductVariantStoreRankingUpdateArgs<ExtArgs>>): Prisma.Prisma__ProductVariantStoreRankingClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1289
+ /**
1290
+ * Delete zero or more ProductVariantStoreRankings.
1291
+ * @param {ProductVariantStoreRankingDeleteManyArgs} args - Arguments to filter ProductVariantStoreRankings to delete.
1292
+ * @example
1293
+ * // Delete a few ProductVariantStoreRankings
1294
+ * const { count } = await prisma.productVariantStoreRanking.deleteMany({
1295
+ * where: {
1296
+ * // ... provide filter here
1297
+ * }
1298
+ * })
1299
+ *
1300
+ */
1301
+ deleteMany<T extends ProductVariantStoreRankingDeleteManyArgs>(args?: Prisma.SelectSubset<T, ProductVariantStoreRankingDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1302
+ /**
1303
+ * Update zero or more ProductVariantStoreRankings.
1304
+ * Note, that providing `undefined` is treated as the value not being there.
1305
+ * Read more here: https://pris.ly/d/null-undefined
1306
+ * @param {ProductVariantStoreRankingUpdateManyArgs} args - Arguments to update one or more rows.
1307
+ * @example
1308
+ * // Update many ProductVariantStoreRankings
1309
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.updateMany({
1310
+ * where: {
1311
+ * // ... provide filter here
1312
+ * },
1313
+ * data: {
1314
+ * // ... provide data here
1315
+ * }
1316
+ * })
1317
+ *
1318
+ */
1319
+ updateMany<T extends ProductVariantStoreRankingUpdateManyArgs>(args: Prisma.SelectSubset<T, ProductVariantStoreRankingUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
1320
+ /**
1321
+ * Update zero or more ProductVariantStoreRankings and returns the data updated in the database.
1322
+ * @param {ProductVariantStoreRankingUpdateManyAndReturnArgs} args - Arguments to update many ProductVariantStoreRankings.
1323
+ * @example
1324
+ * // Update many ProductVariantStoreRankings
1325
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.updateManyAndReturn({
1326
+ * where: {
1327
+ * // ... provide filter here
1328
+ * },
1329
+ * data: [
1330
+ * // ... provide data here
1331
+ * ]
1332
+ * })
1333
+ *
1334
+ * // Update zero or more ProductVariantStoreRankings and only return the `id`
1335
+ * const productVariantStoreRankingWithIdOnly = await prisma.productVariantStoreRanking.updateManyAndReturn({
1336
+ * select: { id: true },
1337
+ * where: {
1338
+ * // ... provide filter here
1339
+ * },
1340
+ * data: [
1341
+ * // ... provide data here
1342
+ * ]
1343
+ * })
1344
+ * Note, that providing `undefined` is treated as the value not being there.
1345
+ * Read more here: https://pris.ly/d/null-undefined
1346
+ *
1347
+ */
1348
+ updateManyAndReturn<T extends ProductVariantStoreRankingUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ProductVariantStoreRankingUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
1349
+ /**
1350
+ * Create or update one ProductVariantStoreRanking.
1351
+ * @param {ProductVariantStoreRankingUpsertArgs} args - Arguments to update or create a ProductVariantStoreRanking.
1352
+ * @example
1353
+ * // Update or create a ProductVariantStoreRanking
1354
+ * const productVariantStoreRanking = await prisma.productVariantStoreRanking.upsert({
1355
+ * create: {
1356
+ * // ... data to create a ProductVariantStoreRanking
1357
+ * },
1358
+ * update: {
1359
+ * // ... in case it already exists, update
1360
+ * },
1361
+ * where: {
1362
+ * // ... the filter for the ProductVariantStoreRanking we want to update
1363
+ * }
1364
+ * })
1365
+ */
1366
+ upsert<T extends ProductVariantStoreRankingUpsertArgs>(args: Prisma.SelectSubset<T, ProductVariantStoreRankingUpsertArgs<ExtArgs>>): Prisma.Prisma__ProductVariantStoreRankingClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantStoreRankingPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
1367
+ /**
1368
+ * Count the number of ProductVariantStoreRankings.
1369
+ * Note, that providing `undefined` is treated as the value not being there.
1370
+ * Read more here: https://pris.ly/d/null-undefined
1371
+ * @param {ProductVariantStoreRankingCountArgs} args - Arguments to filter ProductVariantStoreRankings to count.
1372
+ * @example
1373
+ * // Count the number of ProductVariantStoreRankings
1374
+ * const count = await prisma.productVariantStoreRanking.count({
1375
+ * where: {
1376
+ * // ... the filter for the ProductVariantStoreRankings we want to count
1377
+ * }
1378
+ * })
1379
+ **/
1380
+ count<T extends ProductVariantStoreRankingCountArgs>(args?: Prisma.Subset<T, ProductVariantStoreRankingCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ProductVariantStoreRankingCountAggregateOutputType> : number>;
1381
+ /**
1382
+ * Allows you to perform aggregations operations on a ProductVariantStoreRanking.
1383
+ * Note, that providing `undefined` is treated as the value not being there.
1384
+ * Read more here: https://pris.ly/d/null-undefined
1385
+ * @param {ProductVariantStoreRankingAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
1386
+ * @example
1387
+ * // Ordered by age ascending
1388
+ * // Where email contains prisma.io
1389
+ * // Limited to the 10 users
1390
+ * const aggregations = await prisma.user.aggregate({
1391
+ * _avg: {
1392
+ * age: true,
1393
+ * },
1394
+ * where: {
1395
+ * email: {
1396
+ * contains: "prisma.io",
1397
+ * },
1398
+ * },
1399
+ * orderBy: {
1400
+ * age: "asc",
1401
+ * },
1402
+ * take: 10,
1403
+ * })
1404
+ **/
1405
+ aggregate<T extends ProductVariantStoreRankingAggregateArgs>(args: Prisma.Subset<T, ProductVariantStoreRankingAggregateArgs>): Prisma.PrismaPromise<GetProductVariantStoreRankingAggregateType<T>>;
1406
+ /**
1407
+ * Group by ProductVariantStoreRanking.
1408
+ * Note, that providing `undefined` is treated as the value not being there.
1409
+ * Read more here: https://pris.ly/d/null-undefined
1410
+ * @param {ProductVariantStoreRankingGroupByArgs} args - Group by arguments.
1411
+ * @example
1412
+ * // Group by city, order by createdAt, get count
1413
+ * const result = await prisma.user.groupBy({
1414
+ * by: ['city', 'createdAt'],
1415
+ * orderBy: {
1416
+ * createdAt: true
1417
+ * },
1418
+ * _count: {
1419
+ * _all: true
1420
+ * },
1421
+ * })
1422
+ *
1423
+ **/
1424
+ groupBy<T extends ProductVariantStoreRankingGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1425
+ orderBy: ProductVariantStoreRankingGroupByArgs['orderBy'];
1426
+ } : {
1427
+ orderBy?: ProductVariantStoreRankingGroupByArgs['orderBy'];
1428
+ }, 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 ? {
1429
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1430
+ Error,
1431
+ 'Field ',
1432
+ P,
1433
+ ` in "having" needs to be provided in "by"`
1434
+ ];
1435
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1436
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1437
+ }[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 ? {} : {
1438
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1439
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1440
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1441
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, ProductVariantStoreRankingGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetProductVariantStoreRankingGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1442
+ /**
1443
+ * Fields of the ProductVariantStoreRanking model
1444
+ */
1445
+ readonly fields: ProductVariantStoreRankingFieldRefs;
1446
+ }
1447
+ /**
1448
+ * The delegate class that acts as a "Promise-like" for ProductVariantStoreRanking.
1449
+ * Why is this prefixed with `Prisma__`?
1450
+ * Because we want to prevent naming conflicts as mentioned in
1451
+ * https://github.com/prisma/prisma-client-js/issues/707
1452
+ */
1453
+ export interface Prisma__ProductVariantStoreRankingClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1454
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1455
+ productVariant<T extends Prisma.ProductVariantDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductVariantDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductVariantClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1456
+ product<T extends Prisma.ProductDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ProductDefaultArgs<ExtArgs>>): Prisma.Prisma__ProductClient<runtime.Types.Result.GetResult<Prisma.$ProductPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1457
+ store<T extends Prisma.StoreDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StoreDefaultArgs<ExtArgs>>): Prisma.Prisma__StoreClient<runtime.Types.Result.GetResult<Prisma.$StorePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1458
+ platform<T extends Prisma.PlatformDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.PlatformDefaultArgs<ExtArgs>>): Prisma.Prisma__PlatformClient<runtime.Types.Result.GetResult<Prisma.$PlatformPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
1459
+ /**
1460
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1461
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1462
+ * @param onrejected The callback to execute when the Promise is rejected.
1463
+ * @returns A Promise for the completion of which ever callback is executed.
1464
+ */
1465
+ 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>;
1466
+ /**
1467
+ * Attaches a callback for only the rejection of the Promise.
1468
+ * @param onrejected The callback to execute when the Promise is rejected.
1469
+ * @returns A Promise for the completion of the callback.
1470
+ */
1471
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1472
+ /**
1473
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1474
+ * resolved value cannot be modified from the callback.
1475
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1476
+ * @returns A Promise for the completion of the callback.
1477
+ */
1478
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1479
+ }
1480
+ /**
1481
+ * Fields of the ProductVariantStoreRanking model
1482
+ */
1483
+ export interface ProductVariantStoreRankingFieldRefs {
1484
+ readonly id: Prisma.FieldRef<"ProductVariantStoreRanking", 'BigInt'>;
1485
+ readonly createdAt: Prisma.FieldRef<"ProductVariantStoreRanking", 'DateTime'>;
1486
+ readonly updatedAt: Prisma.FieldRef<"ProductVariantStoreRanking", 'DateTime'>;
1487
+ readonly productId: Prisma.FieldRef<"ProductVariantStoreRanking", 'BigInt'>;
1488
+ readonly productVariantId: Prisma.FieldRef<"ProductVariantStoreRanking", 'BigInt'>;
1489
+ readonly storeId: Prisma.FieldRef<"ProductVariantStoreRanking", 'String'>;
1490
+ readonly platformId: Prisma.FieldRef<"ProductVariantStoreRanking", 'String'>;
1491
+ readonly ranking: Prisma.FieldRef<"ProductVariantStoreRanking", 'Int'>;
1492
+ readonly boostValue: Prisma.FieldRef<"ProductVariantStoreRanking", 'Float'>;
1493
+ readonly grossRevenue: Prisma.FieldRef<"ProductVariantStoreRanking", 'Float'>;
1494
+ readonly numOrders: Prisma.FieldRef<"ProductVariantStoreRanking", 'Float'>;
1495
+ }
1496
+ /**
1497
+ * ProductVariantStoreRanking findUnique
1498
+ */
1499
+ export type ProductVariantStoreRankingFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1500
+ /**
1501
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1502
+ */
1503
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1504
+ /**
1505
+ * Omit specific fields from the ProductVariantStoreRanking
1506
+ */
1507
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1508
+ /**
1509
+ * Choose, which related nodes to fetch as well
1510
+ */
1511
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1512
+ /**
1513
+ * Filter, which ProductVariantStoreRanking to fetch.
1514
+ */
1515
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
1516
+ };
1517
+ /**
1518
+ * ProductVariantStoreRanking findUniqueOrThrow
1519
+ */
1520
+ export type ProductVariantStoreRankingFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1521
+ /**
1522
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1523
+ */
1524
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1525
+ /**
1526
+ * Omit specific fields from the ProductVariantStoreRanking
1527
+ */
1528
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1529
+ /**
1530
+ * Choose, which related nodes to fetch as well
1531
+ */
1532
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1533
+ /**
1534
+ * Filter, which ProductVariantStoreRanking to fetch.
1535
+ */
1536
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
1537
+ };
1538
+ /**
1539
+ * ProductVariantStoreRanking findFirst
1540
+ */
1541
+ export type ProductVariantStoreRankingFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1542
+ /**
1543
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1544
+ */
1545
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1546
+ /**
1547
+ * Omit specific fields from the ProductVariantStoreRanking
1548
+ */
1549
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1550
+ /**
1551
+ * Choose, which related nodes to fetch as well
1552
+ */
1553
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1554
+ /**
1555
+ * Filter, which ProductVariantStoreRanking to fetch.
1556
+ */
1557
+ where?: Prisma.ProductVariantStoreRankingWhereInput;
1558
+ /**
1559
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1560
+ *
1561
+ * Determine the order of ProductVariantStoreRankings to fetch.
1562
+ */
1563
+ orderBy?: Prisma.ProductVariantStoreRankingOrderByWithRelationInput | Prisma.ProductVariantStoreRankingOrderByWithRelationInput[];
1564
+ /**
1565
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1566
+ *
1567
+ * Sets the position for searching for ProductVariantStoreRankings.
1568
+ */
1569
+ cursor?: Prisma.ProductVariantStoreRankingWhereUniqueInput;
1570
+ /**
1571
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1572
+ *
1573
+ * Take `±n` ProductVariantStoreRankings from the position of the cursor.
1574
+ */
1575
+ take?: number;
1576
+ /**
1577
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1578
+ *
1579
+ * Skip the first `n` ProductVariantStoreRankings.
1580
+ */
1581
+ skip?: number;
1582
+ /**
1583
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1584
+ *
1585
+ * Filter by unique combinations of ProductVariantStoreRankings.
1586
+ */
1587
+ distinct?: Prisma.ProductVariantStoreRankingScalarFieldEnum | Prisma.ProductVariantStoreRankingScalarFieldEnum[];
1588
+ };
1589
+ /**
1590
+ * ProductVariantStoreRanking findFirstOrThrow
1591
+ */
1592
+ export type ProductVariantStoreRankingFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1593
+ /**
1594
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1595
+ */
1596
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1597
+ /**
1598
+ * Omit specific fields from the ProductVariantStoreRanking
1599
+ */
1600
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1601
+ /**
1602
+ * Choose, which related nodes to fetch as well
1603
+ */
1604
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1605
+ /**
1606
+ * Filter, which ProductVariantStoreRanking to fetch.
1607
+ */
1608
+ where?: Prisma.ProductVariantStoreRankingWhereInput;
1609
+ /**
1610
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1611
+ *
1612
+ * Determine the order of ProductVariantStoreRankings to fetch.
1613
+ */
1614
+ orderBy?: Prisma.ProductVariantStoreRankingOrderByWithRelationInput | Prisma.ProductVariantStoreRankingOrderByWithRelationInput[];
1615
+ /**
1616
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1617
+ *
1618
+ * Sets the position for searching for ProductVariantStoreRankings.
1619
+ */
1620
+ cursor?: Prisma.ProductVariantStoreRankingWhereUniqueInput;
1621
+ /**
1622
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1623
+ *
1624
+ * Take `±n` ProductVariantStoreRankings from the position of the cursor.
1625
+ */
1626
+ take?: number;
1627
+ /**
1628
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1629
+ *
1630
+ * Skip the first `n` ProductVariantStoreRankings.
1631
+ */
1632
+ skip?: number;
1633
+ /**
1634
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1635
+ *
1636
+ * Filter by unique combinations of ProductVariantStoreRankings.
1637
+ */
1638
+ distinct?: Prisma.ProductVariantStoreRankingScalarFieldEnum | Prisma.ProductVariantStoreRankingScalarFieldEnum[];
1639
+ };
1640
+ /**
1641
+ * ProductVariantStoreRanking findMany
1642
+ */
1643
+ export type ProductVariantStoreRankingFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1644
+ /**
1645
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1646
+ */
1647
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1648
+ /**
1649
+ * Omit specific fields from the ProductVariantStoreRanking
1650
+ */
1651
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1652
+ /**
1653
+ * Choose, which related nodes to fetch as well
1654
+ */
1655
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1656
+ /**
1657
+ * Filter, which ProductVariantStoreRankings to fetch.
1658
+ */
1659
+ where?: Prisma.ProductVariantStoreRankingWhereInput;
1660
+ /**
1661
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1662
+ *
1663
+ * Determine the order of ProductVariantStoreRankings to fetch.
1664
+ */
1665
+ orderBy?: Prisma.ProductVariantStoreRankingOrderByWithRelationInput | Prisma.ProductVariantStoreRankingOrderByWithRelationInput[];
1666
+ /**
1667
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1668
+ *
1669
+ * Sets the position for listing ProductVariantStoreRankings.
1670
+ */
1671
+ cursor?: Prisma.ProductVariantStoreRankingWhereUniqueInput;
1672
+ /**
1673
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1674
+ *
1675
+ * Take `±n` ProductVariantStoreRankings from the position of the cursor.
1676
+ */
1677
+ take?: number;
1678
+ /**
1679
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1680
+ *
1681
+ * Skip the first `n` ProductVariantStoreRankings.
1682
+ */
1683
+ skip?: number;
1684
+ distinct?: Prisma.ProductVariantStoreRankingScalarFieldEnum | Prisma.ProductVariantStoreRankingScalarFieldEnum[];
1685
+ };
1686
+ /**
1687
+ * ProductVariantStoreRanking create
1688
+ */
1689
+ export type ProductVariantStoreRankingCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1690
+ /**
1691
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1692
+ */
1693
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1694
+ /**
1695
+ * Omit specific fields from the ProductVariantStoreRanking
1696
+ */
1697
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1698
+ /**
1699
+ * Choose, which related nodes to fetch as well
1700
+ */
1701
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1702
+ /**
1703
+ * The data needed to create a ProductVariantStoreRanking.
1704
+ */
1705
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateInput, Prisma.ProductVariantStoreRankingUncheckedCreateInput>;
1706
+ };
1707
+ /**
1708
+ * ProductVariantStoreRanking createMany
1709
+ */
1710
+ export type ProductVariantStoreRankingCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1711
+ /**
1712
+ * The data used to create many ProductVariantStoreRankings.
1713
+ */
1714
+ data: Prisma.ProductVariantStoreRankingCreateManyInput | Prisma.ProductVariantStoreRankingCreateManyInput[];
1715
+ skipDuplicates?: boolean;
1716
+ };
1717
+ /**
1718
+ * ProductVariantStoreRanking createManyAndReturn
1719
+ */
1720
+ export type ProductVariantStoreRankingCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1721
+ /**
1722
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1723
+ */
1724
+ select?: Prisma.ProductVariantStoreRankingSelectCreateManyAndReturn<ExtArgs> | null;
1725
+ /**
1726
+ * Omit specific fields from the ProductVariantStoreRanking
1727
+ */
1728
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1729
+ /**
1730
+ * The data used to create many ProductVariantStoreRankings.
1731
+ */
1732
+ data: Prisma.ProductVariantStoreRankingCreateManyInput | Prisma.ProductVariantStoreRankingCreateManyInput[];
1733
+ skipDuplicates?: boolean;
1734
+ /**
1735
+ * Choose, which related nodes to fetch as well
1736
+ */
1737
+ include?: Prisma.ProductVariantStoreRankingIncludeCreateManyAndReturn<ExtArgs> | null;
1738
+ };
1739
+ /**
1740
+ * ProductVariantStoreRanking update
1741
+ */
1742
+ export type ProductVariantStoreRankingUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1743
+ /**
1744
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1745
+ */
1746
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1747
+ /**
1748
+ * Omit specific fields from the ProductVariantStoreRanking
1749
+ */
1750
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1751
+ /**
1752
+ * Choose, which related nodes to fetch as well
1753
+ */
1754
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1755
+ /**
1756
+ * The data needed to update a ProductVariantStoreRanking.
1757
+ */
1758
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateInput, Prisma.ProductVariantStoreRankingUncheckedUpdateInput>;
1759
+ /**
1760
+ * Choose, which ProductVariantStoreRanking to update.
1761
+ */
1762
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
1763
+ };
1764
+ /**
1765
+ * ProductVariantStoreRanking updateMany
1766
+ */
1767
+ export type ProductVariantStoreRankingUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1768
+ /**
1769
+ * The data used to update ProductVariantStoreRankings.
1770
+ */
1771
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateManyMutationInput, Prisma.ProductVariantStoreRankingUncheckedUpdateManyInput>;
1772
+ /**
1773
+ * Filter which ProductVariantStoreRankings to update
1774
+ */
1775
+ where?: Prisma.ProductVariantStoreRankingWhereInput;
1776
+ /**
1777
+ * Limit how many ProductVariantStoreRankings to update.
1778
+ */
1779
+ limit?: number;
1780
+ };
1781
+ /**
1782
+ * ProductVariantStoreRanking updateManyAndReturn
1783
+ */
1784
+ export type ProductVariantStoreRankingUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1785
+ /**
1786
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1787
+ */
1788
+ select?: Prisma.ProductVariantStoreRankingSelectUpdateManyAndReturn<ExtArgs> | null;
1789
+ /**
1790
+ * Omit specific fields from the ProductVariantStoreRanking
1791
+ */
1792
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1793
+ /**
1794
+ * The data used to update ProductVariantStoreRankings.
1795
+ */
1796
+ data: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateManyMutationInput, Prisma.ProductVariantStoreRankingUncheckedUpdateManyInput>;
1797
+ /**
1798
+ * Filter which ProductVariantStoreRankings to update
1799
+ */
1800
+ where?: Prisma.ProductVariantStoreRankingWhereInput;
1801
+ /**
1802
+ * Limit how many ProductVariantStoreRankings to update.
1803
+ */
1804
+ limit?: number;
1805
+ /**
1806
+ * Choose, which related nodes to fetch as well
1807
+ */
1808
+ include?: Prisma.ProductVariantStoreRankingIncludeUpdateManyAndReturn<ExtArgs> | null;
1809
+ };
1810
+ /**
1811
+ * ProductVariantStoreRanking upsert
1812
+ */
1813
+ export type ProductVariantStoreRankingUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1814
+ /**
1815
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1816
+ */
1817
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1818
+ /**
1819
+ * Omit specific fields from the ProductVariantStoreRanking
1820
+ */
1821
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1822
+ /**
1823
+ * Choose, which related nodes to fetch as well
1824
+ */
1825
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1826
+ /**
1827
+ * The filter to search for the ProductVariantStoreRanking to update in case it exists.
1828
+ */
1829
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
1830
+ /**
1831
+ * In case the ProductVariantStoreRanking found by the `where` argument doesn't exist, create a new ProductVariantStoreRanking with this data.
1832
+ */
1833
+ create: Prisma.XOR<Prisma.ProductVariantStoreRankingCreateInput, Prisma.ProductVariantStoreRankingUncheckedCreateInput>;
1834
+ /**
1835
+ * In case the ProductVariantStoreRanking was found with the provided `where` argument, update it with this data.
1836
+ */
1837
+ update: Prisma.XOR<Prisma.ProductVariantStoreRankingUpdateInput, Prisma.ProductVariantStoreRankingUncheckedUpdateInput>;
1838
+ };
1839
+ /**
1840
+ * ProductVariantStoreRanking delete
1841
+ */
1842
+ export type ProductVariantStoreRankingDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1843
+ /**
1844
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1845
+ */
1846
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1847
+ /**
1848
+ * Omit specific fields from the ProductVariantStoreRanking
1849
+ */
1850
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1851
+ /**
1852
+ * Choose, which related nodes to fetch as well
1853
+ */
1854
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1855
+ /**
1856
+ * Filter which ProductVariantStoreRanking to delete.
1857
+ */
1858
+ where: Prisma.ProductVariantStoreRankingWhereUniqueInput;
1859
+ };
1860
+ /**
1861
+ * ProductVariantStoreRanking deleteMany
1862
+ */
1863
+ export type ProductVariantStoreRankingDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1864
+ /**
1865
+ * Filter which ProductVariantStoreRankings to delete
1866
+ */
1867
+ where?: Prisma.ProductVariantStoreRankingWhereInput;
1868
+ /**
1869
+ * Limit how many ProductVariantStoreRankings to delete.
1870
+ */
1871
+ limit?: number;
1872
+ };
1873
+ /**
1874
+ * ProductVariantStoreRanking without action
1875
+ */
1876
+ export type ProductVariantStoreRankingDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1877
+ /**
1878
+ * Select specific fields to fetch from the ProductVariantStoreRanking
1879
+ */
1880
+ select?: Prisma.ProductVariantStoreRankingSelect<ExtArgs> | null;
1881
+ /**
1882
+ * Omit specific fields from the ProductVariantStoreRanking
1883
+ */
1884
+ omit?: Prisma.ProductVariantStoreRankingOmit<ExtArgs> | null;
1885
+ /**
1886
+ * Choose, which related nodes to fetch as well
1887
+ */
1888
+ include?: Prisma.ProductVariantStoreRankingInclude<ExtArgs> | null;
1889
+ };
1890
+ export {};