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

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