@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,1581 @@
1
+ import type * as runtime from "@prisma/client/runtime/client";
2
+ import type * as Prisma from "../internal/prismaNamespace.js";
3
+ /**
4
+ * Model Tag
5
+ *
6
+ */
7
+ export type TagModel = runtime.Types.Result.DefaultSelection<Prisma.$TagPayload>;
8
+ export type AggregateTag = {
9
+ _count: TagCountAggregateOutputType | null;
10
+ _avg: TagAvgAggregateOutputType | null;
11
+ _sum: TagSumAggregateOutputType | null;
12
+ _min: TagMinAggregateOutputType | null;
13
+ _max: TagMaxAggregateOutputType | null;
14
+ };
15
+ export type TagAvgAggregateOutputType = {
16
+ id: number | null;
17
+ };
18
+ export type TagSumAggregateOutputType = {
19
+ id: bigint | null;
20
+ };
21
+ export type TagMinAggregateOutputType = {
22
+ id: bigint | null;
23
+ createdAt: Date | null;
24
+ updatedAt: Date | null;
25
+ platformId: string | null;
26
+ value: string | null;
27
+ };
28
+ export type TagMaxAggregateOutputType = {
29
+ id: bigint | null;
30
+ createdAt: Date | null;
31
+ updatedAt: Date | null;
32
+ platformId: string | null;
33
+ value: string | null;
34
+ };
35
+ export type TagCountAggregateOutputType = {
36
+ id: number;
37
+ createdAt: number;
38
+ updatedAt: number;
39
+ platformId: number;
40
+ value: number;
41
+ _all: number;
42
+ };
43
+ export type TagAvgAggregateInputType = {
44
+ id?: true;
45
+ };
46
+ export type TagSumAggregateInputType = {
47
+ id?: true;
48
+ };
49
+ export type TagMinAggregateInputType = {
50
+ id?: true;
51
+ createdAt?: true;
52
+ updatedAt?: true;
53
+ platformId?: true;
54
+ value?: true;
55
+ };
56
+ export type TagMaxAggregateInputType = {
57
+ id?: true;
58
+ createdAt?: true;
59
+ updatedAt?: true;
60
+ platformId?: true;
61
+ value?: true;
62
+ };
63
+ export type TagCountAggregateInputType = {
64
+ id?: true;
65
+ createdAt?: true;
66
+ updatedAt?: true;
67
+ platformId?: true;
68
+ value?: true;
69
+ _all?: true;
70
+ };
71
+ export type TagAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
72
+ /**
73
+ * Filter which Tag to aggregate.
74
+ */
75
+ where?: Prisma.TagWhereInput;
76
+ /**
77
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
78
+ *
79
+ * Determine the order of Tags to fetch.
80
+ */
81
+ orderBy?: Prisma.TagOrderByWithRelationInput | Prisma.TagOrderByWithRelationInput[];
82
+ /**
83
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
84
+ *
85
+ * Sets the start position
86
+ */
87
+ cursor?: Prisma.TagWhereUniqueInput;
88
+ /**
89
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
90
+ *
91
+ * Take `±n` Tags from the position of the cursor.
92
+ */
93
+ take?: number;
94
+ /**
95
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
96
+ *
97
+ * Skip the first `n` Tags.
98
+ */
99
+ skip?: number;
100
+ /**
101
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
102
+ *
103
+ * Count returned Tags
104
+ **/
105
+ _count?: true | TagCountAggregateInputType;
106
+ /**
107
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
108
+ *
109
+ * Select which fields to average
110
+ **/
111
+ _avg?: TagAvgAggregateInputType;
112
+ /**
113
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
114
+ *
115
+ * Select which fields to sum
116
+ **/
117
+ _sum?: TagSumAggregateInputType;
118
+ /**
119
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
120
+ *
121
+ * Select which fields to find the minimum value
122
+ **/
123
+ _min?: TagMinAggregateInputType;
124
+ /**
125
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
126
+ *
127
+ * Select which fields to find the maximum value
128
+ **/
129
+ _max?: TagMaxAggregateInputType;
130
+ };
131
+ export type GetTagAggregateType<T extends TagAggregateArgs> = {
132
+ [P in keyof T & keyof AggregateTag]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateTag[P]> : Prisma.GetScalarType<T[P], AggregateTag[P]>;
133
+ };
134
+ export type TagGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
135
+ where?: Prisma.TagWhereInput;
136
+ orderBy?: Prisma.TagOrderByWithAggregationInput | Prisma.TagOrderByWithAggregationInput[];
137
+ by: Prisma.TagScalarFieldEnum[] | Prisma.TagScalarFieldEnum;
138
+ having?: Prisma.TagScalarWhereWithAggregatesInput;
139
+ take?: number;
140
+ skip?: number;
141
+ _count?: TagCountAggregateInputType | true;
142
+ _avg?: TagAvgAggregateInputType;
143
+ _sum?: TagSumAggregateInputType;
144
+ _min?: TagMinAggregateInputType;
145
+ _max?: TagMaxAggregateInputType;
146
+ };
147
+ export type TagGroupByOutputType = {
148
+ id: bigint;
149
+ createdAt: Date;
150
+ updatedAt: Date;
151
+ platformId: string | null;
152
+ value: string;
153
+ _count: TagCountAggregateOutputType | null;
154
+ _avg: TagAvgAggregateOutputType | null;
155
+ _sum: TagSumAggregateOutputType | null;
156
+ _min: TagMinAggregateOutputType | null;
157
+ _max: TagMaxAggregateOutputType | null;
158
+ };
159
+ type GetTagGroupByPayload<T extends TagGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<TagGroupByOutputType, T['by']> & {
160
+ [P in ((keyof T) & (keyof TagGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], TagGroupByOutputType[P]> : Prisma.GetScalarType<T[P], TagGroupByOutputType[P]>;
161
+ }>>;
162
+ export type TagWhereInput = {
163
+ AND?: Prisma.TagWhereInput | Prisma.TagWhereInput[];
164
+ OR?: Prisma.TagWhereInput[];
165
+ NOT?: Prisma.TagWhereInput | Prisma.TagWhereInput[];
166
+ id?: Prisma.BigIntFilter<"Tag"> | bigint | number;
167
+ createdAt?: Prisma.DateTimeFilter<"Tag"> | Date | string;
168
+ updatedAt?: Prisma.DateTimeFilter<"Tag"> | Date | string;
169
+ platformId?: Prisma.StringNullableFilter<"Tag"> | string | null;
170
+ value?: Prisma.StringFilter<"Tag"> | string;
171
+ platform?: Prisma.XOR<Prisma.PlatformNullableScalarRelationFilter, Prisma.PlatformWhereInput> | null;
172
+ productVariantToTags?: Prisma.ProductVariantToTagListRelationFilter;
173
+ productToTags?: Prisma.ProductToTagListRelationFilter;
174
+ productCategoryToTags?: Prisma.ProductCategoryToTagListRelationFilter;
175
+ };
176
+ export type TagOrderByWithRelationInput = {
177
+ id?: Prisma.SortOrder;
178
+ createdAt?: Prisma.SortOrder;
179
+ updatedAt?: Prisma.SortOrder;
180
+ platformId?: Prisma.SortOrderInput | Prisma.SortOrder;
181
+ value?: Prisma.SortOrder;
182
+ platform?: Prisma.PlatformOrderByWithRelationInput;
183
+ productVariantToTags?: Prisma.ProductVariantToTagOrderByRelationAggregateInput;
184
+ productToTags?: Prisma.ProductToTagOrderByRelationAggregateInput;
185
+ productCategoryToTags?: Prisma.ProductCategoryToTagOrderByRelationAggregateInput;
186
+ _relevance?: Prisma.TagOrderByRelevanceInput;
187
+ };
188
+ export type TagWhereUniqueInput = Prisma.AtLeast<{
189
+ id?: bigint | number;
190
+ value_platformId?: Prisma.TagValuePlatformIdCompoundUniqueInput;
191
+ AND?: Prisma.TagWhereInput | Prisma.TagWhereInput[];
192
+ OR?: Prisma.TagWhereInput[];
193
+ NOT?: Prisma.TagWhereInput | Prisma.TagWhereInput[];
194
+ createdAt?: Prisma.DateTimeFilter<"Tag"> | Date | string;
195
+ updatedAt?: Prisma.DateTimeFilter<"Tag"> | Date | string;
196
+ platformId?: Prisma.StringNullableFilter<"Tag"> | string | null;
197
+ value?: Prisma.StringFilter<"Tag"> | string;
198
+ platform?: Prisma.XOR<Prisma.PlatformNullableScalarRelationFilter, Prisma.PlatformWhereInput> | null;
199
+ productVariantToTags?: Prisma.ProductVariantToTagListRelationFilter;
200
+ productToTags?: Prisma.ProductToTagListRelationFilter;
201
+ productCategoryToTags?: Prisma.ProductCategoryToTagListRelationFilter;
202
+ }, "id" | "value_platformId">;
203
+ export type TagOrderByWithAggregationInput = {
204
+ id?: Prisma.SortOrder;
205
+ createdAt?: Prisma.SortOrder;
206
+ updatedAt?: Prisma.SortOrder;
207
+ platformId?: Prisma.SortOrderInput | Prisma.SortOrder;
208
+ value?: Prisma.SortOrder;
209
+ _count?: Prisma.TagCountOrderByAggregateInput;
210
+ _avg?: Prisma.TagAvgOrderByAggregateInput;
211
+ _max?: Prisma.TagMaxOrderByAggregateInput;
212
+ _min?: Prisma.TagMinOrderByAggregateInput;
213
+ _sum?: Prisma.TagSumOrderByAggregateInput;
214
+ };
215
+ export type TagScalarWhereWithAggregatesInput = {
216
+ AND?: Prisma.TagScalarWhereWithAggregatesInput | Prisma.TagScalarWhereWithAggregatesInput[];
217
+ OR?: Prisma.TagScalarWhereWithAggregatesInput[];
218
+ NOT?: Prisma.TagScalarWhereWithAggregatesInput | Prisma.TagScalarWhereWithAggregatesInput[];
219
+ id?: Prisma.BigIntWithAggregatesFilter<"Tag"> | bigint | number;
220
+ createdAt?: Prisma.DateTimeWithAggregatesFilter<"Tag"> | Date | string;
221
+ updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Tag"> | Date | string;
222
+ platformId?: Prisma.StringNullableWithAggregatesFilter<"Tag"> | string | null;
223
+ value?: Prisma.StringWithAggregatesFilter<"Tag"> | string;
224
+ };
225
+ export type TagCreateInput = {
226
+ id?: bigint | number;
227
+ createdAt?: Date | string;
228
+ updatedAt?: Date | string;
229
+ value: string;
230
+ platform?: Prisma.PlatformCreateNestedOneWithoutTagsInput;
231
+ productVariantToTags?: Prisma.ProductVariantToTagCreateNestedManyWithoutTagInput;
232
+ productToTags?: Prisma.ProductToTagCreateNestedManyWithoutTagInput;
233
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutTagInput;
234
+ };
235
+ export type TagUncheckedCreateInput = {
236
+ id?: bigint | number;
237
+ createdAt?: Date | string;
238
+ updatedAt?: Date | string;
239
+ platformId?: string | null;
240
+ value: string;
241
+ productVariantToTags?: Prisma.ProductVariantToTagUncheckedCreateNestedManyWithoutTagInput;
242
+ productToTags?: Prisma.ProductToTagUncheckedCreateNestedManyWithoutTagInput;
243
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutTagInput;
244
+ };
245
+ export type TagUpdateInput = {
246
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
247
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
248
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
249
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
250
+ platform?: Prisma.PlatformUpdateOneWithoutTagsNestedInput;
251
+ productVariantToTags?: Prisma.ProductVariantToTagUpdateManyWithoutTagNestedInput;
252
+ productToTags?: Prisma.ProductToTagUpdateManyWithoutTagNestedInput;
253
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutTagNestedInput;
254
+ };
255
+ export type TagUncheckedUpdateInput = {
256
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
257
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
258
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
259
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
260
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
261
+ productVariantToTags?: Prisma.ProductVariantToTagUncheckedUpdateManyWithoutTagNestedInput;
262
+ productToTags?: Prisma.ProductToTagUncheckedUpdateManyWithoutTagNestedInput;
263
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutTagNestedInput;
264
+ };
265
+ export type TagCreateManyInput = {
266
+ id?: bigint | number;
267
+ createdAt?: Date | string;
268
+ updatedAt?: Date | string;
269
+ platformId?: string | null;
270
+ value: string;
271
+ };
272
+ export type TagUpdateManyMutationInput = {
273
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
274
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
275
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
276
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
277
+ };
278
+ export type TagUncheckedUpdateManyInput = {
279
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
280
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
281
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
282
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
283
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
284
+ };
285
+ export type TagListRelationFilter = {
286
+ every?: Prisma.TagWhereInput;
287
+ some?: Prisma.TagWhereInput;
288
+ none?: Prisma.TagWhereInput;
289
+ };
290
+ export type TagOrderByRelationAggregateInput = {
291
+ _count?: Prisma.SortOrder;
292
+ };
293
+ export type TagScalarRelationFilter = {
294
+ is?: Prisma.TagWhereInput;
295
+ isNot?: Prisma.TagWhereInput;
296
+ };
297
+ export type TagOrderByRelevanceInput = {
298
+ fields: Prisma.TagOrderByRelevanceFieldEnum | Prisma.TagOrderByRelevanceFieldEnum[];
299
+ sort: Prisma.SortOrder;
300
+ search: string;
301
+ };
302
+ export type TagValuePlatformIdCompoundUniqueInput = {
303
+ value: string;
304
+ platformId: string;
305
+ };
306
+ export type TagCountOrderByAggregateInput = {
307
+ id?: Prisma.SortOrder;
308
+ createdAt?: Prisma.SortOrder;
309
+ updatedAt?: Prisma.SortOrder;
310
+ platformId?: Prisma.SortOrder;
311
+ value?: Prisma.SortOrder;
312
+ };
313
+ export type TagAvgOrderByAggregateInput = {
314
+ id?: Prisma.SortOrder;
315
+ };
316
+ export type TagMaxOrderByAggregateInput = {
317
+ id?: Prisma.SortOrder;
318
+ createdAt?: Prisma.SortOrder;
319
+ updatedAt?: Prisma.SortOrder;
320
+ platformId?: Prisma.SortOrder;
321
+ value?: Prisma.SortOrder;
322
+ };
323
+ export type TagMinOrderByAggregateInput = {
324
+ id?: Prisma.SortOrder;
325
+ createdAt?: Prisma.SortOrder;
326
+ updatedAt?: Prisma.SortOrder;
327
+ platformId?: Prisma.SortOrder;
328
+ value?: Prisma.SortOrder;
329
+ };
330
+ export type TagSumOrderByAggregateInput = {
331
+ id?: Prisma.SortOrder;
332
+ };
333
+ export type TagCreateNestedManyWithoutPlatformInput = {
334
+ create?: Prisma.XOR<Prisma.TagCreateWithoutPlatformInput, Prisma.TagUncheckedCreateWithoutPlatformInput> | Prisma.TagCreateWithoutPlatformInput[] | Prisma.TagUncheckedCreateWithoutPlatformInput[];
335
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutPlatformInput | Prisma.TagCreateOrConnectWithoutPlatformInput[];
336
+ createMany?: Prisma.TagCreateManyPlatformInputEnvelope;
337
+ connect?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
338
+ };
339
+ export type TagUncheckedCreateNestedManyWithoutPlatformInput = {
340
+ create?: Prisma.XOR<Prisma.TagCreateWithoutPlatformInput, Prisma.TagUncheckedCreateWithoutPlatformInput> | Prisma.TagCreateWithoutPlatformInput[] | Prisma.TagUncheckedCreateWithoutPlatformInput[];
341
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutPlatformInput | Prisma.TagCreateOrConnectWithoutPlatformInput[];
342
+ createMany?: Prisma.TagCreateManyPlatformInputEnvelope;
343
+ connect?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
344
+ };
345
+ export type TagUpdateManyWithoutPlatformNestedInput = {
346
+ create?: Prisma.XOR<Prisma.TagCreateWithoutPlatformInput, Prisma.TagUncheckedCreateWithoutPlatformInput> | Prisma.TagCreateWithoutPlatformInput[] | Prisma.TagUncheckedCreateWithoutPlatformInput[];
347
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutPlatformInput | Prisma.TagCreateOrConnectWithoutPlatformInput[];
348
+ upsert?: Prisma.TagUpsertWithWhereUniqueWithoutPlatformInput | Prisma.TagUpsertWithWhereUniqueWithoutPlatformInput[];
349
+ createMany?: Prisma.TagCreateManyPlatformInputEnvelope;
350
+ set?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
351
+ disconnect?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
352
+ delete?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
353
+ connect?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
354
+ update?: Prisma.TagUpdateWithWhereUniqueWithoutPlatformInput | Prisma.TagUpdateWithWhereUniqueWithoutPlatformInput[];
355
+ updateMany?: Prisma.TagUpdateManyWithWhereWithoutPlatformInput | Prisma.TagUpdateManyWithWhereWithoutPlatformInput[];
356
+ deleteMany?: Prisma.TagScalarWhereInput | Prisma.TagScalarWhereInput[];
357
+ };
358
+ export type TagUncheckedUpdateManyWithoutPlatformNestedInput = {
359
+ create?: Prisma.XOR<Prisma.TagCreateWithoutPlatformInput, Prisma.TagUncheckedCreateWithoutPlatformInput> | Prisma.TagCreateWithoutPlatformInput[] | Prisma.TagUncheckedCreateWithoutPlatformInput[];
360
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutPlatformInput | Prisma.TagCreateOrConnectWithoutPlatformInput[];
361
+ upsert?: Prisma.TagUpsertWithWhereUniqueWithoutPlatformInput | Prisma.TagUpsertWithWhereUniqueWithoutPlatformInput[];
362
+ createMany?: Prisma.TagCreateManyPlatformInputEnvelope;
363
+ set?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
364
+ disconnect?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
365
+ delete?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
366
+ connect?: Prisma.TagWhereUniqueInput | Prisma.TagWhereUniqueInput[];
367
+ update?: Prisma.TagUpdateWithWhereUniqueWithoutPlatformInput | Prisma.TagUpdateWithWhereUniqueWithoutPlatformInput[];
368
+ updateMany?: Prisma.TagUpdateManyWithWhereWithoutPlatformInput | Prisma.TagUpdateManyWithWhereWithoutPlatformInput[];
369
+ deleteMany?: Prisma.TagScalarWhereInput | Prisma.TagScalarWhereInput[];
370
+ };
371
+ export type TagCreateNestedOneWithoutProductToTagsInput = {
372
+ create?: Prisma.XOR<Prisma.TagCreateWithoutProductToTagsInput, Prisma.TagUncheckedCreateWithoutProductToTagsInput>;
373
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutProductToTagsInput;
374
+ connect?: Prisma.TagWhereUniqueInput;
375
+ };
376
+ export type TagUpdateOneRequiredWithoutProductToTagsNestedInput = {
377
+ create?: Prisma.XOR<Prisma.TagCreateWithoutProductToTagsInput, Prisma.TagUncheckedCreateWithoutProductToTagsInput>;
378
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutProductToTagsInput;
379
+ upsert?: Prisma.TagUpsertWithoutProductToTagsInput;
380
+ connect?: Prisma.TagWhereUniqueInput;
381
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TagUpdateToOneWithWhereWithoutProductToTagsInput, Prisma.TagUpdateWithoutProductToTagsInput>, Prisma.TagUncheckedUpdateWithoutProductToTagsInput>;
382
+ };
383
+ export type TagCreateNestedOneWithoutProductCategoryToTagsInput = {
384
+ create?: Prisma.XOR<Prisma.TagCreateWithoutProductCategoryToTagsInput, Prisma.TagUncheckedCreateWithoutProductCategoryToTagsInput>;
385
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutProductCategoryToTagsInput;
386
+ connect?: Prisma.TagWhereUniqueInput;
387
+ };
388
+ export type TagUpdateOneRequiredWithoutProductCategoryToTagsNestedInput = {
389
+ create?: Prisma.XOR<Prisma.TagCreateWithoutProductCategoryToTagsInput, Prisma.TagUncheckedCreateWithoutProductCategoryToTagsInput>;
390
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutProductCategoryToTagsInput;
391
+ upsert?: Prisma.TagUpsertWithoutProductCategoryToTagsInput;
392
+ connect?: Prisma.TagWhereUniqueInput;
393
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TagUpdateToOneWithWhereWithoutProductCategoryToTagsInput, Prisma.TagUpdateWithoutProductCategoryToTagsInput>, Prisma.TagUncheckedUpdateWithoutProductCategoryToTagsInput>;
394
+ };
395
+ export type TagCreateNestedOneWithoutProductVariantToTagsInput = {
396
+ create?: Prisma.XOR<Prisma.TagCreateWithoutProductVariantToTagsInput, Prisma.TagUncheckedCreateWithoutProductVariantToTagsInput>;
397
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutProductVariantToTagsInput;
398
+ connect?: Prisma.TagWhereUniqueInput;
399
+ };
400
+ export type TagUpdateOneRequiredWithoutProductVariantToTagsNestedInput = {
401
+ create?: Prisma.XOR<Prisma.TagCreateWithoutProductVariantToTagsInput, Prisma.TagUncheckedCreateWithoutProductVariantToTagsInput>;
402
+ connectOrCreate?: Prisma.TagCreateOrConnectWithoutProductVariantToTagsInput;
403
+ upsert?: Prisma.TagUpsertWithoutProductVariantToTagsInput;
404
+ connect?: Prisma.TagWhereUniqueInput;
405
+ update?: Prisma.XOR<Prisma.XOR<Prisma.TagUpdateToOneWithWhereWithoutProductVariantToTagsInput, Prisma.TagUpdateWithoutProductVariantToTagsInput>, Prisma.TagUncheckedUpdateWithoutProductVariantToTagsInput>;
406
+ };
407
+ export type TagCreateWithoutPlatformInput = {
408
+ id?: bigint | number;
409
+ createdAt?: Date | string;
410
+ updatedAt?: Date | string;
411
+ value: string;
412
+ productVariantToTags?: Prisma.ProductVariantToTagCreateNestedManyWithoutTagInput;
413
+ productToTags?: Prisma.ProductToTagCreateNestedManyWithoutTagInput;
414
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutTagInput;
415
+ };
416
+ export type TagUncheckedCreateWithoutPlatformInput = {
417
+ id?: bigint | number;
418
+ createdAt?: Date | string;
419
+ updatedAt?: Date | string;
420
+ value: string;
421
+ productVariantToTags?: Prisma.ProductVariantToTagUncheckedCreateNestedManyWithoutTagInput;
422
+ productToTags?: Prisma.ProductToTagUncheckedCreateNestedManyWithoutTagInput;
423
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutTagInput;
424
+ };
425
+ export type TagCreateOrConnectWithoutPlatformInput = {
426
+ where: Prisma.TagWhereUniqueInput;
427
+ create: Prisma.XOR<Prisma.TagCreateWithoutPlatformInput, Prisma.TagUncheckedCreateWithoutPlatformInput>;
428
+ };
429
+ export type TagCreateManyPlatformInputEnvelope = {
430
+ data: Prisma.TagCreateManyPlatformInput | Prisma.TagCreateManyPlatformInput[];
431
+ skipDuplicates?: boolean;
432
+ };
433
+ export type TagUpsertWithWhereUniqueWithoutPlatformInput = {
434
+ where: Prisma.TagWhereUniqueInput;
435
+ update: Prisma.XOR<Prisma.TagUpdateWithoutPlatformInput, Prisma.TagUncheckedUpdateWithoutPlatformInput>;
436
+ create: Prisma.XOR<Prisma.TagCreateWithoutPlatformInput, Prisma.TagUncheckedCreateWithoutPlatformInput>;
437
+ };
438
+ export type TagUpdateWithWhereUniqueWithoutPlatformInput = {
439
+ where: Prisma.TagWhereUniqueInput;
440
+ data: Prisma.XOR<Prisma.TagUpdateWithoutPlatformInput, Prisma.TagUncheckedUpdateWithoutPlatformInput>;
441
+ };
442
+ export type TagUpdateManyWithWhereWithoutPlatformInput = {
443
+ where: Prisma.TagScalarWhereInput;
444
+ data: Prisma.XOR<Prisma.TagUpdateManyMutationInput, Prisma.TagUncheckedUpdateManyWithoutPlatformInput>;
445
+ };
446
+ export type TagScalarWhereInput = {
447
+ AND?: Prisma.TagScalarWhereInput | Prisma.TagScalarWhereInput[];
448
+ OR?: Prisma.TagScalarWhereInput[];
449
+ NOT?: Prisma.TagScalarWhereInput | Prisma.TagScalarWhereInput[];
450
+ id?: Prisma.BigIntFilter<"Tag"> | bigint | number;
451
+ createdAt?: Prisma.DateTimeFilter<"Tag"> | Date | string;
452
+ updatedAt?: Prisma.DateTimeFilter<"Tag"> | Date | string;
453
+ platformId?: Prisma.StringNullableFilter<"Tag"> | string | null;
454
+ value?: Prisma.StringFilter<"Tag"> | string;
455
+ };
456
+ export type TagCreateWithoutProductToTagsInput = {
457
+ id?: bigint | number;
458
+ createdAt?: Date | string;
459
+ updatedAt?: Date | string;
460
+ value: string;
461
+ platform?: Prisma.PlatformCreateNestedOneWithoutTagsInput;
462
+ productVariantToTags?: Prisma.ProductVariantToTagCreateNestedManyWithoutTagInput;
463
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutTagInput;
464
+ };
465
+ export type TagUncheckedCreateWithoutProductToTagsInput = {
466
+ id?: bigint | number;
467
+ createdAt?: Date | string;
468
+ updatedAt?: Date | string;
469
+ platformId?: string | null;
470
+ value: string;
471
+ productVariantToTags?: Prisma.ProductVariantToTagUncheckedCreateNestedManyWithoutTagInput;
472
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutTagInput;
473
+ };
474
+ export type TagCreateOrConnectWithoutProductToTagsInput = {
475
+ where: Prisma.TagWhereUniqueInput;
476
+ create: Prisma.XOR<Prisma.TagCreateWithoutProductToTagsInput, Prisma.TagUncheckedCreateWithoutProductToTagsInput>;
477
+ };
478
+ export type TagUpsertWithoutProductToTagsInput = {
479
+ update: Prisma.XOR<Prisma.TagUpdateWithoutProductToTagsInput, Prisma.TagUncheckedUpdateWithoutProductToTagsInput>;
480
+ create: Prisma.XOR<Prisma.TagCreateWithoutProductToTagsInput, Prisma.TagUncheckedCreateWithoutProductToTagsInput>;
481
+ where?: Prisma.TagWhereInput;
482
+ };
483
+ export type TagUpdateToOneWithWhereWithoutProductToTagsInput = {
484
+ where?: Prisma.TagWhereInput;
485
+ data: Prisma.XOR<Prisma.TagUpdateWithoutProductToTagsInput, Prisma.TagUncheckedUpdateWithoutProductToTagsInput>;
486
+ };
487
+ export type TagUpdateWithoutProductToTagsInput = {
488
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
489
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
490
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
491
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
492
+ platform?: Prisma.PlatformUpdateOneWithoutTagsNestedInput;
493
+ productVariantToTags?: Prisma.ProductVariantToTagUpdateManyWithoutTagNestedInput;
494
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutTagNestedInput;
495
+ };
496
+ export type TagUncheckedUpdateWithoutProductToTagsInput = {
497
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
498
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
499
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
500
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
501
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
502
+ productVariantToTags?: Prisma.ProductVariantToTagUncheckedUpdateManyWithoutTagNestedInput;
503
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutTagNestedInput;
504
+ };
505
+ export type TagCreateWithoutProductCategoryToTagsInput = {
506
+ id?: bigint | number;
507
+ createdAt?: Date | string;
508
+ updatedAt?: Date | string;
509
+ value: string;
510
+ platform?: Prisma.PlatformCreateNestedOneWithoutTagsInput;
511
+ productVariantToTags?: Prisma.ProductVariantToTagCreateNestedManyWithoutTagInput;
512
+ productToTags?: Prisma.ProductToTagCreateNestedManyWithoutTagInput;
513
+ };
514
+ export type TagUncheckedCreateWithoutProductCategoryToTagsInput = {
515
+ id?: bigint | number;
516
+ createdAt?: Date | string;
517
+ updatedAt?: Date | string;
518
+ platformId?: string | null;
519
+ value: string;
520
+ productVariantToTags?: Prisma.ProductVariantToTagUncheckedCreateNestedManyWithoutTagInput;
521
+ productToTags?: Prisma.ProductToTagUncheckedCreateNestedManyWithoutTagInput;
522
+ };
523
+ export type TagCreateOrConnectWithoutProductCategoryToTagsInput = {
524
+ where: Prisma.TagWhereUniqueInput;
525
+ create: Prisma.XOR<Prisma.TagCreateWithoutProductCategoryToTagsInput, Prisma.TagUncheckedCreateWithoutProductCategoryToTagsInput>;
526
+ };
527
+ export type TagUpsertWithoutProductCategoryToTagsInput = {
528
+ update: Prisma.XOR<Prisma.TagUpdateWithoutProductCategoryToTagsInput, Prisma.TagUncheckedUpdateWithoutProductCategoryToTagsInput>;
529
+ create: Prisma.XOR<Prisma.TagCreateWithoutProductCategoryToTagsInput, Prisma.TagUncheckedCreateWithoutProductCategoryToTagsInput>;
530
+ where?: Prisma.TagWhereInput;
531
+ };
532
+ export type TagUpdateToOneWithWhereWithoutProductCategoryToTagsInput = {
533
+ where?: Prisma.TagWhereInput;
534
+ data: Prisma.XOR<Prisma.TagUpdateWithoutProductCategoryToTagsInput, Prisma.TagUncheckedUpdateWithoutProductCategoryToTagsInput>;
535
+ };
536
+ export type TagUpdateWithoutProductCategoryToTagsInput = {
537
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
538
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
539
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
540
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
541
+ platform?: Prisma.PlatformUpdateOneWithoutTagsNestedInput;
542
+ productVariantToTags?: Prisma.ProductVariantToTagUpdateManyWithoutTagNestedInput;
543
+ productToTags?: Prisma.ProductToTagUpdateManyWithoutTagNestedInput;
544
+ };
545
+ export type TagUncheckedUpdateWithoutProductCategoryToTagsInput = {
546
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
547
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
548
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
549
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
550
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
551
+ productVariantToTags?: Prisma.ProductVariantToTagUncheckedUpdateManyWithoutTagNestedInput;
552
+ productToTags?: Prisma.ProductToTagUncheckedUpdateManyWithoutTagNestedInput;
553
+ };
554
+ export type TagCreateWithoutProductVariantToTagsInput = {
555
+ id?: bigint | number;
556
+ createdAt?: Date | string;
557
+ updatedAt?: Date | string;
558
+ value: string;
559
+ platform?: Prisma.PlatformCreateNestedOneWithoutTagsInput;
560
+ productToTags?: Prisma.ProductToTagCreateNestedManyWithoutTagInput;
561
+ productCategoryToTags?: Prisma.ProductCategoryToTagCreateNestedManyWithoutTagInput;
562
+ };
563
+ export type TagUncheckedCreateWithoutProductVariantToTagsInput = {
564
+ id?: bigint | number;
565
+ createdAt?: Date | string;
566
+ updatedAt?: Date | string;
567
+ platformId?: string | null;
568
+ value: string;
569
+ productToTags?: Prisma.ProductToTagUncheckedCreateNestedManyWithoutTagInput;
570
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedCreateNestedManyWithoutTagInput;
571
+ };
572
+ export type TagCreateOrConnectWithoutProductVariantToTagsInput = {
573
+ where: Prisma.TagWhereUniqueInput;
574
+ create: Prisma.XOR<Prisma.TagCreateWithoutProductVariantToTagsInput, Prisma.TagUncheckedCreateWithoutProductVariantToTagsInput>;
575
+ };
576
+ export type TagUpsertWithoutProductVariantToTagsInput = {
577
+ update: Prisma.XOR<Prisma.TagUpdateWithoutProductVariantToTagsInput, Prisma.TagUncheckedUpdateWithoutProductVariantToTagsInput>;
578
+ create: Prisma.XOR<Prisma.TagCreateWithoutProductVariantToTagsInput, Prisma.TagUncheckedCreateWithoutProductVariantToTagsInput>;
579
+ where?: Prisma.TagWhereInput;
580
+ };
581
+ export type TagUpdateToOneWithWhereWithoutProductVariantToTagsInput = {
582
+ where?: Prisma.TagWhereInput;
583
+ data: Prisma.XOR<Prisma.TagUpdateWithoutProductVariantToTagsInput, Prisma.TagUncheckedUpdateWithoutProductVariantToTagsInput>;
584
+ };
585
+ export type TagUpdateWithoutProductVariantToTagsInput = {
586
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
587
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
588
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
589
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
590
+ platform?: Prisma.PlatformUpdateOneWithoutTagsNestedInput;
591
+ productToTags?: Prisma.ProductToTagUpdateManyWithoutTagNestedInput;
592
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutTagNestedInput;
593
+ };
594
+ export type TagUncheckedUpdateWithoutProductVariantToTagsInput = {
595
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
596
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
597
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
598
+ platformId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
599
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
600
+ productToTags?: Prisma.ProductToTagUncheckedUpdateManyWithoutTagNestedInput;
601
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutTagNestedInput;
602
+ };
603
+ export type TagCreateManyPlatformInput = {
604
+ id?: bigint | number;
605
+ createdAt?: Date | string;
606
+ updatedAt?: Date | string;
607
+ value: string;
608
+ };
609
+ export type TagUpdateWithoutPlatformInput = {
610
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
611
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
612
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
613
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
614
+ productVariantToTags?: Prisma.ProductVariantToTagUpdateManyWithoutTagNestedInput;
615
+ productToTags?: Prisma.ProductToTagUpdateManyWithoutTagNestedInput;
616
+ productCategoryToTags?: Prisma.ProductCategoryToTagUpdateManyWithoutTagNestedInput;
617
+ };
618
+ export type TagUncheckedUpdateWithoutPlatformInput = {
619
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
620
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
621
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
622
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
623
+ productVariantToTags?: Prisma.ProductVariantToTagUncheckedUpdateManyWithoutTagNestedInput;
624
+ productToTags?: Prisma.ProductToTagUncheckedUpdateManyWithoutTagNestedInput;
625
+ productCategoryToTags?: Prisma.ProductCategoryToTagUncheckedUpdateManyWithoutTagNestedInput;
626
+ };
627
+ export type TagUncheckedUpdateManyWithoutPlatformInput = {
628
+ id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
629
+ createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
630
+ updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
631
+ value?: Prisma.StringFieldUpdateOperationsInput | string;
632
+ };
633
+ /**
634
+ * Count Type TagCountOutputType
635
+ */
636
+ export type TagCountOutputType = {
637
+ productVariantToTags: number;
638
+ productToTags: number;
639
+ productCategoryToTags: number;
640
+ };
641
+ export type TagCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
642
+ productVariantToTags?: boolean | TagCountOutputTypeCountProductVariantToTagsArgs;
643
+ productToTags?: boolean | TagCountOutputTypeCountProductToTagsArgs;
644
+ productCategoryToTags?: boolean | TagCountOutputTypeCountProductCategoryToTagsArgs;
645
+ };
646
+ /**
647
+ * TagCountOutputType without action
648
+ */
649
+ export type TagCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
650
+ /**
651
+ * Select specific fields to fetch from the TagCountOutputType
652
+ */
653
+ select?: Prisma.TagCountOutputTypeSelect<ExtArgs> | null;
654
+ };
655
+ /**
656
+ * TagCountOutputType without action
657
+ */
658
+ export type TagCountOutputTypeCountProductVariantToTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
659
+ where?: Prisma.ProductVariantToTagWhereInput;
660
+ };
661
+ /**
662
+ * TagCountOutputType without action
663
+ */
664
+ export type TagCountOutputTypeCountProductToTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
665
+ where?: Prisma.ProductToTagWhereInput;
666
+ };
667
+ /**
668
+ * TagCountOutputType without action
669
+ */
670
+ export type TagCountOutputTypeCountProductCategoryToTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
671
+ where?: Prisma.ProductCategoryToTagWhereInput;
672
+ };
673
+ export type TagSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
674
+ id?: boolean;
675
+ createdAt?: boolean;
676
+ updatedAt?: boolean;
677
+ platformId?: boolean;
678
+ value?: boolean;
679
+ platform?: boolean | Prisma.Tag$platformArgs<ExtArgs>;
680
+ productVariantToTags?: boolean | Prisma.Tag$productVariantToTagsArgs<ExtArgs>;
681
+ productToTags?: boolean | Prisma.Tag$productToTagsArgs<ExtArgs>;
682
+ productCategoryToTags?: boolean | Prisma.Tag$productCategoryToTagsArgs<ExtArgs>;
683
+ _count?: boolean | Prisma.TagCountOutputTypeDefaultArgs<ExtArgs>;
684
+ }, ExtArgs["result"]["tag"]>;
685
+ export type TagSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
686
+ id?: boolean;
687
+ createdAt?: boolean;
688
+ updatedAt?: boolean;
689
+ platformId?: boolean;
690
+ value?: boolean;
691
+ platform?: boolean | Prisma.Tag$platformArgs<ExtArgs>;
692
+ }, ExtArgs["result"]["tag"]>;
693
+ export type TagSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
694
+ id?: boolean;
695
+ createdAt?: boolean;
696
+ updatedAt?: boolean;
697
+ platformId?: boolean;
698
+ value?: boolean;
699
+ platform?: boolean | Prisma.Tag$platformArgs<ExtArgs>;
700
+ }, ExtArgs["result"]["tag"]>;
701
+ export type TagSelectScalar = {
702
+ id?: boolean;
703
+ createdAt?: boolean;
704
+ updatedAt?: boolean;
705
+ platformId?: boolean;
706
+ value?: boolean;
707
+ };
708
+ export type TagOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "platformId" | "value", ExtArgs["result"]["tag"]>;
709
+ export type TagInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
710
+ platform?: boolean | Prisma.Tag$platformArgs<ExtArgs>;
711
+ productVariantToTags?: boolean | Prisma.Tag$productVariantToTagsArgs<ExtArgs>;
712
+ productToTags?: boolean | Prisma.Tag$productToTagsArgs<ExtArgs>;
713
+ productCategoryToTags?: boolean | Prisma.Tag$productCategoryToTagsArgs<ExtArgs>;
714
+ _count?: boolean | Prisma.TagCountOutputTypeDefaultArgs<ExtArgs>;
715
+ };
716
+ export type TagIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
717
+ platform?: boolean | Prisma.Tag$platformArgs<ExtArgs>;
718
+ };
719
+ export type TagIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
720
+ platform?: boolean | Prisma.Tag$platformArgs<ExtArgs>;
721
+ };
722
+ export type $TagPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
723
+ name: "Tag";
724
+ objects: {
725
+ platform: Prisma.$PlatformPayload<ExtArgs> | null;
726
+ productVariantToTags: Prisma.$ProductVariantToTagPayload<ExtArgs>[];
727
+ productToTags: Prisma.$ProductToTagPayload<ExtArgs>[];
728
+ productCategoryToTags: Prisma.$ProductCategoryToTagPayload<ExtArgs>[];
729
+ };
730
+ scalars: runtime.Types.Extensions.GetPayloadResult<{
731
+ id: bigint;
732
+ createdAt: Date;
733
+ updatedAt: Date;
734
+ platformId: string | null;
735
+ value: string;
736
+ }, ExtArgs["result"]["tag"]>;
737
+ composites: {};
738
+ };
739
+ export type TagGetPayload<S extends boolean | null | undefined | TagDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$TagPayload, S>;
740
+ export type TagCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<TagFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
741
+ select?: TagCountAggregateInputType | true;
742
+ };
743
+ export interface TagDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
744
+ [K: symbol]: {
745
+ types: Prisma.TypeMap<ExtArgs>['model']['Tag'];
746
+ meta: {
747
+ name: 'Tag';
748
+ };
749
+ };
750
+ /**
751
+ * Find zero or one Tag that matches the filter.
752
+ * @param {TagFindUniqueArgs} args - Arguments to find a Tag
753
+ * @example
754
+ * // Get one Tag
755
+ * const tag = await prisma.tag.findUnique({
756
+ * where: {
757
+ * // ... provide filter here
758
+ * }
759
+ * })
760
+ */
761
+ findUnique<T extends TagFindUniqueArgs>(args: Prisma.SelectSubset<T, TagFindUniqueArgs<ExtArgs>>): Prisma.Prisma__TagClient<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
762
+ /**
763
+ * Find one Tag that matches the filter or throw an error with `error.code='P2025'`
764
+ * if no matches were found.
765
+ * @param {TagFindUniqueOrThrowArgs} args - Arguments to find a Tag
766
+ * @example
767
+ * // Get one Tag
768
+ * const tag = await prisma.tag.findUniqueOrThrow({
769
+ * where: {
770
+ * // ... provide filter here
771
+ * }
772
+ * })
773
+ */
774
+ findUniqueOrThrow<T extends TagFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, TagFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__TagClient<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
775
+ /**
776
+ * Find the first Tag that matches the filter.
777
+ * Note, that providing `undefined` is treated as the value not being there.
778
+ * Read more here: https://pris.ly/d/null-undefined
779
+ * @param {TagFindFirstArgs} args - Arguments to find a Tag
780
+ * @example
781
+ * // Get one Tag
782
+ * const tag = await prisma.tag.findFirst({
783
+ * where: {
784
+ * // ... provide filter here
785
+ * }
786
+ * })
787
+ */
788
+ findFirst<T extends TagFindFirstArgs>(args?: Prisma.SelectSubset<T, TagFindFirstArgs<ExtArgs>>): Prisma.Prisma__TagClient<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
789
+ /**
790
+ * Find the first Tag that matches the filter or
791
+ * throw `PrismaKnownClientError` with `P2025` code if no matches were found.
792
+ * Note, that providing `undefined` is treated as the value not being there.
793
+ * Read more here: https://pris.ly/d/null-undefined
794
+ * @param {TagFindFirstOrThrowArgs} args - Arguments to find a Tag
795
+ * @example
796
+ * // Get one Tag
797
+ * const tag = await prisma.tag.findFirstOrThrow({
798
+ * where: {
799
+ * // ... provide filter here
800
+ * }
801
+ * })
802
+ */
803
+ findFirstOrThrow<T extends TagFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, TagFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__TagClient<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
804
+ /**
805
+ * Find zero or more Tags that matches the filter.
806
+ * Note, that providing `undefined` is treated as the value not being there.
807
+ * Read more here: https://pris.ly/d/null-undefined
808
+ * @param {TagFindManyArgs} args - Arguments to filter and select certain fields only.
809
+ * @example
810
+ * // Get all Tags
811
+ * const tags = await prisma.tag.findMany()
812
+ *
813
+ * // Get first 10 Tags
814
+ * const tags = await prisma.tag.findMany({ take: 10 })
815
+ *
816
+ * // Only select the `id`
817
+ * const tagWithIdOnly = await prisma.tag.findMany({ select: { id: true } })
818
+ *
819
+ */
820
+ findMany<T extends TagFindManyArgs>(args?: Prisma.SelectSubset<T, TagFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
821
+ /**
822
+ * Create a Tag.
823
+ * @param {TagCreateArgs} args - Arguments to create a Tag.
824
+ * @example
825
+ * // Create one Tag
826
+ * const Tag = await prisma.tag.create({
827
+ * data: {
828
+ * // ... data to create a Tag
829
+ * }
830
+ * })
831
+ *
832
+ */
833
+ create<T extends TagCreateArgs>(args: Prisma.SelectSubset<T, TagCreateArgs<ExtArgs>>): Prisma.Prisma__TagClient<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
834
+ /**
835
+ * Create many Tags.
836
+ * @param {TagCreateManyArgs} args - Arguments to create many Tags.
837
+ * @example
838
+ * // Create many Tags
839
+ * const tag = await prisma.tag.createMany({
840
+ * data: [
841
+ * // ... provide data here
842
+ * ]
843
+ * })
844
+ *
845
+ */
846
+ createMany<T extends TagCreateManyArgs>(args?: Prisma.SelectSubset<T, TagCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
847
+ /**
848
+ * Create many Tags and returns the data saved in the database.
849
+ * @param {TagCreateManyAndReturnArgs} args - Arguments to create many Tags.
850
+ * @example
851
+ * // Create many Tags
852
+ * const tag = await prisma.tag.createManyAndReturn({
853
+ * data: [
854
+ * // ... provide data here
855
+ * ]
856
+ * })
857
+ *
858
+ * // Create many Tags and only return the `id`
859
+ * const tagWithIdOnly = await prisma.tag.createManyAndReturn({
860
+ * select: { id: true },
861
+ * data: [
862
+ * // ... provide data here
863
+ * ]
864
+ * })
865
+ * Note, that providing `undefined` is treated as the value not being there.
866
+ * Read more here: https://pris.ly/d/null-undefined
867
+ *
868
+ */
869
+ createManyAndReturn<T extends TagCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, TagCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
870
+ /**
871
+ * Delete a Tag.
872
+ * @param {TagDeleteArgs} args - Arguments to delete one Tag.
873
+ * @example
874
+ * // Delete one Tag
875
+ * const Tag = await prisma.tag.delete({
876
+ * where: {
877
+ * // ... filter to delete one Tag
878
+ * }
879
+ * })
880
+ *
881
+ */
882
+ delete<T extends TagDeleteArgs>(args: Prisma.SelectSubset<T, TagDeleteArgs<ExtArgs>>): Prisma.Prisma__TagClient<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
883
+ /**
884
+ * Update one Tag.
885
+ * @param {TagUpdateArgs} args - Arguments to update one Tag.
886
+ * @example
887
+ * // Update one Tag
888
+ * const tag = await prisma.tag.update({
889
+ * where: {
890
+ * // ... provide filter here
891
+ * },
892
+ * data: {
893
+ * // ... provide data here
894
+ * }
895
+ * })
896
+ *
897
+ */
898
+ update<T extends TagUpdateArgs>(args: Prisma.SelectSubset<T, TagUpdateArgs<ExtArgs>>): Prisma.Prisma__TagClient<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
899
+ /**
900
+ * Delete zero or more Tags.
901
+ * @param {TagDeleteManyArgs} args - Arguments to filter Tags to delete.
902
+ * @example
903
+ * // Delete a few Tags
904
+ * const { count } = await prisma.tag.deleteMany({
905
+ * where: {
906
+ * // ... provide filter here
907
+ * }
908
+ * })
909
+ *
910
+ */
911
+ deleteMany<T extends TagDeleteManyArgs>(args?: Prisma.SelectSubset<T, TagDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
912
+ /**
913
+ * Update zero or more Tags.
914
+ * Note, that providing `undefined` is treated as the value not being there.
915
+ * Read more here: https://pris.ly/d/null-undefined
916
+ * @param {TagUpdateManyArgs} args - Arguments to update one or more rows.
917
+ * @example
918
+ * // Update many Tags
919
+ * const tag = await prisma.tag.updateMany({
920
+ * where: {
921
+ * // ... provide filter here
922
+ * },
923
+ * data: {
924
+ * // ... provide data here
925
+ * }
926
+ * })
927
+ *
928
+ */
929
+ updateMany<T extends TagUpdateManyArgs>(args: Prisma.SelectSubset<T, TagUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
930
+ /**
931
+ * Update zero or more Tags and returns the data updated in the database.
932
+ * @param {TagUpdateManyAndReturnArgs} args - Arguments to update many Tags.
933
+ * @example
934
+ * // Update many Tags
935
+ * const tag = await prisma.tag.updateManyAndReturn({
936
+ * where: {
937
+ * // ... provide filter here
938
+ * },
939
+ * data: [
940
+ * // ... provide data here
941
+ * ]
942
+ * })
943
+ *
944
+ * // Update zero or more Tags and only return the `id`
945
+ * const tagWithIdOnly = await prisma.tag.updateManyAndReturn({
946
+ * select: { id: true },
947
+ * where: {
948
+ * // ... provide filter here
949
+ * },
950
+ * data: [
951
+ * // ... provide data here
952
+ * ]
953
+ * })
954
+ * Note, that providing `undefined` is treated as the value not being there.
955
+ * Read more here: https://pris.ly/d/null-undefined
956
+ *
957
+ */
958
+ updateManyAndReturn<T extends TagUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, TagUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
959
+ /**
960
+ * Create or update one Tag.
961
+ * @param {TagUpsertArgs} args - Arguments to update or create a Tag.
962
+ * @example
963
+ * // Update or create a Tag
964
+ * const tag = await prisma.tag.upsert({
965
+ * create: {
966
+ * // ... data to create a Tag
967
+ * },
968
+ * update: {
969
+ * // ... in case it already exists, update
970
+ * },
971
+ * where: {
972
+ * // ... the filter for the Tag we want to update
973
+ * }
974
+ * })
975
+ */
976
+ upsert<T extends TagUpsertArgs>(args: Prisma.SelectSubset<T, TagUpsertArgs<ExtArgs>>): Prisma.Prisma__TagClient<runtime.Types.Result.GetResult<Prisma.$TagPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
977
+ /**
978
+ * Count the number of Tags.
979
+ * Note, that providing `undefined` is treated as the value not being there.
980
+ * Read more here: https://pris.ly/d/null-undefined
981
+ * @param {TagCountArgs} args - Arguments to filter Tags to count.
982
+ * @example
983
+ * // Count the number of Tags
984
+ * const count = await prisma.tag.count({
985
+ * where: {
986
+ * // ... the filter for the Tags we want to count
987
+ * }
988
+ * })
989
+ **/
990
+ count<T extends TagCountArgs>(args?: Prisma.Subset<T, TagCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], TagCountAggregateOutputType> : number>;
991
+ /**
992
+ * Allows you to perform aggregations operations on a Tag.
993
+ * Note, that providing `undefined` is treated as the value not being there.
994
+ * Read more here: https://pris.ly/d/null-undefined
995
+ * @param {TagAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
996
+ * @example
997
+ * // Ordered by age ascending
998
+ * // Where email contains prisma.io
999
+ * // Limited to the 10 users
1000
+ * const aggregations = await prisma.user.aggregate({
1001
+ * _avg: {
1002
+ * age: true,
1003
+ * },
1004
+ * where: {
1005
+ * email: {
1006
+ * contains: "prisma.io",
1007
+ * },
1008
+ * },
1009
+ * orderBy: {
1010
+ * age: "asc",
1011
+ * },
1012
+ * take: 10,
1013
+ * })
1014
+ **/
1015
+ aggregate<T extends TagAggregateArgs>(args: Prisma.Subset<T, TagAggregateArgs>): Prisma.PrismaPromise<GetTagAggregateType<T>>;
1016
+ /**
1017
+ * Group by Tag.
1018
+ * Note, that providing `undefined` is treated as the value not being there.
1019
+ * Read more here: https://pris.ly/d/null-undefined
1020
+ * @param {TagGroupByArgs} args - Group by arguments.
1021
+ * @example
1022
+ * // Group by city, order by createdAt, get count
1023
+ * const result = await prisma.user.groupBy({
1024
+ * by: ['city', 'createdAt'],
1025
+ * orderBy: {
1026
+ * createdAt: true
1027
+ * },
1028
+ * _count: {
1029
+ * _all: true
1030
+ * },
1031
+ * })
1032
+ *
1033
+ **/
1034
+ groupBy<T extends TagGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
1035
+ orderBy: TagGroupByArgs['orderBy'];
1036
+ } : {
1037
+ orderBy?: TagGroupByArgs['orderBy'];
1038
+ }, 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 ? {
1039
+ [P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
1040
+ Error,
1041
+ 'Field ',
1042
+ P,
1043
+ ` in "having" needs to be provided in "by"`
1044
+ ];
1045
+ }[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
1046
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1047
+ }[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 ? {} : {
1048
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1049
+ }[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
1050
+ [P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
1051
+ }[OrderFields]>(args: Prisma.SubsetIntersection<T, TagGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetTagGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
1052
+ /**
1053
+ * Fields of the Tag model
1054
+ */
1055
+ readonly fields: TagFieldRefs;
1056
+ }
1057
+ /**
1058
+ * The delegate class that acts as a "Promise-like" for Tag.
1059
+ * Why is this prefixed with `Prisma__`?
1060
+ * Because we want to prevent naming conflicts as mentioned in
1061
+ * https://github.com/prisma/prisma-client-js/issues/707
1062
+ */
1063
+ export interface Prisma__TagClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
1064
+ readonly [Symbol.toStringTag]: "PrismaPromise";
1065
+ platform<T extends Prisma.Tag$platformArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tag$platformArgs<ExtArgs>>): Prisma.Prisma__PlatformClient<runtime.Types.Result.GetResult<Prisma.$PlatformPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
1066
+ productVariantToTags<T extends Prisma.Tag$productVariantToTagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tag$productVariantToTagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductVariantToTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1067
+ productToTags<T extends Prisma.Tag$productToTagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tag$productToTagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductToTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1068
+ productCategoryToTags<T extends Prisma.Tag$productCategoryToTagsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Tag$productCategoryToTagsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ProductCategoryToTagPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
1069
+ /**
1070
+ * Attaches callbacks for the resolution and/or rejection of the Promise.
1071
+ * @param onfulfilled The callback to execute when the Promise is resolved.
1072
+ * @param onrejected The callback to execute when the Promise is rejected.
1073
+ * @returns A Promise for the completion of which ever callback is executed.
1074
+ */
1075
+ 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>;
1076
+ /**
1077
+ * Attaches a callback for only the rejection of the Promise.
1078
+ * @param onrejected The callback to execute when the Promise is rejected.
1079
+ * @returns A Promise for the completion of the callback.
1080
+ */
1081
+ catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
1082
+ /**
1083
+ * Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
1084
+ * resolved value cannot be modified from the callback.
1085
+ * @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
1086
+ * @returns A Promise for the completion of the callback.
1087
+ */
1088
+ finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
1089
+ }
1090
+ /**
1091
+ * Fields of the Tag model
1092
+ */
1093
+ export interface TagFieldRefs {
1094
+ readonly id: Prisma.FieldRef<"Tag", 'BigInt'>;
1095
+ readonly createdAt: Prisma.FieldRef<"Tag", 'DateTime'>;
1096
+ readonly updatedAt: Prisma.FieldRef<"Tag", 'DateTime'>;
1097
+ readonly platformId: Prisma.FieldRef<"Tag", 'String'>;
1098
+ readonly value: Prisma.FieldRef<"Tag", 'String'>;
1099
+ }
1100
+ /**
1101
+ * Tag findUnique
1102
+ */
1103
+ export type TagFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1104
+ /**
1105
+ * Select specific fields to fetch from the Tag
1106
+ */
1107
+ select?: Prisma.TagSelect<ExtArgs> | null;
1108
+ /**
1109
+ * Omit specific fields from the Tag
1110
+ */
1111
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1112
+ /**
1113
+ * Choose, which related nodes to fetch as well
1114
+ */
1115
+ include?: Prisma.TagInclude<ExtArgs> | null;
1116
+ /**
1117
+ * Filter, which Tag to fetch.
1118
+ */
1119
+ where: Prisma.TagWhereUniqueInput;
1120
+ };
1121
+ /**
1122
+ * Tag findUniqueOrThrow
1123
+ */
1124
+ export type TagFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1125
+ /**
1126
+ * Select specific fields to fetch from the Tag
1127
+ */
1128
+ select?: Prisma.TagSelect<ExtArgs> | null;
1129
+ /**
1130
+ * Omit specific fields from the Tag
1131
+ */
1132
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1133
+ /**
1134
+ * Choose, which related nodes to fetch as well
1135
+ */
1136
+ include?: Prisma.TagInclude<ExtArgs> | null;
1137
+ /**
1138
+ * Filter, which Tag to fetch.
1139
+ */
1140
+ where: Prisma.TagWhereUniqueInput;
1141
+ };
1142
+ /**
1143
+ * Tag findFirst
1144
+ */
1145
+ export type TagFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1146
+ /**
1147
+ * Select specific fields to fetch from the Tag
1148
+ */
1149
+ select?: Prisma.TagSelect<ExtArgs> | null;
1150
+ /**
1151
+ * Omit specific fields from the Tag
1152
+ */
1153
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1154
+ /**
1155
+ * Choose, which related nodes to fetch as well
1156
+ */
1157
+ include?: Prisma.TagInclude<ExtArgs> | null;
1158
+ /**
1159
+ * Filter, which Tag to fetch.
1160
+ */
1161
+ where?: Prisma.TagWhereInput;
1162
+ /**
1163
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1164
+ *
1165
+ * Determine the order of Tags to fetch.
1166
+ */
1167
+ orderBy?: Prisma.TagOrderByWithRelationInput | Prisma.TagOrderByWithRelationInput[];
1168
+ /**
1169
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1170
+ *
1171
+ * Sets the position for searching for Tags.
1172
+ */
1173
+ cursor?: Prisma.TagWhereUniqueInput;
1174
+ /**
1175
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1176
+ *
1177
+ * Take `±n` Tags from the position of the cursor.
1178
+ */
1179
+ take?: number;
1180
+ /**
1181
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1182
+ *
1183
+ * Skip the first `n` Tags.
1184
+ */
1185
+ skip?: number;
1186
+ /**
1187
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1188
+ *
1189
+ * Filter by unique combinations of Tags.
1190
+ */
1191
+ distinct?: Prisma.TagScalarFieldEnum | Prisma.TagScalarFieldEnum[];
1192
+ };
1193
+ /**
1194
+ * Tag findFirstOrThrow
1195
+ */
1196
+ export type TagFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1197
+ /**
1198
+ * Select specific fields to fetch from the Tag
1199
+ */
1200
+ select?: Prisma.TagSelect<ExtArgs> | null;
1201
+ /**
1202
+ * Omit specific fields from the Tag
1203
+ */
1204
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1205
+ /**
1206
+ * Choose, which related nodes to fetch as well
1207
+ */
1208
+ include?: Prisma.TagInclude<ExtArgs> | null;
1209
+ /**
1210
+ * Filter, which Tag to fetch.
1211
+ */
1212
+ where?: Prisma.TagWhereInput;
1213
+ /**
1214
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1215
+ *
1216
+ * Determine the order of Tags to fetch.
1217
+ */
1218
+ orderBy?: Prisma.TagOrderByWithRelationInput | Prisma.TagOrderByWithRelationInput[];
1219
+ /**
1220
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1221
+ *
1222
+ * Sets the position for searching for Tags.
1223
+ */
1224
+ cursor?: Prisma.TagWhereUniqueInput;
1225
+ /**
1226
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1227
+ *
1228
+ * Take `±n` Tags from the position of the cursor.
1229
+ */
1230
+ take?: number;
1231
+ /**
1232
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1233
+ *
1234
+ * Skip the first `n` Tags.
1235
+ */
1236
+ skip?: number;
1237
+ /**
1238
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
1239
+ *
1240
+ * Filter by unique combinations of Tags.
1241
+ */
1242
+ distinct?: Prisma.TagScalarFieldEnum | Prisma.TagScalarFieldEnum[];
1243
+ };
1244
+ /**
1245
+ * Tag findMany
1246
+ */
1247
+ export type TagFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1248
+ /**
1249
+ * Select specific fields to fetch from the Tag
1250
+ */
1251
+ select?: Prisma.TagSelect<ExtArgs> | null;
1252
+ /**
1253
+ * Omit specific fields from the Tag
1254
+ */
1255
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1256
+ /**
1257
+ * Choose, which related nodes to fetch as well
1258
+ */
1259
+ include?: Prisma.TagInclude<ExtArgs> | null;
1260
+ /**
1261
+ * Filter, which Tags to fetch.
1262
+ */
1263
+ where?: Prisma.TagWhereInput;
1264
+ /**
1265
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
1266
+ *
1267
+ * Determine the order of Tags to fetch.
1268
+ */
1269
+ orderBy?: Prisma.TagOrderByWithRelationInput | Prisma.TagOrderByWithRelationInput[];
1270
+ /**
1271
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
1272
+ *
1273
+ * Sets the position for listing Tags.
1274
+ */
1275
+ cursor?: Prisma.TagWhereUniqueInput;
1276
+ /**
1277
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1278
+ *
1279
+ * Take `±n` Tags from the position of the cursor.
1280
+ */
1281
+ take?: number;
1282
+ /**
1283
+ * {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
1284
+ *
1285
+ * Skip the first `n` Tags.
1286
+ */
1287
+ skip?: number;
1288
+ distinct?: Prisma.TagScalarFieldEnum | Prisma.TagScalarFieldEnum[];
1289
+ };
1290
+ /**
1291
+ * Tag create
1292
+ */
1293
+ export type TagCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1294
+ /**
1295
+ * Select specific fields to fetch from the Tag
1296
+ */
1297
+ select?: Prisma.TagSelect<ExtArgs> | null;
1298
+ /**
1299
+ * Omit specific fields from the Tag
1300
+ */
1301
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1302
+ /**
1303
+ * Choose, which related nodes to fetch as well
1304
+ */
1305
+ include?: Prisma.TagInclude<ExtArgs> | null;
1306
+ /**
1307
+ * The data needed to create a Tag.
1308
+ */
1309
+ data: Prisma.XOR<Prisma.TagCreateInput, Prisma.TagUncheckedCreateInput>;
1310
+ };
1311
+ /**
1312
+ * Tag createMany
1313
+ */
1314
+ export type TagCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1315
+ /**
1316
+ * The data used to create many Tags.
1317
+ */
1318
+ data: Prisma.TagCreateManyInput | Prisma.TagCreateManyInput[];
1319
+ skipDuplicates?: boolean;
1320
+ };
1321
+ /**
1322
+ * Tag createManyAndReturn
1323
+ */
1324
+ export type TagCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1325
+ /**
1326
+ * Select specific fields to fetch from the Tag
1327
+ */
1328
+ select?: Prisma.TagSelectCreateManyAndReturn<ExtArgs> | null;
1329
+ /**
1330
+ * Omit specific fields from the Tag
1331
+ */
1332
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1333
+ /**
1334
+ * The data used to create many Tags.
1335
+ */
1336
+ data: Prisma.TagCreateManyInput | Prisma.TagCreateManyInput[];
1337
+ skipDuplicates?: boolean;
1338
+ /**
1339
+ * Choose, which related nodes to fetch as well
1340
+ */
1341
+ include?: Prisma.TagIncludeCreateManyAndReturn<ExtArgs> | null;
1342
+ };
1343
+ /**
1344
+ * Tag update
1345
+ */
1346
+ export type TagUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1347
+ /**
1348
+ * Select specific fields to fetch from the Tag
1349
+ */
1350
+ select?: Prisma.TagSelect<ExtArgs> | null;
1351
+ /**
1352
+ * Omit specific fields from the Tag
1353
+ */
1354
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1355
+ /**
1356
+ * Choose, which related nodes to fetch as well
1357
+ */
1358
+ include?: Prisma.TagInclude<ExtArgs> | null;
1359
+ /**
1360
+ * The data needed to update a Tag.
1361
+ */
1362
+ data: Prisma.XOR<Prisma.TagUpdateInput, Prisma.TagUncheckedUpdateInput>;
1363
+ /**
1364
+ * Choose, which Tag to update.
1365
+ */
1366
+ where: Prisma.TagWhereUniqueInput;
1367
+ };
1368
+ /**
1369
+ * Tag updateMany
1370
+ */
1371
+ export type TagUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1372
+ /**
1373
+ * The data used to update Tags.
1374
+ */
1375
+ data: Prisma.XOR<Prisma.TagUpdateManyMutationInput, Prisma.TagUncheckedUpdateManyInput>;
1376
+ /**
1377
+ * Filter which Tags to update
1378
+ */
1379
+ where?: Prisma.TagWhereInput;
1380
+ /**
1381
+ * Limit how many Tags to update.
1382
+ */
1383
+ limit?: number;
1384
+ };
1385
+ /**
1386
+ * Tag updateManyAndReturn
1387
+ */
1388
+ export type TagUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1389
+ /**
1390
+ * Select specific fields to fetch from the Tag
1391
+ */
1392
+ select?: Prisma.TagSelectUpdateManyAndReturn<ExtArgs> | null;
1393
+ /**
1394
+ * Omit specific fields from the Tag
1395
+ */
1396
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1397
+ /**
1398
+ * The data used to update Tags.
1399
+ */
1400
+ data: Prisma.XOR<Prisma.TagUpdateManyMutationInput, Prisma.TagUncheckedUpdateManyInput>;
1401
+ /**
1402
+ * Filter which Tags to update
1403
+ */
1404
+ where?: Prisma.TagWhereInput;
1405
+ /**
1406
+ * Limit how many Tags to update.
1407
+ */
1408
+ limit?: number;
1409
+ /**
1410
+ * Choose, which related nodes to fetch as well
1411
+ */
1412
+ include?: Prisma.TagIncludeUpdateManyAndReturn<ExtArgs> | null;
1413
+ };
1414
+ /**
1415
+ * Tag upsert
1416
+ */
1417
+ export type TagUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1418
+ /**
1419
+ * Select specific fields to fetch from the Tag
1420
+ */
1421
+ select?: Prisma.TagSelect<ExtArgs> | null;
1422
+ /**
1423
+ * Omit specific fields from the Tag
1424
+ */
1425
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1426
+ /**
1427
+ * Choose, which related nodes to fetch as well
1428
+ */
1429
+ include?: Prisma.TagInclude<ExtArgs> | null;
1430
+ /**
1431
+ * The filter to search for the Tag to update in case it exists.
1432
+ */
1433
+ where: Prisma.TagWhereUniqueInput;
1434
+ /**
1435
+ * In case the Tag found by the `where` argument doesn't exist, create a new Tag with this data.
1436
+ */
1437
+ create: Prisma.XOR<Prisma.TagCreateInput, Prisma.TagUncheckedCreateInput>;
1438
+ /**
1439
+ * In case the Tag was found with the provided `where` argument, update it with this data.
1440
+ */
1441
+ update: Prisma.XOR<Prisma.TagUpdateInput, Prisma.TagUncheckedUpdateInput>;
1442
+ };
1443
+ /**
1444
+ * Tag delete
1445
+ */
1446
+ export type TagDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1447
+ /**
1448
+ * Select specific fields to fetch from the Tag
1449
+ */
1450
+ select?: Prisma.TagSelect<ExtArgs> | null;
1451
+ /**
1452
+ * Omit specific fields from the Tag
1453
+ */
1454
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1455
+ /**
1456
+ * Choose, which related nodes to fetch as well
1457
+ */
1458
+ include?: Prisma.TagInclude<ExtArgs> | null;
1459
+ /**
1460
+ * Filter which Tag to delete.
1461
+ */
1462
+ where: Prisma.TagWhereUniqueInput;
1463
+ };
1464
+ /**
1465
+ * Tag deleteMany
1466
+ */
1467
+ export type TagDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1468
+ /**
1469
+ * Filter which Tags to delete
1470
+ */
1471
+ where?: Prisma.TagWhereInput;
1472
+ /**
1473
+ * Limit how many Tags to delete.
1474
+ */
1475
+ limit?: number;
1476
+ };
1477
+ /**
1478
+ * Tag.platform
1479
+ */
1480
+ export type Tag$platformArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1481
+ /**
1482
+ * Select specific fields to fetch from the Platform
1483
+ */
1484
+ select?: Prisma.PlatformSelect<ExtArgs> | null;
1485
+ /**
1486
+ * Omit specific fields from the Platform
1487
+ */
1488
+ omit?: Prisma.PlatformOmit<ExtArgs> | null;
1489
+ /**
1490
+ * Choose, which related nodes to fetch as well
1491
+ */
1492
+ include?: Prisma.PlatformInclude<ExtArgs> | null;
1493
+ where?: Prisma.PlatformWhereInput;
1494
+ };
1495
+ /**
1496
+ * Tag.productVariantToTags
1497
+ */
1498
+ export type Tag$productVariantToTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1499
+ /**
1500
+ * Select specific fields to fetch from the ProductVariantToTag
1501
+ */
1502
+ select?: Prisma.ProductVariantToTagSelect<ExtArgs> | null;
1503
+ /**
1504
+ * Omit specific fields from the ProductVariantToTag
1505
+ */
1506
+ omit?: Prisma.ProductVariantToTagOmit<ExtArgs> | null;
1507
+ /**
1508
+ * Choose, which related nodes to fetch as well
1509
+ */
1510
+ include?: Prisma.ProductVariantToTagInclude<ExtArgs> | null;
1511
+ where?: Prisma.ProductVariantToTagWhereInput;
1512
+ orderBy?: Prisma.ProductVariantToTagOrderByWithRelationInput | Prisma.ProductVariantToTagOrderByWithRelationInput[];
1513
+ cursor?: Prisma.ProductVariantToTagWhereUniqueInput;
1514
+ take?: number;
1515
+ skip?: number;
1516
+ distinct?: Prisma.ProductVariantToTagScalarFieldEnum | Prisma.ProductVariantToTagScalarFieldEnum[];
1517
+ };
1518
+ /**
1519
+ * Tag.productToTags
1520
+ */
1521
+ export type Tag$productToTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1522
+ /**
1523
+ * Select specific fields to fetch from the ProductToTag
1524
+ */
1525
+ select?: Prisma.ProductToTagSelect<ExtArgs> | null;
1526
+ /**
1527
+ * Omit specific fields from the ProductToTag
1528
+ */
1529
+ omit?: Prisma.ProductToTagOmit<ExtArgs> | null;
1530
+ /**
1531
+ * Choose, which related nodes to fetch as well
1532
+ */
1533
+ include?: Prisma.ProductToTagInclude<ExtArgs> | null;
1534
+ where?: Prisma.ProductToTagWhereInput;
1535
+ orderBy?: Prisma.ProductToTagOrderByWithRelationInput | Prisma.ProductToTagOrderByWithRelationInput[];
1536
+ cursor?: Prisma.ProductToTagWhereUniqueInput;
1537
+ take?: number;
1538
+ skip?: number;
1539
+ distinct?: Prisma.ProductToTagScalarFieldEnum | Prisma.ProductToTagScalarFieldEnum[];
1540
+ };
1541
+ /**
1542
+ * Tag.productCategoryToTags
1543
+ */
1544
+ export type Tag$productCategoryToTagsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1545
+ /**
1546
+ * Select specific fields to fetch from the ProductCategoryToTag
1547
+ */
1548
+ select?: Prisma.ProductCategoryToTagSelect<ExtArgs> | null;
1549
+ /**
1550
+ * Omit specific fields from the ProductCategoryToTag
1551
+ */
1552
+ omit?: Prisma.ProductCategoryToTagOmit<ExtArgs> | null;
1553
+ /**
1554
+ * Choose, which related nodes to fetch as well
1555
+ */
1556
+ include?: Prisma.ProductCategoryToTagInclude<ExtArgs> | null;
1557
+ where?: Prisma.ProductCategoryToTagWhereInput;
1558
+ orderBy?: Prisma.ProductCategoryToTagOrderByWithRelationInput | Prisma.ProductCategoryToTagOrderByWithRelationInput[];
1559
+ cursor?: Prisma.ProductCategoryToTagWhereUniqueInput;
1560
+ take?: number;
1561
+ skip?: number;
1562
+ distinct?: Prisma.ProductCategoryToTagScalarFieldEnum | Prisma.ProductCategoryToTagScalarFieldEnum[];
1563
+ };
1564
+ /**
1565
+ * Tag without action
1566
+ */
1567
+ export type TagDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
1568
+ /**
1569
+ * Select specific fields to fetch from the Tag
1570
+ */
1571
+ select?: Prisma.TagSelect<ExtArgs> | null;
1572
+ /**
1573
+ * Omit specific fields from the Tag
1574
+ */
1575
+ omit?: Prisma.TagOmit<ExtArgs> | null;
1576
+ /**
1577
+ * Choose, which related nodes to fetch as well
1578
+ */
1579
+ include?: Prisma.TagInclude<ExtArgs> | null;
1580
+ };
1581
+ export {};