@pos-360/prisma 1.0.0-beta.0 → 1.0.0-beta.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/generated/prisma/browser.d.ts +514 -0
- package/lib/generated/prisma/browser.js +57 -0
- package/lib/generated/prisma/browser.js.map +1 -0
- package/lib/generated/prisma/client.d.ts +531 -0
- package/lib/generated/prisma/client.js +69 -0
- package/lib/generated/prisma/client.js.map +1 -0
- package/lib/generated/prisma/commonInputTypes.d.ts +1529 -0
- package/lib/generated/prisma/commonInputTypes.js +12 -0
- package/lib/generated/prisma/commonInputTypes.js.map +1 -0
- package/lib/generated/prisma/dmmf.d.ts +4085 -0
- package/lib/generated/prisma/dmmf.js +27551 -0
- package/lib/generated/prisma/dmmf.js.map +1 -0
- package/lib/generated/prisma/enums.d.ts +216 -0
- package/lib/generated/prisma/enums.js +205 -0
- package/lib/generated/prisma/enums.js.map +1 -0
- package/lib/generated/prisma/internal/class.d.ts +1237 -0
- package/lib/generated/prisma/internal/class.js +79 -0
- package/lib/generated/prisma/internal/class.js.map +1 -0
- package/lib/generated/prisma/internal/prismaNamespace.d.ts +10091 -0
- package/lib/generated/prisma/internal/prismaNamespace.js +1721 -0
- package/lib/generated/prisma/internal/prismaNamespace.js.map +1 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.d.ts +1816 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js +1692 -0
- package/lib/generated/prisma/internal/prismaNamespaceBrowser.js.map +1 -0
- package/lib/generated/prisma/kysely-types.d.ts +1499 -0
- package/lib/generated/prisma/kysely-types.js +196 -0
- package/lib/generated/prisma/kysely-types.js.map +1 -0
- package/lib/generated/prisma/models/Address.d.ts +1339 -0
- package/lib/generated/prisma/models/Address.js +12 -0
- package/lib/generated/prisma/models/Address.js.map +1 -0
- package/lib/generated/prisma/models/Administrator.d.ts +1633 -0
- package/lib/generated/prisma/models/Administrator.js +12 -0
- package/lib/generated/prisma/models/Administrator.js.map +1 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.d.ts +1208 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.js +12 -0
- package/lib/generated/prisma/models/AdministratorToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/AdministratorToStore.d.ts +1201 -0
- package/lib/generated/prisma/models/AdministratorToStore.js +12 -0
- package/lib/generated/prisma/models/AdministratorToStore.js.map +1 -0
- package/lib/generated/prisma/models/ApiToken.d.ts +1125 -0
- package/lib/generated/prisma/models/ApiToken.js +12 -0
- package/lib/generated/prisma/models/ApiToken.js.map +1 -0
- package/lib/generated/prisma/models/AwsBucket.d.ts +1435 -0
- package/lib/generated/prisma/models/AwsBucket.js +12 -0
- package/lib/generated/prisma/models/AwsBucket.js.map +1 -0
- package/lib/generated/prisma/models/Card.d.ts +1533 -0
- package/lib/generated/prisma/models/Card.js +12 -0
- package/lib/generated/prisma/models/Card.js.map +1 -0
- package/lib/generated/prisma/models/Cart.d.ts +2315 -0
- package/lib/generated/prisma/models/Cart.js +12 -0
- package/lib/generated/prisma/models/Cart.js.map +1 -0
- package/lib/generated/prisma/models/CartCost.d.ts +1368 -0
- package/lib/generated/prisma/models/CartCost.js +12 -0
- package/lib/generated/prisma/models/CartCost.js.map +1 -0
- package/lib/generated/prisma/models/CartLine.d.ts +1948 -0
- package/lib/generated/prisma/models/CartLine.js +12 -0
- package/lib/generated/prisma/models/CartLine.js.map +1 -0
- package/lib/generated/prisma/models/CartLineModifier.d.ts +2061 -0
- package/lib/generated/prisma/models/CartLineModifier.js +12 -0
- package/lib/generated/prisma/models/CartLineModifier.js.map +1 -0
- package/lib/generated/prisma/models/CartLineModifierOption.d.ts +1435 -0
- package/lib/generated/prisma/models/CartLineModifierOption.js +12 -0
- package/lib/generated/prisma/models/CartLineModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/Checkout.d.ts +3989 -0
- package/lib/generated/prisma/models/Checkout.js +12 -0
- package/lib/generated/prisma/models/Checkout.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutGroup.d.ts +2604 -0
- package/lib/generated/prisma/models/CheckoutGroup.js +12 -0
- package/lib/generated/prisma/models/CheckoutGroup.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLine.d.ts +1932 -0
- package/lib/generated/prisma/models/CheckoutLine.js +12 -0
- package/lib/generated/prisma/models/CheckoutLine.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.d.ts +1702 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.js +12 -0
- package/lib/generated/prisma/models/CheckoutLineModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.d.ts +2124 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.js +12 -0
- package/lib/generated/prisma/models/CheckoutLinesModifier.js.map +1 -0
- package/lib/generated/prisma/models/Collection.d.ts +1961 -0
- package/lib/generated/prisma/models/Collection.js +12 -0
- package/lib/generated/prisma/models/Collection.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToPlatform.d.ts +1313 -0
- package/lib/generated/prisma/models/CollectionToPlatform.js +12 -0
- package/lib/generated/prisma/models/CollectionToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToProduct.d.ts +1342 -0
- package/lib/generated/prisma/models/CollectionToProduct.js +12 -0
- package/lib/generated/prisma/models/CollectionToProduct.js.map +1 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.d.ts +1201 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.js +12 -0
- package/lib/generated/prisma/models/CollectionToProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/Customer.d.ts +2964 -0
- package/lib/generated/prisma/models/Customer.js +12 -0
- package/lib/generated/prisma/models/Customer.js.map +1 -0
- package/lib/generated/prisma/models/CustomerGroup.d.ts +1167 -0
- package/lib/generated/prisma/models/CustomerGroup.js +12 -0
- package/lib/generated/prisma/models/CustomerGroup.js.map +1 -0
- package/lib/generated/prisma/models/CustomerToAddress.d.ts +1243 -0
- package/lib/generated/prisma/models/CustomerToAddress.js +12 -0
- package/lib/generated/prisma/models/CustomerToAddress.js.map +1 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.d.ts +1201 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.js +12 -0
- package/lib/generated/prisma/models/CustomerToCustomerGroup.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCode.d.ts +3139 -0
- package/lib/generated/prisma/models/DiscountCode.js +12 -0
- package/lib/generated/prisma/models/DiscountCode.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.d.ts +1332 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeAppliedToCart.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.d.ts +1389 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeRedeemedOnCart.js.map +1 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.d.ts +1537 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.js +12 -0
- package/lib/generated/prisma/models/DiscountCodeRedemption.js.map +1 -0
- package/lib/generated/prisma/models/EventLog.d.ts +1295 -0
- package/lib/generated/prisma/models/EventLog.js +12 -0
- package/lib/generated/prisma/models/EventLog.js.map +1 -0
- package/lib/generated/prisma/models/Facet.d.ts +1266 -0
- package/lib/generated/prisma/models/Facet.js +12 -0
- package/lib/generated/prisma/models/Facet.js.map +1 -0
- package/lib/generated/prisma/models/FacetOption.d.ts +1342 -0
- package/lib/generated/prisma/models/FacetOption.js +12 -0
- package/lib/generated/prisma/models/FacetOption.js.map +1 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.js +12 -0
- package/lib/generated/prisma/models/FacetOptionToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/FacetToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/FacetToPlatform.js +12 -0
- package/lib/generated/prisma/models/FacetToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/FeatureFlag.d.ts +1412 -0
- package/lib/generated/prisma/models/FeatureFlag.js +12 -0
- package/lib/generated/prisma/models/FeatureFlag.js.map +1 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.d.ts +1059 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.js +12 -0
- package/lib/generated/prisma/models/FirebaseAdminConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/FlaggedPayment.d.ts +1065 -0
- package/lib/generated/prisma/models/FlaggedPayment.js +12 -0
- package/lib/generated/prisma/models/FlaggedPayment.js.map +1 -0
- package/lib/generated/prisma/models/FreeItemRule.d.ts +1021 -0
- package/lib/generated/prisma/models/FreeItemRule.js +12 -0
- package/lib/generated/prisma/models/FreeItemRule.js.map +1 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.d.ts +993 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.js +12 -0
- package/lib/generated/prisma/models/FreeItemToCustomer.js.map +1 -0
- package/lib/generated/prisma/models/FulfillmentFees.d.ts +1365 -0
- package/lib/generated/prisma/models/FulfillmentFees.js +12 -0
- package/lib/generated/prisma/models/FulfillmentFees.js.map +1 -0
- package/lib/generated/prisma/models/Ingredient.d.ts +1886 -0
- package/lib/generated/prisma/models/Ingredient.js +12 -0
- package/lib/generated/prisma/models/Ingredient.js.map +1 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.d.ts +1561 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.js +12 -0
- package/lib/generated/prisma/models/IngredientToProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/IngredientToStore.d.ts +1507 -0
- package/lib/generated/prisma/models/IngredientToStore.js +12 -0
- package/lib/generated/prisma/models/IngredientToStore.js.map +1 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.d.ts +1256 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.js +12 -0
- package/lib/generated/prisma/models/ManualCollectionProduct.js.map +1 -0
- package/lib/generated/prisma/models/Media.d.ts +2127 -0
- package/lib/generated/prisma/models/Media.js +12 -0
- package/lib/generated/prisma/models/Media.js.map +1 -0
- package/lib/generated/prisma/models/Modifier.d.ts +2597 -0
- package/lib/generated/prisma/models/Modifier.js +12 -0
- package/lib/generated/prisma/models/Modifier.js.map +1 -0
- package/lib/generated/prisma/models/ModifierGroup.d.ts +2099 -0
- package/lib/generated/prisma/models/ModifierGroup.js +12 -0
- package/lib/generated/prisma/models/ModifierGroup.js.map +1 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.d.ts +1249 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.js +12 -0
- package/lib/generated/prisma/models/ModifierGroupToProduct.js.map +1 -0
- package/lib/generated/prisma/models/ModifierOption.d.ts +1838 -0
- package/lib/generated/prisma/models/ModifierOption.js +12 -0
- package/lib/generated/prisma/models/ModifierOption.js.map +1 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.d.ts +1343 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.js +12 -0
- package/lib/generated/prisma/models/ModifierToModifierGroup.js.map +1 -0
- package/lib/generated/prisma/models/NmiSecurityKey.d.ts +1087 -0
- package/lib/generated/prisma/models/NmiSecurityKey.js +12 -0
- package/lib/generated/prisma/models/NmiSecurityKey.js.map +1 -0
- package/lib/generated/prisma/models/OneTimeToken.d.ts +1115 -0
- package/lib/generated/prisma/models/OneTimeToken.js +12 -0
- package/lib/generated/prisma/models/OneTimeToken.js.map +1 -0
- package/lib/generated/prisma/models/Payment.d.ts +1560 -0
- package/lib/generated/prisma/models/Payment.js +12 -0
- package/lib/generated/prisma/models/Payment.js.map +1 -0
- package/lib/generated/prisma/models/Platform.d.ts +7442 -0
- package/lib/generated/prisma/models/Platform.js +12 -0
- package/lib/generated/prisma/models/Platform.js.map +1 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.d.ts +1333 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.js +12 -0
- package/lib/generated/prisma/models/PlatformAwsConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.d.ts +1299 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.js +12 -0
- package/lib/generated/prisma/models/PlatformMailerMessage.js.map +1 -0
- package/lib/generated/prisma/models/PrepTime.d.ts +1420 -0
- package/lib/generated/prisma/models/PrepTime.js +12 -0
- package/lib/generated/prisma/models/PrepTime.js.map +1 -0
- package/lib/generated/prisma/models/Product.d.ts +2975 -0
- package/lib/generated/prisma/models/Product.js +12 -0
- package/lib/generated/prisma/models/Product.js.map +1 -0
- package/lib/generated/prisma/models/ProductCategory.d.ts +2057 -0
- package/lib/generated/prisma/models/ProductCategory.js +12 -0
- package/lib/generated/prisma/models/ProductCategory.js.map +1 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.js +12 -0
- package/lib/generated/prisma/models/ProductCategoryToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductListing.d.ts +1747 -0
- package/lib/generated/prisma/models/ProductListing.js +12 -0
- package/lib/generated/prisma/models/ProductListing.js.map +1 -0
- package/lib/generated/prisma/models/ProductToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductToTag.js +12 -0
- package/lib/generated/prisma/models/ProductToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariant.d.ts +6964 -0
- package/lib/generated/prisma/models/ProductVariant.js +12 -0
- package/lib/generated/prisma/models/ProductVariant.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.d.ts +1775 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.js +12 -0
- package/lib/generated/prisma/models/ProductVariantConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantListing.d.ts +2152 -0
- package/lib/generated/prisma/models/ProductVariantListing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantListing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.d.ts +1401 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.js +12 -0
- package/lib/generated/prisma/models/ProductVariantListingToMedia.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.d.ts +1420 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantPlatformPricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantRanking.d.ts +1402 -0
- package/lib/generated/prisma/models/ProductVariantRanking.js +12 -0
- package/lib/generated/prisma/models/ProductVariantRanking.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.d.ts +1638 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStoreAndPlatformPricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.d.ts +1467 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStorePricing.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.d.ts +1890 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.js +12 -0
- package/lib/generated/prisma/models/ProductVariantStoreRanking.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.d.ts +1250 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.js +12 -0
- package/lib/generated/prisma/models/ProductVariantToMedia.js.map +1 -0
- package/lib/generated/prisma/models/ProductVariantToTag.d.ts +1201 -0
- package/lib/generated/prisma/models/ProductVariantToTag.js +12 -0
- package/lib/generated/prisma/models/ProductVariantToTag.js.map +1 -0
- package/lib/generated/prisma/models/ProductVarietal.d.ts +1385 -0
- package/lib/generated/prisma/models/ProductVarietal.js +12 -0
- package/lib/generated/prisma/models/ProductVarietal.js.map +1 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.d.ts +1782 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.js +12 -0
- package/lib/generated/prisma/models/ProductsWithOverrides.js.map +1 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.d.ts +1931 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.js +12 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailability.js.map +1 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.d.ts +1405 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js +12 -0
- package/lib/generated/prisma/models/PvStoreScheduledAvailabilityLog.js.map +1 -0
- package/lib/generated/prisma/models/Refund.d.ts +1707 -0
- package/lib/generated/prisma/models/Refund.js +12 -0
- package/lib/generated/prisma/models/Refund.js.map +1 -0
- package/lib/generated/prisma/models/RefundLine.d.ts +1373 -0
- package/lib/generated/prisma/models/RefundLine.js +12 -0
- package/lib/generated/prisma/models/RefundLine.js.map +1 -0
- package/lib/generated/prisma/models/RelatedItems.d.ts +1431 -0
- package/lib/generated/prisma/models/RelatedItems.js +12 -0
- package/lib/generated/prisma/models/RelatedItems.js.map +1 -0
- package/lib/generated/prisma/models/Role.d.ts +1264 -0
- package/lib/generated/prisma/models/Role.js +12 -0
- package/lib/generated/prisma/models/Role.js.map +1 -0
- package/lib/generated/prisma/models/ScheduledTask.d.ts +1146 -0
- package/lib/generated/prisma/models/ScheduledTask.js +12 -0
- package/lib/generated/prisma/models/ScheduledTask.js.map +1 -0
- package/lib/generated/prisma/models/ShippingConfiguration.d.ts +1659 -0
- package/lib/generated/prisma/models/ShippingConfiguration.js +12 -0
- package/lib/generated/prisma/models/ShippingConfiguration.js.map +1 -0
- package/lib/generated/prisma/models/ShippingLabelFee.d.ts +1705 -0
- package/lib/generated/prisma/models/ShippingLabelFee.js +12 -0
- package/lib/generated/prisma/models/ShippingLabelFee.js.map +1 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.d.ts +1520 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.js +12 -0
- package/lib/generated/prisma/models/ShippingLabelRefund.js.map +1 -0
- package/lib/generated/prisma/models/SmsConversation.d.ts +1548 -0
- package/lib/generated/prisma/models/SmsConversation.js +12 -0
- package/lib/generated/prisma/models/SmsConversation.js.map +1 -0
- package/lib/generated/prisma/models/SmsConversationMessage.d.ts +1326 -0
- package/lib/generated/prisma/models/SmsConversationMessage.js +12 -0
- package/lib/generated/prisma/models/SmsConversationMessage.js.map +1 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.d.ts +1125 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js +12 -0
- package/lib/generated/prisma/models/SmsMerchantNotificationMessage.js.map +1 -0
- package/lib/generated/prisma/models/StockLevel.d.ts +1425 -0
- package/lib/generated/prisma/models/StockLevel.js +12 -0
- package/lib/generated/prisma/models/StockLevel.js.map +1 -0
- package/lib/generated/prisma/models/StockLocation.d.ts +1652 -0
- package/lib/generated/prisma/models/StockLocation.js +12 -0
- package/lib/generated/prisma/models/StockLocation.js.map +1 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.d.ts +1201 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.js +12 -0
- package/lib/generated/prisma/models/StockLocationToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/StockMovement.d.ts +1608 -0
- package/lib/generated/prisma/models/StockMovement.js +12 -0
- package/lib/generated/prisma/models/StockMovement.js.map +1 -0
- package/lib/generated/prisma/models/Store.d.ts +4487 -0
- package/lib/generated/prisma/models/Store.js +12 -0
- package/lib/generated/prisma/models/Store.js.map +1 -0
- package/lib/generated/prisma/models/StoreRestockingLog.d.ts +1297 -0
- package/lib/generated/prisma/models/StoreRestockingLog.js +12 -0
- package/lib/generated/prisma/models/StoreRestockingLog.js.map +1 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.d.ts +1932 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.js +12 -0
- package/lib/generated/prisma/models/StoreRestockingSchedule.js.map +1 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.d.ts +1294 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.js +12 -0
- package/lib/generated/prisma/models/StoreToAssociatedStoreType.js.map +1 -0
- package/lib/generated/prisma/models/StoreToPlatform.d.ts +1331 -0
- package/lib/generated/prisma/models/StoreToPlatform.js +12 -0
- package/lib/generated/prisma/models/StoreToPlatform.js.map +1 -0
- package/lib/generated/prisma/models/Tag.d.ts +1581 -0
- package/lib/generated/prisma/models/Tag.js +12 -0
- package/lib/generated/prisma/models/Tag.js.map +1 -0
- package/lib/generated/prisma/models/TaxCategory.d.ts +1169 -0
- package/lib/generated/prisma/models/TaxCategory.js +12 -0
- package/lib/generated/prisma/models/TaxCategory.js.map +1 -0
- package/lib/generated/prisma/models/Transaction.d.ts +1551 -0
- package/lib/generated/prisma/models/Transaction.js +12 -0
- package/lib/generated/prisma/models/Transaction.js.map +1 -0
- package/lib/generated/prisma/models/User.d.ts +1907 -0
- package/lib/generated/prisma/models/User.js +12 -0
- package/lib/generated/prisma/models/User.js.map +1 -0
- package/lib/generated/prisma/models/UserToRole.d.ts +1201 -0
- package/lib/generated/prisma/models/UserToRole.js +12 -0
- package/lib/generated/prisma/models/UserToRole.js.map +1 -0
- package/lib/generated/prisma/models.d.ts +103 -0
- package/lib/generated/prisma/models.js +3 -0
- package/lib/generated/prisma/models.js.map +1 -0
- package/lib/generated/prisma/pjtg.d.ts +145 -0
- package/lib/generated/prisma/pjtg.js +3 -0
- package/lib/generated/prisma/pjtg.js.map +1 -0
- package/lib/helpers.d.ts +37 -0
- package/lib/helpers.js +226 -0
- package/lib/helpers.js.map +1 -0
- package/lib/index.d.ts +10 -0
- package/lib/index.js.map +1 -0
- package/lib/kysely/index.d.ts +2 -0
- package/lib/kysely/index.js +19 -0
- package/lib/kysely/index.js.map +1 -0
- package/lib/kysely/kysely-db.d.ts +3 -0
- package/lib/kysely/kysely-db.js +3 -0
- package/lib/kysely/kysely-db.js.map +1 -0
- package/lib/kysely/utils/index.d.ts +4 -0
- package/lib/kysely/utils/index.js +21 -0
- package/lib/kysely/utils/index.js.map +1 -0
- package/lib/kysely/utils/json-array-from-no-subquery.d.ts +38 -0
- package/lib/kysely/utils/json-array-from-no-subquery.js +43 -0
- package/lib/kysely/utils/json-array-from-no-subquery.js.map +1 -0
- package/lib/kysely/utils/json-object-from-no-subquery.d.ts +40 -0
- package/lib/kysely/utils/json-object-from-no-subquery.js +45 -0
- package/lib/kysely/utils/json-object-from-no-subquery.js.map +1 -0
- package/lib/kysely/utils/serialize-bigint-value.d.ts +3 -0
- package/lib/kysely/utils/serialize-bigint-value.js +13 -0
- package/lib/kysely/utils/serialize-bigint-value.js.map +1 -0
- package/lib/kysely/utils/serialize-numeric-value.d.ts +4 -0
- package/lib/kysely/utils/serialize-numeric-value.js +11 -0
- package/lib/kysely/utils/serialize-numeric-value.js.map +1 -0
- package/lib/kysely/utils/shallow-dehydrate.d.ts +18 -0
- package/lib/kysely/utils/shallow-dehydrate.js +3 -0
- package/lib/kysely/utils/shallow-dehydrate.js.map +1 -0
- package/lib/prisma-module/index.d.ts +4 -0
- package/lib/prisma-module/index.js +21 -0
- package/lib/prisma-module/index.js.map +1 -0
- package/lib/prisma-module/prisma-options.d.ts +59 -0
- package/lib/prisma-module/prisma-options.js +3 -0
- package/lib/prisma-module/prisma-options.js.map +1 -0
- package/lib/prisma-module/prisma.constants.d.ts +1 -0
- package/lib/prisma-module/prisma.constants.js +5 -0
- package/lib/prisma-module/prisma.constants.js.map +1 -0
- package/lib/prisma-module/prisma.module.d.ts +8 -0
- package/lib/prisma-module/prisma.module.js +73 -0
- package/lib/prisma-module/prisma.module.js.map +1 -0
- package/lib/prisma-module/prisma.service.d.ts +5 -0
- package/lib/prisma-module/prisma.service.js +29 -0
- package/lib/prisma-module/prisma.service.js.map +1 -0
- package/lib/tsconfig.build.tsbuildinfo +1 -0
- package/lib/types.d.ts +7 -0
- package/lib/types.js +3 -0
- package/lib/types.js.map +1 -0
- package/lib/utils/deep-convert-formatted-string-to-original.d.ts +1 -0
- package/lib/utils/deep-convert-formatted-string-to-original.js +40 -0
- package/lib/utils/deep-convert-formatted-string-to-original.js.map +1 -0
- package/lib/utils/ignore-prisma-builtins.d.ts +1 -0
- package/lib/utils/ignore-prisma-builtins.js +3 -0
- package/lib/utils/ignore-prisma-builtins.js.map +1 -0
- package/lib/utils/index.d.ts +3 -0
- package/lib/utils/index.js +20 -0
- package/lib/utils/index.js.map +1 -0
- package/lib/utils/prisma-where-to-sql.d.ts +5 -0
- package/lib/utils/prisma-where-to-sql.js +94 -0
- package/lib/utils/prisma-where-to-sql.js.map +1 -0
- package/lib/web360-prisma.constants.d.ts +2 -0
- package/lib/web360-prisma.constants.js +6 -0
- package/lib/web360-prisma.constants.js.map +1 -0
- package/lib/web360-prisma.module.d.ts +7 -0
- package/lib/web360-prisma.module.js +81 -0
- package/lib/web360-prisma.module.js.map +1 -0
- package/lib/web360-prisma.options.d.ts +38 -0
- package/lib/web360-prisma.options.js +3 -0
- package/lib/web360-prisma.options.js.map +1 -0
- package/lib/web360-prisma.service.d.ts +57 -0
- package/lib/web360-prisma.service.js +57 -0
- package/lib/web360-prisma.service.js.map +1 -0
- package/package.json +4 -3
|
@@ -0,0 +1,1420 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model PrepTime
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type PrepTimeModel = runtime.Types.Result.DefaultSelection<Prisma.$PrepTimePayload>;
|
|
8
|
+
export type AggregatePrepTime = {
|
|
9
|
+
_count: PrepTimeCountAggregateOutputType | null;
|
|
10
|
+
_avg: PrepTimeAvgAggregateOutputType | null;
|
|
11
|
+
_sum: PrepTimeSumAggregateOutputType | null;
|
|
12
|
+
_min: PrepTimeMinAggregateOutputType | null;
|
|
13
|
+
_max: PrepTimeMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type PrepTimeAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
orderSubtotal: runtime.Decimal | null;
|
|
18
|
+
prepTimeInMinutes: number | null;
|
|
19
|
+
};
|
|
20
|
+
export type PrepTimeSumAggregateOutputType = {
|
|
21
|
+
id: bigint | null;
|
|
22
|
+
orderSubtotal: runtime.Decimal | null;
|
|
23
|
+
prepTimeInMinutes: number | null;
|
|
24
|
+
};
|
|
25
|
+
export type PrepTimeMinAggregateOutputType = {
|
|
26
|
+
id: bigint | null;
|
|
27
|
+
createdAt: Date | null;
|
|
28
|
+
updatedAt: Date | null;
|
|
29
|
+
storeId: string | null;
|
|
30
|
+
platformId: string | null;
|
|
31
|
+
orderSubtotal: runtime.Decimal | null;
|
|
32
|
+
prepTimeInMinutes: number | null;
|
|
33
|
+
};
|
|
34
|
+
export type PrepTimeMaxAggregateOutputType = {
|
|
35
|
+
id: bigint | null;
|
|
36
|
+
createdAt: Date | null;
|
|
37
|
+
updatedAt: Date | null;
|
|
38
|
+
storeId: string | null;
|
|
39
|
+
platformId: string | null;
|
|
40
|
+
orderSubtotal: runtime.Decimal | null;
|
|
41
|
+
prepTimeInMinutes: number | null;
|
|
42
|
+
};
|
|
43
|
+
export type PrepTimeCountAggregateOutputType = {
|
|
44
|
+
id: number;
|
|
45
|
+
createdAt: number;
|
|
46
|
+
updatedAt: number;
|
|
47
|
+
storeId: number;
|
|
48
|
+
platformId: number;
|
|
49
|
+
orderSubtotal: number;
|
|
50
|
+
prepTimeInMinutes: number;
|
|
51
|
+
_all: number;
|
|
52
|
+
};
|
|
53
|
+
export type PrepTimeAvgAggregateInputType = {
|
|
54
|
+
id?: true;
|
|
55
|
+
orderSubtotal?: true;
|
|
56
|
+
prepTimeInMinutes?: true;
|
|
57
|
+
};
|
|
58
|
+
export type PrepTimeSumAggregateInputType = {
|
|
59
|
+
id?: true;
|
|
60
|
+
orderSubtotal?: true;
|
|
61
|
+
prepTimeInMinutes?: true;
|
|
62
|
+
};
|
|
63
|
+
export type PrepTimeMinAggregateInputType = {
|
|
64
|
+
id?: true;
|
|
65
|
+
createdAt?: true;
|
|
66
|
+
updatedAt?: true;
|
|
67
|
+
storeId?: true;
|
|
68
|
+
platformId?: true;
|
|
69
|
+
orderSubtotal?: true;
|
|
70
|
+
prepTimeInMinutes?: true;
|
|
71
|
+
};
|
|
72
|
+
export type PrepTimeMaxAggregateInputType = {
|
|
73
|
+
id?: true;
|
|
74
|
+
createdAt?: true;
|
|
75
|
+
updatedAt?: true;
|
|
76
|
+
storeId?: true;
|
|
77
|
+
platformId?: true;
|
|
78
|
+
orderSubtotal?: true;
|
|
79
|
+
prepTimeInMinutes?: true;
|
|
80
|
+
};
|
|
81
|
+
export type PrepTimeCountAggregateInputType = {
|
|
82
|
+
id?: true;
|
|
83
|
+
createdAt?: true;
|
|
84
|
+
updatedAt?: true;
|
|
85
|
+
storeId?: true;
|
|
86
|
+
platformId?: true;
|
|
87
|
+
orderSubtotal?: true;
|
|
88
|
+
prepTimeInMinutes?: true;
|
|
89
|
+
_all?: true;
|
|
90
|
+
};
|
|
91
|
+
export type PrepTimeAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
92
|
+
/**
|
|
93
|
+
* Filter which PrepTime to aggregate.
|
|
94
|
+
*/
|
|
95
|
+
where?: Prisma.PrepTimeWhereInput;
|
|
96
|
+
/**
|
|
97
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
98
|
+
*
|
|
99
|
+
* Determine the order of PrepTimes to fetch.
|
|
100
|
+
*/
|
|
101
|
+
orderBy?: Prisma.PrepTimeOrderByWithRelationInput | Prisma.PrepTimeOrderByWithRelationInput[];
|
|
102
|
+
/**
|
|
103
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
104
|
+
*
|
|
105
|
+
* Sets the start position
|
|
106
|
+
*/
|
|
107
|
+
cursor?: Prisma.PrepTimeWhereUniqueInput;
|
|
108
|
+
/**
|
|
109
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
110
|
+
*
|
|
111
|
+
* Take `±n` PrepTimes from the position of the cursor.
|
|
112
|
+
*/
|
|
113
|
+
take?: number;
|
|
114
|
+
/**
|
|
115
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
116
|
+
*
|
|
117
|
+
* Skip the first `n` PrepTimes.
|
|
118
|
+
*/
|
|
119
|
+
skip?: number;
|
|
120
|
+
/**
|
|
121
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
122
|
+
*
|
|
123
|
+
* Count returned PrepTimes
|
|
124
|
+
**/
|
|
125
|
+
_count?: true | PrepTimeCountAggregateInputType;
|
|
126
|
+
/**
|
|
127
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
128
|
+
*
|
|
129
|
+
* Select which fields to average
|
|
130
|
+
**/
|
|
131
|
+
_avg?: PrepTimeAvgAggregateInputType;
|
|
132
|
+
/**
|
|
133
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
134
|
+
*
|
|
135
|
+
* Select which fields to sum
|
|
136
|
+
**/
|
|
137
|
+
_sum?: PrepTimeSumAggregateInputType;
|
|
138
|
+
/**
|
|
139
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
140
|
+
*
|
|
141
|
+
* Select which fields to find the minimum value
|
|
142
|
+
**/
|
|
143
|
+
_min?: PrepTimeMinAggregateInputType;
|
|
144
|
+
/**
|
|
145
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
146
|
+
*
|
|
147
|
+
* Select which fields to find the maximum value
|
|
148
|
+
**/
|
|
149
|
+
_max?: PrepTimeMaxAggregateInputType;
|
|
150
|
+
};
|
|
151
|
+
export type GetPrepTimeAggregateType<T extends PrepTimeAggregateArgs> = {
|
|
152
|
+
[P in keyof T & keyof AggregatePrepTime]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregatePrepTime[P]> : Prisma.GetScalarType<T[P], AggregatePrepTime[P]>;
|
|
153
|
+
};
|
|
154
|
+
export type PrepTimeGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
155
|
+
where?: Prisma.PrepTimeWhereInput;
|
|
156
|
+
orderBy?: Prisma.PrepTimeOrderByWithAggregationInput | Prisma.PrepTimeOrderByWithAggregationInput[];
|
|
157
|
+
by: Prisma.PrepTimeScalarFieldEnum[] | Prisma.PrepTimeScalarFieldEnum;
|
|
158
|
+
having?: Prisma.PrepTimeScalarWhereWithAggregatesInput;
|
|
159
|
+
take?: number;
|
|
160
|
+
skip?: number;
|
|
161
|
+
_count?: PrepTimeCountAggregateInputType | true;
|
|
162
|
+
_avg?: PrepTimeAvgAggregateInputType;
|
|
163
|
+
_sum?: PrepTimeSumAggregateInputType;
|
|
164
|
+
_min?: PrepTimeMinAggregateInputType;
|
|
165
|
+
_max?: PrepTimeMaxAggregateInputType;
|
|
166
|
+
};
|
|
167
|
+
export type PrepTimeGroupByOutputType = {
|
|
168
|
+
id: bigint;
|
|
169
|
+
createdAt: Date;
|
|
170
|
+
updatedAt: Date;
|
|
171
|
+
storeId: string;
|
|
172
|
+
platformId: string;
|
|
173
|
+
orderSubtotal: runtime.Decimal;
|
|
174
|
+
prepTimeInMinutes: number;
|
|
175
|
+
_count: PrepTimeCountAggregateOutputType | null;
|
|
176
|
+
_avg: PrepTimeAvgAggregateOutputType | null;
|
|
177
|
+
_sum: PrepTimeSumAggregateOutputType | null;
|
|
178
|
+
_min: PrepTimeMinAggregateOutputType | null;
|
|
179
|
+
_max: PrepTimeMaxAggregateOutputType | null;
|
|
180
|
+
};
|
|
181
|
+
type GetPrepTimeGroupByPayload<T extends PrepTimeGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<PrepTimeGroupByOutputType, T['by']> & {
|
|
182
|
+
[P in ((keyof T) & (keyof PrepTimeGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], PrepTimeGroupByOutputType[P]> : Prisma.GetScalarType<T[P], PrepTimeGroupByOutputType[P]>;
|
|
183
|
+
}>>;
|
|
184
|
+
export type PrepTimeWhereInput = {
|
|
185
|
+
AND?: Prisma.PrepTimeWhereInput | Prisma.PrepTimeWhereInput[];
|
|
186
|
+
OR?: Prisma.PrepTimeWhereInput[];
|
|
187
|
+
NOT?: Prisma.PrepTimeWhereInput | Prisma.PrepTimeWhereInput[];
|
|
188
|
+
id?: Prisma.BigIntFilter<"PrepTime"> | bigint | number;
|
|
189
|
+
createdAt?: Prisma.DateTimeFilter<"PrepTime"> | Date | string;
|
|
190
|
+
updatedAt?: Prisma.DateTimeFilter<"PrepTime"> | Date | string;
|
|
191
|
+
storeId?: Prisma.StringFilter<"PrepTime"> | string;
|
|
192
|
+
platformId?: Prisma.StringFilter<"PrepTime"> | string;
|
|
193
|
+
orderSubtotal?: Prisma.DecimalFilter<"PrepTime"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
194
|
+
prepTimeInMinutes?: Prisma.IntFilter<"PrepTime"> | number;
|
|
195
|
+
store?: Prisma.XOR<Prisma.StoreScalarRelationFilter, Prisma.StoreWhereInput>;
|
|
196
|
+
platform?: Prisma.XOR<Prisma.PlatformScalarRelationFilter, Prisma.PlatformWhereInput>;
|
|
197
|
+
};
|
|
198
|
+
export type PrepTimeOrderByWithRelationInput = {
|
|
199
|
+
id?: Prisma.SortOrder;
|
|
200
|
+
createdAt?: Prisma.SortOrder;
|
|
201
|
+
updatedAt?: Prisma.SortOrder;
|
|
202
|
+
storeId?: Prisma.SortOrder;
|
|
203
|
+
platformId?: Prisma.SortOrder;
|
|
204
|
+
orderSubtotal?: Prisma.SortOrder;
|
|
205
|
+
prepTimeInMinutes?: Prisma.SortOrder;
|
|
206
|
+
store?: Prisma.StoreOrderByWithRelationInput;
|
|
207
|
+
platform?: Prisma.PlatformOrderByWithRelationInput;
|
|
208
|
+
_relevance?: Prisma.PrepTimeOrderByRelevanceInput;
|
|
209
|
+
};
|
|
210
|
+
export type PrepTimeWhereUniqueInput = Prisma.AtLeast<{
|
|
211
|
+
id?: bigint | number;
|
|
212
|
+
store_platform_order_subtotal_unique?: Prisma.PrepTimeStore_platform_order_subtotal_uniqueCompoundUniqueInput;
|
|
213
|
+
AND?: Prisma.PrepTimeWhereInput | Prisma.PrepTimeWhereInput[];
|
|
214
|
+
OR?: Prisma.PrepTimeWhereInput[];
|
|
215
|
+
NOT?: Prisma.PrepTimeWhereInput | Prisma.PrepTimeWhereInput[];
|
|
216
|
+
createdAt?: Prisma.DateTimeFilter<"PrepTime"> | Date | string;
|
|
217
|
+
updatedAt?: Prisma.DateTimeFilter<"PrepTime"> | Date | string;
|
|
218
|
+
storeId?: Prisma.StringFilter<"PrepTime"> | string;
|
|
219
|
+
platformId?: Prisma.StringFilter<"PrepTime"> | string;
|
|
220
|
+
orderSubtotal?: Prisma.DecimalFilter<"PrepTime"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
221
|
+
prepTimeInMinutes?: Prisma.IntFilter<"PrepTime"> | number;
|
|
222
|
+
store?: Prisma.XOR<Prisma.StoreScalarRelationFilter, Prisma.StoreWhereInput>;
|
|
223
|
+
platform?: Prisma.XOR<Prisma.PlatformScalarRelationFilter, Prisma.PlatformWhereInput>;
|
|
224
|
+
}, "id" | "store_platform_order_subtotal_unique">;
|
|
225
|
+
export type PrepTimeOrderByWithAggregationInput = {
|
|
226
|
+
id?: Prisma.SortOrder;
|
|
227
|
+
createdAt?: Prisma.SortOrder;
|
|
228
|
+
updatedAt?: Prisma.SortOrder;
|
|
229
|
+
storeId?: Prisma.SortOrder;
|
|
230
|
+
platformId?: Prisma.SortOrder;
|
|
231
|
+
orderSubtotal?: Prisma.SortOrder;
|
|
232
|
+
prepTimeInMinutes?: Prisma.SortOrder;
|
|
233
|
+
_count?: Prisma.PrepTimeCountOrderByAggregateInput;
|
|
234
|
+
_avg?: Prisma.PrepTimeAvgOrderByAggregateInput;
|
|
235
|
+
_max?: Prisma.PrepTimeMaxOrderByAggregateInput;
|
|
236
|
+
_min?: Prisma.PrepTimeMinOrderByAggregateInput;
|
|
237
|
+
_sum?: Prisma.PrepTimeSumOrderByAggregateInput;
|
|
238
|
+
};
|
|
239
|
+
export type PrepTimeScalarWhereWithAggregatesInput = {
|
|
240
|
+
AND?: Prisma.PrepTimeScalarWhereWithAggregatesInput | Prisma.PrepTimeScalarWhereWithAggregatesInput[];
|
|
241
|
+
OR?: Prisma.PrepTimeScalarWhereWithAggregatesInput[];
|
|
242
|
+
NOT?: Prisma.PrepTimeScalarWhereWithAggregatesInput | Prisma.PrepTimeScalarWhereWithAggregatesInput[];
|
|
243
|
+
id?: Prisma.BigIntWithAggregatesFilter<"PrepTime"> | bigint | number;
|
|
244
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"PrepTime"> | Date | string;
|
|
245
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"PrepTime"> | Date | string;
|
|
246
|
+
storeId?: Prisma.StringWithAggregatesFilter<"PrepTime"> | string;
|
|
247
|
+
platformId?: Prisma.StringWithAggregatesFilter<"PrepTime"> | string;
|
|
248
|
+
orderSubtotal?: Prisma.DecimalWithAggregatesFilter<"PrepTime"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
249
|
+
prepTimeInMinutes?: Prisma.IntWithAggregatesFilter<"PrepTime"> | number;
|
|
250
|
+
};
|
|
251
|
+
export type PrepTimeCreateInput = {
|
|
252
|
+
id?: bigint | number;
|
|
253
|
+
createdAt?: Date | string;
|
|
254
|
+
updatedAt?: Date | string;
|
|
255
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
256
|
+
prepTimeInMinutes: number;
|
|
257
|
+
store: Prisma.StoreCreateNestedOneWithoutPrepTimesInput;
|
|
258
|
+
platform: Prisma.PlatformCreateNestedOneWithoutPrepTimesInput;
|
|
259
|
+
};
|
|
260
|
+
export type PrepTimeUncheckedCreateInput = {
|
|
261
|
+
id?: bigint | number;
|
|
262
|
+
createdAt?: Date | string;
|
|
263
|
+
updatedAt?: Date | string;
|
|
264
|
+
storeId: string;
|
|
265
|
+
platformId: string;
|
|
266
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
267
|
+
prepTimeInMinutes: number;
|
|
268
|
+
};
|
|
269
|
+
export type PrepTimeUpdateInput = {
|
|
270
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
271
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
272
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
273
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
274
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
275
|
+
store?: Prisma.StoreUpdateOneRequiredWithoutPrepTimesNestedInput;
|
|
276
|
+
platform?: Prisma.PlatformUpdateOneRequiredWithoutPrepTimesNestedInput;
|
|
277
|
+
};
|
|
278
|
+
export type PrepTimeUncheckedUpdateInput = {
|
|
279
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
280
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
281
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
282
|
+
storeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
283
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
284
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
285
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
286
|
+
};
|
|
287
|
+
export type PrepTimeCreateManyInput = {
|
|
288
|
+
id?: bigint | number;
|
|
289
|
+
createdAt?: Date | string;
|
|
290
|
+
updatedAt?: Date | string;
|
|
291
|
+
storeId: string;
|
|
292
|
+
platformId: string;
|
|
293
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
294
|
+
prepTimeInMinutes: number;
|
|
295
|
+
};
|
|
296
|
+
export type PrepTimeUpdateManyMutationInput = {
|
|
297
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
298
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
299
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
300
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
301
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
302
|
+
};
|
|
303
|
+
export type PrepTimeUncheckedUpdateManyInput = {
|
|
304
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
305
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
306
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
307
|
+
storeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
308
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
309
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
310
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
311
|
+
};
|
|
312
|
+
export type PrepTimeListRelationFilter = {
|
|
313
|
+
every?: Prisma.PrepTimeWhereInput;
|
|
314
|
+
some?: Prisma.PrepTimeWhereInput;
|
|
315
|
+
none?: Prisma.PrepTimeWhereInput;
|
|
316
|
+
};
|
|
317
|
+
export type PrepTimeOrderByRelationAggregateInput = {
|
|
318
|
+
_count?: Prisma.SortOrder;
|
|
319
|
+
};
|
|
320
|
+
export type PrepTimeOrderByRelevanceInput = {
|
|
321
|
+
fields: Prisma.PrepTimeOrderByRelevanceFieldEnum | Prisma.PrepTimeOrderByRelevanceFieldEnum[];
|
|
322
|
+
sort: Prisma.SortOrder;
|
|
323
|
+
search: string;
|
|
324
|
+
};
|
|
325
|
+
export type PrepTimeStore_platform_order_subtotal_uniqueCompoundUniqueInput = {
|
|
326
|
+
storeId: string;
|
|
327
|
+
platformId: string;
|
|
328
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
329
|
+
};
|
|
330
|
+
export type PrepTimeCountOrderByAggregateInput = {
|
|
331
|
+
id?: Prisma.SortOrder;
|
|
332
|
+
createdAt?: Prisma.SortOrder;
|
|
333
|
+
updatedAt?: Prisma.SortOrder;
|
|
334
|
+
storeId?: Prisma.SortOrder;
|
|
335
|
+
platformId?: Prisma.SortOrder;
|
|
336
|
+
orderSubtotal?: Prisma.SortOrder;
|
|
337
|
+
prepTimeInMinutes?: Prisma.SortOrder;
|
|
338
|
+
};
|
|
339
|
+
export type PrepTimeAvgOrderByAggregateInput = {
|
|
340
|
+
id?: Prisma.SortOrder;
|
|
341
|
+
orderSubtotal?: Prisma.SortOrder;
|
|
342
|
+
prepTimeInMinutes?: Prisma.SortOrder;
|
|
343
|
+
};
|
|
344
|
+
export type PrepTimeMaxOrderByAggregateInput = {
|
|
345
|
+
id?: Prisma.SortOrder;
|
|
346
|
+
createdAt?: Prisma.SortOrder;
|
|
347
|
+
updatedAt?: Prisma.SortOrder;
|
|
348
|
+
storeId?: Prisma.SortOrder;
|
|
349
|
+
platformId?: Prisma.SortOrder;
|
|
350
|
+
orderSubtotal?: Prisma.SortOrder;
|
|
351
|
+
prepTimeInMinutes?: Prisma.SortOrder;
|
|
352
|
+
};
|
|
353
|
+
export type PrepTimeMinOrderByAggregateInput = {
|
|
354
|
+
id?: Prisma.SortOrder;
|
|
355
|
+
createdAt?: Prisma.SortOrder;
|
|
356
|
+
updatedAt?: Prisma.SortOrder;
|
|
357
|
+
storeId?: Prisma.SortOrder;
|
|
358
|
+
platformId?: Prisma.SortOrder;
|
|
359
|
+
orderSubtotal?: Prisma.SortOrder;
|
|
360
|
+
prepTimeInMinutes?: Prisma.SortOrder;
|
|
361
|
+
};
|
|
362
|
+
export type PrepTimeSumOrderByAggregateInput = {
|
|
363
|
+
id?: Prisma.SortOrder;
|
|
364
|
+
orderSubtotal?: Prisma.SortOrder;
|
|
365
|
+
prepTimeInMinutes?: Prisma.SortOrder;
|
|
366
|
+
};
|
|
367
|
+
export type PrepTimeCreateNestedManyWithoutPlatformInput = {
|
|
368
|
+
create?: Prisma.XOR<Prisma.PrepTimeCreateWithoutPlatformInput, Prisma.PrepTimeUncheckedCreateWithoutPlatformInput> | Prisma.PrepTimeCreateWithoutPlatformInput[] | Prisma.PrepTimeUncheckedCreateWithoutPlatformInput[];
|
|
369
|
+
connectOrCreate?: Prisma.PrepTimeCreateOrConnectWithoutPlatformInput | Prisma.PrepTimeCreateOrConnectWithoutPlatformInput[];
|
|
370
|
+
createMany?: Prisma.PrepTimeCreateManyPlatformInputEnvelope;
|
|
371
|
+
connect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
372
|
+
};
|
|
373
|
+
export type PrepTimeUncheckedCreateNestedManyWithoutPlatformInput = {
|
|
374
|
+
create?: Prisma.XOR<Prisma.PrepTimeCreateWithoutPlatformInput, Prisma.PrepTimeUncheckedCreateWithoutPlatformInput> | Prisma.PrepTimeCreateWithoutPlatformInput[] | Prisma.PrepTimeUncheckedCreateWithoutPlatformInput[];
|
|
375
|
+
connectOrCreate?: Prisma.PrepTimeCreateOrConnectWithoutPlatformInput | Prisma.PrepTimeCreateOrConnectWithoutPlatformInput[];
|
|
376
|
+
createMany?: Prisma.PrepTimeCreateManyPlatformInputEnvelope;
|
|
377
|
+
connect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
378
|
+
};
|
|
379
|
+
export type PrepTimeUpdateManyWithoutPlatformNestedInput = {
|
|
380
|
+
create?: Prisma.XOR<Prisma.PrepTimeCreateWithoutPlatformInput, Prisma.PrepTimeUncheckedCreateWithoutPlatformInput> | Prisma.PrepTimeCreateWithoutPlatformInput[] | Prisma.PrepTimeUncheckedCreateWithoutPlatformInput[];
|
|
381
|
+
connectOrCreate?: Prisma.PrepTimeCreateOrConnectWithoutPlatformInput | Prisma.PrepTimeCreateOrConnectWithoutPlatformInput[];
|
|
382
|
+
upsert?: Prisma.PrepTimeUpsertWithWhereUniqueWithoutPlatformInput | Prisma.PrepTimeUpsertWithWhereUniqueWithoutPlatformInput[];
|
|
383
|
+
createMany?: Prisma.PrepTimeCreateManyPlatformInputEnvelope;
|
|
384
|
+
set?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
385
|
+
disconnect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
386
|
+
delete?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
387
|
+
connect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
388
|
+
update?: Prisma.PrepTimeUpdateWithWhereUniqueWithoutPlatformInput | Prisma.PrepTimeUpdateWithWhereUniqueWithoutPlatformInput[];
|
|
389
|
+
updateMany?: Prisma.PrepTimeUpdateManyWithWhereWithoutPlatformInput | Prisma.PrepTimeUpdateManyWithWhereWithoutPlatformInput[];
|
|
390
|
+
deleteMany?: Prisma.PrepTimeScalarWhereInput | Prisma.PrepTimeScalarWhereInput[];
|
|
391
|
+
};
|
|
392
|
+
export type PrepTimeUncheckedUpdateManyWithoutPlatformNestedInput = {
|
|
393
|
+
create?: Prisma.XOR<Prisma.PrepTimeCreateWithoutPlatformInput, Prisma.PrepTimeUncheckedCreateWithoutPlatformInput> | Prisma.PrepTimeCreateWithoutPlatformInput[] | Prisma.PrepTimeUncheckedCreateWithoutPlatformInput[];
|
|
394
|
+
connectOrCreate?: Prisma.PrepTimeCreateOrConnectWithoutPlatformInput | Prisma.PrepTimeCreateOrConnectWithoutPlatformInput[];
|
|
395
|
+
upsert?: Prisma.PrepTimeUpsertWithWhereUniqueWithoutPlatformInput | Prisma.PrepTimeUpsertWithWhereUniqueWithoutPlatformInput[];
|
|
396
|
+
createMany?: Prisma.PrepTimeCreateManyPlatformInputEnvelope;
|
|
397
|
+
set?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
398
|
+
disconnect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
399
|
+
delete?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
400
|
+
connect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
401
|
+
update?: Prisma.PrepTimeUpdateWithWhereUniqueWithoutPlatformInput | Prisma.PrepTimeUpdateWithWhereUniqueWithoutPlatformInput[];
|
|
402
|
+
updateMany?: Prisma.PrepTimeUpdateManyWithWhereWithoutPlatformInput | Prisma.PrepTimeUpdateManyWithWhereWithoutPlatformInput[];
|
|
403
|
+
deleteMany?: Prisma.PrepTimeScalarWhereInput | Prisma.PrepTimeScalarWhereInput[];
|
|
404
|
+
};
|
|
405
|
+
export type PrepTimeCreateNestedManyWithoutStoreInput = {
|
|
406
|
+
create?: Prisma.XOR<Prisma.PrepTimeCreateWithoutStoreInput, Prisma.PrepTimeUncheckedCreateWithoutStoreInput> | Prisma.PrepTimeCreateWithoutStoreInput[] | Prisma.PrepTimeUncheckedCreateWithoutStoreInput[];
|
|
407
|
+
connectOrCreate?: Prisma.PrepTimeCreateOrConnectWithoutStoreInput | Prisma.PrepTimeCreateOrConnectWithoutStoreInput[];
|
|
408
|
+
createMany?: Prisma.PrepTimeCreateManyStoreInputEnvelope;
|
|
409
|
+
connect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
410
|
+
};
|
|
411
|
+
export type PrepTimeUncheckedCreateNestedManyWithoutStoreInput = {
|
|
412
|
+
create?: Prisma.XOR<Prisma.PrepTimeCreateWithoutStoreInput, Prisma.PrepTimeUncheckedCreateWithoutStoreInput> | Prisma.PrepTimeCreateWithoutStoreInput[] | Prisma.PrepTimeUncheckedCreateWithoutStoreInput[];
|
|
413
|
+
connectOrCreate?: Prisma.PrepTimeCreateOrConnectWithoutStoreInput | Prisma.PrepTimeCreateOrConnectWithoutStoreInput[];
|
|
414
|
+
createMany?: Prisma.PrepTimeCreateManyStoreInputEnvelope;
|
|
415
|
+
connect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
416
|
+
};
|
|
417
|
+
export type PrepTimeUpdateManyWithoutStoreNestedInput = {
|
|
418
|
+
create?: Prisma.XOR<Prisma.PrepTimeCreateWithoutStoreInput, Prisma.PrepTimeUncheckedCreateWithoutStoreInput> | Prisma.PrepTimeCreateWithoutStoreInput[] | Prisma.PrepTimeUncheckedCreateWithoutStoreInput[];
|
|
419
|
+
connectOrCreate?: Prisma.PrepTimeCreateOrConnectWithoutStoreInput | Prisma.PrepTimeCreateOrConnectWithoutStoreInput[];
|
|
420
|
+
upsert?: Prisma.PrepTimeUpsertWithWhereUniqueWithoutStoreInput | Prisma.PrepTimeUpsertWithWhereUniqueWithoutStoreInput[];
|
|
421
|
+
createMany?: Prisma.PrepTimeCreateManyStoreInputEnvelope;
|
|
422
|
+
set?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
423
|
+
disconnect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
424
|
+
delete?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
425
|
+
connect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
426
|
+
update?: Prisma.PrepTimeUpdateWithWhereUniqueWithoutStoreInput | Prisma.PrepTimeUpdateWithWhereUniqueWithoutStoreInput[];
|
|
427
|
+
updateMany?: Prisma.PrepTimeUpdateManyWithWhereWithoutStoreInput | Prisma.PrepTimeUpdateManyWithWhereWithoutStoreInput[];
|
|
428
|
+
deleteMany?: Prisma.PrepTimeScalarWhereInput | Prisma.PrepTimeScalarWhereInput[];
|
|
429
|
+
};
|
|
430
|
+
export type PrepTimeUncheckedUpdateManyWithoutStoreNestedInput = {
|
|
431
|
+
create?: Prisma.XOR<Prisma.PrepTimeCreateWithoutStoreInput, Prisma.PrepTimeUncheckedCreateWithoutStoreInput> | Prisma.PrepTimeCreateWithoutStoreInput[] | Prisma.PrepTimeUncheckedCreateWithoutStoreInput[];
|
|
432
|
+
connectOrCreate?: Prisma.PrepTimeCreateOrConnectWithoutStoreInput | Prisma.PrepTimeCreateOrConnectWithoutStoreInput[];
|
|
433
|
+
upsert?: Prisma.PrepTimeUpsertWithWhereUniqueWithoutStoreInput | Prisma.PrepTimeUpsertWithWhereUniqueWithoutStoreInput[];
|
|
434
|
+
createMany?: Prisma.PrepTimeCreateManyStoreInputEnvelope;
|
|
435
|
+
set?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
436
|
+
disconnect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
437
|
+
delete?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
438
|
+
connect?: Prisma.PrepTimeWhereUniqueInput | Prisma.PrepTimeWhereUniqueInput[];
|
|
439
|
+
update?: Prisma.PrepTimeUpdateWithWhereUniqueWithoutStoreInput | Prisma.PrepTimeUpdateWithWhereUniqueWithoutStoreInput[];
|
|
440
|
+
updateMany?: Prisma.PrepTimeUpdateManyWithWhereWithoutStoreInput | Prisma.PrepTimeUpdateManyWithWhereWithoutStoreInput[];
|
|
441
|
+
deleteMany?: Prisma.PrepTimeScalarWhereInput | Prisma.PrepTimeScalarWhereInput[];
|
|
442
|
+
};
|
|
443
|
+
export type PrepTimeCreateWithoutPlatformInput = {
|
|
444
|
+
id?: bigint | number;
|
|
445
|
+
createdAt?: Date | string;
|
|
446
|
+
updatedAt?: Date | string;
|
|
447
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
448
|
+
prepTimeInMinutes: number;
|
|
449
|
+
store: Prisma.StoreCreateNestedOneWithoutPrepTimesInput;
|
|
450
|
+
};
|
|
451
|
+
export type PrepTimeUncheckedCreateWithoutPlatformInput = {
|
|
452
|
+
id?: bigint | number;
|
|
453
|
+
createdAt?: Date | string;
|
|
454
|
+
updatedAt?: Date | string;
|
|
455
|
+
storeId: string;
|
|
456
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
457
|
+
prepTimeInMinutes: number;
|
|
458
|
+
};
|
|
459
|
+
export type PrepTimeCreateOrConnectWithoutPlatformInput = {
|
|
460
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
461
|
+
create: Prisma.XOR<Prisma.PrepTimeCreateWithoutPlatformInput, Prisma.PrepTimeUncheckedCreateWithoutPlatformInput>;
|
|
462
|
+
};
|
|
463
|
+
export type PrepTimeCreateManyPlatformInputEnvelope = {
|
|
464
|
+
data: Prisma.PrepTimeCreateManyPlatformInput | Prisma.PrepTimeCreateManyPlatformInput[];
|
|
465
|
+
skipDuplicates?: boolean;
|
|
466
|
+
};
|
|
467
|
+
export type PrepTimeUpsertWithWhereUniqueWithoutPlatformInput = {
|
|
468
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
469
|
+
update: Prisma.XOR<Prisma.PrepTimeUpdateWithoutPlatformInput, Prisma.PrepTimeUncheckedUpdateWithoutPlatformInput>;
|
|
470
|
+
create: Prisma.XOR<Prisma.PrepTimeCreateWithoutPlatformInput, Prisma.PrepTimeUncheckedCreateWithoutPlatformInput>;
|
|
471
|
+
};
|
|
472
|
+
export type PrepTimeUpdateWithWhereUniqueWithoutPlatformInput = {
|
|
473
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
474
|
+
data: Prisma.XOR<Prisma.PrepTimeUpdateWithoutPlatformInput, Prisma.PrepTimeUncheckedUpdateWithoutPlatformInput>;
|
|
475
|
+
};
|
|
476
|
+
export type PrepTimeUpdateManyWithWhereWithoutPlatformInput = {
|
|
477
|
+
where: Prisma.PrepTimeScalarWhereInput;
|
|
478
|
+
data: Prisma.XOR<Prisma.PrepTimeUpdateManyMutationInput, Prisma.PrepTimeUncheckedUpdateManyWithoutPlatformInput>;
|
|
479
|
+
};
|
|
480
|
+
export type PrepTimeScalarWhereInput = {
|
|
481
|
+
AND?: Prisma.PrepTimeScalarWhereInput | Prisma.PrepTimeScalarWhereInput[];
|
|
482
|
+
OR?: Prisma.PrepTimeScalarWhereInput[];
|
|
483
|
+
NOT?: Prisma.PrepTimeScalarWhereInput | Prisma.PrepTimeScalarWhereInput[];
|
|
484
|
+
id?: Prisma.BigIntFilter<"PrepTime"> | bigint | number;
|
|
485
|
+
createdAt?: Prisma.DateTimeFilter<"PrepTime"> | Date | string;
|
|
486
|
+
updatedAt?: Prisma.DateTimeFilter<"PrepTime"> | Date | string;
|
|
487
|
+
storeId?: Prisma.StringFilter<"PrepTime"> | string;
|
|
488
|
+
platformId?: Prisma.StringFilter<"PrepTime"> | string;
|
|
489
|
+
orderSubtotal?: Prisma.DecimalFilter<"PrepTime"> | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
490
|
+
prepTimeInMinutes?: Prisma.IntFilter<"PrepTime"> | number;
|
|
491
|
+
};
|
|
492
|
+
export type PrepTimeCreateWithoutStoreInput = {
|
|
493
|
+
id?: bigint | number;
|
|
494
|
+
createdAt?: Date | string;
|
|
495
|
+
updatedAt?: Date | string;
|
|
496
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
497
|
+
prepTimeInMinutes: number;
|
|
498
|
+
platform: Prisma.PlatformCreateNestedOneWithoutPrepTimesInput;
|
|
499
|
+
};
|
|
500
|
+
export type PrepTimeUncheckedCreateWithoutStoreInput = {
|
|
501
|
+
id?: bigint | number;
|
|
502
|
+
createdAt?: Date | string;
|
|
503
|
+
updatedAt?: Date | string;
|
|
504
|
+
platformId: string;
|
|
505
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
506
|
+
prepTimeInMinutes: number;
|
|
507
|
+
};
|
|
508
|
+
export type PrepTimeCreateOrConnectWithoutStoreInput = {
|
|
509
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
510
|
+
create: Prisma.XOR<Prisma.PrepTimeCreateWithoutStoreInput, Prisma.PrepTimeUncheckedCreateWithoutStoreInput>;
|
|
511
|
+
};
|
|
512
|
+
export type PrepTimeCreateManyStoreInputEnvelope = {
|
|
513
|
+
data: Prisma.PrepTimeCreateManyStoreInput | Prisma.PrepTimeCreateManyStoreInput[];
|
|
514
|
+
skipDuplicates?: boolean;
|
|
515
|
+
};
|
|
516
|
+
export type PrepTimeUpsertWithWhereUniqueWithoutStoreInput = {
|
|
517
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
518
|
+
update: Prisma.XOR<Prisma.PrepTimeUpdateWithoutStoreInput, Prisma.PrepTimeUncheckedUpdateWithoutStoreInput>;
|
|
519
|
+
create: Prisma.XOR<Prisma.PrepTimeCreateWithoutStoreInput, Prisma.PrepTimeUncheckedCreateWithoutStoreInput>;
|
|
520
|
+
};
|
|
521
|
+
export type PrepTimeUpdateWithWhereUniqueWithoutStoreInput = {
|
|
522
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
523
|
+
data: Prisma.XOR<Prisma.PrepTimeUpdateWithoutStoreInput, Prisma.PrepTimeUncheckedUpdateWithoutStoreInput>;
|
|
524
|
+
};
|
|
525
|
+
export type PrepTimeUpdateManyWithWhereWithoutStoreInput = {
|
|
526
|
+
where: Prisma.PrepTimeScalarWhereInput;
|
|
527
|
+
data: Prisma.XOR<Prisma.PrepTimeUpdateManyMutationInput, Prisma.PrepTimeUncheckedUpdateManyWithoutStoreInput>;
|
|
528
|
+
};
|
|
529
|
+
export type PrepTimeCreateManyPlatformInput = {
|
|
530
|
+
id?: bigint | number;
|
|
531
|
+
createdAt?: Date | string;
|
|
532
|
+
updatedAt?: Date | string;
|
|
533
|
+
storeId: string;
|
|
534
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
535
|
+
prepTimeInMinutes: number;
|
|
536
|
+
};
|
|
537
|
+
export type PrepTimeUpdateWithoutPlatformInput = {
|
|
538
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
539
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
540
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
541
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
542
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
543
|
+
store?: Prisma.StoreUpdateOneRequiredWithoutPrepTimesNestedInput;
|
|
544
|
+
};
|
|
545
|
+
export type PrepTimeUncheckedUpdateWithoutPlatformInput = {
|
|
546
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
547
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
548
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
549
|
+
storeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
550
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
551
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
552
|
+
};
|
|
553
|
+
export type PrepTimeUncheckedUpdateManyWithoutPlatformInput = {
|
|
554
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
555
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
556
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
557
|
+
storeId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
558
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
559
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
560
|
+
};
|
|
561
|
+
export type PrepTimeCreateManyStoreInput = {
|
|
562
|
+
id?: bigint | number;
|
|
563
|
+
createdAt?: Date | string;
|
|
564
|
+
updatedAt?: Date | string;
|
|
565
|
+
platformId: string;
|
|
566
|
+
orderSubtotal: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
567
|
+
prepTimeInMinutes: number;
|
|
568
|
+
};
|
|
569
|
+
export type PrepTimeUpdateWithoutStoreInput = {
|
|
570
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
571
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
572
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
573
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
574
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
575
|
+
platform?: Prisma.PlatformUpdateOneRequiredWithoutPrepTimesNestedInput;
|
|
576
|
+
};
|
|
577
|
+
export type PrepTimeUncheckedUpdateWithoutStoreInput = {
|
|
578
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
579
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
580
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
581
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
582
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
583
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
584
|
+
};
|
|
585
|
+
export type PrepTimeUncheckedUpdateManyWithoutStoreInput = {
|
|
586
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
587
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
588
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
589
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
590
|
+
orderSubtotal?: Prisma.DecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
591
|
+
prepTimeInMinutes?: Prisma.IntFieldUpdateOperationsInput | number;
|
|
592
|
+
};
|
|
593
|
+
export type PrepTimeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
594
|
+
id?: boolean;
|
|
595
|
+
createdAt?: boolean;
|
|
596
|
+
updatedAt?: boolean;
|
|
597
|
+
storeId?: boolean;
|
|
598
|
+
platformId?: boolean;
|
|
599
|
+
orderSubtotal?: boolean;
|
|
600
|
+
prepTimeInMinutes?: boolean;
|
|
601
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
602
|
+
platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
|
|
603
|
+
}, ExtArgs["result"]["prepTime"]>;
|
|
604
|
+
export type PrepTimeSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
605
|
+
id?: boolean;
|
|
606
|
+
createdAt?: boolean;
|
|
607
|
+
updatedAt?: boolean;
|
|
608
|
+
storeId?: boolean;
|
|
609
|
+
platformId?: boolean;
|
|
610
|
+
orderSubtotal?: boolean;
|
|
611
|
+
prepTimeInMinutes?: boolean;
|
|
612
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
613
|
+
platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
|
|
614
|
+
}, ExtArgs["result"]["prepTime"]>;
|
|
615
|
+
export type PrepTimeSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
616
|
+
id?: boolean;
|
|
617
|
+
createdAt?: boolean;
|
|
618
|
+
updatedAt?: boolean;
|
|
619
|
+
storeId?: boolean;
|
|
620
|
+
platformId?: boolean;
|
|
621
|
+
orderSubtotal?: boolean;
|
|
622
|
+
prepTimeInMinutes?: boolean;
|
|
623
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
624
|
+
platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
|
|
625
|
+
}, ExtArgs["result"]["prepTime"]>;
|
|
626
|
+
export type PrepTimeSelectScalar = {
|
|
627
|
+
id?: boolean;
|
|
628
|
+
createdAt?: boolean;
|
|
629
|
+
updatedAt?: boolean;
|
|
630
|
+
storeId?: boolean;
|
|
631
|
+
platformId?: boolean;
|
|
632
|
+
orderSubtotal?: boolean;
|
|
633
|
+
prepTimeInMinutes?: boolean;
|
|
634
|
+
};
|
|
635
|
+
export type PrepTimeOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "storeId" | "platformId" | "orderSubtotal" | "prepTimeInMinutes", ExtArgs["result"]["prepTime"]>;
|
|
636
|
+
export type PrepTimeInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
637
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
638
|
+
platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
|
|
639
|
+
};
|
|
640
|
+
export type PrepTimeIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
641
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
642
|
+
platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
|
|
643
|
+
};
|
|
644
|
+
export type PrepTimeIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
645
|
+
store?: boolean | Prisma.StoreDefaultArgs<ExtArgs>;
|
|
646
|
+
platform?: boolean | Prisma.PlatformDefaultArgs<ExtArgs>;
|
|
647
|
+
};
|
|
648
|
+
export type $PrepTimePayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
649
|
+
name: "PrepTime";
|
|
650
|
+
objects: {
|
|
651
|
+
store: Prisma.$StorePayload<ExtArgs>;
|
|
652
|
+
platform: Prisma.$PlatformPayload<ExtArgs>;
|
|
653
|
+
};
|
|
654
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
655
|
+
id: bigint;
|
|
656
|
+
createdAt: Date;
|
|
657
|
+
updatedAt: Date;
|
|
658
|
+
storeId: string;
|
|
659
|
+
platformId: string;
|
|
660
|
+
orderSubtotal: runtime.Decimal;
|
|
661
|
+
prepTimeInMinutes: number;
|
|
662
|
+
}, ExtArgs["result"]["prepTime"]>;
|
|
663
|
+
composites: {};
|
|
664
|
+
};
|
|
665
|
+
export type PrepTimeGetPayload<S extends boolean | null | undefined | PrepTimeDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$PrepTimePayload, S>;
|
|
666
|
+
export type PrepTimeCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<PrepTimeFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
667
|
+
select?: PrepTimeCountAggregateInputType | true;
|
|
668
|
+
};
|
|
669
|
+
export interface PrepTimeDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
670
|
+
[K: symbol]: {
|
|
671
|
+
types: Prisma.TypeMap<ExtArgs>['model']['PrepTime'];
|
|
672
|
+
meta: {
|
|
673
|
+
name: 'PrepTime';
|
|
674
|
+
};
|
|
675
|
+
};
|
|
676
|
+
/**
|
|
677
|
+
* Find zero or one PrepTime that matches the filter.
|
|
678
|
+
* @param {PrepTimeFindUniqueArgs} args - Arguments to find a PrepTime
|
|
679
|
+
* @example
|
|
680
|
+
* // Get one PrepTime
|
|
681
|
+
* const prepTime = await prisma.prepTime.findUnique({
|
|
682
|
+
* where: {
|
|
683
|
+
* // ... provide filter here
|
|
684
|
+
* }
|
|
685
|
+
* })
|
|
686
|
+
*/
|
|
687
|
+
findUnique<T extends PrepTimeFindUniqueArgs>(args: Prisma.SelectSubset<T, PrepTimeFindUniqueArgs<ExtArgs>>): Prisma.Prisma__PrepTimeClient<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
688
|
+
/**
|
|
689
|
+
* Find one PrepTime that matches the filter or throw an error with `error.code='P2025'`
|
|
690
|
+
* if no matches were found.
|
|
691
|
+
* @param {PrepTimeFindUniqueOrThrowArgs} args - Arguments to find a PrepTime
|
|
692
|
+
* @example
|
|
693
|
+
* // Get one PrepTime
|
|
694
|
+
* const prepTime = await prisma.prepTime.findUniqueOrThrow({
|
|
695
|
+
* where: {
|
|
696
|
+
* // ... provide filter here
|
|
697
|
+
* }
|
|
698
|
+
* })
|
|
699
|
+
*/
|
|
700
|
+
findUniqueOrThrow<T extends PrepTimeFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, PrepTimeFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__PrepTimeClient<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
701
|
+
/**
|
|
702
|
+
* Find the first PrepTime that matches the filter.
|
|
703
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
704
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
705
|
+
* @param {PrepTimeFindFirstArgs} args - Arguments to find a PrepTime
|
|
706
|
+
* @example
|
|
707
|
+
* // Get one PrepTime
|
|
708
|
+
* const prepTime = await prisma.prepTime.findFirst({
|
|
709
|
+
* where: {
|
|
710
|
+
* // ... provide filter here
|
|
711
|
+
* }
|
|
712
|
+
* })
|
|
713
|
+
*/
|
|
714
|
+
findFirst<T extends PrepTimeFindFirstArgs>(args?: Prisma.SelectSubset<T, PrepTimeFindFirstArgs<ExtArgs>>): Prisma.Prisma__PrepTimeClient<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
715
|
+
/**
|
|
716
|
+
* Find the first PrepTime that matches the filter or
|
|
717
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
718
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
719
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
720
|
+
* @param {PrepTimeFindFirstOrThrowArgs} args - Arguments to find a PrepTime
|
|
721
|
+
* @example
|
|
722
|
+
* // Get one PrepTime
|
|
723
|
+
* const prepTime = await prisma.prepTime.findFirstOrThrow({
|
|
724
|
+
* where: {
|
|
725
|
+
* // ... provide filter here
|
|
726
|
+
* }
|
|
727
|
+
* })
|
|
728
|
+
*/
|
|
729
|
+
findFirstOrThrow<T extends PrepTimeFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, PrepTimeFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__PrepTimeClient<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
730
|
+
/**
|
|
731
|
+
* Find zero or more PrepTimes that matches the filter.
|
|
732
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
733
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
734
|
+
* @param {PrepTimeFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
735
|
+
* @example
|
|
736
|
+
* // Get all PrepTimes
|
|
737
|
+
* const prepTimes = await prisma.prepTime.findMany()
|
|
738
|
+
*
|
|
739
|
+
* // Get first 10 PrepTimes
|
|
740
|
+
* const prepTimes = await prisma.prepTime.findMany({ take: 10 })
|
|
741
|
+
*
|
|
742
|
+
* // Only select the `id`
|
|
743
|
+
* const prepTimeWithIdOnly = await prisma.prepTime.findMany({ select: { id: true } })
|
|
744
|
+
*
|
|
745
|
+
*/
|
|
746
|
+
findMany<T extends PrepTimeFindManyArgs>(args?: Prisma.SelectSubset<T, PrepTimeFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
747
|
+
/**
|
|
748
|
+
* Create a PrepTime.
|
|
749
|
+
* @param {PrepTimeCreateArgs} args - Arguments to create a PrepTime.
|
|
750
|
+
* @example
|
|
751
|
+
* // Create one PrepTime
|
|
752
|
+
* const PrepTime = await prisma.prepTime.create({
|
|
753
|
+
* data: {
|
|
754
|
+
* // ... data to create a PrepTime
|
|
755
|
+
* }
|
|
756
|
+
* })
|
|
757
|
+
*
|
|
758
|
+
*/
|
|
759
|
+
create<T extends PrepTimeCreateArgs>(args: Prisma.SelectSubset<T, PrepTimeCreateArgs<ExtArgs>>): Prisma.Prisma__PrepTimeClient<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
760
|
+
/**
|
|
761
|
+
* Create many PrepTimes.
|
|
762
|
+
* @param {PrepTimeCreateManyArgs} args - Arguments to create many PrepTimes.
|
|
763
|
+
* @example
|
|
764
|
+
* // Create many PrepTimes
|
|
765
|
+
* const prepTime = await prisma.prepTime.createMany({
|
|
766
|
+
* data: [
|
|
767
|
+
* // ... provide data here
|
|
768
|
+
* ]
|
|
769
|
+
* })
|
|
770
|
+
*
|
|
771
|
+
*/
|
|
772
|
+
createMany<T extends PrepTimeCreateManyArgs>(args?: Prisma.SelectSubset<T, PrepTimeCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
773
|
+
/**
|
|
774
|
+
* Create many PrepTimes and returns the data saved in the database.
|
|
775
|
+
* @param {PrepTimeCreateManyAndReturnArgs} args - Arguments to create many PrepTimes.
|
|
776
|
+
* @example
|
|
777
|
+
* // Create many PrepTimes
|
|
778
|
+
* const prepTime = await prisma.prepTime.createManyAndReturn({
|
|
779
|
+
* data: [
|
|
780
|
+
* // ... provide data here
|
|
781
|
+
* ]
|
|
782
|
+
* })
|
|
783
|
+
*
|
|
784
|
+
* // Create many PrepTimes and only return the `id`
|
|
785
|
+
* const prepTimeWithIdOnly = await prisma.prepTime.createManyAndReturn({
|
|
786
|
+
* select: { id: true },
|
|
787
|
+
* data: [
|
|
788
|
+
* // ... provide data here
|
|
789
|
+
* ]
|
|
790
|
+
* })
|
|
791
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
792
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
793
|
+
*
|
|
794
|
+
*/
|
|
795
|
+
createManyAndReturn<T extends PrepTimeCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, PrepTimeCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
796
|
+
/**
|
|
797
|
+
* Delete a PrepTime.
|
|
798
|
+
* @param {PrepTimeDeleteArgs} args - Arguments to delete one PrepTime.
|
|
799
|
+
* @example
|
|
800
|
+
* // Delete one PrepTime
|
|
801
|
+
* const PrepTime = await prisma.prepTime.delete({
|
|
802
|
+
* where: {
|
|
803
|
+
* // ... filter to delete one PrepTime
|
|
804
|
+
* }
|
|
805
|
+
* })
|
|
806
|
+
*
|
|
807
|
+
*/
|
|
808
|
+
delete<T extends PrepTimeDeleteArgs>(args: Prisma.SelectSubset<T, PrepTimeDeleteArgs<ExtArgs>>): Prisma.Prisma__PrepTimeClient<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
809
|
+
/**
|
|
810
|
+
* Update one PrepTime.
|
|
811
|
+
* @param {PrepTimeUpdateArgs} args - Arguments to update one PrepTime.
|
|
812
|
+
* @example
|
|
813
|
+
* // Update one PrepTime
|
|
814
|
+
* const prepTime = await prisma.prepTime.update({
|
|
815
|
+
* where: {
|
|
816
|
+
* // ... provide filter here
|
|
817
|
+
* },
|
|
818
|
+
* data: {
|
|
819
|
+
* // ... provide data here
|
|
820
|
+
* }
|
|
821
|
+
* })
|
|
822
|
+
*
|
|
823
|
+
*/
|
|
824
|
+
update<T extends PrepTimeUpdateArgs>(args: Prisma.SelectSubset<T, PrepTimeUpdateArgs<ExtArgs>>): Prisma.Prisma__PrepTimeClient<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
825
|
+
/**
|
|
826
|
+
* Delete zero or more PrepTimes.
|
|
827
|
+
* @param {PrepTimeDeleteManyArgs} args - Arguments to filter PrepTimes to delete.
|
|
828
|
+
* @example
|
|
829
|
+
* // Delete a few PrepTimes
|
|
830
|
+
* const { count } = await prisma.prepTime.deleteMany({
|
|
831
|
+
* where: {
|
|
832
|
+
* // ... provide filter here
|
|
833
|
+
* }
|
|
834
|
+
* })
|
|
835
|
+
*
|
|
836
|
+
*/
|
|
837
|
+
deleteMany<T extends PrepTimeDeleteManyArgs>(args?: Prisma.SelectSubset<T, PrepTimeDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
838
|
+
/**
|
|
839
|
+
* Update zero or more PrepTimes.
|
|
840
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
841
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
842
|
+
* @param {PrepTimeUpdateManyArgs} args - Arguments to update one or more rows.
|
|
843
|
+
* @example
|
|
844
|
+
* // Update many PrepTimes
|
|
845
|
+
* const prepTime = await prisma.prepTime.updateMany({
|
|
846
|
+
* where: {
|
|
847
|
+
* // ... provide filter here
|
|
848
|
+
* },
|
|
849
|
+
* data: {
|
|
850
|
+
* // ... provide data here
|
|
851
|
+
* }
|
|
852
|
+
* })
|
|
853
|
+
*
|
|
854
|
+
*/
|
|
855
|
+
updateMany<T extends PrepTimeUpdateManyArgs>(args: Prisma.SelectSubset<T, PrepTimeUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
856
|
+
/**
|
|
857
|
+
* Update zero or more PrepTimes and returns the data updated in the database.
|
|
858
|
+
* @param {PrepTimeUpdateManyAndReturnArgs} args - Arguments to update many PrepTimes.
|
|
859
|
+
* @example
|
|
860
|
+
* // Update many PrepTimes
|
|
861
|
+
* const prepTime = await prisma.prepTime.updateManyAndReturn({
|
|
862
|
+
* where: {
|
|
863
|
+
* // ... provide filter here
|
|
864
|
+
* },
|
|
865
|
+
* data: [
|
|
866
|
+
* // ... provide data here
|
|
867
|
+
* ]
|
|
868
|
+
* })
|
|
869
|
+
*
|
|
870
|
+
* // Update zero or more PrepTimes and only return the `id`
|
|
871
|
+
* const prepTimeWithIdOnly = await prisma.prepTime.updateManyAndReturn({
|
|
872
|
+
* select: { id: true },
|
|
873
|
+
* where: {
|
|
874
|
+
* // ... provide filter here
|
|
875
|
+
* },
|
|
876
|
+
* data: [
|
|
877
|
+
* // ... provide data here
|
|
878
|
+
* ]
|
|
879
|
+
* })
|
|
880
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
881
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
882
|
+
*
|
|
883
|
+
*/
|
|
884
|
+
updateManyAndReturn<T extends PrepTimeUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, PrepTimeUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
885
|
+
/**
|
|
886
|
+
* Create or update one PrepTime.
|
|
887
|
+
* @param {PrepTimeUpsertArgs} args - Arguments to update or create a PrepTime.
|
|
888
|
+
* @example
|
|
889
|
+
* // Update or create a PrepTime
|
|
890
|
+
* const prepTime = await prisma.prepTime.upsert({
|
|
891
|
+
* create: {
|
|
892
|
+
* // ... data to create a PrepTime
|
|
893
|
+
* },
|
|
894
|
+
* update: {
|
|
895
|
+
* // ... in case it already exists, update
|
|
896
|
+
* },
|
|
897
|
+
* where: {
|
|
898
|
+
* // ... the filter for the PrepTime we want to update
|
|
899
|
+
* }
|
|
900
|
+
* })
|
|
901
|
+
*/
|
|
902
|
+
upsert<T extends PrepTimeUpsertArgs>(args: Prisma.SelectSubset<T, PrepTimeUpsertArgs<ExtArgs>>): Prisma.Prisma__PrepTimeClient<runtime.Types.Result.GetResult<Prisma.$PrepTimePayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
903
|
+
/**
|
|
904
|
+
* Count the number of PrepTimes.
|
|
905
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
906
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
907
|
+
* @param {PrepTimeCountArgs} args - Arguments to filter PrepTimes to count.
|
|
908
|
+
* @example
|
|
909
|
+
* // Count the number of PrepTimes
|
|
910
|
+
* const count = await prisma.prepTime.count({
|
|
911
|
+
* where: {
|
|
912
|
+
* // ... the filter for the PrepTimes we want to count
|
|
913
|
+
* }
|
|
914
|
+
* })
|
|
915
|
+
**/
|
|
916
|
+
count<T extends PrepTimeCountArgs>(args?: Prisma.Subset<T, PrepTimeCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], PrepTimeCountAggregateOutputType> : number>;
|
|
917
|
+
/**
|
|
918
|
+
* Allows you to perform aggregations operations on a PrepTime.
|
|
919
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
920
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
921
|
+
* @param {PrepTimeAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
922
|
+
* @example
|
|
923
|
+
* // Ordered by age ascending
|
|
924
|
+
* // Where email contains prisma.io
|
|
925
|
+
* // Limited to the 10 users
|
|
926
|
+
* const aggregations = await prisma.user.aggregate({
|
|
927
|
+
* _avg: {
|
|
928
|
+
* age: true,
|
|
929
|
+
* },
|
|
930
|
+
* where: {
|
|
931
|
+
* email: {
|
|
932
|
+
* contains: "prisma.io",
|
|
933
|
+
* },
|
|
934
|
+
* },
|
|
935
|
+
* orderBy: {
|
|
936
|
+
* age: "asc",
|
|
937
|
+
* },
|
|
938
|
+
* take: 10,
|
|
939
|
+
* })
|
|
940
|
+
**/
|
|
941
|
+
aggregate<T extends PrepTimeAggregateArgs>(args: Prisma.Subset<T, PrepTimeAggregateArgs>): Prisma.PrismaPromise<GetPrepTimeAggregateType<T>>;
|
|
942
|
+
/**
|
|
943
|
+
* Group by PrepTime.
|
|
944
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
945
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
946
|
+
* @param {PrepTimeGroupByArgs} args - Group by arguments.
|
|
947
|
+
* @example
|
|
948
|
+
* // Group by city, order by createdAt, get count
|
|
949
|
+
* const result = await prisma.user.groupBy({
|
|
950
|
+
* by: ['city', 'createdAt'],
|
|
951
|
+
* orderBy: {
|
|
952
|
+
* createdAt: true
|
|
953
|
+
* },
|
|
954
|
+
* _count: {
|
|
955
|
+
* _all: true
|
|
956
|
+
* },
|
|
957
|
+
* })
|
|
958
|
+
*
|
|
959
|
+
**/
|
|
960
|
+
groupBy<T extends PrepTimeGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
961
|
+
orderBy: PrepTimeGroupByArgs['orderBy'];
|
|
962
|
+
} : {
|
|
963
|
+
orderBy?: PrepTimeGroupByArgs['orderBy'];
|
|
964
|
+
}, 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 ? {
|
|
965
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
966
|
+
Error,
|
|
967
|
+
'Field ',
|
|
968
|
+
P,
|
|
969
|
+
` in "having" needs to be provided in "by"`
|
|
970
|
+
];
|
|
971
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
972
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
973
|
+
}[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 ? {} : {
|
|
974
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
975
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
976
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
977
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, PrepTimeGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetPrepTimeGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
978
|
+
/**
|
|
979
|
+
* Fields of the PrepTime model
|
|
980
|
+
*/
|
|
981
|
+
readonly fields: PrepTimeFieldRefs;
|
|
982
|
+
}
|
|
983
|
+
/**
|
|
984
|
+
* The delegate class that acts as a "Promise-like" for PrepTime.
|
|
985
|
+
* Why is this prefixed with `Prisma__`?
|
|
986
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
987
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
988
|
+
*/
|
|
989
|
+
export interface Prisma__PrepTimeClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
990
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
991
|
+
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>;
|
|
992
|
+
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>;
|
|
993
|
+
/**
|
|
994
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
995
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
996
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
997
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
998
|
+
*/
|
|
999
|
+
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>;
|
|
1000
|
+
/**
|
|
1001
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1002
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1003
|
+
* @returns A Promise for the completion of the callback.
|
|
1004
|
+
*/
|
|
1005
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1006
|
+
/**
|
|
1007
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1008
|
+
* resolved value cannot be modified from the callback.
|
|
1009
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1010
|
+
* @returns A Promise for the completion of the callback.
|
|
1011
|
+
*/
|
|
1012
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1013
|
+
}
|
|
1014
|
+
/**
|
|
1015
|
+
* Fields of the PrepTime model
|
|
1016
|
+
*/
|
|
1017
|
+
export interface PrepTimeFieldRefs {
|
|
1018
|
+
readonly id: Prisma.FieldRef<"PrepTime", 'BigInt'>;
|
|
1019
|
+
readonly createdAt: Prisma.FieldRef<"PrepTime", 'DateTime'>;
|
|
1020
|
+
readonly updatedAt: Prisma.FieldRef<"PrepTime", 'DateTime'>;
|
|
1021
|
+
readonly storeId: Prisma.FieldRef<"PrepTime", 'String'>;
|
|
1022
|
+
readonly platformId: Prisma.FieldRef<"PrepTime", 'String'>;
|
|
1023
|
+
readonly orderSubtotal: Prisma.FieldRef<"PrepTime", 'Decimal'>;
|
|
1024
|
+
readonly prepTimeInMinutes: Prisma.FieldRef<"PrepTime", 'Int'>;
|
|
1025
|
+
}
|
|
1026
|
+
/**
|
|
1027
|
+
* PrepTime findUnique
|
|
1028
|
+
*/
|
|
1029
|
+
export type PrepTimeFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1030
|
+
/**
|
|
1031
|
+
* Select specific fields to fetch from the PrepTime
|
|
1032
|
+
*/
|
|
1033
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1034
|
+
/**
|
|
1035
|
+
* Omit specific fields from the PrepTime
|
|
1036
|
+
*/
|
|
1037
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1038
|
+
/**
|
|
1039
|
+
* Choose, which related nodes to fetch as well
|
|
1040
|
+
*/
|
|
1041
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1042
|
+
/**
|
|
1043
|
+
* Filter, which PrepTime to fetch.
|
|
1044
|
+
*/
|
|
1045
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
1046
|
+
};
|
|
1047
|
+
/**
|
|
1048
|
+
* PrepTime findUniqueOrThrow
|
|
1049
|
+
*/
|
|
1050
|
+
export type PrepTimeFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1051
|
+
/**
|
|
1052
|
+
* Select specific fields to fetch from the PrepTime
|
|
1053
|
+
*/
|
|
1054
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1055
|
+
/**
|
|
1056
|
+
* Omit specific fields from the PrepTime
|
|
1057
|
+
*/
|
|
1058
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1059
|
+
/**
|
|
1060
|
+
* Choose, which related nodes to fetch as well
|
|
1061
|
+
*/
|
|
1062
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1063
|
+
/**
|
|
1064
|
+
* Filter, which PrepTime to fetch.
|
|
1065
|
+
*/
|
|
1066
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
1067
|
+
};
|
|
1068
|
+
/**
|
|
1069
|
+
* PrepTime findFirst
|
|
1070
|
+
*/
|
|
1071
|
+
export type PrepTimeFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1072
|
+
/**
|
|
1073
|
+
* Select specific fields to fetch from the PrepTime
|
|
1074
|
+
*/
|
|
1075
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1076
|
+
/**
|
|
1077
|
+
* Omit specific fields from the PrepTime
|
|
1078
|
+
*/
|
|
1079
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1080
|
+
/**
|
|
1081
|
+
* Choose, which related nodes to fetch as well
|
|
1082
|
+
*/
|
|
1083
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1084
|
+
/**
|
|
1085
|
+
* Filter, which PrepTime to fetch.
|
|
1086
|
+
*/
|
|
1087
|
+
where?: Prisma.PrepTimeWhereInput;
|
|
1088
|
+
/**
|
|
1089
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1090
|
+
*
|
|
1091
|
+
* Determine the order of PrepTimes to fetch.
|
|
1092
|
+
*/
|
|
1093
|
+
orderBy?: Prisma.PrepTimeOrderByWithRelationInput | Prisma.PrepTimeOrderByWithRelationInput[];
|
|
1094
|
+
/**
|
|
1095
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1096
|
+
*
|
|
1097
|
+
* Sets the position for searching for PrepTimes.
|
|
1098
|
+
*/
|
|
1099
|
+
cursor?: Prisma.PrepTimeWhereUniqueInput;
|
|
1100
|
+
/**
|
|
1101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1102
|
+
*
|
|
1103
|
+
* Take `±n` PrepTimes from the position of the cursor.
|
|
1104
|
+
*/
|
|
1105
|
+
take?: number;
|
|
1106
|
+
/**
|
|
1107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1108
|
+
*
|
|
1109
|
+
* Skip the first `n` PrepTimes.
|
|
1110
|
+
*/
|
|
1111
|
+
skip?: number;
|
|
1112
|
+
/**
|
|
1113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1114
|
+
*
|
|
1115
|
+
* Filter by unique combinations of PrepTimes.
|
|
1116
|
+
*/
|
|
1117
|
+
distinct?: Prisma.PrepTimeScalarFieldEnum | Prisma.PrepTimeScalarFieldEnum[];
|
|
1118
|
+
};
|
|
1119
|
+
/**
|
|
1120
|
+
* PrepTime findFirstOrThrow
|
|
1121
|
+
*/
|
|
1122
|
+
export type PrepTimeFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1123
|
+
/**
|
|
1124
|
+
* Select specific fields to fetch from the PrepTime
|
|
1125
|
+
*/
|
|
1126
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1127
|
+
/**
|
|
1128
|
+
* Omit specific fields from the PrepTime
|
|
1129
|
+
*/
|
|
1130
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1131
|
+
/**
|
|
1132
|
+
* Choose, which related nodes to fetch as well
|
|
1133
|
+
*/
|
|
1134
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1135
|
+
/**
|
|
1136
|
+
* Filter, which PrepTime to fetch.
|
|
1137
|
+
*/
|
|
1138
|
+
where?: Prisma.PrepTimeWhereInput;
|
|
1139
|
+
/**
|
|
1140
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1141
|
+
*
|
|
1142
|
+
* Determine the order of PrepTimes to fetch.
|
|
1143
|
+
*/
|
|
1144
|
+
orderBy?: Prisma.PrepTimeOrderByWithRelationInput | Prisma.PrepTimeOrderByWithRelationInput[];
|
|
1145
|
+
/**
|
|
1146
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1147
|
+
*
|
|
1148
|
+
* Sets the position for searching for PrepTimes.
|
|
1149
|
+
*/
|
|
1150
|
+
cursor?: Prisma.PrepTimeWhereUniqueInput;
|
|
1151
|
+
/**
|
|
1152
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1153
|
+
*
|
|
1154
|
+
* Take `±n` PrepTimes from the position of the cursor.
|
|
1155
|
+
*/
|
|
1156
|
+
take?: number;
|
|
1157
|
+
/**
|
|
1158
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1159
|
+
*
|
|
1160
|
+
* Skip the first `n` PrepTimes.
|
|
1161
|
+
*/
|
|
1162
|
+
skip?: number;
|
|
1163
|
+
/**
|
|
1164
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1165
|
+
*
|
|
1166
|
+
* Filter by unique combinations of PrepTimes.
|
|
1167
|
+
*/
|
|
1168
|
+
distinct?: Prisma.PrepTimeScalarFieldEnum | Prisma.PrepTimeScalarFieldEnum[];
|
|
1169
|
+
};
|
|
1170
|
+
/**
|
|
1171
|
+
* PrepTime findMany
|
|
1172
|
+
*/
|
|
1173
|
+
export type PrepTimeFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1174
|
+
/**
|
|
1175
|
+
* Select specific fields to fetch from the PrepTime
|
|
1176
|
+
*/
|
|
1177
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1178
|
+
/**
|
|
1179
|
+
* Omit specific fields from the PrepTime
|
|
1180
|
+
*/
|
|
1181
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1182
|
+
/**
|
|
1183
|
+
* Choose, which related nodes to fetch as well
|
|
1184
|
+
*/
|
|
1185
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1186
|
+
/**
|
|
1187
|
+
* Filter, which PrepTimes to fetch.
|
|
1188
|
+
*/
|
|
1189
|
+
where?: Prisma.PrepTimeWhereInput;
|
|
1190
|
+
/**
|
|
1191
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1192
|
+
*
|
|
1193
|
+
* Determine the order of PrepTimes to fetch.
|
|
1194
|
+
*/
|
|
1195
|
+
orderBy?: Prisma.PrepTimeOrderByWithRelationInput | Prisma.PrepTimeOrderByWithRelationInput[];
|
|
1196
|
+
/**
|
|
1197
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1198
|
+
*
|
|
1199
|
+
* Sets the position for listing PrepTimes.
|
|
1200
|
+
*/
|
|
1201
|
+
cursor?: Prisma.PrepTimeWhereUniqueInput;
|
|
1202
|
+
/**
|
|
1203
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1204
|
+
*
|
|
1205
|
+
* Take `±n` PrepTimes from the position of the cursor.
|
|
1206
|
+
*/
|
|
1207
|
+
take?: number;
|
|
1208
|
+
/**
|
|
1209
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1210
|
+
*
|
|
1211
|
+
* Skip the first `n` PrepTimes.
|
|
1212
|
+
*/
|
|
1213
|
+
skip?: number;
|
|
1214
|
+
distinct?: Prisma.PrepTimeScalarFieldEnum | Prisma.PrepTimeScalarFieldEnum[];
|
|
1215
|
+
};
|
|
1216
|
+
/**
|
|
1217
|
+
* PrepTime create
|
|
1218
|
+
*/
|
|
1219
|
+
export type PrepTimeCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1220
|
+
/**
|
|
1221
|
+
* Select specific fields to fetch from the PrepTime
|
|
1222
|
+
*/
|
|
1223
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1224
|
+
/**
|
|
1225
|
+
* Omit specific fields from the PrepTime
|
|
1226
|
+
*/
|
|
1227
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1228
|
+
/**
|
|
1229
|
+
* Choose, which related nodes to fetch as well
|
|
1230
|
+
*/
|
|
1231
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1232
|
+
/**
|
|
1233
|
+
* The data needed to create a PrepTime.
|
|
1234
|
+
*/
|
|
1235
|
+
data: Prisma.XOR<Prisma.PrepTimeCreateInput, Prisma.PrepTimeUncheckedCreateInput>;
|
|
1236
|
+
};
|
|
1237
|
+
/**
|
|
1238
|
+
* PrepTime createMany
|
|
1239
|
+
*/
|
|
1240
|
+
export type PrepTimeCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1241
|
+
/**
|
|
1242
|
+
* The data used to create many PrepTimes.
|
|
1243
|
+
*/
|
|
1244
|
+
data: Prisma.PrepTimeCreateManyInput | Prisma.PrepTimeCreateManyInput[];
|
|
1245
|
+
skipDuplicates?: boolean;
|
|
1246
|
+
};
|
|
1247
|
+
/**
|
|
1248
|
+
* PrepTime createManyAndReturn
|
|
1249
|
+
*/
|
|
1250
|
+
export type PrepTimeCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1251
|
+
/**
|
|
1252
|
+
* Select specific fields to fetch from the PrepTime
|
|
1253
|
+
*/
|
|
1254
|
+
select?: Prisma.PrepTimeSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1255
|
+
/**
|
|
1256
|
+
* Omit specific fields from the PrepTime
|
|
1257
|
+
*/
|
|
1258
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1259
|
+
/**
|
|
1260
|
+
* The data used to create many PrepTimes.
|
|
1261
|
+
*/
|
|
1262
|
+
data: Prisma.PrepTimeCreateManyInput | Prisma.PrepTimeCreateManyInput[];
|
|
1263
|
+
skipDuplicates?: boolean;
|
|
1264
|
+
/**
|
|
1265
|
+
* Choose, which related nodes to fetch as well
|
|
1266
|
+
*/
|
|
1267
|
+
include?: Prisma.PrepTimeIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1268
|
+
};
|
|
1269
|
+
/**
|
|
1270
|
+
* PrepTime update
|
|
1271
|
+
*/
|
|
1272
|
+
export type PrepTimeUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1273
|
+
/**
|
|
1274
|
+
* Select specific fields to fetch from the PrepTime
|
|
1275
|
+
*/
|
|
1276
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1277
|
+
/**
|
|
1278
|
+
* Omit specific fields from the PrepTime
|
|
1279
|
+
*/
|
|
1280
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1281
|
+
/**
|
|
1282
|
+
* Choose, which related nodes to fetch as well
|
|
1283
|
+
*/
|
|
1284
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1285
|
+
/**
|
|
1286
|
+
* The data needed to update a PrepTime.
|
|
1287
|
+
*/
|
|
1288
|
+
data: Prisma.XOR<Prisma.PrepTimeUpdateInput, Prisma.PrepTimeUncheckedUpdateInput>;
|
|
1289
|
+
/**
|
|
1290
|
+
* Choose, which PrepTime to update.
|
|
1291
|
+
*/
|
|
1292
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
1293
|
+
};
|
|
1294
|
+
/**
|
|
1295
|
+
* PrepTime updateMany
|
|
1296
|
+
*/
|
|
1297
|
+
export type PrepTimeUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1298
|
+
/**
|
|
1299
|
+
* The data used to update PrepTimes.
|
|
1300
|
+
*/
|
|
1301
|
+
data: Prisma.XOR<Prisma.PrepTimeUpdateManyMutationInput, Prisma.PrepTimeUncheckedUpdateManyInput>;
|
|
1302
|
+
/**
|
|
1303
|
+
* Filter which PrepTimes to update
|
|
1304
|
+
*/
|
|
1305
|
+
where?: Prisma.PrepTimeWhereInput;
|
|
1306
|
+
/**
|
|
1307
|
+
* Limit how many PrepTimes to update.
|
|
1308
|
+
*/
|
|
1309
|
+
limit?: number;
|
|
1310
|
+
};
|
|
1311
|
+
/**
|
|
1312
|
+
* PrepTime updateManyAndReturn
|
|
1313
|
+
*/
|
|
1314
|
+
export type PrepTimeUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1315
|
+
/**
|
|
1316
|
+
* Select specific fields to fetch from the PrepTime
|
|
1317
|
+
*/
|
|
1318
|
+
select?: Prisma.PrepTimeSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1319
|
+
/**
|
|
1320
|
+
* Omit specific fields from the PrepTime
|
|
1321
|
+
*/
|
|
1322
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1323
|
+
/**
|
|
1324
|
+
* The data used to update PrepTimes.
|
|
1325
|
+
*/
|
|
1326
|
+
data: Prisma.XOR<Prisma.PrepTimeUpdateManyMutationInput, Prisma.PrepTimeUncheckedUpdateManyInput>;
|
|
1327
|
+
/**
|
|
1328
|
+
* Filter which PrepTimes to update
|
|
1329
|
+
*/
|
|
1330
|
+
where?: Prisma.PrepTimeWhereInput;
|
|
1331
|
+
/**
|
|
1332
|
+
* Limit how many PrepTimes to update.
|
|
1333
|
+
*/
|
|
1334
|
+
limit?: number;
|
|
1335
|
+
/**
|
|
1336
|
+
* Choose, which related nodes to fetch as well
|
|
1337
|
+
*/
|
|
1338
|
+
include?: Prisma.PrepTimeIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1339
|
+
};
|
|
1340
|
+
/**
|
|
1341
|
+
* PrepTime upsert
|
|
1342
|
+
*/
|
|
1343
|
+
export type PrepTimeUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1344
|
+
/**
|
|
1345
|
+
* Select specific fields to fetch from the PrepTime
|
|
1346
|
+
*/
|
|
1347
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1348
|
+
/**
|
|
1349
|
+
* Omit specific fields from the PrepTime
|
|
1350
|
+
*/
|
|
1351
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1352
|
+
/**
|
|
1353
|
+
* Choose, which related nodes to fetch as well
|
|
1354
|
+
*/
|
|
1355
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1356
|
+
/**
|
|
1357
|
+
* The filter to search for the PrepTime to update in case it exists.
|
|
1358
|
+
*/
|
|
1359
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
1360
|
+
/**
|
|
1361
|
+
* In case the PrepTime found by the `where` argument doesn't exist, create a new PrepTime with this data.
|
|
1362
|
+
*/
|
|
1363
|
+
create: Prisma.XOR<Prisma.PrepTimeCreateInput, Prisma.PrepTimeUncheckedCreateInput>;
|
|
1364
|
+
/**
|
|
1365
|
+
* In case the PrepTime was found with the provided `where` argument, update it with this data.
|
|
1366
|
+
*/
|
|
1367
|
+
update: Prisma.XOR<Prisma.PrepTimeUpdateInput, Prisma.PrepTimeUncheckedUpdateInput>;
|
|
1368
|
+
};
|
|
1369
|
+
/**
|
|
1370
|
+
* PrepTime delete
|
|
1371
|
+
*/
|
|
1372
|
+
export type PrepTimeDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1373
|
+
/**
|
|
1374
|
+
* Select specific fields to fetch from the PrepTime
|
|
1375
|
+
*/
|
|
1376
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1377
|
+
/**
|
|
1378
|
+
* Omit specific fields from the PrepTime
|
|
1379
|
+
*/
|
|
1380
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1381
|
+
/**
|
|
1382
|
+
* Choose, which related nodes to fetch as well
|
|
1383
|
+
*/
|
|
1384
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1385
|
+
/**
|
|
1386
|
+
* Filter which PrepTime to delete.
|
|
1387
|
+
*/
|
|
1388
|
+
where: Prisma.PrepTimeWhereUniqueInput;
|
|
1389
|
+
};
|
|
1390
|
+
/**
|
|
1391
|
+
* PrepTime deleteMany
|
|
1392
|
+
*/
|
|
1393
|
+
export type PrepTimeDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1394
|
+
/**
|
|
1395
|
+
* Filter which PrepTimes to delete
|
|
1396
|
+
*/
|
|
1397
|
+
where?: Prisma.PrepTimeWhereInput;
|
|
1398
|
+
/**
|
|
1399
|
+
* Limit how many PrepTimes to delete.
|
|
1400
|
+
*/
|
|
1401
|
+
limit?: number;
|
|
1402
|
+
};
|
|
1403
|
+
/**
|
|
1404
|
+
* PrepTime without action
|
|
1405
|
+
*/
|
|
1406
|
+
export type PrepTimeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1407
|
+
/**
|
|
1408
|
+
* Select specific fields to fetch from the PrepTime
|
|
1409
|
+
*/
|
|
1410
|
+
select?: Prisma.PrepTimeSelect<ExtArgs> | null;
|
|
1411
|
+
/**
|
|
1412
|
+
* Omit specific fields from the PrepTime
|
|
1413
|
+
*/
|
|
1414
|
+
omit?: Prisma.PrepTimeOmit<ExtArgs> | null;
|
|
1415
|
+
/**
|
|
1416
|
+
* Choose, which related nodes to fetch as well
|
|
1417
|
+
*/
|
|
1418
|
+
include?: Prisma.PrepTimeInclude<ExtArgs> | null;
|
|
1419
|
+
};
|
|
1420
|
+
export {};
|