@pos-360/prisma 1.0.0-beta.0 → 1.0.0-beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generated/prisma/browser.d.ts +514 -0
- package/lib/generated/prisma/browser.js +57 -0
- package/lib/generated/prisma/browser.js.map +1 -0
- package/lib/generated/prisma/client.d.ts +531 -0
- package/lib/generated/prisma/client.js +69 -0
- package/lib/generated/prisma/client.js.map +1 -0
- package/lib/generated/prisma/commonInputTypes.d.ts +1529 -0
- package/lib/generated/prisma/commonInputTypes.js +12 -0
- package/lib/generated/prisma/commonInputTypes.js.map +1 -0
- package/lib/generated/prisma/dmmf.d.ts +4085 -0
- package/lib/generated/prisma/dmmf.js +27551 -0
- package/lib/generated/prisma/dmmf.js.map +1 -0
- package/lib/generated/prisma/enums.d.ts +216 -0
- package/lib/generated/prisma/enums.js +205 -0
- package/lib/generated/prisma/enums.js.map +1 -0
- package/lib/generated/prisma/internal/class.d.ts +1237 -0
- package/lib/generated/prisma/internal/class.js +79 -0
- package/lib/generated/prisma/internal/class.js.map +1 -0
- package/lib/generated/prisma/internal/prismaNamespace.d.ts +10091 -0
- package/lib/generated/prisma/internal/prismaNamespace.js +1721 -0
- package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +1816 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +1692 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
- package/lib/generated/prisma/kysely-types.d.ts +1499 -0
- package/lib/generated/prisma/kysely-types.js +196 -0
- package/lib/generated/prisma/kysely-types.js.map +1 -0
- package/lib/generated/prisma/models/Address.d.ts +1339 -0
- package/lib/generated/prisma/models/Address.js +12 -0
- package/lib/generated/prisma/models/Address.js.map +1 -0
- package/lib/generated/prisma/models/Administrator.d.ts +1633 -0
- package/lib/generated/prisma/models/Administrator.js +12 -0
- package/lib/generated/prisma/models/Administrator.js.map +1 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.d.ts +1208 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.js +12 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/AdministratorToStore.d.ts +1201 -0
- package/lib/generated/prisma/models/AdministratorToStore.js +12 -0
- package/lib/generated/prisma/models/AdministratorToStore.js.map +1 -0
- package/lib/generated/prisma/models/ApiToken.d.ts +1125 -0
- package/lib/generated/prisma/models/ApiToken.js +12 -0
- package/lib/generated/prisma/models/ApiToken.js.map +1 -0
- package/lib/generated/prisma/models/AwsBucket.d.ts +1435 -0
- package/lib/generated/prisma/models/AwsBucket.js +12 -0
- package/lib/generated/prisma/models/AwsBucket.js.map +1 -0
- package/lib/generated/prisma/models/Card.d.ts +1533 -0
- package/lib/generated/prisma/models/Card.js +12 -0
- package/lib/generated/prisma/models/Card.js.map +1 -0
- package/lib/generated/prisma/models/Cart.d.ts +2315 -0
- package/lib/generated/prisma/models/Cart.js +12 -0
- package/lib/generated/prisma/models/Cart.js.map +1 -0
- package/lib/generated/prisma/models/CartCost.d.ts +1368 -0
- package/lib/generated/prisma/models/CartCost.js +12 -0
- package/lib/generated/prisma/models/CartCost.js.map +1 -0
- package/lib/generated/prisma/models/CartLine.d.ts +1948 -0
- package/lib/generated/prisma/models/CartLine.js +12 -0
- package/lib/generated/prisma/models/CartLine.js.map +1 -0
- package/lib/generated/prisma/models/CartLineModifier.d.ts +2061 -0
- package/lib/generated/prisma/models/CartLineModifier.js +12 -0
- package/lib/generated/prisma/models/CartLineModifier.js.map +1 -0
- package/lib/generated/prisma/models/CartLineModifierOption.d.ts +1435 -0
- package/lib/generated/prisma/models/CartLineModifierOption.js +12 -0
- package/lib/generated/prisma/models/CartLineModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/Checkout.d.ts +3989 -0
- package/lib/generated/prisma/models/Checkout.js +12 -0
- package/lib/generated/prisma/models/Checkout.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutGroup.d.ts +2604 -0
- package/lib/generated/prisma/models/CheckoutGroup.js +12 -0
- package/lib/generated/prisma/models/CheckoutGroup.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLine.d.ts +1932 -0
- package/lib/generated/prisma/models/CheckoutLine.js +12 -0
- package/lib/generated/prisma/models/CheckoutLine.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.d.ts +1702 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.js +12 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.d.ts +2124 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.js +12 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.js.map +1 -0
- package/lib/generated/prisma/models/Collection.d.ts +1961 -0
- package/lib/generated/prisma/models/Collection.js +12 -0
- package/lib/generated/prisma/models/Collection.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToPlatform.d.ts +1313 -0
- package/lib/generated/prisma/models/CollectionToPlatform.js +12 -0
- package/lib/generated/prisma/models/CollectionToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToProduct.d.ts +1342 -0
- package/lib/generated/prisma/models/CollectionToProduct.js +12 -0
- package/lib/generated/prisma/models/CollectionToProduct.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.d.ts +1201 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.js +12 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/Customer.d.ts +2964 -0
- package/lib/generated/prisma/models/Customer.js +12 -0
- package/lib/generated/prisma/models/Customer.js.map +1 -0
- package/lib/generated/prisma/models/CustomerGroup.d.ts +1167 -0
- package/lib/generated/prisma/models/CustomerGroup.js +12 -0
- package/lib/generated/prisma/models/CustomerGroup.js.map +1 -0
- package/lib/generated/prisma/models/CustomerToAddress.d.ts +1243 -0
- package/lib/generated/prisma/models/CustomerToAddress.js +12 -0
- package/lib/generated/prisma/models/CustomerToAddress.js.map +1 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.d.ts +1201 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.js +12 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCode.d.ts +3139 -0
- package/lib/generated/prisma/models/DiscountCode.js +12 -0
- package/lib/generated/prisma/models/DiscountCode.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.d.ts +1332 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.d.ts +1389 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.d.ts +1537 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.js.map +1 -0
- package/lib/generated/prisma/models/EventLog.d.ts +1295 -0
- package/lib/generated/prisma/models/EventLog.js +12 -0
- package/lib/generated/prisma/models/EventLog.js.map +1 -0
- package/lib/generated/prisma/models/Facet.d.ts +1266 -0
- package/lib/generated/prisma/models/Facet.js +12 -0
- package/lib/generated/prisma/models/Facet.js.map +1 -0
- package/lib/generated/prisma/models/FacetOption.d.ts +1342 -0
- package/lib/generated/prisma/models/FacetOption.js +12 -0
- package/lib/generated/prisma/models/FacetOption.js.map +1 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.js +12 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/FacetToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/FacetToPlatform.js +12 -0
- package/lib/generated/prisma/models/FacetToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/FeatureFlag.d.ts +1412 -0
- package/lib/generated/prisma/models/FeatureFlag.js +12 -0
- package/lib/generated/prisma/models/FeatureFlag.js.map +1 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.d.ts +1059 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.js +12 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/FlaggedPayment.d.ts +1065 -0
- package/lib/generated/prisma/models/FlaggedPayment.js +12 -0
- package/lib/generated/prisma/models/FlaggedPayment.js.map +1 -0
- package/lib/generated/prisma/models/FreeItemRule.d.ts +1021 -0
- package/lib/generated/prisma/models/FreeItemRule.js +12 -0
- package/lib/generated/prisma/models/FreeItemRule.js.map +1 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.d.ts +993 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.js +12 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.js.map +1 -0
- package/lib/generated/prisma/models/FulfillmentFees.d.ts +1365 -0
- package/lib/generated/prisma/models/FulfillmentFees.js +12 -0
- package/lib/generated/prisma/models/FulfillmentFees.js.map +1 -0
- package/lib/generated/prisma/models/Ingredient.d.ts +1886 -0
- package/lib/generated/prisma/models/Ingredient.js +12 -0
- package/lib/generated/prisma/models/Ingredient.js.map +1 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.d.ts +1561 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.js +12 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/IngredientToStore.d.ts +1507 -0
- package/lib/generated/prisma/models/IngredientToStore.js +12 -0
- package/lib/generated/prisma/models/IngredientToStore.js.map +1 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.d.ts +1256 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.js +12 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.js.map +1 -0
- package/lib/generated/prisma/models/Media.d.ts +2127 -0
- package/lib/generated/prisma/models/Media.js +12 -0
- package/lib/generated/prisma/models/Media.js.map +1 -0
- package/lib/generated/prisma/models/Modifier.d.ts +2597 -0
- package/lib/generated/prisma/models/Modifier.js +12 -0
- package/lib/generated/prisma/models/Modifier.js.map +1 -0
- package/lib/generated/prisma/models/ModifierGroup.d.ts +2099 -0
- package/lib/generated/prisma/models/ModifierGroup.js +12 -0
- package/lib/generated/prisma/models/ModifierGroup.js.map +1 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.d.ts +1249 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.js +12 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.js.map +1 -0
- package/lib/generated/prisma/models/ModifierOption.d.ts +1838 -0
- package/lib/generated/prisma/models/ModifierOption.js +12 -0
- package/lib/generated/prisma/models/ModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.d.ts +1343 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.js +12 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.js.map +1 -0
- package/lib/generated/prisma/models/NmiSecurityKey.d.ts +1087 -0
- package/lib/generated/prisma/models/NmiSecurityKey.js +12 -0
- package/lib/generated/prisma/models/NmiSecurityKey.js.map +1 -0
- package/lib/generated/prisma/models/OneTimeToken.d.ts +1115 -0
- package/lib/generated/prisma/models/OneTimeToken.js +12 -0
- package/lib/generated/prisma/models/OneTimeToken.js.map +1 -0
- package/lib/generated/prisma/models/Payment.d.ts +1560 -0
- package/lib/generated/prisma/models/Payment.js +12 -0
- package/lib/generated/prisma/models/Payment.js.map +1 -0
- package/lib/generated/prisma/models/Platform.d.ts +7442 -0
- package/lib/generated/prisma/models/Platform.js +12 -0
- package/lib/generated/prisma/models/Platform.js.map +1 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.d.ts +1333 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.js +12 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.d.ts +1299 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.js +12 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.js.map +1 -0
- package/lib/generated/prisma/models/PrepTime.d.ts +1420 -0
- package/lib/generated/prisma/models/PrepTime.js +12 -0
- package/lib/generated/prisma/models/PrepTime.js.map +1 -0
- package/lib/generated/prisma/models/Product.d.ts +2975 -0
- package/lib/generated/prisma/models/Product.js +12 -0
- package/lib/generated/prisma/models/Product.js.map +1 -0
- package/lib/generated/prisma/models/ProductCategory.d.ts +2057 -0
- package/lib/generated/prisma/models/ProductCategory.js +12 -0
- package/lib/generated/prisma/models/ProductCategory.js.map +1 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.js +12 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductListing.d.ts +1747 -0
- package/lib/generated/prisma/models/ProductListing.js +12 -0
- package/lib/generated/prisma/models/ProductListing.js.map +1 -0
- package/lib/generated/prisma/models/ProductToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductToTag.js +12 -0
- package/lib/generated/prisma/models/ProductToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariant.d.ts +6964 -0
- package/lib/generated/prisma/models/ProductVariant.js +12 -0
- package/lib/generated/prisma/models/ProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.d.ts +1775 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.js +12 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantListing.d.ts +2152 -0
- package/lib/generated/prisma/models/ProductVariantListing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantListing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.d.ts +1401 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.js +12 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.d.ts +1420 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantRanking.d.ts +1402 -0
- package/lib/generated/prisma/models/ProductVariantRanking.js +12 -0
- package/lib/generated/prisma/models/ProductVariantRanking.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.d.ts +1638 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.d.ts +1467 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.d.ts +1890 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.d.ts +1250 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.js +12 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductVariantToTag.js +12 -0
- package/lib/generated/prisma/models/ProductVariantToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductVarietal.d.ts +1385 -0
- package/lib/generated/prisma/models/ProductVarietal.js +12 -0
- package/lib/generated/prisma/models/ProductVarietal.js.map +1 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.d.ts +1782 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.js +12 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.js.map +1 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.d.ts +1931 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.js +12 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.js.map +1 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.d.ts +1405 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js +12 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js.map +1 -0
- package/lib/generated/prisma/models/Refund.d.ts +1707 -0
- package/lib/generated/prisma/models/Refund.js +12 -0
- package/lib/generated/prisma/models/Refund.js.map +1 -0
- package/lib/generated/prisma/models/RefundLine.d.ts +1373 -0
- package/lib/generated/prisma/models/RefundLine.js +12 -0
- package/lib/generated/prisma/models/RefundLine.js.map +1 -0
- package/lib/generated/prisma/models/RelatedItems.d.ts +1431 -0
- package/lib/generated/prisma/models/RelatedItems.js +12 -0
- package/lib/generated/prisma/models/RelatedItems.js.map +1 -0
- package/lib/generated/prisma/models/Role.d.ts +1264 -0
- package/lib/generated/prisma/models/Role.js +12 -0
- package/lib/generated/prisma/models/Role.js.map +1 -0
- package/lib/generated/prisma/models/ScheduledTask.d.ts +1146 -0
- package/lib/generated/prisma/models/ScheduledTask.js +12 -0
- package/lib/generated/prisma/models/ScheduledTask.js.map +1 -0
- package/lib/generated/prisma/models/ShippingConfiguration.d.ts +1659 -0
- package/lib/generated/prisma/models/ShippingConfiguration.js +12 -0
- package/lib/generated/prisma/models/ShippingConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/ShippingLabelFee.d.ts +1705 -0
- package/lib/generated/prisma/models/ShippingLabelFee.js +12 -0
- package/lib/generated/prisma/models/ShippingLabelFee.js.map +1 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.d.ts +1520 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.js +12 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.js.map +1 -0
- package/lib/generated/prisma/models/SmsConversation.d.ts +1548 -0
- package/lib/generated/prisma/models/SmsConversation.js +12 -0
- package/lib/generated/prisma/models/SmsConversation.js.map +1 -0
- package/lib/generated/prisma/models/SmsConversationMessage.d.ts +1326 -0
- package/lib/generated/prisma/models/SmsConversationMessage.js +12 -0
- package/lib/generated/prisma/models/SmsConversationMessage.js.map +1 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.d.ts +1125 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js +12 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js.map +1 -0
- package/lib/generated/prisma/models/StockLevel.d.ts +1425 -0
- package/lib/generated/prisma/models/StockLevel.js +12 -0
- package/lib/generated/prisma/models/StockLevel.js.map +1 -0
- package/lib/generated/prisma/models/StockLocation.d.ts +1652 -0
- package/lib/generated/prisma/models/StockLocation.js +12 -0
- package/lib/generated/prisma/models/StockLocation.js.map +1 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.js +12 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/StockMovement.d.ts +1608 -0
- package/lib/generated/prisma/models/StockMovement.js +12 -0
- package/lib/generated/prisma/models/StockMovement.js.map +1 -0
- package/lib/generated/prisma/models/Store.d.ts +4487 -0
- package/lib/generated/prisma/models/Store.js +12 -0
- package/lib/generated/prisma/models/Store.js.map +1 -0
- package/lib/generated/prisma/models/StoreRestockingLog.d.ts +1297 -0
- package/lib/generated/prisma/models/StoreRestockingLog.js +12 -0
- package/lib/generated/prisma/models/StoreRestockingLog.js.map +1 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.d.ts +1932 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.js +12 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.js.map +1 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.d.ts +1294 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.js +12 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.js.map +1 -0
- package/lib/generated/prisma/models/StoreToPlatform.d.ts +1331 -0
- package/lib/generated/prisma/models/StoreToPlatform.js +12 -0
- package/lib/generated/prisma/models/StoreToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/Tag.d.ts +1581 -0
- package/lib/generated/prisma/models/Tag.js +12 -0
- package/lib/generated/prisma/models/Tag.js.map +1 -0
- package/lib/generated/prisma/models/TaxCategory.d.ts +1169 -0
- package/lib/generated/prisma/models/TaxCategory.js +12 -0
- package/lib/generated/prisma/models/TaxCategory.js.map +1 -0
- package/lib/generated/prisma/models/Transaction.d.ts +1551 -0
- package/lib/generated/prisma/models/Transaction.js +12 -0
- package/lib/generated/prisma/models/Transaction.js.map +1 -0
- package/lib/generated/prisma/models/User.d.ts +1907 -0
- package/lib/generated/prisma/models/User.js +12 -0
- package/lib/generated/prisma/models/User.js.map +1 -0
- package/lib/generated/prisma/models/UserToRole.d.ts +1201 -0
- package/lib/generated/prisma/models/UserToRole.js +12 -0
- package/lib/generated/prisma/models/UserToRole.js.map +1 -0
- package/lib/generated/prisma/models.d.ts +103 -0
- package/lib/generated/prisma/models.js +3 -0
- package/lib/generated/prisma/models.js.map +1 -0
- package/lib/generated/prisma/pjtg.d.ts +145 -0
- package/lib/generated/prisma/pjtg.js +3 -0
- package/lib/generated/prisma/pjtg.js.map +1 -0
- package/lib/helpers.d.ts +37 -0
- package/lib/helpers.js +226 -0
- package/lib/helpers.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js.map +1 -0
- package/lib/kysely/index.d.ts +2 -0
- package/lib/kysely/index.js +19 -0
- package/lib/kysely/index.js.map +1 -0
- package/lib/kysely/kysely-db.d.ts +3 -0
- package/lib/kysely/kysely-db.js +3 -0
- package/lib/kysely/kysely-db.js.map +1 -0
- package/lib/kysely/utils/index.d.ts +4 -0
- package/lib/kysely/utils/index.js +21 -0
- package/lib/kysely/utils/index.js.map +1 -0
- package/lib/kysely/utils/json-array-from-no-subquery.d.ts +38 -0
- package/lib/kysely/utils/json-array-from-no-subquery.js +43 -0
- package/lib/kysely/utils/json-array-from-no-subquery.js.map +1 -0
- package/lib/kysely/utils/json-object-from-no-subquery.d.ts +40 -0
- package/lib/kysely/utils/json-object-from-no-subquery.js +45 -0
- package/lib/kysely/utils/json-object-from-no-subquery.js.map +1 -0
- package/lib/kysely/utils/serialize-bigint-value.d.ts +3 -0
- package/lib/kysely/utils/serialize-bigint-value.js +13 -0
- package/lib/kysely/utils/serialize-bigint-value.js.map +1 -0
- package/lib/kysely/utils/serialize-numeric-value.d.ts +4 -0
- package/lib/kysely/utils/serialize-numeric-value.js +11 -0
- package/lib/kysely/utils/serialize-numeric-value.js.map +1 -0
- package/lib/kysely/utils/shallow-dehydrate.d.ts +18 -0
- package/lib/kysely/utils/shallow-dehydrate.js +3 -0
- package/lib/kysely/utils/shallow-dehydrate.js.map +1 -0
- package/lib/prisma-module/index.d.ts +4 -0
- package/lib/prisma-module/index.js +21 -0
- package/lib/prisma-module/index.js.map +1 -0
- package/lib/prisma-module/prisma-options.d.ts +59 -0
- package/lib/prisma-module/prisma-options.js +3 -0
- package/lib/prisma-module/prisma-options.js.map +1 -0
- package/lib/prisma-module/prisma.constants.d.ts +1 -0
- package/lib/prisma-module/prisma.constants.js +5 -0
- package/lib/prisma-module/prisma.constants.js.map +1 -0
- package/lib/prisma-module/prisma.module.d.ts +8 -0
- package/lib/prisma-module/prisma.module.js +73 -0
- package/lib/prisma-module/prisma.module.js.map +1 -0
- package/lib/prisma-module/prisma.service.d.ts +5 -0
- package/lib/prisma-module/prisma.service.js +29 -0
- package/lib/prisma-module/prisma.service.js.map +1 -0
- package/lib/tsconfig.build.tsbuildinfo +1 -0
- package/lib/types.d.ts +7 -0
- package/lib/types.js +3 -0
- package/lib/types.js.map +1 -0
- package/lib/utils/deep-convert-formatted-string-to-original.d.ts +1 -0
- package/lib/utils/deep-convert-formatted-string-to-original.js +40 -0
- package/lib/utils/deep-convert-formatted-string-to-original.js.map +1 -0
- package/lib/utils/ignore-prisma-builtins.d.ts +1 -0
- package/lib/utils/ignore-prisma-builtins.js +3 -0
- package/lib/utils/ignore-prisma-builtins.js.map +1 -0
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.js +20 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/prisma-where-to-sql.d.ts +5 -0
- package/lib/utils/prisma-where-to-sql.js +94 -0
- package/lib/utils/prisma-where-to-sql.js.map +1 -0
- package/lib/web360-prisma.constants.d.ts +2 -0
- package/lib/web360-prisma.constants.js +6 -0
- package/lib/web360-prisma.constants.js.map +1 -0
- package/lib/web360-prisma.module.d.ts +7 -0
- package/lib/web360-prisma.module.js +81 -0
- package/lib/web360-prisma.module.js.map +1 -0
- package/lib/web360-prisma.options.d.ts +38 -0
- package/lib/web360-prisma.options.js +3 -0
- package/lib/web360-prisma.options.js.map +1 -0
- package/lib/web360-prisma.service.d.ts +57 -0
- package/lib/web360-prisma.service.js +57 -0
- package/lib/web360-prisma.service.js.map +1 -0
- package/package.json +3 -2
|
@@ -0,0 +1,1652 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model StockLocation
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type StockLocationModel = runtime.Types.Result.DefaultSelection<Prisma.$StockLocationPayload>;
|
|
8
|
+
export type AggregateStockLocation = {
|
|
9
|
+
_count: StockLocationCountAggregateOutputType | null;
|
|
10
|
+
_avg: StockLocationAvgAggregateOutputType | null;
|
|
11
|
+
_sum: StockLocationSumAggregateOutputType | null;
|
|
12
|
+
_min: StockLocationMinAggregateOutputType | null;
|
|
13
|
+
_max: StockLocationMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type StockLocationAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type StockLocationSumAggregateOutputType = {
|
|
19
|
+
id: bigint | null;
|
|
20
|
+
};
|
|
21
|
+
export type StockLocationMinAggregateOutputType = {
|
|
22
|
+
id: bigint | null;
|
|
23
|
+
createdAt: Date | null;
|
|
24
|
+
updatedAt: Date | null;
|
|
25
|
+
name: string | null;
|
|
26
|
+
storeId: string | null;
|
|
27
|
+
description: string | null;
|
|
28
|
+
isDefault: boolean | null;
|
|
29
|
+
};
|
|
30
|
+
export type StockLocationMaxAggregateOutputType = {
|
|
31
|
+
id: bigint | null;
|
|
32
|
+
createdAt: Date | null;
|
|
33
|
+
updatedAt: Date | null;
|
|
34
|
+
name: string | null;
|
|
35
|
+
storeId: string | null;
|
|
36
|
+
description: string | null;
|
|
37
|
+
isDefault: boolean | null;
|
|
38
|
+
};
|
|
39
|
+
export type StockLocationCountAggregateOutputType = {
|
|
40
|
+
id: number;
|
|
41
|
+
createdAt: number;
|
|
42
|
+
updatedAt: number;
|
|
43
|
+
name: number;
|
|
44
|
+
storeId: number;
|
|
45
|
+
description: number;
|
|
46
|
+
isDefault: number;
|
|
47
|
+
_all: number;
|
|
48
|
+
};
|
|
49
|
+
export type StockLocationAvgAggregateInputType = {
|
|
50
|
+
id?: true;
|
|
51
|
+
};
|
|
52
|
+
export type StockLocationSumAggregateInputType = {
|
|
53
|
+
id?: true;
|
|
54
|
+
};
|
|
55
|
+
export type StockLocationMinAggregateInputType = {
|
|
56
|
+
id?: true;
|
|
57
|
+
createdAt?: true;
|
|
58
|
+
updatedAt?: true;
|
|
59
|
+
name?: true;
|
|
60
|
+
storeId?: true;
|
|
61
|
+
description?: true;
|
|
62
|
+
isDefault?: true;
|
|
63
|
+
};
|
|
64
|
+
export type StockLocationMaxAggregateInputType = {
|
|
65
|
+
id?: true;
|
|
66
|
+
createdAt?: true;
|
|
67
|
+
updatedAt?: true;
|
|
68
|
+
name?: true;
|
|
69
|
+
storeId?: true;
|
|
70
|
+
description?: true;
|
|
71
|
+
isDefault?: true;
|
|
72
|
+
};
|
|
73
|
+
export type StockLocationCountAggregateInputType = {
|
|
74
|
+
id?: true;
|
|
75
|
+
createdAt?: true;
|
|
76
|
+
updatedAt?: true;
|
|
77
|
+
name?: true;
|
|
78
|
+
storeId?: true;
|
|
79
|
+
description?: true;
|
|
80
|
+
isDefault?: true;
|
|
81
|
+
_all?: true;
|
|
82
|
+
};
|
|
83
|
+
export type StockLocationAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
84
|
+
/**
|
|
85
|
+
* Filter which StockLocation to aggregate.
|
|
86
|
+
*/
|
|
87
|
+
where?: Prisma.StockLocationWhereInput;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
90
|
+
*
|
|
91
|
+
* Determine the order of StockLocations to fetch.
|
|
92
|
+
*/
|
|
93
|
+
orderBy?: Prisma.StockLocationOrderByWithRelationInput | Prisma.StockLocationOrderByWithRelationInput[];
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
96
|
+
*
|
|
97
|
+
* Sets the start position
|
|
98
|
+
*/
|
|
99
|
+
cursor?: Prisma.StockLocationWhereUniqueInput;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
102
|
+
*
|
|
103
|
+
* Take `±n` StockLocations from the position of the cursor.
|
|
104
|
+
*/
|
|
105
|
+
take?: number;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
108
|
+
*
|
|
109
|
+
* Skip the first `n` StockLocations.
|
|
110
|
+
*/
|
|
111
|
+
skip?: number;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Count returned StockLocations
|
|
116
|
+
**/
|
|
117
|
+
_count?: true | StockLocationCountAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to average
|
|
122
|
+
**/
|
|
123
|
+
_avg?: StockLocationAvgAggregateInputType;
|
|
124
|
+
/**
|
|
125
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
126
|
+
*
|
|
127
|
+
* Select which fields to sum
|
|
128
|
+
**/
|
|
129
|
+
_sum?: StockLocationSumAggregateInputType;
|
|
130
|
+
/**
|
|
131
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
132
|
+
*
|
|
133
|
+
* Select which fields to find the minimum value
|
|
134
|
+
**/
|
|
135
|
+
_min?: StockLocationMinAggregateInputType;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
138
|
+
*
|
|
139
|
+
* Select which fields to find the maximum value
|
|
140
|
+
**/
|
|
141
|
+
_max?: StockLocationMaxAggregateInputType;
|
|
142
|
+
};
|
|
143
|
+
export type GetStockLocationAggregateType<T extends StockLocationAggregateArgs> = {
|
|
144
|
+
[P in keyof T & keyof AggregateStockLocation]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateStockLocation[P]> : Prisma.GetScalarType<T[P], AggregateStockLocation[P]>;
|
|
145
|
+
};
|
|
146
|
+
export type StockLocationGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
147
|
+
where?: Prisma.StockLocationWhereInput;
|
|
148
|
+
orderBy?: Prisma.StockLocationOrderByWithAggregationInput | Prisma.StockLocationOrderByWithAggregationInput[];
|
|
149
|
+
by: Prisma.StockLocationScalarFieldEnum[] | Prisma.StockLocationScalarFieldEnum;
|
|
150
|
+
having?: Prisma.StockLocationScalarWhereWithAggregatesInput;
|
|
151
|
+
take?: number;
|
|
152
|
+
skip?: number;
|
|
153
|
+
_count?: StockLocationCountAggregateInputType | true;
|
|
154
|
+
_avg?: StockLocationAvgAggregateInputType;
|
|
155
|
+
_sum?: StockLocationSumAggregateInputType;
|
|
156
|
+
_min?: StockLocationMinAggregateInputType;
|
|
157
|
+
_max?: StockLocationMaxAggregateInputType;
|
|
158
|
+
};
|
|
159
|
+
export type StockLocationGroupByOutputType = {
|
|
160
|
+
id: bigint;
|
|
161
|
+
createdAt: Date;
|
|
162
|
+
updatedAt: Date;
|
|
163
|
+
name: string;
|
|
164
|
+
storeId: string;
|
|
165
|
+
description: string;
|
|
166
|
+
isDefault: boolean;
|
|
167
|
+
_count: StockLocationCountAggregateOutputType | null;
|
|
168
|
+
_avg: StockLocationAvgAggregateOutputType | null;
|
|
169
|
+
_sum: StockLocationSumAggregateOutputType | null;
|
|
170
|
+
_min: StockLocationMinAggregateOutputType | null;
|
|
171
|
+
_max: StockLocationMaxAggregateOutputType | null;
|
|
172
|
+
};
|
|
173
|
+
type GetStockLocationGroupByPayload<T extends StockLocationGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<StockLocationGroupByOutputType, T['by']> & {
|
|
174
|
+
[P in ((keyof T) & (keyof StockLocationGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], StockLocationGroupByOutputType[P]> : Prisma.GetScalarType<T[P], StockLocationGroupByOutputType[P]>;
|
|
175
|
+
}>>;
|
|
176
|
+
export type StockLocationWhereInput = {
|
|
177
|
+
AND?: Prisma.StockLocationWhereInput | Prisma.StockLocationWhereInput[];
|
|
178
|
+
OR?: Prisma.StockLocationWhereInput[];
|
|
179
|
+
NOT?: Prisma.StockLocationWhereInput | Prisma.StockLocationWhereInput[];
|
|
180
|
+
id?: Prisma.BigIntFilter<"StockLocation"> | bigint | number;
|
|
181
|
+
createdAt?: Prisma.DateTimeFilter<"StockLocation"> | Date | string;
|
|
182
|
+
updatedAt?: Prisma.DateTimeFilter<"StockLocation"> | Date | string;
|
|
183
|
+
name?: Prisma.StringFilter<"StockLocation"> | string;
|
|
184
|
+
storeId?: Prisma.StringFilter<"StockLocation"> | string;
|
|
185
|
+
description?: Prisma.StringFilter<"StockLocation"> | string;
|
|
186
|
+
isDefault?: Prisma.BoolFilter<"StockLocation"> | boolean;
|
|
187
|
+
stockLevels?: Prisma.StockLevelListRelationFilter;
|
|
188
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformListRelationFilter;
|
|
189
|
+
stockMovement?: Prisma.StockMovementListRelationFilter;
|
|
190
|
+
store?: Prisma.XOR<Prisma.StoreScalarRelationFilter, Prisma.StoreWhereInput>;
|
|
191
|
+
};
|
|
192
|
+
export type StockLocationOrderByWithRelationInput = {
|
|
193
|
+
id?: Prisma.SortOrder;
|
|
194
|
+
createdAt?: Prisma.SortOrder;
|
|
195
|
+
updatedAt?: Prisma.SortOrder;
|
|
196
|
+
name?: Prisma.SortOrder;
|
|
197
|
+
storeId?: Prisma.SortOrder;
|
|
198
|
+
description?: Prisma.SortOrder;
|
|
199
|
+
isDefault?: Prisma.SortOrder;
|
|
200
|
+
stockLevels?: Prisma.StockLevelOrderByRelationAggregateInput;
|
|
201
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformOrderByRelationAggregateInput;
|
|
202
|
+
stockMovement?: Prisma.StockMovementOrderByRelationAggregateInput;
|
|
203
|
+
store?: Prisma.StoreOrderByWithRelationInput;
|
|
204
|
+
_relevance?: Prisma.StockLocationOrderByRelevanceInput;
|
|
205
|
+
};
|
|
206
|
+
export type StockLocationWhereUniqueInput = Prisma.AtLeast<{
|
|
207
|
+
id?: bigint | number;
|
|
208
|
+
AND?: Prisma.StockLocationWhereInput | Prisma.StockLocationWhereInput[];
|
|
209
|
+
OR?: Prisma.StockLocationWhereInput[];
|
|
210
|
+
NOT?: Prisma.StockLocationWhereInput | Prisma.StockLocationWhereInput[];
|
|
211
|
+
createdAt?: Prisma.DateTimeFilter<"StockLocation"> | Date | string;
|
|
212
|
+
updatedAt?: Prisma.DateTimeFilter<"StockLocation"> | Date | string;
|
|
213
|
+
name?: Prisma.StringFilter<"StockLocation"> | string;
|
|
214
|
+
storeId?: Prisma.StringFilter<"StockLocation"> | string;
|
|
215
|
+
description?: Prisma.StringFilter<"StockLocation"> | string;
|
|
216
|
+
isDefault?: Prisma.BoolFilter<"StockLocation"> | boolean;
|
|
217
|
+
stockLevels?: Prisma.StockLevelListRelationFilter;
|
|
218
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformListRelationFilter;
|
|
219
|
+
stockMovement?: Prisma.StockMovementListRelationFilter;
|
|
220
|
+
store?: Prisma.XOR<Prisma.StoreScalarRelationFilter, Prisma.StoreWhereInput>;
|
|
221
|
+
}, "id">;
|
|
222
|
+
export type StockLocationOrderByWithAggregationInput = {
|
|
223
|
+
id?: Prisma.SortOrder;
|
|
224
|
+
createdAt?: Prisma.SortOrder;
|
|
225
|
+
updatedAt?: Prisma.SortOrder;
|
|
226
|
+
name?: Prisma.SortOrder;
|
|
227
|
+
storeId?: Prisma.SortOrder;
|
|
228
|
+
description?: Prisma.SortOrder;
|
|
229
|
+
isDefault?: Prisma.SortOrder;
|
|
230
|
+
_count?: Prisma.StockLocationCountOrderByAggregateInput;
|
|
231
|
+
_avg?: Prisma.StockLocationAvgOrderByAggregateInput;
|
|
232
|
+
_max?: Prisma.StockLocationMaxOrderByAggregateInput;
|
|
233
|
+
_min?: Prisma.StockLocationMinOrderByAggregateInput;
|
|
234
|
+
_sum?: Prisma.StockLocationSumOrderByAggregateInput;
|
|
235
|
+
};
|
|
236
|
+
export type StockLocationScalarWhereWithAggregatesInput = {
|
|
237
|
+
AND?: Prisma.StockLocationScalarWhereWithAggregatesInput | Prisma.StockLocationScalarWhereWithAggregatesInput[];
|
|
238
|
+
OR?: Prisma.StockLocationScalarWhereWithAggregatesInput[];
|
|
239
|
+
NOT?: Prisma.StockLocationScalarWhereWithAggregatesInput | Prisma.StockLocationScalarWhereWithAggregatesInput[];
|
|
240
|
+
id?: Prisma.BigIntWithAggregatesFilter<"StockLocation"> | bigint | number;
|
|
241
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"StockLocation"> | Date | string;
|
|
242
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"StockLocation"> | Date | string;
|
|
243
|
+
name?: Prisma.StringWithAggregatesFilter<"StockLocation"> | string;
|
|
244
|
+
storeId?: Prisma.StringWithAggregatesFilter<"StockLocation"> | string;
|
|
245
|
+
description?: Prisma.StringWithAggregatesFilter<"StockLocation"> | string;
|
|
246
|
+
isDefault?: Prisma.BoolWithAggregatesFilter<"StockLocation"> | boolean;
|
|
247
|
+
};
|
|
248
|
+
export type StockLocationCreateInput = {
|
|
249
|
+
id?: bigint | number;
|
|
250
|
+
createdAt?: Date | string;
|
|
251
|
+
updatedAt?: Date | string;
|
|
252
|
+
name: string;
|
|
253
|
+
description?: string;
|
|
254
|
+
isDefault?: boolean;
|
|
255
|
+
stockLevels?: Prisma.StockLevelCreateNestedManyWithoutStockLocationInput;
|
|
256
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformCreateNestedManyWithoutStockLocationInput;
|
|
257
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutStockLocationInput;
|
|
258
|
+
store: Prisma.StoreCreateNestedOneWithoutStockLocationsInput;
|
|
259
|
+
};
|
|
260
|
+
export type StockLocationUncheckedCreateInput = {
|
|
261
|
+
id?: bigint | number;
|
|
262
|
+
createdAt?: Date | string;
|
|
263
|
+
updatedAt?: Date | string;
|
|
264
|
+
name: string;
|
|
265
|
+
storeId: string;
|
|
266
|
+
description?: string;
|
|
267
|
+
isDefault?: boolean;
|
|
268
|
+
stockLevels?: Prisma.StockLevelUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
269
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
270
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
271
|
+
};
|
|
272
|
+
export type StockLocationUpdateInput = {
|
|
273
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
274
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
275
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
276
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
277
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
278
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
279
|
+
stockLevels?: Prisma.StockLevelUpdateManyWithoutStockLocationNestedInput;
|
|
280
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUpdateManyWithoutStockLocationNestedInput;
|
|
281
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutStockLocationNestedInput;
|
|
282
|
+
store?: Prisma.StoreUpdateOneRequiredWithoutStockLocationsNestedInput;
|
|
283
|
+
};
|
|
284
|
+
export type StockLocationUncheckedUpdateInput = {
|
|
285
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
286
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
287
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
288
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
289
|
+
storeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
290
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
291
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
292
|
+
stockLevels?: Prisma.StockLevelUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
293
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
294
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
295
|
+
};
|
|
296
|
+
export type StockLocationCreateManyInput = {
|
|
297
|
+
id?: bigint | number;
|
|
298
|
+
createdAt?: Date | string;
|
|
299
|
+
updatedAt?: Date | string;
|
|
300
|
+
name: string;
|
|
301
|
+
storeId: string;
|
|
302
|
+
description?: string;
|
|
303
|
+
isDefault?: boolean;
|
|
304
|
+
};
|
|
305
|
+
export type StockLocationUpdateManyMutationInput = {
|
|
306
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
307
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
308
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
309
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
310
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
311
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
312
|
+
};
|
|
313
|
+
export type StockLocationUncheckedUpdateManyInput = {
|
|
314
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
315
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
316
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
317
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
318
|
+
storeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
319
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
320
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
321
|
+
};
|
|
322
|
+
export type StockLocationScalarRelationFilter = {
|
|
323
|
+
is?: Prisma.StockLocationWhereInput;
|
|
324
|
+
isNot?: Prisma.StockLocationWhereInput;
|
|
325
|
+
};
|
|
326
|
+
export type StockLocationOrderByRelevanceInput = {
|
|
327
|
+
fields: Prisma.StockLocationOrderByRelevanceFieldEnum | Prisma.StockLocationOrderByRelevanceFieldEnum[];
|
|
328
|
+
sort: Prisma.SortOrder;
|
|
329
|
+
search: string;
|
|
330
|
+
};
|
|
331
|
+
export type StockLocationCountOrderByAggregateInput = {
|
|
332
|
+
id?: Prisma.SortOrder;
|
|
333
|
+
createdAt?: Prisma.SortOrder;
|
|
334
|
+
updatedAt?: Prisma.SortOrder;
|
|
335
|
+
name?: Prisma.SortOrder;
|
|
336
|
+
storeId?: Prisma.SortOrder;
|
|
337
|
+
description?: Prisma.SortOrder;
|
|
338
|
+
isDefault?: Prisma.SortOrder;
|
|
339
|
+
};
|
|
340
|
+
export type StockLocationAvgOrderByAggregateInput = {
|
|
341
|
+
id?: Prisma.SortOrder;
|
|
342
|
+
};
|
|
343
|
+
export type StockLocationMaxOrderByAggregateInput = {
|
|
344
|
+
id?: Prisma.SortOrder;
|
|
345
|
+
createdAt?: Prisma.SortOrder;
|
|
346
|
+
updatedAt?: Prisma.SortOrder;
|
|
347
|
+
name?: Prisma.SortOrder;
|
|
348
|
+
storeId?: Prisma.SortOrder;
|
|
349
|
+
description?: Prisma.SortOrder;
|
|
350
|
+
isDefault?: Prisma.SortOrder;
|
|
351
|
+
};
|
|
352
|
+
export type StockLocationMinOrderByAggregateInput = {
|
|
353
|
+
id?: Prisma.SortOrder;
|
|
354
|
+
createdAt?: Prisma.SortOrder;
|
|
355
|
+
updatedAt?: Prisma.SortOrder;
|
|
356
|
+
name?: Prisma.SortOrder;
|
|
357
|
+
storeId?: Prisma.SortOrder;
|
|
358
|
+
description?: Prisma.SortOrder;
|
|
359
|
+
isDefault?: Prisma.SortOrder;
|
|
360
|
+
};
|
|
361
|
+
export type StockLocationSumOrderByAggregateInput = {
|
|
362
|
+
id?: Prisma.SortOrder;
|
|
363
|
+
};
|
|
364
|
+
export type StockLocationListRelationFilter = {
|
|
365
|
+
every?: Prisma.StockLocationWhereInput;
|
|
366
|
+
some?: Prisma.StockLocationWhereInput;
|
|
367
|
+
none?: Prisma.StockLocationWhereInput;
|
|
368
|
+
};
|
|
369
|
+
export type StockLocationOrderByRelationAggregateInput = {
|
|
370
|
+
_count?: Prisma.SortOrder;
|
|
371
|
+
};
|
|
372
|
+
export type StockLocationCreateNestedOneWithoutStockLevelsInput = {
|
|
373
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStockLevelsInput, Prisma.StockLocationUncheckedCreateWithoutStockLevelsInput>;
|
|
374
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStockLevelsInput;
|
|
375
|
+
connect?: Prisma.StockLocationWhereUniqueInput;
|
|
376
|
+
};
|
|
377
|
+
export type StockLocationUpdateOneRequiredWithoutStockLevelsNestedInput = {
|
|
378
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStockLevelsInput, Prisma.StockLocationUncheckedCreateWithoutStockLevelsInput>;
|
|
379
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStockLevelsInput;
|
|
380
|
+
upsert?: Prisma.StockLocationUpsertWithoutStockLevelsInput;
|
|
381
|
+
connect?: Prisma.StockLocationWhereUniqueInput;
|
|
382
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.StockLocationUpdateToOneWithWhereWithoutStockLevelsInput, Prisma.StockLocationUpdateWithoutStockLevelsInput>, Prisma.StockLocationUncheckedUpdateWithoutStockLevelsInput>;
|
|
383
|
+
};
|
|
384
|
+
export type StockLocationCreateNestedOneWithoutStockLocationToPlatformInput = {
|
|
385
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStockLocationToPlatformInput, Prisma.StockLocationUncheckedCreateWithoutStockLocationToPlatformInput>;
|
|
386
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStockLocationToPlatformInput;
|
|
387
|
+
connect?: Prisma.StockLocationWhereUniqueInput;
|
|
388
|
+
};
|
|
389
|
+
export type StockLocationUpdateOneRequiredWithoutStockLocationToPlatformNestedInput = {
|
|
390
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStockLocationToPlatformInput, Prisma.StockLocationUncheckedCreateWithoutStockLocationToPlatformInput>;
|
|
391
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStockLocationToPlatformInput;
|
|
392
|
+
upsert?: Prisma.StockLocationUpsertWithoutStockLocationToPlatformInput;
|
|
393
|
+
connect?: Prisma.StockLocationWhereUniqueInput;
|
|
394
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.StockLocationUpdateToOneWithWhereWithoutStockLocationToPlatformInput, Prisma.StockLocationUpdateWithoutStockLocationToPlatformInput>, Prisma.StockLocationUncheckedUpdateWithoutStockLocationToPlatformInput>;
|
|
395
|
+
};
|
|
396
|
+
export type StockLocationCreateNestedOneWithoutStockMovementInput = {
|
|
397
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStockMovementInput, Prisma.StockLocationUncheckedCreateWithoutStockMovementInput>;
|
|
398
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStockMovementInput;
|
|
399
|
+
connect?: Prisma.StockLocationWhereUniqueInput;
|
|
400
|
+
};
|
|
401
|
+
export type StockLocationUpdateOneRequiredWithoutStockMovementNestedInput = {
|
|
402
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStockMovementInput, Prisma.StockLocationUncheckedCreateWithoutStockMovementInput>;
|
|
403
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStockMovementInput;
|
|
404
|
+
upsert?: Prisma.StockLocationUpsertWithoutStockMovementInput;
|
|
405
|
+
connect?: Prisma.StockLocationWhereUniqueInput;
|
|
406
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.StockLocationUpdateToOneWithWhereWithoutStockMovementInput, Prisma.StockLocationUpdateWithoutStockMovementInput>, Prisma.StockLocationUncheckedUpdateWithoutStockMovementInput>;
|
|
407
|
+
};
|
|
408
|
+
export type StockLocationCreateNestedManyWithoutStoreInput = {
|
|
409
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStoreInput, Prisma.StockLocationUncheckedCreateWithoutStoreInput> | Prisma.StockLocationCreateWithoutStoreInput[] | Prisma.StockLocationUncheckedCreateWithoutStoreInput[];
|
|
410
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStoreInput | Prisma.StockLocationCreateOrConnectWithoutStoreInput[];
|
|
411
|
+
createMany?: Prisma.StockLocationCreateManyStoreInputEnvelope;
|
|
412
|
+
connect?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
413
|
+
};
|
|
414
|
+
export type StockLocationUncheckedCreateNestedManyWithoutStoreInput = {
|
|
415
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStoreInput, Prisma.StockLocationUncheckedCreateWithoutStoreInput> | Prisma.StockLocationCreateWithoutStoreInput[] | Prisma.StockLocationUncheckedCreateWithoutStoreInput[];
|
|
416
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStoreInput | Prisma.StockLocationCreateOrConnectWithoutStoreInput[];
|
|
417
|
+
createMany?: Prisma.StockLocationCreateManyStoreInputEnvelope;
|
|
418
|
+
connect?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
419
|
+
};
|
|
420
|
+
export type StockLocationUpdateManyWithoutStoreNestedInput = {
|
|
421
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStoreInput, Prisma.StockLocationUncheckedCreateWithoutStoreInput> | Prisma.StockLocationCreateWithoutStoreInput[] | Prisma.StockLocationUncheckedCreateWithoutStoreInput[];
|
|
422
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStoreInput | Prisma.StockLocationCreateOrConnectWithoutStoreInput[];
|
|
423
|
+
upsert?: Prisma.StockLocationUpsertWithWhereUniqueWithoutStoreInput | Prisma.StockLocationUpsertWithWhereUniqueWithoutStoreInput[];
|
|
424
|
+
createMany?: Prisma.StockLocationCreateManyStoreInputEnvelope;
|
|
425
|
+
set?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
426
|
+
disconnect?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
427
|
+
delete?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
428
|
+
connect?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
429
|
+
update?: Prisma.StockLocationUpdateWithWhereUniqueWithoutStoreInput | Prisma.StockLocationUpdateWithWhereUniqueWithoutStoreInput[];
|
|
430
|
+
updateMany?: Prisma.StockLocationUpdateManyWithWhereWithoutStoreInput | Prisma.StockLocationUpdateManyWithWhereWithoutStoreInput[];
|
|
431
|
+
deleteMany?: Prisma.StockLocationScalarWhereInput | Prisma.StockLocationScalarWhereInput[];
|
|
432
|
+
};
|
|
433
|
+
export type StockLocationUncheckedUpdateManyWithoutStoreNestedInput = {
|
|
434
|
+
create?: Prisma.XOR<Prisma.StockLocationCreateWithoutStoreInput, Prisma.StockLocationUncheckedCreateWithoutStoreInput> | Prisma.StockLocationCreateWithoutStoreInput[] | Prisma.StockLocationUncheckedCreateWithoutStoreInput[];
|
|
435
|
+
connectOrCreate?: Prisma.StockLocationCreateOrConnectWithoutStoreInput | Prisma.StockLocationCreateOrConnectWithoutStoreInput[];
|
|
436
|
+
upsert?: Prisma.StockLocationUpsertWithWhereUniqueWithoutStoreInput | Prisma.StockLocationUpsertWithWhereUniqueWithoutStoreInput[];
|
|
437
|
+
createMany?: Prisma.StockLocationCreateManyStoreInputEnvelope;
|
|
438
|
+
set?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
439
|
+
disconnect?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
440
|
+
delete?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
441
|
+
connect?: Prisma.StockLocationWhereUniqueInput | Prisma.StockLocationWhereUniqueInput[];
|
|
442
|
+
update?: Prisma.StockLocationUpdateWithWhereUniqueWithoutStoreInput | Prisma.StockLocationUpdateWithWhereUniqueWithoutStoreInput[];
|
|
443
|
+
updateMany?: Prisma.StockLocationUpdateManyWithWhereWithoutStoreInput | Prisma.StockLocationUpdateManyWithWhereWithoutStoreInput[];
|
|
444
|
+
deleteMany?: Prisma.StockLocationScalarWhereInput | Prisma.StockLocationScalarWhereInput[];
|
|
445
|
+
};
|
|
446
|
+
export type StockLocationCreateWithoutStockLevelsInput = {
|
|
447
|
+
id?: bigint | number;
|
|
448
|
+
createdAt?: Date | string;
|
|
449
|
+
updatedAt?: Date | string;
|
|
450
|
+
name: string;
|
|
451
|
+
description?: string;
|
|
452
|
+
isDefault?: boolean;
|
|
453
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformCreateNestedManyWithoutStockLocationInput;
|
|
454
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutStockLocationInput;
|
|
455
|
+
store: Prisma.StoreCreateNestedOneWithoutStockLocationsInput;
|
|
456
|
+
};
|
|
457
|
+
export type StockLocationUncheckedCreateWithoutStockLevelsInput = {
|
|
458
|
+
id?: bigint | number;
|
|
459
|
+
createdAt?: Date | string;
|
|
460
|
+
updatedAt?: Date | string;
|
|
461
|
+
name: string;
|
|
462
|
+
storeId: string;
|
|
463
|
+
description?: string;
|
|
464
|
+
isDefault?: boolean;
|
|
465
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
466
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
467
|
+
};
|
|
468
|
+
export type StockLocationCreateOrConnectWithoutStockLevelsInput = {
|
|
469
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
470
|
+
create: Prisma.XOR<Prisma.StockLocationCreateWithoutStockLevelsInput, Prisma.StockLocationUncheckedCreateWithoutStockLevelsInput>;
|
|
471
|
+
};
|
|
472
|
+
export type StockLocationUpsertWithoutStockLevelsInput = {
|
|
473
|
+
update: Prisma.XOR<Prisma.StockLocationUpdateWithoutStockLevelsInput, Prisma.StockLocationUncheckedUpdateWithoutStockLevelsInput>;
|
|
474
|
+
create: Prisma.XOR<Prisma.StockLocationCreateWithoutStockLevelsInput, Prisma.StockLocationUncheckedCreateWithoutStockLevelsInput>;
|
|
475
|
+
where?: Prisma.StockLocationWhereInput;
|
|
476
|
+
};
|
|
477
|
+
export type StockLocationUpdateToOneWithWhereWithoutStockLevelsInput = {
|
|
478
|
+
where?: Prisma.StockLocationWhereInput;
|
|
479
|
+
data: Prisma.XOR<Prisma.StockLocationUpdateWithoutStockLevelsInput, Prisma.StockLocationUncheckedUpdateWithoutStockLevelsInput>;
|
|
480
|
+
};
|
|
481
|
+
export type StockLocationUpdateWithoutStockLevelsInput = {
|
|
482
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
483
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
484
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
485
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
486
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
487
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
488
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUpdateManyWithoutStockLocationNestedInput;
|
|
489
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutStockLocationNestedInput;
|
|
490
|
+
store?: Prisma.StoreUpdateOneRequiredWithoutStockLocationsNestedInput;
|
|
491
|
+
};
|
|
492
|
+
export type StockLocationUncheckedUpdateWithoutStockLevelsInput = {
|
|
493
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
494
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
495
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
496
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
497
|
+
storeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
498
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
499
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
500
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
501
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
502
|
+
};
|
|
503
|
+
export type StockLocationCreateWithoutStockLocationToPlatformInput = {
|
|
504
|
+
id?: bigint | number;
|
|
505
|
+
createdAt?: Date | string;
|
|
506
|
+
updatedAt?: Date | string;
|
|
507
|
+
name: string;
|
|
508
|
+
description?: string;
|
|
509
|
+
isDefault?: boolean;
|
|
510
|
+
stockLevels?: Prisma.StockLevelCreateNestedManyWithoutStockLocationInput;
|
|
511
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutStockLocationInput;
|
|
512
|
+
store: Prisma.StoreCreateNestedOneWithoutStockLocationsInput;
|
|
513
|
+
};
|
|
514
|
+
export type StockLocationUncheckedCreateWithoutStockLocationToPlatformInput = {
|
|
515
|
+
id?: bigint | number;
|
|
516
|
+
createdAt?: Date | string;
|
|
517
|
+
updatedAt?: Date | string;
|
|
518
|
+
name: string;
|
|
519
|
+
storeId: string;
|
|
520
|
+
description?: string;
|
|
521
|
+
isDefault?: boolean;
|
|
522
|
+
stockLevels?: Prisma.StockLevelUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
523
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
524
|
+
};
|
|
525
|
+
export type StockLocationCreateOrConnectWithoutStockLocationToPlatformInput = {
|
|
526
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
527
|
+
create: Prisma.XOR<Prisma.StockLocationCreateWithoutStockLocationToPlatformInput, Prisma.StockLocationUncheckedCreateWithoutStockLocationToPlatformInput>;
|
|
528
|
+
};
|
|
529
|
+
export type StockLocationUpsertWithoutStockLocationToPlatformInput = {
|
|
530
|
+
update: Prisma.XOR<Prisma.StockLocationUpdateWithoutStockLocationToPlatformInput, Prisma.StockLocationUncheckedUpdateWithoutStockLocationToPlatformInput>;
|
|
531
|
+
create: Prisma.XOR<Prisma.StockLocationCreateWithoutStockLocationToPlatformInput, Prisma.StockLocationUncheckedCreateWithoutStockLocationToPlatformInput>;
|
|
532
|
+
where?: Prisma.StockLocationWhereInput;
|
|
533
|
+
};
|
|
534
|
+
export type StockLocationUpdateToOneWithWhereWithoutStockLocationToPlatformInput = {
|
|
535
|
+
where?: Prisma.StockLocationWhereInput;
|
|
536
|
+
data: Prisma.XOR<Prisma.StockLocationUpdateWithoutStockLocationToPlatformInput, Prisma.StockLocationUncheckedUpdateWithoutStockLocationToPlatformInput>;
|
|
537
|
+
};
|
|
538
|
+
export type StockLocationUpdateWithoutStockLocationToPlatformInput = {
|
|
539
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
540
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
541
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
542
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
543
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
544
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
545
|
+
stockLevels?: Prisma.StockLevelUpdateManyWithoutStockLocationNestedInput;
|
|
546
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutStockLocationNestedInput;
|
|
547
|
+
store?: Prisma.StoreUpdateOneRequiredWithoutStockLocationsNestedInput;
|
|
548
|
+
};
|
|
549
|
+
export type StockLocationUncheckedUpdateWithoutStockLocationToPlatformInput = {
|
|
550
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
551
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
552
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
553
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
554
|
+
storeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
555
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
556
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
557
|
+
stockLevels?: Prisma.StockLevelUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
558
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
559
|
+
};
|
|
560
|
+
export type StockLocationCreateWithoutStockMovementInput = {
|
|
561
|
+
id?: bigint | number;
|
|
562
|
+
createdAt?: Date | string;
|
|
563
|
+
updatedAt?: Date | string;
|
|
564
|
+
name: string;
|
|
565
|
+
description?: string;
|
|
566
|
+
isDefault?: boolean;
|
|
567
|
+
stockLevels?: Prisma.StockLevelCreateNestedManyWithoutStockLocationInput;
|
|
568
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformCreateNestedManyWithoutStockLocationInput;
|
|
569
|
+
store: Prisma.StoreCreateNestedOneWithoutStockLocationsInput;
|
|
570
|
+
};
|
|
571
|
+
export type StockLocationUncheckedCreateWithoutStockMovementInput = {
|
|
572
|
+
id?: bigint | number;
|
|
573
|
+
createdAt?: Date | string;
|
|
574
|
+
updatedAt?: Date | string;
|
|
575
|
+
name: string;
|
|
576
|
+
storeId: string;
|
|
577
|
+
description?: string;
|
|
578
|
+
isDefault?: boolean;
|
|
579
|
+
stockLevels?: Prisma.StockLevelUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
580
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
581
|
+
};
|
|
582
|
+
export type StockLocationCreateOrConnectWithoutStockMovementInput = {
|
|
583
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
584
|
+
create: Prisma.XOR<Prisma.StockLocationCreateWithoutStockMovementInput, Prisma.StockLocationUncheckedCreateWithoutStockMovementInput>;
|
|
585
|
+
};
|
|
586
|
+
export type StockLocationUpsertWithoutStockMovementInput = {
|
|
587
|
+
update: Prisma.XOR<Prisma.StockLocationUpdateWithoutStockMovementInput, Prisma.StockLocationUncheckedUpdateWithoutStockMovementInput>;
|
|
588
|
+
create: Prisma.XOR<Prisma.StockLocationCreateWithoutStockMovementInput, Prisma.StockLocationUncheckedCreateWithoutStockMovementInput>;
|
|
589
|
+
where?: Prisma.StockLocationWhereInput;
|
|
590
|
+
};
|
|
591
|
+
export type StockLocationUpdateToOneWithWhereWithoutStockMovementInput = {
|
|
592
|
+
where?: Prisma.StockLocationWhereInput;
|
|
593
|
+
data: Prisma.XOR<Prisma.StockLocationUpdateWithoutStockMovementInput, Prisma.StockLocationUncheckedUpdateWithoutStockMovementInput>;
|
|
594
|
+
};
|
|
595
|
+
export type StockLocationUpdateWithoutStockMovementInput = {
|
|
596
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
597
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
598
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
599
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
600
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
601
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
602
|
+
stockLevels?: Prisma.StockLevelUpdateManyWithoutStockLocationNestedInput;
|
|
603
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUpdateManyWithoutStockLocationNestedInput;
|
|
604
|
+
store?: Prisma.StoreUpdateOneRequiredWithoutStockLocationsNestedInput;
|
|
605
|
+
};
|
|
606
|
+
export type StockLocationUncheckedUpdateWithoutStockMovementInput = {
|
|
607
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
608
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
609
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
610
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
611
|
+
storeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
612
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
613
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
614
|
+
stockLevels?: Prisma.StockLevelUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
615
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
616
|
+
};
|
|
617
|
+
export type StockLocationCreateWithoutStoreInput = {
|
|
618
|
+
id?: bigint | number;
|
|
619
|
+
createdAt?: Date | string;
|
|
620
|
+
updatedAt?: Date | string;
|
|
621
|
+
name: string;
|
|
622
|
+
description?: string;
|
|
623
|
+
isDefault?: boolean;
|
|
624
|
+
stockLevels?: Prisma.StockLevelCreateNestedManyWithoutStockLocationInput;
|
|
625
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformCreateNestedManyWithoutStockLocationInput;
|
|
626
|
+
stockMovement?: Prisma.StockMovementCreateNestedManyWithoutStockLocationInput;
|
|
627
|
+
};
|
|
628
|
+
export type StockLocationUncheckedCreateWithoutStoreInput = {
|
|
629
|
+
id?: bigint | number;
|
|
630
|
+
createdAt?: Date | string;
|
|
631
|
+
updatedAt?: Date | string;
|
|
632
|
+
name: string;
|
|
633
|
+
description?: string;
|
|
634
|
+
isDefault?: boolean;
|
|
635
|
+
stockLevels?: Prisma.StockLevelUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
636
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
637
|
+
stockMovement?: Prisma.StockMovementUncheckedCreateNestedManyWithoutStockLocationInput;
|
|
638
|
+
};
|
|
639
|
+
export type StockLocationCreateOrConnectWithoutStoreInput = {
|
|
640
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
641
|
+
create: Prisma.XOR<Prisma.StockLocationCreateWithoutStoreInput, Prisma.StockLocationUncheckedCreateWithoutStoreInput>;
|
|
642
|
+
};
|
|
643
|
+
export type StockLocationCreateManyStoreInputEnvelope = {
|
|
644
|
+
data: Prisma.StockLocationCreateManyStoreInput | Prisma.StockLocationCreateManyStoreInput[];
|
|
645
|
+
skipDuplicates?: boolean;
|
|
646
|
+
};
|
|
647
|
+
export type StockLocationUpsertWithWhereUniqueWithoutStoreInput = {
|
|
648
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
649
|
+
update: Prisma.XOR<Prisma.StockLocationUpdateWithoutStoreInput, Prisma.StockLocationUncheckedUpdateWithoutStoreInput>;
|
|
650
|
+
create: Prisma.XOR<Prisma.StockLocationCreateWithoutStoreInput, Prisma.StockLocationUncheckedCreateWithoutStoreInput>;
|
|
651
|
+
};
|
|
652
|
+
export type StockLocationUpdateWithWhereUniqueWithoutStoreInput = {
|
|
653
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
654
|
+
data: Prisma.XOR<Prisma.StockLocationUpdateWithoutStoreInput, Prisma.StockLocationUncheckedUpdateWithoutStoreInput>;
|
|
655
|
+
};
|
|
656
|
+
export type StockLocationUpdateManyWithWhereWithoutStoreInput = {
|
|
657
|
+
where: Prisma.StockLocationScalarWhereInput;
|
|
658
|
+
data: Prisma.XOR<Prisma.StockLocationUpdateManyMutationInput, Prisma.StockLocationUncheckedUpdateManyWithoutStoreInput>;
|
|
659
|
+
};
|
|
660
|
+
export type StockLocationScalarWhereInput = {
|
|
661
|
+
AND?: Prisma.StockLocationScalarWhereInput | Prisma.StockLocationScalarWhereInput[];
|
|
662
|
+
OR?: Prisma.StockLocationScalarWhereInput[];
|
|
663
|
+
NOT?: Prisma.StockLocationScalarWhereInput | Prisma.StockLocationScalarWhereInput[];
|
|
664
|
+
id?: Prisma.BigIntFilter<"StockLocation"> | bigint | number;
|
|
665
|
+
createdAt?: Prisma.DateTimeFilter<"StockLocation"> | Date | string;
|
|
666
|
+
updatedAt?: Prisma.DateTimeFilter<"StockLocation"> | Date | string;
|
|
667
|
+
name?: Prisma.StringFilter<"StockLocation"> | string;
|
|
668
|
+
storeId?: Prisma.StringFilter<"StockLocation"> | string;
|
|
669
|
+
description?: Prisma.StringFilter<"StockLocation"> | string;
|
|
670
|
+
isDefault?: Prisma.BoolFilter<"StockLocation"> | boolean;
|
|
671
|
+
};
|
|
672
|
+
export type StockLocationCreateManyStoreInput = {
|
|
673
|
+
id?: bigint | number;
|
|
674
|
+
createdAt?: Date | string;
|
|
675
|
+
updatedAt?: Date | string;
|
|
676
|
+
name: string;
|
|
677
|
+
description?: string;
|
|
678
|
+
isDefault?: boolean;
|
|
679
|
+
};
|
|
680
|
+
export type StockLocationUpdateWithoutStoreInput = {
|
|
681
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
682
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
683
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
684
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
685
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
686
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
687
|
+
stockLevels?: Prisma.StockLevelUpdateManyWithoutStockLocationNestedInput;
|
|
688
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUpdateManyWithoutStockLocationNestedInput;
|
|
689
|
+
stockMovement?: Prisma.StockMovementUpdateManyWithoutStockLocationNestedInput;
|
|
690
|
+
};
|
|
691
|
+
export type StockLocationUncheckedUpdateWithoutStoreInput = {
|
|
692
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
693
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
694
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
695
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
696
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
697
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
698
|
+
stockLevels?: Prisma.StockLevelUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
699
|
+
stockLocationToPlatform?: Prisma.StockLocationToPlatformUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
700
|
+
stockMovement?: Prisma.StockMovementUncheckedUpdateManyWithoutStockLocationNestedInput;
|
|
701
|
+
};
|
|
702
|
+
export type StockLocationUncheckedUpdateManyWithoutStoreInput = {
|
|
703
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
704
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
705
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
706
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
707
|
+
description?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
708
|
+
isDefault?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
709
|
+
};
|
|
710
|
+
/**
|
|
711
|
+
* Count Type StockLocationCountOutputType
|
|
712
|
+
*/
|
|
713
|
+
export type StockLocationCountOutputType = {
|
|
714
|
+
stockLevels: number;
|
|
715
|
+
stockLocationToPlatform: number;
|
|
716
|
+
stockMovement: number;
|
|
717
|
+
};
|
|
718
|
+
export type StockLocationCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
719
|
+
stockLevels?: boolean | StockLocationCountOutputTypeCountStockLevelsArgs;
|
|
720
|
+
stockLocationToPlatform?: boolean | StockLocationCountOutputTypeCountStockLocationToPlatformArgs;
|
|
721
|
+
stockMovement?: boolean | StockLocationCountOutputTypeCountStockMovementArgs;
|
|
722
|
+
};
|
|
723
|
+
/**
|
|
724
|
+
* StockLocationCountOutputType without action
|
|
725
|
+
*/
|
|
726
|
+
export type StockLocationCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
727
|
+
/**
|
|
728
|
+
* Select specific fields to fetch from the StockLocationCountOutputType
|
|
729
|
+
*/
|
|
730
|
+
select?: Prisma.StockLocationCountOutputTypeSelect<ExtArgs> | null;
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* StockLocationCountOutputType without action
|
|
734
|
+
*/
|
|
735
|
+
export type StockLocationCountOutputTypeCountStockLevelsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
736
|
+
where?: Prisma.StockLevelWhereInput;
|
|
737
|
+
};
|
|
738
|
+
/**
|
|
739
|
+
* StockLocationCountOutputType without action
|
|
740
|
+
*/
|
|
741
|
+
export type StockLocationCountOutputTypeCountStockLocationToPlatformArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
742
|
+
where?: Prisma.StockLocationToPlatformWhereInput;
|
|
743
|
+
};
|
|
744
|
+
/**
|
|
745
|
+
* StockLocationCountOutputType without action
|
|
746
|
+
*/
|
|
747
|
+
export type StockLocationCountOutputTypeCountStockMovementArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
748
|
+
where?: Prisma.StockMovementWhereInput;
|
|
749
|
+
};
|
|
750
|
+
export type StockLocationSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
751
|
+
id?: boolean;
|
|
752
|
+
createdAt?: boolean;
|
|
753
|
+
updatedAt?: boolean;
|
|
754
|
+
name?: boolean;
|
|
755
|
+
storeId?: boolean;
|
|
756
|
+
description?: boolean;
|
|
757
|
+
isDefault?: boolean;
|
|
758
|
+
stockLevels?: boolean | Prisma.StockLocation$stockLevelsArgs<ExtArgs>;
|
|
759
|
+
stockLocationToPlatform?: boolean | Prisma.StockLocation$stockLocationToPlatformArgs<ExtArgs>;
|
|
760
|
+
stockMovement?: boolean | Prisma.StockLocation$stockMovementArgs<ExtArgs>;
|
|
761
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
762
|
+
_count?: boolean | Prisma.StockLocationCountOutputTypeDefaultArgs<ExtArgs>;
|
|
763
|
+
}, ExtArgs["result"]["stockLocation"]>;
|
|
764
|
+
export type StockLocationSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
765
|
+
id?: boolean;
|
|
766
|
+
createdAt?: boolean;
|
|
767
|
+
updatedAt?: boolean;
|
|
768
|
+
name?: boolean;
|
|
769
|
+
storeId?: boolean;
|
|
770
|
+
description?: boolean;
|
|
771
|
+
isDefault?: boolean;
|
|
772
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
773
|
+
}, ExtArgs["result"]["stockLocation"]>;
|
|
774
|
+
export type StockLocationSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
775
|
+
id?: boolean;
|
|
776
|
+
createdAt?: boolean;
|
|
777
|
+
updatedAt?: boolean;
|
|
778
|
+
name?: boolean;
|
|
779
|
+
storeId?: boolean;
|
|
780
|
+
description?: boolean;
|
|
781
|
+
isDefault?: boolean;
|
|
782
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
783
|
+
}, ExtArgs["result"]["stockLocation"]>;
|
|
784
|
+
export type StockLocationSelectScalar = {
|
|
785
|
+
id?: boolean;
|
|
786
|
+
createdAt?: boolean;
|
|
787
|
+
updatedAt?: boolean;
|
|
788
|
+
name?: boolean;
|
|
789
|
+
storeId?: boolean;
|
|
790
|
+
description?: boolean;
|
|
791
|
+
isDefault?: boolean;
|
|
792
|
+
};
|
|
793
|
+
export type StockLocationOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "name" | "storeId" | "description" | "isDefault", ExtArgs["result"]["stockLocation"]>;
|
|
794
|
+
export type StockLocationInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
795
|
+
stockLevels?: boolean | Prisma.StockLocation$stockLevelsArgs<ExtArgs>;
|
|
796
|
+
stockLocationToPlatform?: boolean | Prisma.StockLocation$stockLocationToPlatformArgs<ExtArgs>;
|
|
797
|
+
stockMovement?: boolean | Prisma.StockLocation$stockMovementArgs<ExtArgs>;
|
|
798
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
799
|
+
_count?: boolean | Prisma.StockLocationCountOutputTypeDefaultArgs<ExtArgs>;
|
|
800
|
+
};
|
|
801
|
+
export type StockLocationIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
802
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
803
|
+
};
|
|
804
|
+
export type StockLocationIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
805
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
806
|
+
};
|
|
807
|
+
export type $StockLocationPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
808
|
+
name: "StockLocation";
|
|
809
|
+
objects: {
|
|
810
|
+
stockLevels: Prisma.$StockLevelPayload<ExtArgs>[];
|
|
811
|
+
stockLocationToPlatform: Prisma.$StockLocationToPlatformPayload<ExtArgs>[];
|
|
812
|
+
stockMovement: Prisma.$StockMovementPayload<ExtArgs>[];
|
|
813
|
+
store: Prisma.$StorePayload<ExtArgs>;
|
|
814
|
+
};
|
|
815
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
816
|
+
id: bigint;
|
|
817
|
+
createdAt: Date;
|
|
818
|
+
updatedAt: Date;
|
|
819
|
+
name: string;
|
|
820
|
+
storeId: string;
|
|
821
|
+
description: string;
|
|
822
|
+
isDefault: boolean;
|
|
823
|
+
}, ExtArgs["result"]["stockLocation"]>;
|
|
824
|
+
composites: {};
|
|
825
|
+
};
|
|
826
|
+
export type StockLocationGetPayload<S extends boolean | null | undefined | StockLocationDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$StockLocationPayload, S>;
|
|
827
|
+
export type StockLocationCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<StockLocationFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
828
|
+
select?: StockLocationCountAggregateInputType | true;
|
|
829
|
+
};
|
|
830
|
+
export interface StockLocationDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
831
|
+
[K: symbol]: {
|
|
832
|
+
types: Prisma.TypeMap<ExtArgs>['model']['StockLocation'];
|
|
833
|
+
meta: {
|
|
834
|
+
name: 'StockLocation';
|
|
835
|
+
};
|
|
836
|
+
};
|
|
837
|
+
/**
|
|
838
|
+
* Find zero or one StockLocation that matches the filter.
|
|
839
|
+
* @param {StockLocationFindUniqueArgs} args - Arguments to find a StockLocation
|
|
840
|
+
* @example
|
|
841
|
+
* // Get one StockLocation
|
|
842
|
+
* const stockLocation = await prisma.stockLocation.findUnique({
|
|
843
|
+
* where: {
|
|
844
|
+
* // ... provide filter here
|
|
845
|
+
* }
|
|
846
|
+
* })
|
|
847
|
+
*/
|
|
848
|
+
findUnique<T extends StockLocationFindUniqueArgs>(args: Prisma.SelectSubset<T, StockLocationFindUniqueArgs<ExtArgs>>): Prisma.Prisma__StockLocationClient<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
849
|
+
/**
|
|
850
|
+
* Find one StockLocation that matches the filter or throw an error with `error.code='P2025'`
|
|
851
|
+
* if no matches were found.
|
|
852
|
+
* @param {StockLocationFindUniqueOrThrowArgs} args - Arguments to find a StockLocation
|
|
853
|
+
* @example
|
|
854
|
+
* // Get one StockLocation
|
|
855
|
+
* const stockLocation = await prisma.stockLocation.findUniqueOrThrow({
|
|
856
|
+
* where: {
|
|
857
|
+
* // ... provide filter here
|
|
858
|
+
* }
|
|
859
|
+
* })
|
|
860
|
+
*/
|
|
861
|
+
findUniqueOrThrow<T extends StockLocationFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, StockLocationFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__StockLocationClient<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
862
|
+
/**
|
|
863
|
+
* Find the first StockLocation that matches the filter.
|
|
864
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
865
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
866
|
+
* @param {StockLocationFindFirstArgs} args - Arguments to find a StockLocation
|
|
867
|
+
* @example
|
|
868
|
+
* // Get one StockLocation
|
|
869
|
+
* const stockLocation = await prisma.stockLocation.findFirst({
|
|
870
|
+
* where: {
|
|
871
|
+
* // ... provide filter here
|
|
872
|
+
* }
|
|
873
|
+
* })
|
|
874
|
+
*/
|
|
875
|
+
findFirst<T extends StockLocationFindFirstArgs>(args?: Prisma.SelectSubset<T, StockLocationFindFirstArgs<ExtArgs>>): Prisma.Prisma__StockLocationClient<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
876
|
+
/**
|
|
877
|
+
* Find the first StockLocation that matches the filter or
|
|
878
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
879
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
880
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
881
|
+
* @param {StockLocationFindFirstOrThrowArgs} args - Arguments to find a StockLocation
|
|
882
|
+
* @example
|
|
883
|
+
* // Get one StockLocation
|
|
884
|
+
* const stockLocation = await prisma.stockLocation.findFirstOrThrow({
|
|
885
|
+
* where: {
|
|
886
|
+
* // ... provide filter here
|
|
887
|
+
* }
|
|
888
|
+
* })
|
|
889
|
+
*/
|
|
890
|
+
findFirstOrThrow<T extends StockLocationFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, StockLocationFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__StockLocationClient<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
891
|
+
/**
|
|
892
|
+
* Find zero or more StockLocations that matches the filter.
|
|
893
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
894
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
895
|
+
* @param {StockLocationFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
896
|
+
* @example
|
|
897
|
+
* // Get all StockLocations
|
|
898
|
+
* const stockLocations = await prisma.stockLocation.findMany()
|
|
899
|
+
*
|
|
900
|
+
* // Get first 10 StockLocations
|
|
901
|
+
* const stockLocations = await prisma.stockLocation.findMany({ take: 10 })
|
|
902
|
+
*
|
|
903
|
+
* // Only select the `id`
|
|
904
|
+
* const stockLocationWithIdOnly = await prisma.stockLocation.findMany({ select: { id: true } })
|
|
905
|
+
*
|
|
906
|
+
*/
|
|
907
|
+
findMany<T extends StockLocationFindManyArgs>(args?: Prisma.SelectSubset<T, StockLocationFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
908
|
+
/**
|
|
909
|
+
* Create a StockLocation.
|
|
910
|
+
* @param {StockLocationCreateArgs} args - Arguments to create a StockLocation.
|
|
911
|
+
* @example
|
|
912
|
+
* // Create one StockLocation
|
|
913
|
+
* const StockLocation = await prisma.stockLocation.create({
|
|
914
|
+
* data: {
|
|
915
|
+
* // ... data to create a StockLocation
|
|
916
|
+
* }
|
|
917
|
+
* })
|
|
918
|
+
*
|
|
919
|
+
*/
|
|
920
|
+
create<T extends StockLocationCreateArgs>(args: Prisma.SelectSubset<T, StockLocationCreateArgs<ExtArgs>>): Prisma.Prisma__StockLocationClient<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
921
|
+
/**
|
|
922
|
+
* Create many StockLocations.
|
|
923
|
+
* @param {StockLocationCreateManyArgs} args - Arguments to create many StockLocations.
|
|
924
|
+
* @example
|
|
925
|
+
* // Create many StockLocations
|
|
926
|
+
* const stockLocation = await prisma.stockLocation.createMany({
|
|
927
|
+
* data: [
|
|
928
|
+
* // ... provide data here
|
|
929
|
+
* ]
|
|
930
|
+
* })
|
|
931
|
+
*
|
|
932
|
+
*/
|
|
933
|
+
createMany<T extends StockLocationCreateManyArgs>(args?: Prisma.SelectSubset<T, StockLocationCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
934
|
+
/**
|
|
935
|
+
* Create many StockLocations and returns the data saved in the database.
|
|
936
|
+
* @param {StockLocationCreateManyAndReturnArgs} args - Arguments to create many StockLocations.
|
|
937
|
+
* @example
|
|
938
|
+
* // Create many StockLocations
|
|
939
|
+
* const stockLocation = await prisma.stockLocation.createManyAndReturn({
|
|
940
|
+
* data: [
|
|
941
|
+
* // ... provide data here
|
|
942
|
+
* ]
|
|
943
|
+
* })
|
|
944
|
+
*
|
|
945
|
+
* // Create many StockLocations and only return the `id`
|
|
946
|
+
* const stockLocationWithIdOnly = await prisma.stockLocation.createManyAndReturn({
|
|
947
|
+
* select: { id: true },
|
|
948
|
+
* data: [
|
|
949
|
+
* // ... provide data here
|
|
950
|
+
* ]
|
|
951
|
+
* })
|
|
952
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
953
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
954
|
+
*
|
|
955
|
+
*/
|
|
956
|
+
createManyAndReturn<T extends StockLocationCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, StockLocationCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
957
|
+
/**
|
|
958
|
+
* Delete a StockLocation.
|
|
959
|
+
* @param {StockLocationDeleteArgs} args - Arguments to delete one StockLocation.
|
|
960
|
+
* @example
|
|
961
|
+
* // Delete one StockLocation
|
|
962
|
+
* const StockLocation = await prisma.stockLocation.delete({
|
|
963
|
+
* where: {
|
|
964
|
+
* // ... filter to delete one StockLocation
|
|
965
|
+
* }
|
|
966
|
+
* })
|
|
967
|
+
*
|
|
968
|
+
*/
|
|
969
|
+
delete<T extends StockLocationDeleteArgs>(args: Prisma.SelectSubset<T, StockLocationDeleteArgs<ExtArgs>>): Prisma.Prisma__StockLocationClient<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
970
|
+
/**
|
|
971
|
+
* Update one StockLocation.
|
|
972
|
+
* @param {StockLocationUpdateArgs} args - Arguments to update one StockLocation.
|
|
973
|
+
* @example
|
|
974
|
+
* // Update one StockLocation
|
|
975
|
+
* const stockLocation = await prisma.stockLocation.update({
|
|
976
|
+
* where: {
|
|
977
|
+
* // ... provide filter here
|
|
978
|
+
* },
|
|
979
|
+
* data: {
|
|
980
|
+
* // ... provide data here
|
|
981
|
+
* }
|
|
982
|
+
* })
|
|
983
|
+
*
|
|
984
|
+
*/
|
|
985
|
+
update<T extends StockLocationUpdateArgs>(args: Prisma.SelectSubset<T, StockLocationUpdateArgs<ExtArgs>>): Prisma.Prisma__StockLocationClient<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
986
|
+
/**
|
|
987
|
+
* Delete zero or more StockLocations.
|
|
988
|
+
* @param {StockLocationDeleteManyArgs} args - Arguments to filter StockLocations to delete.
|
|
989
|
+
* @example
|
|
990
|
+
* // Delete a few StockLocations
|
|
991
|
+
* const { count } = await prisma.stockLocation.deleteMany({
|
|
992
|
+
* where: {
|
|
993
|
+
* // ... provide filter here
|
|
994
|
+
* }
|
|
995
|
+
* })
|
|
996
|
+
*
|
|
997
|
+
*/
|
|
998
|
+
deleteMany<T extends StockLocationDeleteManyArgs>(args?: Prisma.SelectSubset<T, StockLocationDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
999
|
+
/**
|
|
1000
|
+
* Update zero or more StockLocations.
|
|
1001
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1002
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1003
|
+
* @param {StockLocationUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1004
|
+
* @example
|
|
1005
|
+
* // Update many StockLocations
|
|
1006
|
+
* const stockLocation = await prisma.stockLocation.updateMany({
|
|
1007
|
+
* where: {
|
|
1008
|
+
* // ... provide filter here
|
|
1009
|
+
* },
|
|
1010
|
+
* data: {
|
|
1011
|
+
* // ... provide data here
|
|
1012
|
+
* }
|
|
1013
|
+
* })
|
|
1014
|
+
*
|
|
1015
|
+
*/
|
|
1016
|
+
updateMany<T extends StockLocationUpdateManyArgs>(args: Prisma.SelectSubset<T, StockLocationUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1017
|
+
/**
|
|
1018
|
+
* Update zero or more StockLocations and returns the data updated in the database.
|
|
1019
|
+
* @param {StockLocationUpdateManyAndReturnArgs} args - Arguments to update many StockLocations.
|
|
1020
|
+
* @example
|
|
1021
|
+
* // Update many StockLocations
|
|
1022
|
+
* const stockLocation = await prisma.stockLocation.updateManyAndReturn({
|
|
1023
|
+
* where: {
|
|
1024
|
+
* // ... provide filter here
|
|
1025
|
+
* },
|
|
1026
|
+
* data: [
|
|
1027
|
+
* // ... provide data here
|
|
1028
|
+
* ]
|
|
1029
|
+
* })
|
|
1030
|
+
*
|
|
1031
|
+
* // Update zero or more StockLocations and only return the `id`
|
|
1032
|
+
* const stockLocationWithIdOnly = await prisma.stockLocation.updateManyAndReturn({
|
|
1033
|
+
* select: { id: true },
|
|
1034
|
+
* where: {
|
|
1035
|
+
* // ... provide filter here
|
|
1036
|
+
* },
|
|
1037
|
+
* data: [
|
|
1038
|
+
* // ... provide data here
|
|
1039
|
+
* ]
|
|
1040
|
+
* })
|
|
1041
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1042
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1043
|
+
*
|
|
1044
|
+
*/
|
|
1045
|
+
updateManyAndReturn<T extends StockLocationUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, StockLocationUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1046
|
+
/**
|
|
1047
|
+
* Create or update one StockLocation.
|
|
1048
|
+
* @param {StockLocationUpsertArgs} args - Arguments to update or create a StockLocation.
|
|
1049
|
+
* @example
|
|
1050
|
+
* // Update or create a StockLocation
|
|
1051
|
+
* const stockLocation = await prisma.stockLocation.upsert({
|
|
1052
|
+
* create: {
|
|
1053
|
+
* // ... data to create a StockLocation
|
|
1054
|
+
* },
|
|
1055
|
+
* update: {
|
|
1056
|
+
* // ... in case it already exists, update
|
|
1057
|
+
* },
|
|
1058
|
+
* where: {
|
|
1059
|
+
* // ... the filter for the StockLocation we want to update
|
|
1060
|
+
* }
|
|
1061
|
+
* })
|
|
1062
|
+
*/
|
|
1063
|
+
upsert<T extends StockLocationUpsertArgs>(args: Prisma.SelectSubset<T, StockLocationUpsertArgs<ExtArgs>>): Prisma.Prisma__StockLocationClient<runtime.Types.Result.GetResult<Prisma.$StockLocationPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Count the number of StockLocations.
|
|
1066
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1067
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1068
|
+
* @param {StockLocationCountArgs} args - Arguments to filter StockLocations to count.
|
|
1069
|
+
* @example
|
|
1070
|
+
* // Count the number of StockLocations
|
|
1071
|
+
* const count = await prisma.stockLocation.count({
|
|
1072
|
+
* where: {
|
|
1073
|
+
* // ... the filter for the StockLocations we want to count
|
|
1074
|
+
* }
|
|
1075
|
+
* })
|
|
1076
|
+
**/
|
|
1077
|
+
count<T extends StockLocationCountArgs>(args?: Prisma.Subset<T, StockLocationCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], StockLocationCountAggregateOutputType> : number>;
|
|
1078
|
+
/**
|
|
1079
|
+
* Allows you to perform aggregations operations on a StockLocation.
|
|
1080
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1081
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1082
|
+
* @param {StockLocationAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1083
|
+
* @example
|
|
1084
|
+
* // Ordered by age ascending
|
|
1085
|
+
* // Where email contains prisma.io
|
|
1086
|
+
* // Limited to the 10 users
|
|
1087
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1088
|
+
* _avg: {
|
|
1089
|
+
* age: true,
|
|
1090
|
+
* },
|
|
1091
|
+
* where: {
|
|
1092
|
+
* email: {
|
|
1093
|
+
* contains: "prisma.io",
|
|
1094
|
+
* },
|
|
1095
|
+
* },
|
|
1096
|
+
* orderBy: {
|
|
1097
|
+
* age: "asc",
|
|
1098
|
+
* },
|
|
1099
|
+
* take: 10,
|
|
1100
|
+
* })
|
|
1101
|
+
**/
|
|
1102
|
+
aggregate<T extends StockLocationAggregateArgs>(args: Prisma.Subset<T, StockLocationAggregateArgs>): Prisma.PrismaPromise<GetStockLocationAggregateType<T>>;
|
|
1103
|
+
/**
|
|
1104
|
+
* Group by StockLocation.
|
|
1105
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1106
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1107
|
+
* @param {StockLocationGroupByArgs} args - Group by arguments.
|
|
1108
|
+
* @example
|
|
1109
|
+
* // Group by city, order by createdAt, get count
|
|
1110
|
+
* const result = await prisma.user.groupBy({
|
|
1111
|
+
* by: ['city', 'createdAt'],
|
|
1112
|
+
* orderBy: {
|
|
1113
|
+
* createdAt: true
|
|
1114
|
+
* },
|
|
1115
|
+
* _count: {
|
|
1116
|
+
* _all: true
|
|
1117
|
+
* },
|
|
1118
|
+
* })
|
|
1119
|
+
*
|
|
1120
|
+
**/
|
|
1121
|
+
groupBy<T extends StockLocationGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1122
|
+
orderBy: StockLocationGroupByArgs['orderBy'];
|
|
1123
|
+
} : {
|
|
1124
|
+
orderBy?: StockLocationGroupByArgs['orderBy'];
|
|
1125
|
+
}, 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 ? {
|
|
1126
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1127
|
+
Error,
|
|
1128
|
+
'Field ',
|
|
1129
|
+
P,
|
|
1130
|
+
` in "having" needs to be provided in "by"`
|
|
1131
|
+
];
|
|
1132
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1133
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1134
|
+
}[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 ? {} : {
|
|
1135
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1136
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1137
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1138
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, StockLocationGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetStockLocationGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1139
|
+
/**
|
|
1140
|
+
* Fields of the StockLocation model
|
|
1141
|
+
*/
|
|
1142
|
+
readonly fields: StockLocationFieldRefs;
|
|
1143
|
+
}
|
|
1144
|
+
/**
|
|
1145
|
+
* The delegate class that acts as a "Promise-like" for StockLocation.
|
|
1146
|
+
* Why is this prefixed with `Prisma__`?
|
|
1147
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1148
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1149
|
+
*/
|
|
1150
|
+
export interface Prisma__StockLocationClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1151
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1152
|
+
stockLevels<T extends Prisma.StockLocation$stockLevelsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StockLocation$stockLevelsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StockLevelPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1153
|
+
stockLocationToPlatform<T extends Prisma.StockLocation$stockLocationToPlatformArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StockLocation$stockLocationToPlatformArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StockLocationToPlatformPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1154
|
+
stockMovement<T extends Prisma.StockLocation$stockMovementArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StockLocation$stockMovementArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$StockMovementPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1155
|
+
store<T extends Prisma.StoreDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.StoreDefaultArgs<ExtArgs>>): Prisma.Prisma__StoreClient<runtime.Types.Result.GetResult<Prisma.$StorePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1156
|
+
/**
|
|
1157
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1158
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1159
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1160
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1161
|
+
*/
|
|
1162
|
+
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>;
|
|
1163
|
+
/**
|
|
1164
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1165
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1166
|
+
* @returns A Promise for the completion of the callback.
|
|
1167
|
+
*/
|
|
1168
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1169
|
+
/**
|
|
1170
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1171
|
+
* resolved value cannot be modified from the callback.
|
|
1172
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1173
|
+
* @returns A Promise for the completion of the callback.
|
|
1174
|
+
*/
|
|
1175
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1176
|
+
}
|
|
1177
|
+
/**
|
|
1178
|
+
* Fields of the StockLocation model
|
|
1179
|
+
*/
|
|
1180
|
+
export interface StockLocationFieldRefs {
|
|
1181
|
+
readonly id: Prisma.FieldRef<"StockLocation", 'BigInt'>;
|
|
1182
|
+
readonly createdAt: Prisma.FieldRef<"StockLocation", 'DateTime'>;
|
|
1183
|
+
readonly updatedAt: Prisma.FieldRef<"StockLocation", 'DateTime'>;
|
|
1184
|
+
readonly name: Prisma.FieldRef<"StockLocation", 'String'>;
|
|
1185
|
+
readonly storeId: Prisma.FieldRef<"StockLocation", 'String'>;
|
|
1186
|
+
readonly description: Prisma.FieldRef<"StockLocation", 'String'>;
|
|
1187
|
+
readonly isDefault: Prisma.FieldRef<"StockLocation", 'Boolean'>;
|
|
1188
|
+
}
|
|
1189
|
+
/**
|
|
1190
|
+
* StockLocation findUnique
|
|
1191
|
+
*/
|
|
1192
|
+
export type StockLocationFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1193
|
+
/**
|
|
1194
|
+
* Select specific fields to fetch from the StockLocation
|
|
1195
|
+
*/
|
|
1196
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1197
|
+
/**
|
|
1198
|
+
* Omit specific fields from the StockLocation
|
|
1199
|
+
*/
|
|
1200
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1201
|
+
/**
|
|
1202
|
+
* Choose, which related nodes to fetch as well
|
|
1203
|
+
*/
|
|
1204
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1205
|
+
/**
|
|
1206
|
+
* Filter, which StockLocation to fetch.
|
|
1207
|
+
*/
|
|
1208
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
1209
|
+
};
|
|
1210
|
+
/**
|
|
1211
|
+
* StockLocation findUniqueOrThrow
|
|
1212
|
+
*/
|
|
1213
|
+
export type StockLocationFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1214
|
+
/**
|
|
1215
|
+
* Select specific fields to fetch from the StockLocation
|
|
1216
|
+
*/
|
|
1217
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1218
|
+
/**
|
|
1219
|
+
* Omit specific fields from the StockLocation
|
|
1220
|
+
*/
|
|
1221
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1222
|
+
/**
|
|
1223
|
+
* Choose, which related nodes to fetch as well
|
|
1224
|
+
*/
|
|
1225
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1226
|
+
/**
|
|
1227
|
+
* Filter, which StockLocation to fetch.
|
|
1228
|
+
*/
|
|
1229
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
1230
|
+
};
|
|
1231
|
+
/**
|
|
1232
|
+
* StockLocation findFirst
|
|
1233
|
+
*/
|
|
1234
|
+
export type StockLocationFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1235
|
+
/**
|
|
1236
|
+
* Select specific fields to fetch from the StockLocation
|
|
1237
|
+
*/
|
|
1238
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1239
|
+
/**
|
|
1240
|
+
* Omit specific fields from the StockLocation
|
|
1241
|
+
*/
|
|
1242
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1243
|
+
/**
|
|
1244
|
+
* Choose, which related nodes to fetch as well
|
|
1245
|
+
*/
|
|
1246
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1247
|
+
/**
|
|
1248
|
+
* Filter, which StockLocation to fetch.
|
|
1249
|
+
*/
|
|
1250
|
+
where?: Prisma.StockLocationWhereInput;
|
|
1251
|
+
/**
|
|
1252
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1253
|
+
*
|
|
1254
|
+
* Determine the order of StockLocations to fetch.
|
|
1255
|
+
*/
|
|
1256
|
+
orderBy?: Prisma.StockLocationOrderByWithRelationInput | Prisma.StockLocationOrderByWithRelationInput[];
|
|
1257
|
+
/**
|
|
1258
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1259
|
+
*
|
|
1260
|
+
* Sets the position for searching for StockLocations.
|
|
1261
|
+
*/
|
|
1262
|
+
cursor?: Prisma.StockLocationWhereUniqueInput;
|
|
1263
|
+
/**
|
|
1264
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1265
|
+
*
|
|
1266
|
+
* Take `±n` StockLocations from the position of the cursor.
|
|
1267
|
+
*/
|
|
1268
|
+
take?: number;
|
|
1269
|
+
/**
|
|
1270
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1271
|
+
*
|
|
1272
|
+
* Skip the first `n` StockLocations.
|
|
1273
|
+
*/
|
|
1274
|
+
skip?: number;
|
|
1275
|
+
/**
|
|
1276
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1277
|
+
*
|
|
1278
|
+
* Filter by unique combinations of StockLocations.
|
|
1279
|
+
*/
|
|
1280
|
+
distinct?: Prisma.StockLocationScalarFieldEnum | Prisma.StockLocationScalarFieldEnum[];
|
|
1281
|
+
};
|
|
1282
|
+
/**
|
|
1283
|
+
* StockLocation findFirstOrThrow
|
|
1284
|
+
*/
|
|
1285
|
+
export type StockLocationFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1286
|
+
/**
|
|
1287
|
+
* Select specific fields to fetch from the StockLocation
|
|
1288
|
+
*/
|
|
1289
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1290
|
+
/**
|
|
1291
|
+
* Omit specific fields from the StockLocation
|
|
1292
|
+
*/
|
|
1293
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1294
|
+
/**
|
|
1295
|
+
* Choose, which related nodes to fetch as well
|
|
1296
|
+
*/
|
|
1297
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1298
|
+
/**
|
|
1299
|
+
* Filter, which StockLocation to fetch.
|
|
1300
|
+
*/
|
|
1301
|
+
where?: Prisma.StockLocationWhereInput;
|
|
1302
|
+
/**
|
|
1303
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1304
|
+
*
|
|
1305
|
+
* Determine the order of StockLocations to fetch.
|
|
1306
|
+
*/
|
|
1307
|
+
orderBy?: Prisma.StockLocationOrderByWithRelationInput | Prisma.StockLocationOrderByWithRelationInput[];
|
|
1308
|
+
/**
|
|
1309
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1310
|
+
*
|
|
1311
|
+
* Sets the position for searching for StockLocations.
|
|
1312
|
+
*/
|
|
1313
|
+
cursor?: Prisma.StockLocationWhereUniqueInput;
|
|
1314
|
+
/**
|
|
1315
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1316
|
+
*
|
|
1317
|
+
* Take `±n` StockLocations from the position of the cursor.
|
|
1318
|
+
*/
|
|
1319
|
+
take?: number;
|
|
1320
|
+
/**
|
|
1321
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1322
|
+
*
|
|
1323
|
+
* Skip the first `n` StockLocations.
|
|
1324
|
+
*/
|
|
1325
|
+
skip?: number;
|
|
1326
|
+
/**
|
|
1327
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1328
|
+
*
|
|
1329
|
+
* Filter by unique combinations of StockLocations.
|
|
1330
|
+
*/
|
|
1331
|
+
distinct?: Prisma.StockLocationScalarFieldEnum | Prisma.StockLocationScalarFieldEnum[];
|
|
1332
|
+
};
|
|
1333
|
+
/**
|
|
1334
|
+
* StockLocation findMany
|
|
1335
|
+
*/
|
|
1336
|
+
export type StockLocationFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1337
|
+
/**
|
|
1338
|
+
* Select specific fields to fetch from the StockLocation
|
|
1339
|
+
*/
|
|
1340
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1341
|
+
/**
|
|
1342
|
+
* Omit specific fields from the StockLocation
|
|
1343
|
+
*/
|
|
1344
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1345
|
+
/**
|
|
1346
|
+
* Choose, which related nodes to fetch as well
|
|
1347
|
+
*/
|
|
1348
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1349
|
+
/**
|
|
1350
|
+
* Filter, which StockLocations to fetch.
|
|
1351
|
+
*/
|
|
1352
|
+
where?: Prisma.StockLocationWhereInput;
|
|
1353
|
+
/**
|
|
1354
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1355
|
+
*
|
|
1356
|
+
* Determine the order of StockLocations to fetch.
|
|
1357
|
+
*/
|
|
1358
|
+
orderBy?: Prisma.StockLocationOrderByWithRelationInput | Prisma.StockLocationOrderByWithRelationInput[];
|
|
1359
|
+
/**
|
|
1360
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1361
|
+
*
|
|
1362
|
+
* Sets the position for listing StockLocations.
|
|
1363
|
+
*/
|
|
1364
|
+
cursor?: Prisma.StockLocationWhereUniqueInput;
|
|
1365
|
+
/**
|
|
1366
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1367
|
+
*
|
|
1368
|
+
* Take `±n` StockLocations from the position of the cursor.
|
|
1369
|
+
*/
|
|
1370
|
+
take?: number;
|
|
1371
|
+
/**
|
|
1372
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1373
|
+
*
|
|
1374
|
+
* Skip the first `n` StockLocations.
|
|
1375
|
+
*/
|
|
1376
|
+
skip?: number;
|
|
1377
|
+
distinct?: Prisma.StockLocationScalarFieldEnum | Prisma.StockLocationScalarFieldEnum[];
|
|
1378
|
+
};
|
|
1379
|
+
/**
|
|
1380
|
+
* StockLocation create
|
|
1381
|
+
*/
|
|
1382
|
+
export type StockLocationCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1383
|
+
/**
|
|
1384
|
+
* Select specific fields to fetch from the StockLocation
|
|
1385
|
+
*/
|
|
1386
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1387
|
+
/**
|
|
1388
|
+
* Omit specific fields from the StockLocation
|
|
1389
|
+
*/
|
|
1390
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1391
|
+
/**
|
|
1392
|
+
* Choose, which related nodes to fetch as well
|
|
1393
|
+
*/
|
|
1394
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1395
|
+
/**
|
|
1396
|
+
* The data needed to create a StockLocation.
|
|
1397
|
+
*/
|
|
1398
|
+
data: Prisma.XOR<Prisma.StockLocationCreateInput, Prisma.StockLocationUncheckedCreateInput>;
|
|
1399
|
+
};
|
|
1400
|
+
/**
|
|
1401
|
+
* StockLocation createMany
|
|
1402
|
+
*/
|
|
1403
|
+
export type StockLocationCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1404
|
+
/**
|
|
1405
|
+
* The data used to create many StockLocations.
|
|
1406
|
+
*/
|
|
1407
|
+
data: Prisma.StockLocationCreateManyInput | Prisma.StockLocationCreateManyInput[];
|
|
1408
|
+
skipDuplicates?: boolean;
|
|
1409
|
+
};
|
|
1410
|
+
/**
|
|
1411
|
+
* StockLocation createManyAndReturn
|
|
1412
|
+
*/
|
|
1413
|
+
export type StockLocationCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1414
|
+
/**
|
|
1415
|
+
* Select specific fields to fetch from the StockLocation
|
|
1416
|
+
*/
|
|
1417
|
+
select?: Prisma.StockLocationSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1418
|
+
/**
|
|
1419
|
+
* Omit specific fields from the StockLocation
|
|
1420
|
+
*/
|
|
1421
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1422
|
+
/**
|
|
1423
|
+
* The data used to create many StockLocations.
|
|
1424
|
+
*/
|
|
1425
|
+
data: Prisma.StockLocationCreateManyInput | Prisma.StockLocationCreateManyInput[];
|
|
1426
|
+
skipDuplicates?: boolean;
|
|
1427
|
+
/**
|
|
1428
|
+
* Choose, which related nodes to fetch as well
|
|
1429
|
+
*/
|
|
1430
|
+
include?: Prisma.StockLocationIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1431
|
+
};
|
|
1432
|
+
/**
|
|
1433
|
+
* StockLocation update
|
|
1434
|
+
*/
|
|
1435
|
+
export type StockLocationUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1436
|
+
/**
|
|
1437
|
+
* Select specific fields to fetch from the StockLocation
|
|
1438
|
+
*/
|
|
1439
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1440
|
+
/**
|
|
1441
|
+
* Omit specific fields from the StockLocation
|
|
1442
|
+
*/
|
|
1443
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1444
|
+
/**
|
|
1445
|
+
* Choose, which related nodes to fetch as well
|
|
1446
|
+
*/
|
|
1447
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1448
|
+
/**
|
|
1449
|
+
* The data needed to update a StockLocation.
|
|
1450
|
+
*/
|
|
1451
|
+
data: Prisma.XOR<Prisma.StockLocationUpdateInput, Prisma.StockLocationUncheckedUpdateInput>;
|
|
1452
|
+
/**
|
|
1453
|
+
* Choose, which StockLocation to update.
|
|
1454
|
+
*/
|
|
1455
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
1456
|
+
};
|
|
1457
|
+
/**
|
|
1458
|
+
* StockLocation updateMany
|
|
1459
|
+
*/
|
|
1460
|
+
export type StockLocationUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1461
|
+
/**
|
|
1462
|
+
* The data used to update StockLocations.
|
|
1463
|
+
*/
|
|
1464
|
+
data: Prisma.XOR<Prisma.StockLocationUpdateManyMutationInput, Prisma.StockLocationUncheckedUpdateManyInput>;
|
|
1465
|
+
/**
|
|
1466
|
+
* Filter which StockLocations to update
|
|
1467
|
+
*/
|
|
1468
|
+
where?: Prisma.StockLocationWhereInput;
|
|
1469
|
+
/**
|
|
1470
|
+
* Limit how many StockLocations to update.
|
|
1471
|
+
*/
|
|
1472
|
+
limit?: number;
|
|
1473
|
+
};
|
|
1474
|
+
/**
|
|
1475
|
+
* StockLocation updateManyAndReturn
|
|
1476
|
+
*/
|
|
1477
|
+
export type StockLocationUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1478
|
+
/**
|
|
1479
|
+
* Select specific fields to fetch from the StockLocation
|
|
1480
|
+
*/
|
|
1481
|
+
select?: Prisma.StockLocationSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1482
|
+
/**
|
|
1483
|
+
* Omit specific fields from the StockLocation
|
|
1484
|
+
*/
|
|
1485
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1486
|
+
/**
|
|
1487
|
+
* The data used to update StockLocations.
|
|
1488
|
+
*/
|
|
1489
|
+
data: Prisma.XOR<Prisma.StockLocationUpdateManyMutationInput, Prisma.StockLocationUncheckedUpdateManyInput>;
|
|
1490
|
+
/**
|
|
1491
|
+
* Filter which StockLocations to update
|
|
1492
|
+
*/
|
|
1493
|
+
where?: Prisma.StockLocationWhereInput;
|
|
1494
|
+
/**
|
|
1495
|
+
* Limit how many StockLocations to update.
|
|
1496
|
+
*/
|
|
1497
|
+
limit?: number;
|
|
1498
|
+
/**
|
|
1499
|
+
* Choose, which related nodes to fetch as well
|
|
1500
|
+
*/
|
|
1501
|
+
include?: Prisma.StockLocationIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1502
|
+
};
|
|
1503
|
+
/**
|
|
1504
|
+
* StockLocation upsert
|
|
1505
|
+
*/
|
|
1506
|
+
export type StockLocationUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1507
|
+
/**
|
|
1508
|
+
* Select specific fields to fetch from the StockLocation
|
|
1509
|
+
*/
|
|
1510
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1511
|
+
/**
|
|
1512
|
+
* Omit specific fields from the StockLocation
|
|
1513
|
+
*/
|
|
1514
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1515
|
+
/**
|
|
1516
|
+
* Choose, which related nodes to fetch as well
|
|
1517
|
+
*/
|
|
1518
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1519
|
+
/**
|
|
1520
|
+
* The filter to search for the StockLocation to update in case it exists.
|
|
1521
|
+
*/
|
|
1522
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
1523
|
+
/**
|
|
1524
|
+
* In case the StockLocation found by the `where` argument doesn't exist, create a new StockLocation with this data.
|
|
1525
|
+
*/
|
|
1526
|
+
create: Prisma.XOR<Prisma.StockLocationCreateInput, Prisma.StockLocationUncheckedCreateInput>;
|
|
1527
|
+
/**
|
|
1528
|
+
* In case the StockLocation was found with the provided `where` argument, update it with this data.
|
|
1529
|
+
*/
|
|
1530
|
+
update: Prisma.XOR<Prisma.StockLocationUpdateInput, Prisma.StockLocationUncheckedUpdateInput>;
|
|
1531
|
+
};
|
|
1532
|
+
/**
|
|
1533
|
+
* StockLocation delete
|
|
1534
|
+
*/
|
|
1535
|
+
export type StockLocationDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1536
|
+
/**
|
|
1537
|
+
* Select specific fields to fetch from the StockLocation
|
|
1538
|
+
*/
|
|
1539
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1540
|
+
/**
|
|
1541
|
+
* Omit specific fields from the StockLocation
|
|
1542
|
+
*/
|
|
1543
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1544
|
+
/**
|
|
1545
|
+
* Choose, which related nodes to fetch as well
|
|
1546
|
+
*/
|
|
1547
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1548
|
+
/**
|
|
1549
|
+
* Filter which StockLocation to delete.
|
|
1550
|
+
*/
|
|
1551
|
+
where: Prisma.StockLocationWhereUniqueInput;
|
|
1552
|
+
};
|
|
1553
|
+
/**
|
|
1554
|
+
* StockLocation deleteMany
|
|
1555
|
+
*/
|
|
1556
|
+
export type StockLocationDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1557
|
+
/**
|
|
1558
|
+
* Filter which StockLocations to delete
|
|
1559
|
+
*/
|
|
1560
|
+
where?: Prisma.StockLocationWhereInput;
|
|
1561
|
+
/**
|
|
1562
|
+
* Limit how many StockLocations to delete.
|
|
1563
|
+
*/
|
|
1564
|
+
limit?: number;
|
|
1565
|
+
};
|
|
1566
|
+
/**
|
|
1567
|
+
* StockLocation.stockLevels
|
|
1568
|
+
*/
|
|
1569
|
+
export type StockLocation$stockLevelsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1570
|
+
/**
|
|
1571
|
+
* Select specific fields to fetch from the StockLevel
|
|
1572
|
+
*/
|
|
1573
|
+
select?: Prisma.StockLevelSelect<ExtArgs> | null;
|
|
1574
|
+
/**
|
|
1575
|
+
* Omit specific fields from the StockLevel
|
|
1576
|
+
*/
|
|
1577
|
+
omit?: Prisma.StockLevelOmit<ExtArgs> | null;
|
|
1578
|
+
/**
|
|
1579
|
+
* Choose, which related nodes to fetch as well
|
|
1580
|
+
*/
|
|
1581
|
+
include?: Prisma.StockLevelInclude<ExtArgs> | null;
|
|
1582
|
+
where?: Prisma.StockLevelWhereInput;
|
|
1583
|
+
orderBy?: Prisma.StockLevelOrderByWithRelationInput | Prisma.StockLevelOrderByWithRelationInput[];
|
|
1584
|
+
cursor?: Prisma.StockLevelWhereUniqueInput;
|
|
1585
|
+
take?: number;
|
|
1586
|
+
skip?: number;
|
|
1587
|
+
distinct?: Prisma.StockLevelScalarFieldEnum | Prisma.StockLevelScalarFieldEnum[];
|
|
1588
|
+
};
|
|
1589
|
+
/**
|
|
1590
|
+
* StockLocation.stockLocationToPlatform
|
|
1591
|
+
*/
|
|
1592
|
+
export type StockLocation$stockLocationToPlatformArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1593
|
+
/**
|
|
1594
|
+
* Select specific fields to fetch from the StockLocationToPlatform
|
|
1595
|
+
*/
|
|
1596
|
+
select?: Prisma.StockLocationToPlatformSelect<ExtArgs> | null;
|
|
1597
|
+
/**
|
|
1598
|
+
* Omit specific fields from the StockLocationToPlatform
|
|
1599
|
+
*/
|
|
1600
|
+
omit?: Prisma.StockLocationToPlatformOmit<ExtArgs> | null;
|
|
1601
|
+
/**
|
|
1602
|
+
* Choose, which related nodes to fetch as well
|
|
1603
|
+
*/
|
|
1604
|
+
include?: Prisma.StockLocationToPlatformInclude<ExtArgs> | null;
|
|
1605
|
+
where?: Prisma.StockLocationToPlatformWhereInput;
|
|
1606
|
+
orderBy?: Prisma.StockLocationToPlatformOrderByWithRelationInput | Prisma.StockLocationToPlatformOrderByWithRelationInput[];
|
|
1607
|
+
cursor?: Prisma.StockLocationToPlatformWhereUniqueInput;
|
|
1608
|
+
take?: number;
|
|
1609
|
+
skip?: number;
|
|
1610
|
+
distinct?: Prisma.StockLocationToPlatformScalarFieldEnum | Prisma.StockLocationToPlatformScalarFieldEnum[];
|
|
1611
|
+
};
|
|
1612
|
+
/**
|
|
1613
|
+
* StockLocation.stockMovement
|
|
1614
|
+
*/
|
|
1615
|
+
export type StockLocation$stockMovementArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1616
|
+
/**
|
|
1617
|
+
* Select specific fields to fetch from the StockMovement
|
|
1618
|
+
*/
|
|
1619
|
+
select?: Prisma.StockMovementSelect<ExtArgs> | null;
|
|
1620
|
+
/**
|
|
1621
|
+
* Omit specific fields from the StockMovement
|
|
1622
|
+
*/
|
|
1623
|
+
omit?: Prisma.StockMovementOmit<ExtArgs> | null;
|
|
1624
|
+
/**
|
|
1625
|
+
* Choose, which related nodes to fetch as well
|
|
1626
|
+
*/
|
|
1627
|
+
include?: Prisma.StockMovementInclude<ExtArgs> | null;
|
|
1628
|
+
where?: Prisma.StockMovementWhereInput;
|
|
1629
|
+
orderBy?: Prisma.StockMovementOrderByWithRelationInput | Prisma.StockMovementOrderByWithRelationInput[];
|
|
1630
|
+
cursor?: Prisma.StockMovementWhereUniqueInput;
|
|
1631
|
+
take?: number;
|
|
1632
|
+
skip?: number;
|
|
1633
|
+
distinct?: Prisma.StockMovementScalarFieldEnum | Prisma.StockMovementScalarFieldEnum[];
|
|
1634
|
+
};
|
|
1635
|
+
/**
|
|
1636
|
+
* StockLocation without action
|
|
1637
|
+
*/
|
|
1638
|
+
export type StockLocationDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1639
|
+
/**
|
|
1640
|
+
* Select specific fields to fetch from the StockLocation
|
|
1641
|
+
*/
|
|
1642
|
+
select?: Prisma.StockLocationSelect<ExtArgs> | null;
|
|
1643
|
+
/**
|
|
1644
|
+
* Omit specific fields from the StockLocation
|
|
1645
|
+
*/
|
|
1646
|
+
omit?: Prisma.StockLocationOmit<ExtArgs> | null;
|
|
1647
|
+
/**
|
|
1648
|
+
* Choose, which related nodes to fetch as well
|
|
1649
|
+
*/
|
|
1650
|
+
include?: Prisma.StockLocationInclude<ExtArgs> | null;
|
|
1651
|
+
};
|
|
1652
|
+
export {};
|