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