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