@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,1838 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model ModifierOption
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type ModifierOptionModel = runtime.Types.Result.DefaultSelection<Prisma.$ModifierOptionPayload>;
|
|
8
|
+
export type AggregateModifierOption = {
|
|
9
|
+
_count: ModifierOptionCountAggregateOutputType | null;
|
|
10
|
+
_avg: ModifierOptionAvgAggregateOutputType | null;
|
|
11
|
+
_sum: ModifierOptionSumAggregateOutputType | null;
|
|
12
|
+
_min: ModifierOptionMinAggregateOutputType | null;
|
|
13
|
+
_max: ModifierOptionMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type ModifierOptionAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
modifierId: number | null;
|
|
18
|
+
price: runtime.Decimal | null;
|
|
19
|
+
productVariantId: number | null;
|
|
20
|
+
};
|
|
21
|
+
export type ModifierOptionSumAggregateOutputType = {
|
|
22
|
+
id: bigint | null;
|
|
23
|
+
modifierId: bigint | null;
|
|
24
|
+
price: runtime.Decimal | null;
|
|
25
|
+
productVariantId: bigint | null;
|
|
26
|
+
};
|
|
27
|
+
export type ModifierOptionMinAggregateOutputType = {
|
|
28
|
+
id: bigint | null;
|
|
29
|
+
modifierId: bigint | null;
|
|
30
|
+
name: string | null;
|
|
31
|
+
price: runtime.Decimal | null;
|
|
32
|
+
description: string | null;
|
|
33
|
+
createdAt: Date | null;
|
|
34
|
+
updatedAt: Date | null;
|
|
35
|
+
deletedAt: Date | null;
|
|
36
|
+
productVariantId: bigint | null;
|
|
37
|
+
};
|
|
38
|
+
export type ModifierOptionMaxAggregateOutputType = {
|
|
39
|
+
id: bigint | null;
|
|
40
|
+
modifierId: bigint | null;
|
|
41
|
+
name: string | null;
|
|
42
|
+
price: runtime.Decimal | null;
|
|
43
|
+
description: string | null;
|
|
44
|
+
createdAt: Date | null;
|
|
45
|
+
updatedAt: Date | null;
|
|
46
|
+
deletedAt: Date | null;
|
|
47
|
+
productVariantId: bigint | null;
|
|
48
|
+
};
|
|
49
|
+
export type ModifierOptionCountAggregateOutputType = {
|
|
50
|
+
id: number;
|
|
51
|
+
modifierId: number;
|
|
52
|
+
name: number;
|
|
53
|
+
price: number;
|
|
54
|
+
description: number;
|
|
55
|
+
attributes: number;
|
|
56
|
+
createdAt: number;
|
|
57
|
+
updatedAt: number;
|
|
58
|
+
deletedAt: number;
|
|
59
|
+
productVariantId: number;
|
|
60
|
+
_all: number;
|
|
61
|
+
};
|
|
62
|
+
export type ModifierOptionAvgAggregateInputType = {
|
|
63
|
+
id?: true;
|
|
64
|
+
modifierId?: true;
|
|
65
|
+
price?: true;
|
|
66
|
+
productVariantId?: true;
|
|
67
|
+
};
|
|
68
|
+
export type ModifierOptionSumAggregateInputType = {
|
|
69
|
+
id?: true;
|
|
70
|
+
modifierId?: true;
|
|
71
|
+
price?: true;
|
|
72
|
+
productVariantId?: true;
|
|
73
|
+
};
|
|
74
|
+
export type ModifierOptionMinAggregateInputType = {
|
|
75
|
+
id?: true;
|
|
76
|
+
modifierId?: true;
|
|
77
|
+
name?: true;
|
|
78
|
+
price?: true;
|
|
79
|
+
description?: true;
|
|
80
|
+
createdAt?: true;
|
|
81
|
+
updatedAt?: true;
|
|
82
|
+
deletedAt?: true;
|
|
83
|
+
productVariantId?: true;
|
|
84
|
+
};
|
|
85
|
+
export type ModifierOptionMaxAggregateInputType = {
|
|
86
|
+
id?: true;
|
|
87
|
+
modifierId?: true;
|
|
88
|
+
name?: true;
|
|
89
|
+
price?: true;
|
|
90
|
+
description?: true;
|
|
91
|
+
createdAt?: true;
|
|
92
|
+
updatedAt?: true;
|
|
93
|
+
deletedAt?: true;
|
|
94
|
+
productVariantId?: true;
|
|
95
|
+
};
|
|
96
|
+
export type ModifierOptionCountAggregateInputType = {
|
|
97
|
+
id?: true;
|
|
98
|
+
modifierId?: true;
|
|
99
|
+
name?: true;
|
|
100
|
+
price?: true;
|
|
101
|
+
description?: true;
|
|
102
|
+
attributes?: true;
|
|
103
|
+
createdAt?: true;
|
|
104
|
+
updatedAt?: true;
|
|
105
|
+
deletedAt?: true;
|
|
106
|
+
productVariantId?: true;
|
|
107
|
+
_all?: true;
|
|
108
|
+
};
|
|
109
|
+
export type ModifierOptionAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
110
|
+
/**
|
|
111
|
+
* Filter which ModifierOption to aggregate.
|
|
112
|
+
*/
|
|
113
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
114
|
+
/**
|
|
115
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
116
|
+
*
|
|
117
|
+
* Determine the order of ModifierOptions to fetch.
|
|
118
|
+
*/
|
|
119
|
+
orderBy?: Prisma.ModifierOptionOrderByWithRelationInput | Prisma.ModifierOptionOrderByWithRelationInput[];
|
|
120
|
+
/**
|
|
121
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
122
|
+
*
|
|
123
|
+
* Sets the start position
|
|
124
|
+
*/
|
|
125
|
+
cursor?: Prisma.ModifierOptionWhereUniqueInput;
|
|
126
|
+
/**
|
|
127
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
128
|
+
*
|
|
129
|
+
* Take `±n` ModifierOptions from the position of the cursor.
|
|
130
|
+
*/
|
|
131
|
+
take?: number;
|
|
132
|
+
/**
|
|
133
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
134
|
+
*
|
|
135
|
+
* Skip the first `n` ModifierOptions.
|
|
136
|
+
*/
|
|
137
|
+
skip?: number;
|
|
138
|
+
/**
|
|
139
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
140
|
+
*
|
|
141
|
+
* Count returned ModifierOptions
|
|
142
|
+
**/
|
|
143
|
+
_count?: true | ModifierOptionCountAggregateInputType;
|
|
144
|
+
/**
|
|
145
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
146
|
+
*
|
|
147
|
+
* Select which fields to average
|
|
148
|
+
**/
|
|
149
|
+
_avg?: ModifierOptionAvgAggregateInputType;
|
|
150
|
+
/**
|
|
151
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
152
|
+
*
|
|
153
|
+
* Select which fields to sum
|
|
154
|
+
**/
|
|
155
|
+
_sum?: ModifierOptionSumAggregateInputType;
|
|
156
|
+
/**
|
|
157
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
158
|
+
*
|
|
159
|
+
* Select which fields to find the minimum value
|
|
160
|
+
**/
|
|
161
|
+
_min?: ModifierOptionMinAggregateInputType;
|
|
162
|
+
/**
|
|
163
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
164
|
+
*
|
|
165
|
+
* Select which fields to find the maximum value
|
|
166
|
+
**/
|
|
167
|
+
_max?: ModifierOptionMaxAggregateInputType;
|
|
168
|
+
};
|
|
169
|
+
export type GetModifierOptionAggregateType<T extends ModifierOptionAggregateArgs> = {
|
|
170
|
+
[P in keyof T & keyof AggregateModifierOption]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateModifierOption[P]> : Prisma.GetScalarType<T[P], AggregateModifierOption[P]>;
|
|
171
|
+
};
|
|
172
|
+
export type ModifierOptionGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
173
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
174
|
+
orderBy?: Prisma.ModifierOptionOrderByWithAggregationInput | Prisma.ModifierOptionOrderByWithAggregationInput[];
|
|
175
|
+
by: Prisma.ModifierOptionScalarFieldEnum[] | Prisma.ModifierOptionScalarFieldEnum;
|
|
176
|
+
having?: Prisma.ModifierOptionScalarWhereWithAggregatesInput;
|
|
177
|
+
take?: number;
|
|
178
|
+
skip?: number;
|
|
179
|
+
_count?: ModifierOptionCountAggregateInputType | true;
|
|
180
|
+
_avg?: ModifierOptionAvgAggregateInputType;
|
|
181
|
+
_sum?: ModifierOptionSumAggregateInputType;
|
|
182
|
+
_min?: ModifierOptionMinAggregateInputType;
|
|
183
|
+
_max?: ModifierOptionMaxAggregateInputType;
|
|
184
|
+
};
|
|
185
|
+
export type ModifierOptionGroupByOutputType = {
|
|
186
|
+
id: bigint;
|
|
187
|
+
modifierId: bigint;
|
|
188
|
+
name: string;
|
|
189
|
+
price: runtime.Decimal | null;
|
|
190
|
+
description: string | null;
|
|
191
|
+
attributes: unknown | null;
|
|
192
|
+
createdAt: Date;
|
|
193
|
+
updatedAt: Date;
|
|
194
|
+
deletedAt: Date | null;
|
|
195
|
+
productVariantId: bigint | null;
|
|
196
|
+
_count: ModifierOptionCountAggregateOutputType | null;
|
|
197
|
+
_avg: ModifierOptionAvgAggregateOutputType | null;
|
|
198
|
+
_sum: ModifierOptionSumAggregateOutputType | null;
|
|
199
|
+
_min: ModifierOptionMinAggregateOutputType | null;
|
|
200
|
+
_max: ModifierOptionMaxAggregateOutputType | null;
|
|
201
|
+
};
|
|
202
|
+
type GetModifierOptionGroupByPayload<T extends ModifierOptionGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<ModifierOptionGroupByOutputType, T['by']> & {
|
|
203
|
+
[P in ((keyof T) & (keyof ModifierOptionGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], ModifierOptionGroupByOutputType[P]> : Prisma.GetScalarType<T[P], ModifierOptionGroupByOutputType[P]>;
|
|
204
|
+
}>>;
|
|
205
|
+
export type ModifierOptionWhereInput = {
|
|
206
|
+
AND?: Prisma.ModifierOptionWhereInput | Prisma.ModifierOptionWhereInput[];
|
|
207
|
+
OR?: Prisma.ModifierOptionWhereInput[];
|
|
208
|
+
NOT?: Prisma.ModifierOptionWhereInput | Prisma.ModifierOptionWhereInput[];
|
|
209
|
+
id?: Prisma.BigIntFilter<"ModifierOption"> | bigint | number;
|
|
210
|
+
modifierId?: Prisma.BigIntFilter<"ModifierOption"> | bigint | number;
|
|
211
|
+
name?: Prisma.StringFilter<"ModifierOption"> | string;
|
|
212
|
+
price?: Prisma.DecimalNullableFilter<"ModifierOption"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
213
|
+
description?: Prisma.StringNullableFilter<"ModifierOption"> | string | null;
|
|
214
|
+
attributes?: Prisma.JsonNullableFilter<"ModifierOption">;
|
|
215
|
+
createdAt?: Prisma.DateTimeFilter<"ModifierOption"> | Date | string;
|
|
216
|
+
updatedAt?: Prisma.DateTimeFilter<"ModifierOption"> | Date | string;
|
|
217
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"ModifierOption"> | Date | string | null;
|
|
218
|
+
productVariantId?: Prisma.BigIntNullableFilter<"ModifierOption"> | bigint | number | null;
|
|
219
|
+
modifier?: Prisma.XOR<Prisma.ModifierScalarRelationFilter, Prisma.ModifierWhereInput>;
|
|
220
|
+
productVariant?: Prisma.XOR<Prisma.ProductVariantNullableScalarRelationFilter, Prisma.ProductVariantWhereInput> | null;
|
|
221
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionListRelationFilter;
|
|
222
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionListRelationFilter;
|
|
223
|
+
};
|
|
224
|
+
export type ModifierOptionOrderByWithRelationInput = {
|
|
225
|
+
id?: Prisma.SortOrder;
|
|
226
|
+
modifierId?: Prisma.SortOrder;
|
|
227
|
+
name?: Prisma.SortOrder;
|
|
228
|
+
price?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
229
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
230
|
+
attributes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
231
|
+
createdAt?: Prisma.SortOrder;
|
|
232
|
+
updatedAt?: Prisma.SortOrder;
|
|
233
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
234
|
+
productVariantId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
235
|
+
modifier?: Prisma.ModifierOrderByWithRelationInput;
|
|
236
|
+
productVariant?: Prisma.ProductVariantOrderByWithRelationInput;
|
|
237
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionOrderByRelationAggregateInput;
|
|
238
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionOrderByRelationAggregateInput;
|
|
239
|
+
_relevance?: Prisma.ModifierOptionOrderByRelevanceInput;
|
|
240
|
+
};
|
|
241
|
+
export type ModifierOptionWhereUniqueInput = Prisma.AtLeast<{
|
|
242
|
+
id?: bigint | number;
|
|
243
|
+
AND?: Prisma.ModifierOptionWhereInput | Prisma.ModifierOptionWhereInput[];
|
|
244
|
+
OR?: Prisma.ModifierOptionWhereInput[];
|
|
245
|
+
NOT?: Prisma.ModifierOptionWhereInput | Prisma.ModifierOptionWhereInput[];
|
|
246
|
+
modifierId?: Prisma.BigIntFilter<"ModifierOption"> | bigint | number;
|
|
247
|
+
name?: Prisma.StringFilter<"ModifierOption"> | string;
|
|
248
|
+
price?: Prisma.DecimalNullableFilter<"ModifierOption"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
249
|
+
description?: Prisma.StringNullableFilter<"ModifierOption"> | string | null;
|
|
250
|
+
attributes?: Prisma.JsonNullableFilter<"ModifierOption">;
|
|
251
|
+
createdAt?: Prisma.DateTimeFilter<"ModifierOption"> | Date | string;
|
|
252
|
+
updatedAt?: Prisma.DateTimeFilter<"ModifierOption"> | Date | string;
|
|
253
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"ModifierOption"> | Date | string | null;
|
|
254
|
+
productVariantId?: Prisma.BigIntNullableFilter<"ModifierOption"> | bigint | number | null;
|
|
255
|
+
modifier?: Prisma.XOR<Prisma.ModifierScalarRelationFilter, Prisma.ModifierWhereInput>;
|
|
256
|
+
productVariant?: Prisma.XOR<Prisma.ProductVariantNullableScalarRelationFilter, Prisma.ProductVariantWhereInput> | null;
|
|
257
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionListRelationFilter;
|
|
258
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionListRelationFilter;
|
|
259
|
+
}, "id">;
|
|
260
|
+
export type ModifierOptionOrderByWithAggregationInput = {
|
|
261
|
+
id?: Prisma.SortOrder;
|
|
262
|
+
modifierId?: Prisma.SortOrder;
|
|
263
|
+
name?: Prisma.SortOrder;
|
|
264
|
+
price?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
265
|
+
description?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
266
|
+
attributes?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
267
|
+
createdAt?: Prisma.SortOrder;
|
|
268
|
+
updatedAt?: Prisma.SortOrder;
|
|
269
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
270
|
+
productVariantId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
271
|
+
_count?: Prisma.ModifierOptionCountOrderByAggregateInput;
|
|
272
|
+
_avg?: Prisma.ModifierOptionAvgOrderByAggregateInput;
|
|
273
|
+
_max?: Prisma.ModifierOptionMaxOrderByAggregateInput;
|
|
274
|
+
_min?: Prisma.ModifierOptionMinOrderByAggregateInput;
|
|
275
|
+
_sum?: Prisma.ModifierOptionSumOrderByAggregateInput;
|
|
276
|
+
};
|
|
277
|
+
export type ModifierOptionScalarWhereWithAggregatesInput = {
|
|
278
|
+
AND?: Prisma.ModifierOptionScalarWhereWithAggregatesInput | Prisma.ModifierOptionScalarWhereWithAggregatesInput[];
|
|
279
|
+
OR?: Prisma.ModifierOptionScalarWhereWithAggregatesInput[];
|
|
280
|
+
NOT?: Prisma.ModifierOptionScalarWhereWithAggregatesInput | Prisma.ModifierOptionScalarWhereWithAggregatesInput[];
|
|
281
|
+
id?: Prisma.BigIntWithAggregatesFilter<"ModifierOption"> | bigint | number;
|
|
282
|
+
modifierId?: Prisma.BigIntWithAggregatesFilter<"ModifierOption"> | bigint | number;
|
|
283
|
+
name?: Prisma.StringWithAggregatesFilter<"ModifierOption"> | string;
|
|
284
|
+
price?: Prisma.DecimalNullableWithAggregatesFilter<"ModifierOption"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
285
|
+
description?: Prisma.StringNullableWithAggregatesFilter<"ModifierOption"> | string | null;
|
|
286
|
+
attributes?: Prisma.JsonNullableWithAggregatesFilter<"ModifierOption">;
|
|
287
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"ModifierOption"> | Date | string;
|
|
288
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"ModifierOption"> | Date | string;
|
|
289
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"ModifierOption"> | Date | string | null;
|
|
290
|
+
productVariantId?: Prisma.BigIntNullableWithAggregatesFilter<"ModifierOption"> | bigint | number | null;
|
|
291
|
+
};
|
|
292
|
+
export type ModifierOptionCreateInput = {
|
|
293
|
+
id?: bigint | number;
|
|
294
|
+
name: string;
|
|
295
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
296
|
+
description?: string | null;
|
|
297
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
298
|
+
createdAt?: Date | string;
|
|
299
|
+
updatedAt?: Date | string;
|
|
300
|
+
deletedAt?: Date | string | null;
|
|
301
|
+
modifier: Prisma.ModifierCreateNestedOneWithoutModifierOptionInput;
|
|
302
|
+
productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierOptionInput;
|
|
303
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionCreateNestedManyWithoutModifierOptionInput;
|
|
304
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierOptionInput;
|
|
305
|
+
};
|
|
306
|
+
export type ModifierOptionUncheckedCreateInput = {
|
|
307
|
+
id?: bigint | number;
|
|
308
|
+
modifierId: bigint | number;
|
|
309
|
+
name: string;
|
|
310
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
311
|
+
description?: string | null;
|
|
312
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
313
|
+
createdAt?: Date | string;
|
|
314
|
+
updatedAt?: Date | string;
|
|
315
|
+
deletedAt?: Date | string | null;
|
|
316
|
+
productVariantId?: bigint | number | null;
|
|
317
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUncheckedCreateNestedManyWithoutModifierOptionInput;
|
|
318
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierOptionInput;
|
|
319
|
+
};
|
|
320
|
+
export type ModifierOptionUpdateInput = {
|
|
321
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
322
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
323
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
324
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
325
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
326
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
327
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
328
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
329
|
+
modifier?: Prisma.ModifierUpdateOneRequiredWithoutModifierOptionNestedInput;
|
|
330
|
+
productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierOptionNestedInput;
|
|
331
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUpdateManyWithoutModifierOptionNestedInput;
|
|
332
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierOptionNestedInput;
|
|
333
|
+
};
|
|
334
|
+
export type ModifierOptionUncheckedUpdateInput = {
|
|
335
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
336
|
+
modifierId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
337
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
338
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
339
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
340
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
341
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
342
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
343
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
344
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
345
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUncheckedUpdateManyWithoutModifierOptionNestedInput;
|
|
346
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierOptionNestedInput;
|
|
347
|
+
};
|
|
348
|
+
export type ModifierOptionCreateManyInput = {
|
|
349
|
+
id?: bigint | number;
|
|
350
|
+
modifierId: bigint | number;
|
|
351
|
+
name: string;
|
|
352
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
353
|
+
description?: string | null;
|
|
354
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
355
|
+
createdAt?: Date | string;
|
|
356
|
+
updatedAt?: Date | string;
|
|
357
|
+
deletedAt?: Date | string | null;
|
|
358
|
+
productVariantId?: bigint | number | null;
|
|
359
|
+
};
|
|
360
|
+
export type ModifierOptionUpdateManyMutationInput = {
|
|
361
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
362
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
363
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
364
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
365
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
366
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
367
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
368
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
369
|
+
};
|
|
370
|
+
export type ModifierOptionUncheckedUpdateManyInput = {
|
|
371
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
372
|
+
modifierId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
373
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
374
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
375
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
376
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
377
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
378
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
379
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
380
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
381
|
+
};
|
|
382
|
+
export type ModifierOptionScalarRelationFilter = {
|
|
383
|
+
is?: Prisma.ModifierOptionWhereInput;
|
|
384
|
+
isNot?: Prisma.ModifierOptionWhereInput;
|
|
385
|
+
};
|
|
386
|
+
export type ModifierOptionOrderByRelevanceInput = {
|
|
387
|
+
fields: Prisma.ModifierOptionOrderByRelevanceFieldEnum | Prisma.ModifierOptionOrderByRelevanceFieldEnum[];
|
|
388
|
+
sort: Prisma.SortOrder;
|
|
389
|
+
search: string;
|
|
390
|
+
};
|
|
391
|
+
export type ModifierOptionCountOrderByAggregateInput = {
|
|
392
|
+
id?: Prisma.SortOrder;
|
|
393
|
+
modifierId?: Prisma.SortOrder;
|
|
394
|
+
name?: Prisma.SortOrder;
|
|
395
|
+
price?: Prisma.SortOrder;
|
|
396
|
+
description?: Prisma.SortOrder;
|
|
397
|
+
attributes?: Prisma.SortOrder;
|
|
398
|
+
createdAt?: Prisma.SortOrder;
|
|
399
|
+
updatedAt?: Prisma.SortOrder;
|
|
400
|
+
deletedAt?: Prisma.SortOrder;
|
|
401
|
+
productVariantId?: Prisma.SortOrder;
|
|
402
|
+
};
|
|
403
|
+
export type ModifierOptionAvgOrderByAggregateInput = {
|
|
404
|
+
id?: Prisma.SortOrder;
|
|
405
|
+
modifierId?: Prisma.SortOrder;
|
|
406
|
+
price?: Prisma.SortOrder;
|
|
407
|
+
productVariantId?: Prisma.SortOrder;
|
|
408
|
+
};
|
|
409
|
+
export type ModifierOptionMaxOrderByAggregateInput = {
|
|
410
|
+
id?: Prisma.SortOrder;
|
|
411
|
+
modifierId?: Prisma.SortOrder;
|
|
412
|
+
name?: Prisma.SortOrder;
|
|
413
|
+
price?: Prisma.SortOrder;
|
|
414
|
+
description?: Prisma.SortOrder;
|
|
415
|
+
createdAt?: Prisma.SortOrder;
|
|
416
|
+
updatedAt?: Prisma.SortOrder;
|
|
417
|
+
deletedAt?: Prisma.SortOrder;
|
|
418
|
+
productVariantId?: Prisma.SortOrder;
|
|
419
|
+
};
|
|
420
|
+
export type ModifierOptionMinOrderByAggregateInput = {
|
|
421
|
+
id?: Prisma.SortOrder;
|
|
422
|
+
modifierId?: Prisma.SortOrder;
|
|
423
|
+
name?: Prisma.SortOrder;
|
|
424
|
+
price?: Prisma.SortOrder;
|
|
425
|
+
description?: Prisma.SortOrder;
|
|
426
|
+
createdAt?: Prisma.SortOrder;
|
|
427
|
+
updatedAt?: Prisma.SortOrder;
|
|
428
|
+
deletedAt?: Prisma.SortOrder;
|
|
429
|
+
productVariantId?: Prisma.SortOrder;
|
|
430
|
+
};
|
|
431
|
+
export type ModifierOptionSumOrderByAggregateInput = {
|
|
432
|
+
id?: Prisma.SortOrder;
|
|
433
|
+
modifierId?: Prisma.SortOrder;
|
|
434
|
+
price?: Prisma.SortOrder;
|
|
435
|
+
productVariantId?: Prisma.SortOrder;
|
|
436
|
+
};
|
|
437
|
+
export type ModifierOptionListRelationFilter = {
|
|
438
|
+
every?: Prisma.ModifierOptionWhereInput;
|
|
439
|
+
some?: Prisma.ModifierOptionWhereInput;
|
|
440
|
+
none?: Prisma.ModifierOptionWhereInput;
|
|
441
|
+
};
|
|
442
|
+
export type ModifierOptionOrderByRelationAggregateInput = {
|
|
443
|
+
_count?: Prisma.SortOrder;
|
|
444
|
+
};
|
|
445
|
+
export type ModifierOptionCreateNestedOneWithoutCartLineModifierOptionsInput = {
|
|
446
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutCartLineModifierOptionsInput, Prisma.ModifierOptionUncheckedCreateWithoutCartLineModifierOptionsInput>;
|
|
447
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutCartLineModifierOptionsInput;
|
|
448
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput;
|
|
449
|
+
};
|
|
450
|
+
export type ModifierOptionUpdateOneRequiredWithoutCartLineModifierOptionsNestedInput = {
|
|
451
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutCartLineModifierOptionsInput, Prisma.ModifierOptionUncheckedCreateWithoutCartLineModifierOptionsInput>;
|
|
452
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutCartLineModifierOptionsInput;
|
|
453
|
+
upsert?: Prisma.ModifierOptionUpsertWithoutCartLineModifierOptionsInput;
|
|
454
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput;
|
|
455
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ModifierOptionUpdateToOneWithWhereWithoutCartLineModifierOptionsInput, Prisma.ModifierOptionUpdateWithoutCartLineModifierOptionsInput>, Prisma.ModifierOptionUncheckedUpdateWithoutCartLineModifierOptionsInput>;
|
|
456
|
+
};
|
|
457
|
+
export type ModifierOptionCreateNestedOneWithoutCheckoutLineModifierOptionInput = {
|
|
458
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierOptionUncheckedCreateWithoutCheckoutLineModifierOptionInput>;
|
|
459
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutCheckoutLineModifierOptionInput;
|
|
460
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput;
|
|
461
|
+
};
|
|
462
|
+
export type ModifierOptionUpdateOneRequiredWithoutCheckoutLineModifierOptionNestedInput = {
|
|
463
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierOptionUncheckedCreateWithoutCheckoutLineModifierOptionInput>;
|
|
464
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutCheckoutLineModifierOptionInput;
|
|
465
|
+
upsert?: Prisma.ModifierOptionUpsertWithoutCheckoutLineModifierOptionInput;
|
|
466
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput;
|
|
467
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.ModifierOptionUpdateToOneWithWhereWithoutCheckoutLineModifierOptionInput, Prisma.ModifierOptionUpdateWithoutCheckoutLineModifierOptionInput>, Prisma.ModifierOptionUncheckedUpdateWithoutCheckoutLineModifierOptionInput>;
|
|
468
|
+
};
|
|
469
|
+
export type NullableDecimalFieldUpdateOperationsInput = {
|
|
470
|
+
set?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
471
|
+
increment?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
472
|
+
decrement?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
473
|
+
multiply?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
474
|
+
divide?: runtime.Decimal | runtime.DecimalJsLike | number | string;
|
|
475
|
+
};
|
|
476
|
+
export type ModifierOptionCreateNestedManyWithoutModifierInput = {
|
|
477
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutModifierInput, Prisma.ModifierOptionUncheckedCreateWithoutModifierInput> | Prisma.ModifierOptionCreateWithoutModifierInput[] | Prisma.ModifierOptionUncheckedCreateWithoutModifierInput[];
|
|
478
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutModifierInput | Prisma.ModifierOptionCreateOrConnectWithoutModifierInput[];
|
|
479
|
+
createMany?: Prisma.ModifierOptionCreateManyModifierInputEnvelope;
|
|
480
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
481
|
+
};
|
|
482
|
+
export type ModifierOptionUncheckedCreateNestedManyWithoutModifierInput = {
|
|
483
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutModifierInput, Prisma.ModifierOptionUncheckedCreateWithoutModifierInput> | Prisma.ModifierOptionCreateWithoutModifierInput[] | Prisma.ModifierOptionUncheckedCreateWithoutModifierInput[];
|
|
484
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutModifierInput | Prisma.ModifierOptionCreateOrConnectWithoutModifierInput[];
|
|
485
|
+
createMany?: Prisma.ModifierOptionCreateManyModifierInputEnvelope;
|
|
486
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
487
|
+
};
|
|
488
|
+
export type ModifierOptionUpdateManyWithoutModifierNestedInput = {
|
|
489
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutModifierInput, Prisma.ModifierOptionUncheckedCreateWithoutModifierInput> | Prisma.ModifierOptionCreateWithoutModifierInput[] | Prisma.ModifierOptionUncheckedCreateWithoutModifierInput[];
|
|
490
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutModifierInput | Prisma.ModifierOptionCreateOrConnectWithoutModifierInput[];
|
|
491
|
+
upsert?: Prisma.ModifierOptionUpsertWithWhereUniqueWithoutModifierInput | Prisma.ModifierOptionUpsertWithWhereUniqueWithoutModifierInput[];
|
|
492
|
+
createMany?: Prisma.ModifierOptionCreateManyModifierInputEnvelope;
|
|
493
|
+
set?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
494
|
+
disconnect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
495
|
+
delete?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
496
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
497
|
+
update?: Prisma.ModifierOptionUpdateWithWhereUniqueWithoutModifierInput | Prisma.ModifierOptionUpdateWithWhereUniqueWithoutModifierInput[];
|
|
498
|
+
updateMany?: Prisma.ModifierOptionUpdateManyWithWhereWithoutModifierInput | Prisma.ModifierOptionUpdateManyWithWhereWithoutModifierInput[];
|
|
499
|
+
deleteMany?: Prisma.ModifierOptionScalarWhereInput | Prisma.ModifierOptionScalarWhereInput[];
|
|
500
|
+
};
|
|
501
|
+
export type ModifierOptionUncheckedUpdateManyWithoutModifierNestedInput = {
|
|
502
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutModifierInput, Prisma.ModifierOptionUncheckedCreateWithoutModifierInput> | Prisma.ModifierOptionCreateWithoutModifierInput[] | Prisma.ModifierOptionUncheckedCreateWithoutModifierInput[];
|
|
503
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutModifierInput | Prisma.ModifierOptionCreateOrConnectWithoutModifierInput[];
|
|
504
|
+
upsert?: Prisma.ModifierOptionUpsertWithWhereUniqueWithoutModifierInput | Prisma.ModifierOptionUpsertWithWhereUniqueWithoutModifierInput[];
|
|
505
|
+
createMany?: Prisma.ModifierOptionCreateManyModifierInputEnvelope;
|
|
506
|
+
set?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
507
|
+
disconnect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
508
|
+
delete?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
509
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
510
|
+
update?: Prisma.ModifierOptionUpdateWithWhereUniqueWithoutModifierInput | Prisma.ModifierOptionUpdateWithWhereUniqueWithoutModifierInput[];
|
|
511
|
+
updateMany?: Prisma.ModifierOptionUpdateManyWithWhereWithoutModifierInput | Prisma.ModifierOptionUpdateManyWithWhereWithoutModifierInput[];
|
|
512
|
+
deleteMany?: Prisma.ModifierOptionScalarWhereInput | Prisma.ModifierOptionScalarWhereInput[];
|
|
513
|
+
};
|
|
514
|
+
export type ModifierOptionCreateNestedManyWithoutProductVariantInput = {
|
|
515
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutProductVariantInput, Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput> | Prisma.ModifierOptionCreateWithoutProductVariantInput[] | Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput[];
|
|
516
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutProductVariantInput | Prisma.ModifierOptionCreateOrConnectWithoutProductVariantInput[];
|
|
517
|
+
createMany?: Prisma.ModifierOptionCreateManyProductVariantInputEnvelope;
|
|
518
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
519
|
+
};
|
|
520
|
+
export type ModifierOptionUncheckedCreateNestedManyWithoutProductVariantInput = {
|
|
521
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutProductVariantInput, Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput> | Prisma.ModifierOptionCreateWithoutProductVariantInput[] | Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput[];
|
|
522
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutProductVariantInput | Prisma.ModifierOptionCreateOrConnectWithoutProductVariantInput[];
|
|
523
|
+
createMany?: Prisma.ModifierOptionCreateManyProductVariantInputEnvelope;
|
|
524
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
525
|
+
};
|
|
526
|
+
export type ModifierOptionUpdateManyWithoutProductVariantNestedInput = {
|
|
527
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutProductVariantInput, Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput> | Prisma.ModifierOptionCreateWithoutProductVariantInput[] | Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput[];
|
|
528
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutProductVariantInput | Prisma.ModifierOptionCreateOrConnectWithoutProductVariantInput[];
|
|
529
|
+
upsert?: Prisma.ModifierOptionUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ModifierOptionUpsertWithWhereUniqueWithoutProductVariantInput[];
|
|
530
|
+
createMany?: Prisma.ModifierOptionCreateManyProductVariantInputEnvelope;
|
|
531
|
+
set?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
532
|
+
disconnect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
533
|
+
delete?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
534
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
535
|
+
update?: Prisma.ModifierOptionUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ModifierOptionUpdateWithWhereUniqueWithoutProductVariantInput[];
|
|
536
|
+
updateMany?: Prisma.ModifierOptionUpdateManyWithWhereWithoutProductVariantInput | Prisma.ModifierOptionUpdateManyWithWhereWithoutProductVariantInput[];
|
|
537
|
+
deleteMany?: Prisma.ModifierOptionScalarWhereInput | Prisma.ModifierOptionScalarWhereInput[];
|
|
538
|
+
};
|
|
539
|
+
export type ModifierOptionUncheckedUpdateManyWithoutProductVariantNestedInput = {
|
|
540
|
+
create?: Prisma.XOR<Prisma.ModifierOptionCreateWithoutProductVariantInput, Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput> | Prisma.ModifierOptionCreateWithoutProductVariantInput[] | Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput[];
|
|
541
|
+
connectOrCreate?: Prisma.ModifierOptionCreateOrConnectWithoutProductVariantInput | Prisma.ModifierOptionCreateOrConnectWithoutProductVariantInput[];
|
|
542
|
+
upsert?: Prisma.ModifierOptionUpsertWithWhereUniqueWithoutProductVariantInput | Prisma.ModifierOptionUpsertWithWhereUniqueWithoutProductVariantInput[];
|
|
543
|
+
createMany?: Prisma.ModifierOptionCreateManyProductVariantInputEnvelope;
|
|
544
|
+
set?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
545
|
+
disconnect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
546
|
+
delete?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
547
|
+
connect?: Prisma.ModifierOptionWhereUniqueInput | Prisma.ModifierOptionWhereUniqueInput[];
|
|
548
|
+
update?: Prisma.ModifierOptionUpdateWithWhereUniqueWithoutProductVariantInput | Prisma.ModifierOptionUpdateWithWhereUniqueWithoutProductVariantInput[];
|
|
549
|
+
updateMany?: Prisma.ModifierOptionUpdateManyWithWhereWithoutProductVariantInput | Prisma.ModifierOptionUpdateManyWithWhereWithoutProductVariantInput[];
|
|
550
|
+
deleteMany?: Prisma.ModifierOptionScalarWhereInput | Prisma.ModifierOptionScalarWhereInput[];
|
|
551
|
+
};
|
|
552
|
+
export type ModifierOptionCreateWithoutCartLineModifierOptionsInput = {
|
|
553
|
+
id?: bigint | number;
|
|
554
|
+
name: string;
|
|
555
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
556
|
+
description?: string | null;
|
|
557
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
558
|
+
createdAt?: Date | string;
|
|
559
|
+
updatedAt?: Date | string;
|
|
560
|
+
deletedAt?: Date | string | null;
|
|
561
|
+
modifier: Prisma.ModifierCreateNestedOneWithoutModifierOptionInput;
|
|
562
|
+
productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierOptionInput;
|
|
563
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierOptionInput;
|
|
564
|
+
};
|
|
565
|
+
export type ModifierOptionUncheckedCreateWithoutCartLineModifierOptionsInput = {
|
|
566
|
+
id?: bigint | number;
|
|
567
|
+
modifierId: bigint | number;
|
|
568
|
+
name: string;
|
|
569
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
570
|
+
description?: string | null;
|
|
571
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
572
|
+
createdAt?: Date | string;
|
|
573
|
+
updatedAt?: Date | string;
|
|
574
|
+
deletedAt?: Date | string | null;
|
|
575
|
+
productVariantId?: bigint | number | null;
|
|
576
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierOptionInput;
|
|
577
|
+
};
|
|
578
|
+
export type ModifierOptionCreateOrConnectWithoutCartLineModifierOptionsInput = {
|
|
579
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
580
|
+
create: Prisma.XOR<Prisma.ModifierOptionCreateWithoutCartLineModifierOptionsInput, Prisma.ModifierOptionUncheckedCreateWithoutCartLineModifierOptionsInput>;
|
|
581
|
+
};
|
|
582
|
+
export type ModifierOptionUpsertWithoutCartLineModifierOptionsInput = {
|
|
583
|
+
update: Prisma.XOR<Prisma.ModifierOptionUpdateWithoutCartLineModifierOptionsInput, Prisma.ModifierOptionUncheckedUpdateWithoutCartLineModifierOptionsInput>;
|
|
584
|
+
create: Prisma.XOR<Prisma.ModifierOptionCreateWithoutCartLineModifierOptionsInput, Prisma.ModifierOptionUncheckedCreateWithoutCartLineModifierOptionsInput>;
|
|
585
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
586
|
+
};
|
|
587
|
+
export type ModifierOptionUpdateToOneWithWhereWithoutCartLineModifierOptionsInput = {
|
|
588
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
589
|
+
data: Prisma.XOR<Prisma.ModifierOptionUpdateWithoutCartLineModifierOptionsInput, Prisma.ModifierOptionUncheckedUpdateWithoutCartLineModifierOptionsInput>;
|
|
590
|
+
};
|
|
591
|
+
export type ModifierOptionUpdateWithoutCartLineModifierOptionsInput = {
|
|
592
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
593
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
594
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
595
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
596
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
597
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
598
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
599
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
600
|
+
modifier?: Prisma.ModifierUpdateOneRequiredWithoutModifierOptionNestedInput;
|
|
601
|
+
productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierOptionNestedInput;
|
|
602
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierOptionNestedInput;
|
|
603
|
+
};
|
|
604
|
+
export type ModifierOptionUncheckedUpdateWithoutCartLineModifierOptionsInput = {
|
|
605
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
606
|
+
modifierId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
607
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
608
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
609
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
610
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
611
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
612
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
613
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
614
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
615
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierOptionNestedInput;
|
|
616
|
+
};
|
|
617
|
+
export type ModifierOptionCreateWithoutCheckoutLineModifierOptionInput = {
|
|
618
|
+
id?: bigint | number;
|
|
619
|
+
name: string;
|
|
620
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
621
|
+
description?: string | null;
|
|
622
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
623
|
+
createdAt?: Date | string;
|
|
624
|
+
updatedAt?: Date | string;
|
|
625
|
+
deletedAt?: Date | string | null;
|
|
626
|
+
modifier: Prisma.ModifierCreateNestedOneWithoutModifierOptionInput;
|
|
627
|
+
productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierOptionInput;
|
|
628
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionCreateNestedManyWithoutModifierOptionInput;
|
|
629
|
+
};
|
|
630
|
+
export type ModifierOptionUncheckedCreateWithoutCheckoutLineModifierOptionInput = {
|
|
631
|
+
id?: bigint | number;
|
|
632
|
+
modifierId: bigint | number;
|
|
633
|
+
name: string;
|
|
634
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
635
|
+
description?: string | null;
|
|
636
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
637
|
+
createdAt?: Date | string;
|
|
638
|
+
updatedAt?: Date | string;
|
|
639
|
+
deletedAt?: Date | string | null;
|
|
640
|
+
productVariantId?: bigint | number | null;
|
|
641
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUncheckedCreateNestedManyWithoutModifierOptionInput;
|
|
642
|
+
};
|
|
643
|
+
export type ModifierOptionCreateOrConnectWithoutCheckoutLineModifierOptionInput = {
|
|
644
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
645
|
+
create: Prisma.XOR<Prisma.ModifierOptionCreateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierOptionUncheckedCreateWithoutCheckoutLineModifierOptionInput>;
|
|
646
|
+
};
|
|
647
|
+
export type ModifierOptionUpsertWithoutCheckoutLineModifierOptionInput = {
|
|
648
|
+
update: Prisma.XOR<Prisma.ModifierOptionUpdateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierOptionUncheckedUpdateWithoutCheckoutLineModifierOptionInput>;
|
|
649
|
+
create: Prisma.XOR<Prisma.ModifierOptionCreateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierOptionUncheckedCreateWithoutCheckoutLineModifierOptionInput>;
|
|
650
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
651
|
+
};
|
|
652
|
+
export type ModifierOptionUpdateToOneWithWhereWithoutCheckoutLineModifierOptionInput = {
|
|
653
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
654
|
+
data: Prisma.XOR<Prisma.ModifierOptionUpdateWithoutCheckoutLineModifierOptionInput, Prisma.ModifierOptionUncheckedUpdateWithoutCheckoutLineModifierOptionInput>;
|
|
655
|
+
};
|
|
656
|
+
export type ModifierOptionUpdateWithoutCheckoutLineModifierOptionInput = {
|
|
657
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
658
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
659
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
660
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
661
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
662
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
663
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
664
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
665
|
+
modifier?: Prisma.ModifierUpdateOneRequiredWithoutModifierOptionNestedInput;
|
|
666
|
+
productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierOptionNestedInput;
|
|
667
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUpdateManyWithoutModifierOptionNestedInput;
|
|
668
|
+
};
|
|
669
|
+
export type ModifierOptionUncheckedUpdateWithoutCheckoutLineModifierOptionInput = {
|
|
670
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
671
|
+
modifierId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
672
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
673
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
674
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
675
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
676
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
677
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
678
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
679
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
680
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUncheckedUpdateManyWithoutModifierOptionNestedInput;
|
|
681
|
+
};
|
|
682
|
+
export type ModifierOptionCreateWithoutModifierInput = {
|
|
683
|
+
id?: bigint | number;
|
|
684
|
+
name: string;
|
|
685
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
686
|
+
description?: string | null;
|
|
687
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
688
|
+
createdAt?: Date | string;
|
|
689
|
+
updatedAt?: Date | string;
|
|
690
|
+
deletedAt?: Date | string | null;
|
|
691
|
+
productVariant?: Prisma.ProductVariantCreateNestedOneWithoutModifierOptionInput;
|
|
692
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionCreateNestedManyWithoutModifierOptionInput;
|
|
693
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierOptionInput;
|
|
694
|
+
};
|
|
695
|
+
export type ModifierOptionUncheckedCreateWithoutModifierInput = {
|
|
696
|
+
id?: bigint | number;
|
|
697
|
+
name: string;
|
|
698
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
699
|
+
description?: string | null;
|
|
700
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
701
|
+
createdAt?: Date | string;
|
|
702
|
+
updatedAt?: Date | string;
|
|
703
|
+
deletedAt?: Date | string | null;
|
|
704
|
+
productVariantId?: bigint | number | null;
|
|
705
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUncheckedCreateNestedManyWithoutModifierOptionInput;
|
|
706
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierOptionInput;
|
|
707
|
+
};
|
|
708
|
+
export type ModifierOptionCreateOrConnectWithoutModifierInput = {
|
|
709
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
710
|
+
create: Prisma.XOR<Prisma.ModifierOptionCreateWithoutModifierInput, Prisma.ModifierOptionUncheckedCreateWithoutModifierInput>;
|
|
711
|
+
};
|
|
712
|
+
export type ModifierOptionCreateManyModifierInputEnvelope = {
|
|
713
|
+
data: Prisma.ModifierOptionCreateManyModifierInput | Prisma.ModifierOptionCreateManyModifierInput[];
|
|
714
|
+
skipDuplicates?: boolean;
|
|
715
|
+
};
|
|
716
|
+
export type ModifierOptionUpsertWithWhereUniqueWithoutModifierInput = {
|
|
717
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
718
|
+
update: Prisma.XOR<Prisma.ModifierOptionUpdateWithoutModifierInput, Prisma.ModifierOptionUncheckedUpdateWithoutModifierInput>;
|
|
719
|
+
create: Prisma.XOR<Prisma.ModifierOptionCreateWithoutModifierInput, Prisma.ModifierOptionUncheckedCreateWithoutModifierInput>;
|
|
720
|
+
};
|
|
721
|
+
export type ModifierOptionUpdateWithWhereUniqueWithoutModifierInput = {
|
|
722
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
723
|
+
data: Prisma.XOR<Prisma.ModifierOptionUpdateWithoutModifierInput, Prisma.ModifierOptionUncheckedUpdateWithoutModifierInput>;
|
|
724
|
+
};
|
|
725
|
+
export type ModifierOptionUpdateManyWithWhereWithoutModifierInput = {
|
|
726
|
+
where: Prisma.ModifierOptionScalarWhereInput;
|
|
727
|
+
data: Prisma.XOR<Prisma.ModifierOptionUpdateManyMutationInput, Prisma.ModifierOptionUncheckedUpdateManyWithoutModifierInput>;
|
|
728
|
+
};
|
|
729
|
+
export type ModifierOptionScalarWhereInput = {
|
|
730
|
+
AND?: Prisma.ModifierOptionScalarWhereInput | Prisma.ModifierOptionScalarWhereInput[];
|
|
731
|
+
OR?: Prisma.ModifierOptionScalarWhereInput[];
|
|
732
|
+
NOT?: Prisma.ModifierOptionScalarWhereInput | Prisma.ModifierOptionScalarWhereInput[];
|
|
733
|
+
id?: Prisma.BigIntFilter<"ModifierOption"> | bigint | number;
|
|
734
|
+
modifierId?: Prisma.BigIntFilter<"ModifierOption"> | bigint | number;
|
|
735
|
+
name?: Prisma.StringFilter<"ModifierOption"> | string;
|
|
736
|
+
price?: Prisma.DecimalNullableFilter<"ModifierOption"> | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
737
|
+
description?: Prisma.StringNullableFilter<"ModifierOption"> | string | null;
|
|
738
|
+
attributes?: Prisma.JsonNullableFilter<"ModifierOption">;
|
|
739
|
+
createdAt?: Prisma.DateTimeFilter<"ModifierOption"> | Date | string;
|
|
740
|
+
updatedAt?: Prisma.DateTimeFilter<"ModifierOption"> | Date | string;
|
|
741
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"ModifierOption"> | Date | string | null;
|
|
742
|
+
productVariantId?: Prisma.BigIntNullableFilter<"ModifierOption"> | bigint | number | null;
|
|
743
|
+
};
|
|
744
|
+
export type ModifierOptionCreateWithoutProductVariantInput = {
|
|
745
|
+
id?: bigint | number;
|
|
746
|
+
name: string;
|
|
747
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
748
|
+
description?: string | null;
|
|
749
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
750
|
+
createdAt?: Date | string;
|
|
751
|
+
updatedAt?: Date | string;
|
|
752
|
+
deletedAt?: Date | string | null;
|
|
753
|
+
modifier: Prisma.ModifierCreateNestedOneWithoutModifierOptionInput;
|
|
754
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionCreateNestedManyWithoutModifierOptionInput;
|
|
755
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionCreateNestedManyWithoutModifierOptionInput;
|
|
756
|
+
};
|
|
757
|
+
export type ModifierOptionUncheckedCreateWithoutProductVariantInput = {
|
|
758
|
+
id?: bigint | number;
|
|
759
|
+
modifierId: bigint | number;
|
|
760
|
+
name: string;
|
|
761
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
762
|
+
description?: string | null;
|
|
763
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
764
|
+
createdAt?: Date | string;
|
|
765
|
+
updatedAt?: Date | string;
|
|
766
|
+
deletedAt?: Date | string | null;
|
|
767
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUncheckedCreateNestedManyWithoutModifierOptionInput;
|
|
768
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedCreateNestedManyWithoutModifierOptionInput;
|
|
769
|
+
};
|
|
770
|
+
export type ModifierOptionCreateOrConnectWithoutProductVariantInput = {
|
|
771
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
772
|
+
create: Prisma.XOR<Prisma.ModifierOptionCreateWithoutProductVariantInput, Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput>;
|
|
773
|
+
};
|
|
774
|
+
export type ModifierOptionCreateManyProductVariantInputEnvelope = {
|
|
775
|
+
data: Prisma.ModifierOptionCreateManyProductVariantInput | Prisma.ModifierOptionCreateManyProductVariantInput[];
|
|
776
|
+
skipDuplicates?: boolean;
|
|
777
|
+
};
|
|
778
|
+
export type ModifierOptionUpsertWithWhereUniqueWithoutProductVariantInput = {
|
|
779
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
780
|
+
update: Prisma.XOR<Prisma.ModifierOptionUpdateWithoutProductVariantInput, Prisma.ModifierOptionUncheckedUpdateWithoutProductVariantInput>;
|
|
781
|
+
create: Prisma.XOR<Prisma.ModifierOptionCreateWithoutProductVariantInput, Prisma.ModifierOptionUncheckedCreateWithoutProductVariantInput>;
|
|
782
|
+
};
|
|
783
|
+
export type ModifierOptionUpdateWithWhereUniqueWithoutProductVariantInput = {
|
|
784
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
785
|
+
data: Prisma.XOR<Prisma.ModifierOptionUpdateWithoutProductVariantInput, Prisma.ModifierOptionUncheckedUpdateWithoutProductVariantInput>;
|
|
786
|
+
};
|
|
787
|
+
export type ModifierOptionUpdateManyWithWhereWithoutProductVariantInput = {
|
|
788
|
+
where: Prisma.ModifierOptionScalarWhereInput;
|
|
789
|
+
data: Prisma.XOR<Prisma.ModifierOptionUpdateManyMutationInput, Prisma.ModifierOptionUncheckedUpdateManyWithoutProductVariantInput>;
|
|
790
|
+
};
|
|
791
|
+
export type ModifierOptionCreateManyModifierInput = {
|
|
792
|
+
id?: bigint | number;
|
|
793
|
+
name: string;
|
|
794
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
795
|
+
description?: string | null;
|
|
796
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
797
|
+
createdAt?: Date | string;
|
|
798
|
+
updatedAt?: Date | string;
|
|
799
|
+
deletedAt?: Date | string | null;
|
|
800
|
+
productVariantId?: bigint | number | null;
|
|
801
|
+
};
|
|
802
|
+
export type ModifierOptionUpdateWithoutModifierInput = {
|
|
803
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
804
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
805
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
806
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
807
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
808
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
809
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
810
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
811
|
+
productVariant?: Prisma.ProductVariantUpdateOneWithoutModifierOptionNestedInput;
|
|
812
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUpdateManyWithoutModifierOptionNestedInput;
|
|
813
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierOptionNestedInput;
|
|
814
|
+
};
|
|
815
|
+
export type ModifierOptionUncheckedUpdateWithoutModifierInput = {
|
|
816
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
817
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
818
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
819
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
820
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
821
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
822
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
823
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
824
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
825
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUncheckedUpdateManyWithoutModifierOptionNestedInput;
|
|
826
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierOptionNestedInput;
|
|
827
|
+
};
|
|
828
|
+
export type ModifierOptionUncheckedUpdateManyWithoutModifierInput = {
|
|
829
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
830
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
831
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
832
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
833
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
834
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
835
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
836
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
837
|
+
productVariantId?: Prisma.NullableBigIntFieldUpdateOperationsInput | bigint | number | null;
|
|
838
|
+
};
|
|
839
|
+
export type ModifierOptionCreateManyProductVariantInput = {
|
|
840
|
+
id?: bigint | number;
|
|
841
|
+
modifierId: bigint | number;
|
|
842
|
+
name: string;
|
|
843
|
+
price?: runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
844
|
+
description?: string | null;
|
|
845
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
846
|
+
createdAt?: Date | string;
|
|
847
|
+
updatedAt?: Date | string;
|
|
848
|
+
deletedAt?: Date | string | null;
|
|
849
|
+
};
|
|
850
|
+
export type ModifierOptionUpdateWithoutProductVariantInput = {
|
|
851
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
852
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
853
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
854
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
855
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
856
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
857
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
858
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
859
|
+
modifier?: Prisma.ModifierUpdateOneRequiredWithoutModifierOptionNestedInput;
|
|
860
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUpdateManyWithoutModifierOptionNestedInput;
|
|
861
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUpdateManyWithoutModifierOptionNestedInput;
|
|
862
|
+
};
|
|
863
|
+
export type ModifierOptionUncheckedUpdateWithoutProductVariantInput = {
|
|
864
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
865
|
+
modifierId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
866
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
867
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
868
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
869
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
870
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
871
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
872
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
873
|
+
cartLineModifierOptions?: Prisma.CartLineModifierOptionUncheckedUpdateManyWithoutModifierOptionNestedInput;
|
|
874
|
+
checkoutLineModifierOption?: Prisma.CheckoutLineModifierOptionUncheckedUpdateManyWithoutModifierOptionNestedInput;
|
|
875
|
+
};
|
|
876
|
+
export type ModifierOptionUncheckedUpdateManyWithoutProductVariantInput = {
|
|
877
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
878
|
+
modifierId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
879
|
+
name?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
880
|
+
price?: Prisma.NullableDecimalFieldUpdateOperationsInput | runtime.Decimal | runtime.DecimalJsLike | number | string | null;
|
|
881
|
+
description?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
882
|
+
attributes?: unknown | Prisma.NullableJsonNullValueInput;
|
|
883
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
884
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
885
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
886
|
+
};
|
|
887
|
+
/**
|
|
888
|
+
* Count Type ModifierOptionCountOutputType
|
|
889
|
+
*/
|
|
890
|
+
export type ModifierOptionCountOutputType = {
|
|
891
|
+
cartLineModifierOptions: number;
|
|
892
|
+
checkoutLineModifierOption: number;
|
|
893
|
+
};
|
|
894
|
+
export type ModifierOptionCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
895
|
+
cartLineModifierOptions?: boolean | ModifierOptionCountOutputTypeCountCartLineModifierOptionsArgs;
|
|
896
|
+
checkoutLineModifierOption?: boolean | ModifierOptionCountOutputTypeCountCheckoutLineModifierOptionArgs;
|
|
897
|
+
};
|
|
898
|
+
/**
|
|
899
|
+
* ModifierOptionCountOutputType without action
|
|
900
|
+
*/
|
|
901
|
+
export type ModifierOptionCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
902
|
+
/**
|
|
903
|
+
* Select specific fields to fetch from the ModifierOptionCountOutputType
|
|
904
|
+
*/
|
|
905
|
+
select?: Prisma.ModifierOptionCountOutputTypeSelect<ExtArgs> | null;
|
|
906
|
+
};
|
|
907
|
+
/**
|
|
908
|
+
* ModifierOptionCountOutputType without action
|
|
909
|
+
*/
|
|
910
|
+
export type ModifierOptionCountOutputTypeCountCartLineModifierOptionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
911
|
+
where?: Prisma.CartLineModifierOptionWhereInput;
|
|
912
|
+
};
|
|
913
|
+
/**
|
|
914
|
+
* ModifierOptionCountOutputType without action
|
|
915
|
+
*/
|
|
916
|
+
export type ModifierOptionCountOutputTypeCountCheckoutLineModifierOptionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
917
|
+
where?: Prisma.CheckoutLineModifierOptionWhereInput;
|
|
918
|
+
};
|
|
919
|
+
export type ModifierOptionSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
920
|
+
id?: boolean;
|
|
921
|
+
modifierId?: boolean;
|
|
922
|
+
name?: boolean;
|
|
923
|
+
price?: boolean;
|
|
924
|
+
description?: boolean;
|
|
925
|
+
attributes?: boolean;
|
|
926
|
+
createdAt?: boolean;
|
|
927
|
+
updatedAt?: boolean;
|
|
928
|
+
deletedAt?: boolean;
|
|
929
|
+
productVariantId?: boolean;
|
|
930
|
+
modifier?: boolean | Prisma.ModifierDefaultArgs<ExtArgs>;
|
|
931
|
+
productVariant?: boolean | Prisma.ModifierOption$productVariantArgs<ExtArgs>;
|
|
932
|
+
cartLineModifierOptions?: boolean | Prisma.ModifierOption$cartLineModifierOptionsArgs<ExtArgs>;
|
|
933
|
+
checkoutLineModifierOption?: boolean | Prisma.ModifierOption$checkoutLineModifierOptionArgs<ExtArgs>;
|
|
934
|
+
_count?: boolean | Prisma.ModifierOptionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
935
|
+
}, ExtArgs["result"]["modifierOption"]>;
|
|
936
|
+
export type ModifierOptionSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
937
|
+
id?: boolean;
|
|
938
|
+
modifierId?: boolean;
|
|
939
|
+
name?: boolean;
|
|
940
|
+
price?: boolean;
|
|
941
|
+
description?: boolean;
|
|
942
|
+
attributes?: boolean;
|
|
943
|
+
createdAt?: boolean;
|
|
944
|
+
updatedAt?: boolean;
|
|
945
|
+
deletedAt?: boolean;
|
|
946
|
+
productVariantId?: boolean;
|
|
947
|
+
modifier?: boolean | Prisma.ModifierDefaultArgs<ExtArgs>;
|
|
948
|
+
productVariant?: boolean | Prisma.ModifierOption$productVariantArgs<ExtArgs>;
|
|
949
|
+
}, ExtArgs["result"]["modifierOption"]>;
|
|
950
|
+
export type ModifierOptionSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
951
|
+
id?: boolean;
|
|
952
|
+
modifierId?: boolean;
|
|
953
|
+
name?: boolean;
|
|
954
|
+
price?: boolean;
|
|
955
|
+
description?: boolean;
|
|
956
|
+
attributes?: boolean;
|
|
957
|
+
createdAt?: boolean;
|
|
958
|
+
updatedAt?: boolean;
|
|
959
|
+
deletedAt?: boolean;
|
|
960
|
+
productVariantId?: boolean;
|
|
961
|
+
modifier?: boolean | Prisma.ModifierDefaultArgs<ExtArgs>;
|
|
962
|
+
productVariant?: boolean | Prisma.ModifierOption$productVariantArgs<ExtArgs>;
|
|
963
|
+
}, ExtArgs["result"]["modifierOption"]>;
|
|
964
|
+
export type ModifierOptionSelectScalar = {
|
|
965
|
+
id?: boolean;
|
|
966
|
+
modifierId?: boolean;
|
|
967
|
+
name?: boolean;
|
|
968
|
+
price?: boolean;
|
|
969
|
+
description?: boolean;
|
|
970
|
+
attributes?: boolean;
|
|
971
|
+
createdAt?: boolean;
|
|
972
|
+
updatedAt?: boolean;
|
|
973
|
+
deletedAt?: boolean;
|
|
974
|
+
productVariantId?: boolean;
|
|
975
|
+
};
|
|
976
|
+
export type ModifierOptionOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "modifierId" | "name" | "price" | "description" | "attributes" | "createdAt" | "updatedAt" | "deletedAt" | "productVariantId", ExtArgs["result"]["modifierOption"]>;
|
|
977
|
+
export type ModifierOptionInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
978
|
+
modifier?: boolean | Prisma.ModifierDefaultArgs<ExtArgs>;
|
|
979
|
+
productVariant?: boolean | Prisma.ModifierOption$productVariantArgs<ExtArgs>;
|
|
980
|
+
cartLineModifierOptions?: boolean | Prisma.ModifierOption$cartLineModifierOptionsArgs<ExtArgs>;
|
|
981
|
+
checkoutLineModifierOption?: boolean | Prisma.ModifierOption$checkoutLineModifierOptionArgs<ExtArgs>;
|
|
982
|
+
_count?: boolean | Prisma.ModifierOptionCountOutputTypeDefaultArgs<ExtArgs>;
|
|
983
|
+
};
|
|
984
|
+
export type ModifierOptionIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
985
|
+
modifier?: boolean | Prisma.ModifierDefaultArgs<ExtArgs>;
|
|
986
|
+
productVariant?: boolean | Prisma.ModifierOption$productVariantArgs<ExtArgs>;
|
|
987
|
+
};
|
|
988
|
+
export type ModifierOptionIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
989
|
+
modifier?: boolean | Prisma.ModifierDefaultArgs<ExtArgs>;
|
|
990
|
+
productVariant?: boolean | Prisma.ModifierOption$productVariantArgs<ExtArgs>;
|
|
991
|
+
};
|
|
992
|
+
export type $ModifierOptionPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
993
|
+
name: "ModifierOption";
|
|
994
|
+
objects: {
|
|
995
|
+
modifier: Prisma.$ModifierPayload<ExtArgs>;
|
|
996
|
+
productVariant: Prisma.$ProductVariantPayload<ExtArgs> | null;
|
|
997
|
+
cartLineModifierOptions: Prisma.$CartLineModifierOptionPayload<ExtArgs>[];
|
|
998
|
+
checkoutLineModifierOption: Prisma.$CheckoutLineModifierOptionPayload<ExtArgs>[];
|
|
999
|
+
};
|
|
1000
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1001
|
+
id: bigint;
|
|
1002
|
+
modifierId: bigint;
|
|
1003
|
+
name: string;
|
|
1004
|
+
price: runtime.Decimal | null;
|
|
1005
|
+
description: string | null;
|
|
1006
|
+
attributes: unknown | null;
|
|
1007
|
+
createdAt: Date;
|
|
1008
|
+
updatedAt: Date;
|
|
1009
|
+
deletedAt: Date | null;
|
|
1010
|
+
productVariantId: bigint | null;
|
|
1011
|
+
}, ExtArgs["result"]["modifierOption"]>;
|
|
1012
|
+
composites: {};
|
|
1013
|
+
};
|
|
1014
|
+
export type ModifierOptionGetPayload<S extends boolean | null | undefined | ModifierOptionDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload, S>;
|
|
1015
|
+
export type ModifierOptionCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<ModifierOptionFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
1016
|
+
select?: ModifierOptionCountAggregateInputType | true;
|
|
1017
|
+
};
|
|
1018
|
+
export interface ModifierOptionDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
1019
|
+
[K: symbol]: {
|
|
1020
|
+
types: Prisma.TypeMap<ExtArgs>['model']['ModifierOption'];
|
|
1021
|
+
meta: {
|
|
1022
|
+
name: 'ModifierOption';
|
|
1023
|
+
};
|
|
1024
|
+
};
|
|
1025
|
+
/**
|
|
1026
|
+
* Find zero or one ModifierOption that matches the filter.
|
|
1027
|
+
* @param {ModifierOptionFindUniqueArgs} args - Arguments to find a ModifierOption
|
|
1028
|
+
* @example
|
|
1029
|
+
* // Get one ModifierOption
|
|
1030
|
+
* const modifierOption = await prisma.modifierOption.findUnique({
|
|
1031
|
+
* where: {
|
|
1032
|
+
* // ... provide filter here
|
|
1033
|
+
* }
|
|
1034
|
+
* })
|
|
1035
|
+
*/
|
|
1036
|
+
findUnique<T extends ModifierOptionFindUniqueArgs>(args: Prisma.SelectSubset<T, ModifierOptionFindUniqueArgs<ExtArgs>>): Prisma.Prisma__ModifierOptionClient<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1037
|
+
/**
|
|
1038
|
+
* Find one ModifierOption that matches the filter or throw an error with `error.code='P2025'`
|
|
1039
|
+
* if no matches were found.
|
|
1040
|
+
* @param {ModifierOptionFindUniqueOrThrowArgs} args - Arguments to find a ModifierOption
|
|
1041
|
+
* @example
|
|
1042
|
+
* // Get one ModifierOption
|
|
1043
|
+
* const modifierOption = await prisma.modifierOption.findUniqueOrThrow({
|
|
1044
|
+
* where: {
|
|
1045
|
+
* // ... provide filter here
|
|
1046
|
+
* }
|
|
1047
|
+
* })
|
|
1048
|
+
*/
|
|
1049
|
+
findUniqueOrThrow<T extends ModifierOptionFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, ModifierOptionFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierOptionClient<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1050
|
+
/**
|
|
1051
|
+
* Find the first ModifierOption that matches the filter.
|
|
1052
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1053
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1054
|
+
* @param {ModifierOptionFindFirstArgs} args - Arguments to find a ModifierOption
|
|
1055
|
+
* @example
|
|
1056
|
+
* // Get one ModifierOption
|
|
1057
|
+
* const modifierOption = await prisma.modifierOption.findFirst({
|
|
1058
|
+
* where: {
|
|
1059
|
+
* // ... provide filter here
|
|
1060
|
+
* }
|
|
1061
|
+
* })
|
|
1062
|
+
*/
|
|
1063
|
+
findFirst<T extends ModifierOptionFindFirstArgs>(args?: Prisma.SelectSubset<T, ModifierOptionFindFirstArgs<ExtArgs>>): Prisma.Prisma__ModifierOptionClient<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1064
|
+
/**
|
|
1065
|
+
* Find the first ModifierOption that matches the filter or
|
|
1066
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
1067
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1068
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1069
|
+
* @param {ModifierOptionFindFirstOrThrowArgs} args - Arguments to find a ModifierOption
|
|
1070
|
+
* @example
|
|
1071
|
+
* // Get one ModifierOption
|
|
1072
|
+
* const modifierOption = await prisma.modifierOption.findFirstOrThrow({
|
|
1073
|
+
* where: {
|
|
1074
|
+
* // ... provide filter here
|
|
1075
|
+
* }
|
|
1076
|
+
* })
|
|
1077
|
+
*/
|
|
1078
|
+
findFirstOrThrow<T extends ModifierOptionFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, ModifierOptionFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__ModifierOptionClient<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1079
|
+
/**
|
|
1080
|
+
* Find zero or more ModifierOptions that matches the filter.
|
|
1081
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1082
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1083
|
+
* @param {ModifierOptionFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
1084
|
+
* @example
|
|
1085
|
+
* // Get all ModifierOptions
|
|
1086
|
+
* const modifierOptions = await prisma.modifierOption.findMany()
|
|
1087
|
+
*
|
|
1088
|
+
* // Get first 10 ModifierOptions
|
|
1089
|
+
* const modifierOptions = await prisma.modifierOption.findMany({ take: 10 })
|
|
1090
|
+
*
|
|
1091
|
+
* // Only select the `id`
|
|
1092
|
+
* const modifierOptionWithIdOnly = await prisma.modifierOption.findMany({ select: { id: true } })
|
|
1093
|
+
*
|
|
1094
|
+
*/
|
|
1095
|
+
findMany<T extends ModifierOptionFindManyArgs>(args?: Prisma.SelectSubset<T, ModifierOptionFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
1096
|
+
/**
|
|
1097
|
+
* Create a ModifierOption.
|
|
1098
|
+
* @param {ModifierOptionCreateArgs} args - Arguments to create a ModifierOption.
|
|
1099
|
+
* @example
|
|
1100
|
+
* // Create one ModifierOption
|
|
1101
|
+
* const ModifierOption = await prisma.modifierOption.create({
|
|
1102
|
+
* data: {
|
|
1103
|
+
* // ... data to create a ModifierOption
|
|
1104
|
+
* }
|
|
1105
|
+
* })
|
|
1106
|
+
*
|
|
1107
|
+
*/
|
|
1108
|
+
create<T extends ModifierOptionCreateArgs>(args: Prisma.SelectSubset<T, ModifierOptionCreateArgs<ExtArgs>>): Prisma.Prisma__ModifierOptionClient<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1109
|
+
/**
|
|
1110
|
+
* Create many ModifierOptions.
|
|
1111
|
+
* @param {ModifierOptionCreateManyArgs} args - Arguments to create many ModifierOptions.
|
|
1112
|
+
* @example
|
|
1113
|
+
* // Create many ModifierOptions
|
|
1114
|
+
* const modifierOption = await prisma.modifierOption.createMany({
|
|
1115
|
+
* data: [
|
|
1116
|
+
* // ... provide data here
|
|
1117
|
+
* ]
|
|
1118
|
+
* })
|
|
1119
|
+
*
|
|
1120
|
+
*/
|
|
1121
|
+
createMany<T extends ModifierOptionCreateManyArgs>(args?: Prisma.SelectSubset<T, ModifierOptionCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1122
|
+
/**
|
|
1123
|
+
* Create many ModifierOptions and returns the data saved in the database.
|
|
1124
|
+
* @param {ModifierOptionCreateManyAndReturnArgs} args - Arguments to create many ModifierOptions.
|
|
1125
|
+
* @example
|
|
1126
|
+
* // Create many ModifierOptions
|
|
1127
|
+
* const modifierOption = await prisma.modifierOption.createManyAndReturn({
|
|
1128
|
+
* data: [
|
|
1129
|
+
* // ... provide data here
|
|
1130
|
+
* ]
|
|
1131
|
+
* })
|
|
1132
|
+
*
|
|
1133
|
+
* // Create many ModifierOptions and only return the `id`
|
|
1134
|
+
* const modifierOptionWithIdOnly = await prisma.modifierOption.createManyAndReturn({
|
|
1135
|
+
* select: { id: true },
|
|
1136
|
+
* data: [
|
|
1137
|
+
* // ... provide data here
|
|
1138
|
+
* ]
|
|
1139
|
+
* })
|
|
1140
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1141
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1142
|
+
*
|
|
1143
|
+
*/
|
|
1144
|
+
createManyAndReturn<T extends ModifierOptionCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, ModifierOptionCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
1145
|
+
/**
|
|
1146
|
+
* Delete a ModifierOption.
|
|
1147
|
+
* @param {ModifierOptionDeleteArgs} args - Arguments to delete one ModifierOption.
|
|
1148
|
+
* @example
|
|
1149
|
+
* // Delete one ModifierOption
|
|
1150
|
+
* const ModifierOption = await prisma.modifierOption.delete({
|
|
1151
|
+
* where: {
|
|
1152
|
+
* // ... filter to delete one ModifierOption
|
|
1153
|
+
* }
|
|
1154
|
+
* })
|
|
1155
|
+
*
|
|
1156
|
+
*/
|
|
1157
|
+
delete<T extends ModifierOptionDeleteArgs>(args: Prisma.SelectSubset<T, ModifierOptionDeleteArgs<ExtArgs>>): Prisma.Prisma__ModifierOptionClient<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1158
|
+
/**
|
|
1159
|
+
* Update one ModifierOption.
|
|
1160
|
+
* @param {ModifierOptionUpdateArgs} args - Arguments to update one ModifierOption.
|
|
1161
|
+
* @example
|
|
1162
|
+
* // Update one ModifierOption
|
|
1163
|
+
* const modifierOption = await prisma.modifierOption.update({
|
|
1164
|
+
* where: {
|
|
1165
|
+
* // ... provide filter here
|
|
1166
|
+
* },
|
|
1167
|
+
* data: {
|
|
1168
|
+
* // ... provide data here
|
|
1169
|
+
* }
|
|
1170
|
+
* })
|
|
1171
|
+
*
|
|
1172
|
+
*/
|
|
1173
|
+
update<T extends ModifierOptionUpdateArgs>(args: Prisma.SelectSubset<T, ModifierOptionUpdateArgs<ExtArgs>>): Prisma.Prisma__ModifierOptionClient<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1174
|
+
/**
|
|
1175
|
+
* Delete zero or more ModifierOptions.
|
|
1176
|
+
* @param {ModifierOptionDeleteManyArgs} args - Arguments to filter ModifierOptions to delete.
|
|
1177
|
+
* @example
|
|
1178
|
+
* // Delete a few ModifierOptions
|
|
1179
|
+
* const { count } = await prisma.modifierOption.deleteMany({
|
|
1180
|
+
* where: {
|
|
1181
|
+
* // ... provide filter here
|
|
1182
|
+
* }
|
|
1183
|
+
* })
|
|
1184
|
+
*
|
|
1185
|
+
*/
|
|
1186
|
+
deleteMany<T extends ModifierOptionDeleteManyArgs>(args?: Prisma.SelectSubset<T, ModifierOptionDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1187
|
+
/**
|
|
1188
|
+
* Update zero or more ModifierOptions.
|
|
1189
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1190
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1191
|
+
* @param {ModifierOptionUpdateManyArgs} args - Arguments to update one or more rows.
|
|
1192
|
+
* @example
|
|
1193
|
+
* // Update many ModifierOptions
|
|
1194
|
+
* const modifierOption = await prisma.modifierOption.updateMany({
|
|
1195
|
+
* where: {
|
|
1196
|
+
* // ... provide filter here
|
|
1197
|
+
* },
|
|
1198
|
+
* data: {
|
|
1199
|
+
* // ... provide data here
|
|
1200
|
+
* }
|
|
1201
|
+
* })
|
|
1202
|
+
*
|
|
1203
|
+
*/
|
|
1204
|
+
updateMany<T extends ModifierOptionUpdateManyArgs>(args: Prisma.SelectSubset<T, ModifierOptionUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
1205
|
+
/**
|
|
1206
|
+
* Update zero or more ModifierOptions and returns the data updated in the database.
|
|
1207
|
+
* @param {ModifierOptionUpdateManyAndReturnArgs} args - Arguments to update many ModifierOptions.
|
|
1208
|
+
* @example
|
|
1209
|
+
* // Update many ModifierOptions
|
|
1210
|
+
* const modifierOption = await prisma.modifierOption.updateManyAndReturn({
|
|
1211
|
+
* where: {
|
|
1212
|
+
* // ... provide filter here
|
|
1213
|
+
* },
|
|
1214
|
+
* data: [
|
|
1215
|
+
* // ... provide data here
|
|
1216
|
+
* ]
|
|
1217
|
+
* })
|
|
1218
|
+
*
|
|
1219
|
+
* // Update zero or more ModifierOptions and only return the `id`
|
|
1220
|
+
* const modifierOptionWithIdOnly = await prisma.modifierOption.updateManyAndReturn({
|
|
1221
|
+
* select: { id: true },
|
|
1222
|
+
* where: {
|
|
1223
|
+
* // ... provide filter here
|
|
1224
|
+
* },
|
|
1225
|
+
* data: [
|
|
1226
|
+
* // ... provide data here
|
|
1227
|
+
* ]
|
|
1228
|
+
* })
|
|
1229
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1230
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1231
|
+
*
|
|
1232
|
+
*/
|
|
1233
|
+
updateManyAndReturn<T extends ModifierOptionUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, ModifierOptionUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
1234
|
+
/**
|
|
1235
|
+
* Create or update one ModifierOption.
|
|
1236
|
+
* @param {ModifierOptionUpsertArgs} args - Arguments to update or create a ModifierOption.
|
|
1237
|
+
* @example
|
|
1238
|
+
* // Update or create a ModifierOption
|
|
1239
|
+
* const modifierOption = await prisma.modifierOption.upsert({
|
|
1240
|
+
* create: {
|
|
1241
|
+
* // ... data to create a ModifierOption
|
|
1242
|
+
* },
|
|
1243
|
+
* update: {
|
|
1244
|
+
* // ... in case it already exists, update
|
|
1245
|
+
* },
|
|
1246
|
+
* where: {
|
|
1247
|
+
* // ... the filter for the ModifierOption we want to update
|
|
1248
|
+
* }
|
|
1249
|
+
* })
|
|
1250
|
+
*/
|
|
1251
|
+
upsert<T extends ModifierOptionUpsertArgs>(args: Prisma.SelectSubset<T, ModifierOptionUpsertArgs<ExtArgs>>): Prisma.Prisma__ModifierOptionClient<runtime.Types.Result.GetResult<Prisma.$ModifierOptionPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
1252
|
+
/**
|
|
1253
|
+
* Count the number of ModifierOptions.
|
|
1254
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1255
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1256
|
+
* @param {ModifierOptionCountArgs} args - Arguments to filter ModifierOptions to count.
|
|
1257
|
+
* @example
|
|
1258
|
+
* // Count the number of ModifierOptions
|
|
1259
|
+
* const count = await prisma.modifierOption.count({
|
|
1260
|
+
* where: {
|
|
1261
|
+
* // ... the filter for the ModifierOptions we want to count
|
|
1262
|
+
* }
|
|
1263
|
+
* })
|
|
1264
|
+
**/
|
|
1265
|
+
count<T extends ModifierOptionCountArgs>(args?: Prisma.Subset<T, ModifierOptionCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], ModifierOptionCountAggregateOutputType> : number>;
|
|
1266
|
+
/**
|
|
1267
|
+
* Allows you to perform aggregations operations on a ModifierOption.
|
|
1268
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1269
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1270
|
+
* @param {ModifierOptionAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
1271
|
+
* @example
|
|
1272
|
+
* // Ordered by age ascending
|
|
1273
|
+
* // Where email contains prisma.io
|
|
1274
|
+
* // Limited to the 10 users
|
|
1275
|
+
* const aggregations = await prisma.user.aggregate({
|
|
1276
|
+
* _avg: {
|
|
1277
|
+
* age: true,
|
|
1278
|
+
* },
|
|
1279
|
+
* where: {
|
|
1280
|
+
* email: {
|
|
1281
|
+
* contains: "prisma.io",
|
|
1282
|
+
* },
|
|
1283
|
+
* },
|
|
1284
|
+
* orderBy: {
|
|
1285
|
+
* age: "asc",
|
|
1286
|
+
* },
|
|
1287
|
+
* take: 10,
|
|
1288
|
+
* })
|
|
1289
|
+
**/
|
|
1290
|
+
aggregate<T extends ModifierOptionAggregateArgs>(args: Prisma.Subset<T, ModifierOptionAggregateArgs>): Prisma.PrismaPromise<GetModifierOptionAggregateType<T>>;
|
|
1291
|
+
/**
|
|
1292
|
+
* Group by ModifierOption.
|
|
1293
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
1294
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
1295
|
+
* @param {ModifierOptionGroupByArgs} args - Group by arguments.
|
|
1296
|
+
* @example
|
|
1297
|
+
* // Group by city, order by createdAt, get count
|
|
1298
|
+
* const result = await prisma.user.groupBy({
|
|
1299
|
+
* by: ['city', 'createdAt'],
|
|
1300
|
+
* orderBy: {
|
|
1301
|
+
* createdAt: true
|
|
1302
|
+
* },
|
|
1303
|
+
* _count: {
|
|
1304
|
+
* _all: true
|
|
1305
|
+
* },
|
|
1306
|
+
* })
|
|
1307
|
+
*
|
|
1308
|
+
**/
|
|
1309
|
+
groupBy<T extends ModifierOptionGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
1310
|
+
orderBy: ModifierOptionGroupByArgs['orderBy'];
|
|
1311
|
+
} : {
|
|
1312
|
+
orderBy?: ModifierOptionGroupByArgs['orderBy'];
|
|
1313
|
+
}, 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 ? {
|
|
1314
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
1315
|
+
Error,
|
|
1316
|
+
'Field ',
|
|
1317
|
+
P,
|
|
1318
|
+
` in "having" needs to be provided in "by"`
|
|
1319
|
+
];
|
|
1320
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
1321
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1322
|
+
}[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 ? {} : {
|
|
1323
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1324
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
1325
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
1326
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, ModifierOptionGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetModifierOptionGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
1327
|
+
/**
|
|
1328
|
+
* Fields of the ModifierOption model
|
|
1329
|
+
*/
|
|
1330
|
+
readonly fields: ModifierOptionFieldRefs;
|
|
1331
|
+
}
|
|
1332
|
+
/**
|
|
1333
|
+
* The delegate class that acts as a "Promise-like" for ModifierOption.
|
|
1334
|
+
* Why is this prefixed with `Prisma__`?
|
|
1335
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
1336
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
1337
|
+
*/
|
|
1338
|
+
export interface Prisma__ModifierOptionClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
1339
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
1340
|
+
modifier<T extends Prisma.ModifierDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModifierDefaultArgs<ExtArgs>>): Prisma.Prisma__ModifierClient<runtime.Types.Result.GetResult<Prisma.$ModifierPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
1341
|
+
productVariant<T extends Prisma.ModifierOption$productVariantArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModifierOption$productVariantArgs<ExtArgs>>): Prisma.Prisma__ProductVariantClient<runtime.Types.Result.GetResult<Prisma.$ProductVariantPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
1342
|
+
cartLineModifierOptions<T extends Prisma.ModifierOption$cartLineModifierOptionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModifierOption$cartLineModifierOptionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CartLineModifierOptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1343
|
+
checkoutLineModifierOption<T extends Prisma.ModifierOption$checkoutLineModifierOptionArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.ModifierOption$checkoutLineModifierOptionArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutLineModifierOptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
1344
|
+
/**
|
|
1345
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
1346
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
1347
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1348
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
1349
|
+
*/
|
|
1350
|
+
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>;
|
|
1351
|
+
/**
|
|
1352
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
1353
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
1354
|
+
* @returns A Promise for the completion of the callback.
|
|
1355
|
+
*/
|
|
1356
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
1357
|
+
/**
|
|
1358
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
1359
|
+
* resolved value cannot be modified from the callback.
|
|
1360
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
1361
|
+
* @returns A Promise for the completion of the callback.
|
|
1362
|
+
*/
|
|
1363
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
1364
|
+
}
|
|
1365
|
+
/**
|
|
1366
|
+
* Fields of the ModifierOption model
|
|
1367
|
+
*/
|
|
1368
|
+
export interface ModifierOptionFieldRefs {
|
|
1369
|
+
readonly id: Prisma.FieldRef<"ModifierOption", 'BigInt'>;
|
|
1370
|
+
readonly modifierId: Prisma.FieldRef<"ModifierOption", 'BigInt'>;
|
|
1371
|
+
readonly name: Prisma.FieldRef<"ModifierOption", 'String'>;
|
|
1372
|
+
readonly price: Prisma.FieldRef<"ModifierOption", 'Decimal'>;
|
|
1373
|
+
readonly description: Prisma.FieldRef<"ModifierOption", 'String'>;
|
|
1374
|
+
readonly attributes: Prisma.FieldRef<"ModifierOption", 'Json'>;
|
|
1375
|
+
readonly createdAt: Prisma.FieldRef<"ModifierOption", 'DateTime'>;
|
|
1376
|
+
readonly updatedAt: Prisma.FieldRef<"ModifierOption", 'DateTime'>;
|
|
1377
|
+
readonly deletedAt: Prisma.FieldRef<"ModifierOption", 'DateTime'>;
|
|
1378
|
+
readonly productVariantId: Prisma.FieldRef<"ModifierOption", 'BigInt'>;
|
|
1379
|
+
}
|
|
1380
|
+
/**
|
|
1381
|
+
* ModifierOption findUnique
|
|
1382
|
+
*/
|
|
1383
|
+
export type ModifierOptionFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1384
|
+
/**
|
|
1385
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1386
|
+
*/
|
|
1387
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1388
|
+
/**
|
|
1389
|
+
* Omit specific fields from the ModifierOption
|
|
1390
|
+
*/
|
|
1391
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1392
|
+
/**
|
|
1393
|
+
* Choose, which related nodes to fetch as well
|
|
1394
|
+
*/
|
|
1395
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1396
|
+
/**
|
|
1397
|
+
* Filter, which ModifierOption to fetch.
|
|
1398
|
+
*/
|
|
1399
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
1400
|
+
};
|
|
1401
|
+
/**
|
|
1402
|
+
* ModifierOption findUniqueOrThrow
|
|
1403
|
+
*/
|
|
1404
|
+
export type ModifierOptionFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1405
|
+
/**
|
|
1406
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1407
|
+
*/
|
|
1408
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1409
|
+
/**
|
|
1410
|
+
* Omit specific fields from the ModifierOption
|
|
1411
|
+
*/
|
|
1412
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1413
|
+
/**
|
|
1414
|
+
* Choose, which related nodes to fetch as well
|
|
1415
|
+
*/
|
|
1416
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1417
|
+
/**
|
|
1418
|
+
* Filter, which ModifierOption to fetch.
|
|
1419
|
+
*/
|
|
1420
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
1421
|
+
};
|
|
1422
|
+
/**
|
|
1423
|
+
* ModifierOption findFirst
|
|
1424
|
+
*/
|
|
1425
|
+
export type ModifierOptionFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1426
|
+
/**
|
|
1427
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1428
|
+
*/
|
|
1429
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1430
|
+
/**
|
|
1431
|
+
* Omit specific fields from the ModifierOption
|
|
1432
|
+
*/
|
|
1433
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1434
|
+
/**
|
|
1435
|
+
* Choose, which related nodes to fetch as well
|
|
1436
|
+
*/
|
|
1437
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1438
|
+
/**
|
|
1439
|
+
* Filter, which ModifierOption to fetch.
|
|
1440
|
+
*/
|
|
1441
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
1442
|
+
/**
|
|
1443
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1444
|
+
*
|
|
1445
|
+
* Determine the order of ModifierOptions to fetch.
|
|
1446
|
+
*/
|
|
1447
|
+
orderBy?: Prisma.ModifierOptionOrderByWithRelationInput | Prisma.ModifierOptionOrderByWithRelationInput[];
|
|
1448
|
+
/**
|
|
1449
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1450
|
+
*
|
|
1451
|
+
* Sets the position for searching for ModifierOptions.
|
|
1452
|
+
*/
|
|
1453
|
+
cursor?: Prisma.ModifierOptionWhereUniqueInput;
|
|
1454
|
+
/**
|
|
1455
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1456
|
+
*
|
|
1457
|
+
* Take `±n` ModifierOptions from the position of the cursor.
|
|
1458
|
+
*/
|
|
1459
|
+
take?: number;
|
|
1460
|
+
/**
|
|
1461
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1462
|
+
*
|
|
1463
|
+
* Skip the first `n` ModifierOptions.
|
|
1464
|
+
*/
|
|
1465
|
+
skip?: number;
|
|
1466
|
+
/**
|
|
1467
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1468
|
+
*
|
|
1469
|
+
* Filter by unique combinations of ModifierOptions.
|
|
1470
|
+
*/
|
|
1471
|
+
distinct?: Prisma.ModifierOptionScalarFieldEnum | Prisma.ModifierOptionScalarFieldEnum[];
|
|
1472
|
+
};
|
|
1473
|
+
/**
|
|
1474
|
+
* ModifierOption findFirstOrThrow
|
|
1475
|
+
*/
|
|
1476
|
+
export type ModifierOptionFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1477
|
+
/**
|
|
1478
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1479
|
+
*/
|
|
1480
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1481
|
+
/**
|
|
1482
|
+
* Omit specific fields from the ModifierOption
|
|
1483
|
+
*/
|
|
1484
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1485
|
+
/**
|
|
1486
|
+
* Choose, which related nodes to fetch as well
|
|
1487
|
+
*/
|
|
1488
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1489
|
+
/**
|
|
1490
|
+
* Filter, which ModifierOption to fetch.
|
|
1491
|
+
*/
|
|
1492
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
1493
|
+
/**
|
|
1494
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1495
|
+
*
|
|
1496
|
+
* Determine the order of ModifierOptions to fetch.
|
|
1497
|
+
*/
|
|
1498
|
+
orderBy?: Prisma.ModifierOptionOrderByWithRelationInput | Prisma.ModifierOptionOrderByWithRelationInput[];
|
|
1499
|
+
/**
|
|
1500
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1501
|
+
*
|
|
1502
|
+
* Sets the position for searching for ModifierOptions.
|
|
1503
|
+
*/
|
|
1504
|
+
cursor?: Prisma.ModifierOptionWhereUniqueInput;
|
|
1505
|
+
/**
|
|
1506
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1507
|
+
*
|
|
1508
|
+
* Take `±n` ModifierOptions from the position of the cursor.
|
|
1509
|
+
*/
|
|
1510
|
+
take?: number;
|
|
1511
|
+
/**
|
|
1512
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1513
|
+
*
|
|
1514
|
+
* Skip the first `n` ModifierOptions.
|
|
1515
|
+
*/
|
|
1516
|
+
skip?: number;
|
|
1517
|
+
/**
|
|
1518
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
1519
|
+
*
|
|
1520
|
+
* Filter by unique combinations of ModifierOptions.
|
|
1521
|
+
*/
|
|
1522
|
+
distinct?: Prisma.ModifierOptionScalarFieldEnum | Prisma.ModifierOptionScalarFieldEnum[];
|
|
1523
|
+
};
|
|
1524
|
+
/**
|
|
1525
|
+
* ModifierOption findMany
|
|
1526
|
+
*/
|
|
1527
|
+
export type ModifierOptionFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1528
|
+
/**
|
|
1529
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1530
|
+
*/
|
|
1531
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1532
|
+
/**
|
|
1533
|
+
* Omit specific fields from the ModifierOption
|
|
1534
|
+
*/
|
|
1535
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1536
|
+
/**
|
|
1537
|
+
* Choose, which related nodes to fetch as well
|
|
1538
|
+
*/
|
|
1539
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1540
|
+
/**
|
|
1541
|
+
* Filter, which ModifierOptions to fetch.
|
|
1542
|
+
*/
|
|
1543
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
1544
|
+
/**
|
|
1545
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1546
|
+
*
|
|
1547
|
+
* Determine the order of ModifierOptions to fetch.
|
|
1548
|
+
*/
|
|
1549
|
+
orderBy?: Prisma.ModifierOptionOrderByWithRelationInput | Prisma.ModifierOptionOrderByWithRelationInput[];
|
|
1550
|
+
/**
|
|
1551
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1552
|
+
*
|
|
1553
|
+
* Sets the position for listing ModifierOptions.
|
|
1554
|
+
*/
|
|
1555
|
+
cursor?: Prisma.ModifierOptionWhereUniqueInput;
|
|
1556
|
+
/**
|
|
1557
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1558
|
+
*
|
|
1559
|
+
* Take `±n` ModifierOptions from the position of the cursor.
|
|
1560
|
+
*/
|
|
1561
|
+
take?: number;
|
|
1562
|
+
/**
|
|
1563
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1564
|
+
*
|
|
1565
|
+
* Skip the first `n` ModifierOptions.
|
|
1566
|
+
*/
|
|
1567
|
+
skip?: number;
|
|
1568
|
+
distinct?: Prisma.ModifierOptionScalarFieldEnum | Prisma.ModifierOptionScalarFieldEnum[];
|
|
1569
|
+
};
|
|
1570
|
+
/**
|
|
1571
|
+
* ModifierOption create
|
|
1572
|
+
*/
|
|
1573
|
+
export type ModifierOptionCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1574
|
+
/**
|
|
1575
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1576
|
+
*/
|
|
1577
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1578
|
+
/**
|
|
1579
|
+
* Omit specific fields from the ModifierOption
|
|
1580
|
+
*/
|
|
1581
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1582
|
+
/**
|
|
1583
|
+
* Choose, which related nodes to fetch as well
|
|
1584
|
+
*/
|
|
1585
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1586
|
+
/**
|
|
1587
|
+
* The data needed to create a ModifierOption.
|
|
1588
|
+
*/
|
|
1589
|
+
data: Prisma.XOR<Prisma.ModifierOptionCreateInput, Prisma.ModifierOptionUncheckedCreateInput>;
|
|
1590
|
+
};
|
|
1591
|
+
/**
|
|
1592
|
+
* ModifierOption createMany
|
|
1593
|
+
*/
|
|
1594
|
+
export type ModifierOptionCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1595
|
+
/**
|
|
1596
|
+
* The data used to create many ModifierOptions.
|
|
1597
|
+
*/
|
|
1598
|
+
data: Prisma.ModifierOptionCreateManyInput | Prisma.ModifierOptionCreateManyInput[];
|
|
1599
|
+
skipDuplicates?: boolean;
|
|
1600
|
+
};
|
|
1601
|
+
/**
|
|
1602
|
+
* ModifierOption createManyAndReturn
|
|
1603
|
+
*/
|
|
1604
|
+
export type ModifierOptionCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1605
|
+
/**
|
|
1606
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1607
|
+
*/
|
|
1608
|
+
select?: Prisma.ModifierOptionSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1609
|
+
/**
|
|
1610
|
+
* Omit specific fields from the ModifierOption
|
|
1611
|
+
*/
|
|
1612
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1613
|
+
/**
|
|
1614
|
+
* The data used to create many ModifierOptions.
|
|
1615
|
+
*/
|
|
1616
|
+
data: Prisma.ModifierOptionCreateManyInput | Prisma.ModifierOptionCreateManyInput[];
|
|
1617
|
+
skipDuplicates?: boolean;
|
|
1618
|
+
/**
|
|
1619
|
+
* Choose, which related nodes to fetch as well
|
|
1620
|
+
*/
|
|
1621
|
+
include?: Prisma.ModifierOptionIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
1622
|
+
};
|
|
1623
|
+
/**
|
|
1624
|
+
* ModifierOption update
|
|
1625
|
+
*/
|
|
1626
|
+
export type ModifierOptionUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1627
|
+
/**
|
|
1628
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1629
|
+
*/
|
|
1630
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1631
|
+
/**
|
|
1632
|
+
* Omit specific fields from the ModifierOption
|
|
1633
|
+
*/
|
|
1634
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1635
|
+
/**
|
|
1636
|
+
* Choose, which related nodes to fetch as well
|
|
1637
|
+
*/
|
|
1638
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1639
|
+
/**
|
|
1640
|
+
* The data needed to update a ModifierOption.
|
|
1641
|
+
*/
|
|
1642
|
+
data: Prisma.XOR<Prisma.ModifierOptionUpdateInput, Prisma.ModifierOptionUncheckedUpdateInput>;
|
|
1643
|
+
/**
|
|
1644
|
+
* Choose, which ModifierOption to update.
|
|
1645
|
+
*/
|
|
1646
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
1647
|
+
};
|
|
1648
|
+
/**
|
|
1649
|
+
* ModifierOption updateMany
|
|
1650
|
+
*/
|
|
1651
|
+
export type ModifierOptionUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1652
|
+
/**
|
|
1653
|
+
* The data used to update ModifierOptions.
|
|
1654
|
+
*/
|
|
1655
|
+
data: Prisma.XOR<Prisma.ModifierOptionUpdateManyMutationInput, Prisma.ModifierOptionUncheckedUpdateManyInput>;
|
|
1656
|
+
/**
|
|
1657
|
+
* Filter which ModifierOptions to update
|
|
1658
|
+
*/
|
|
1659
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
1660
|
+
/**
|
|
1661
|
+
* Limit how many ModifierOptions to update.
|
|
1662
|
+
*/
|
|
1663
|
+
limit?: number;
|
|
1664
|
+
};
|
|
1665
|
+
/**
|
|
1666
|
+
* ModifierOption updateManyAndReturn
|
|
1667
|
+
*/
|
|
1668
|
+
export type ModifierOptionUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1669
|
+
/**
|
|
1670
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1671
|
+
*/
|
|
1672
|
+
select?: Prisma.ModifierOptionSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1673
|
+
/**
|
|
1674
|
+
* Omit specific fields from the ModifierOption
|
|
1675
|
+
*/
|
|
1676
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1677
|
+
/**
|
|
1678
|
+
* The data used to update ModifierOptions.
|
|
1679
|
+
*/
|
|
1680
|
+
data: Prisma.XOR<Prisma.ModifierOptionUpdateManyMutationInput, Prisma.ModifierOptionUncheckedUpdateManyInput>;
|
|
1681
|
+
/**
|
|
1682
|
+
* Filter which ModifierOptions to update
|
|
1683
|
+
*/
|
|
1684
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
1685
|
+
/**
|
|
1686
|
+
* Limit how many ModifierOptions to update.
|
|
1687
|
+
*/
|
|
1688
|
+
limit?: number;
|
|
1689
|
+
/**
|
|
1690
|
+
* Choose, which related nodes to fetch as well
|
|
1691
|
+
*/
|
|
1692
|
+
include?: Prisma.ModifierOptionIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
1693
|
+
};
|
|
1694
|
+
/**
|
|
1695
|
+
* ModifierOption upsert
|
|
1696
|
+
*/
|
|
1697
|
+
export type ModifierOptionUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1698
|
+
/**
|
|
1699
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1700
|
+
*/
|
|
1701
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1702
|
+
/**
|
|
1703
|
+
* Omit specific fields from the ModifierOption
|
|
1704
|
+
*/
|
|
1705
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1706
|
+
/**
|
|
1707
|
+
* Choose, which related nodes to fetch as well
|
|
1708
|
+
*/
|
|
1709
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1710
|
+
/**
|
|
1711
|
+
* The filter to search for the ModifierOption to update in case it exists.
|
|
1712
|
+
*/
|
|
1713
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
1714
|
+
/**
|
|
1715
|
+
* In case the ModifierOption found by the `where` argument doesn't exist, create a new ModifierOption with this data.
|
|
1716
|
+
*/
|
|
1717
|
+
create: Prisma.XOR<Prisma.ModifierOptionCreateInput, Prisma.ModifierOptionUncheckedCreateInput>;
|
|
1718
|
+
/**
|
|
1719
|
+
* In case the ModifierOption was found with the provided `where` argument, update it with this data.
|
|
1720
|
+
*/
|
|
1721
|
+
update: Prisma.XOR<Prisma.ModifierOptionUpdateInput, Prisma.ModifierOptionUncheckedUpdateInput>;
|
|
1722
|
+
};
|
|
1723
|
+
/**
|
|
1724
|
+
* ModifierOption delete
|
|
1725
|
+
*/
|
|
1726
|
+
export type ModifierOptionDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1727
|
+
/**
|
|
1728
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1729
|
+
*/
|
|
1730
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1731
|
+
/**
|
|
1732
|
+
* Omit specific fields from the ModifierOption
|
|
1733
|
+
*/
|
|
1734
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1735
|
+
/**
|
|
1736
|
+
* Choose, which related nodes to fetch as well
|
|
1737
|
+
*/
|
|
1738
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1739
|
+
/**
|
|
1740
|
+
* Filter which ModifierOption to delete.
|
|
1741
|
+
*/
|
|
1742
|
+
where: Prisma.ModifierOptionWhereUniqueInput;
|
|
1743
|
+
};
|
|
1744
|
+
/**
|
|
1745
|
+
* ModifierOption deleteMany
|
|
1746
|
+
*/
|
|
1747
|
+
export type ModifierOptionDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1748
|
+
/**
|
|
1749
|
+
* Filter which ModifierOptions to delete
|
|
1750
|
+
*/
|
|
1751
|
+
where?: Prisma.ModifierOptionWhereInput;
|
|
1752
|
+
/**
|
|
1753
|
+
* Limit how many ModifierOptions to delete.
|
|
1754
|
+
*/
|
|
1755
|
+
limit?: number;
|
|
1756
|
+
};
|
|
1757
|
+
/**
|
|
1758
|
+
* ModifierOption.productVariant
|
|
1759
|
+
*/
|
|
1760
|
+
export type ModifierOption$productVariantArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1761
|
+
/**
|
|
1762
|
+
* Select specific fields to fetch from the ProductVariant
|
|
1763
|
+
*/
|
|
1764
|
+
select?: Prisma.ProductVariantSelect<ExtArgs> | null;
|
|
1765
|
+
/**
|
|
1766
|
+
* Omit specific fields from the ProductVariant
|
|
1767
|
+
*/
|
|
1768
|
+
omit?: Prisma.ProductVariantOmit<ExtArgs> | null;
|
|
1769
|
+
/**
|
|
1770
|
+
* Choose, which related nodes to fetch as well
|
|
1771
|
+
*/
|
|
1772
|
+
include?: Prisma.ProductVariantInclude<ExtArgs> | null;
|
|
1773
|
+
where?: Prisma.ProductVariantWhereInput;
|
|
1774
|
+
};
|
|
1775
|
+
/**
|
|
1776
|
+
* ModifierOption.cartLineModifierOptions
|
|
1777
|
+
*/
|
|
1778
|
+
export type ModifierOption$cartLineModifierOptionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1779
|
+
/**
|
|
1780
|
+
* Select specific fields to fetch from the CartLineModifierOption
|
|
1781
|
+
*/
|
|
1782
|
+
select?: Prisma.CartLineModifierOptionSelect<ExtArgs> | null;
|
|
1783
|
+
/**
|
|
1784
|
+
* Omit specific fields from the CartLineModifierOption
|
|
1785
|
+
*/
|
|
1786
|
+
omit?: Prisma.CartLineModifierOptionOmit<ExtArgs> | null;
|
|
1787
|
+
/**
|
|
1788
|
+
* Choose, which related nodes to fetch as well
|
|
1789
|
+
*/
|
|
1790
|
+
include?: Prisma.CartLineModifierOptionInclude<ExtArgs> | null;
|
|
1791
|
+
where?: Prisma.CartLineModifierOptionWhereInput;
|
|
1792
|
+
orderBy?: Prisma.CartLineModifierOptionOrderByWithRelationInput | Prisma.CartLineModifierOptionOrderByWithRelationInput[];
|
|
1793
|
+
cursor?: Prisma.CartLineModifierOptionWhereUniqueInput;
|
|
1794
|
+
take?: number;
|
|
1795
|
+
skip?: number;
|
|
1796
|
+
distinct?: Prisma.CartLineModifierOptionScalarFieldEnum | Prisma.CartLineModifierOptionScalarFieldEnum[];
|
|
1797
|
+
};
|
|
1798
|
+
/**
|
|
1799
|
+
* ModifierOption.checkoutLineModifierOption
|
|
1800
|
+
*/
|
|
1801
|
+
export type ModifierOption$checkoutLineModifierOptionArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1802
|
+
/**
|
|
1803
|
+
* Select specific fields to fetch from the CheckoutLineModifierOption
|
|
1804
|
+
*/
|
|
1805
|
+
select?: Prisma.CheckoutLineModifierOptionSelect<ExtArgs> | null;
|
|
1806
|
+
/**
|
|
1807
|
+
* Omit specific fields from the CheckoutLineModifierOption
|
|
1808
|
+
*/
|
|
1809
|
+
omit?: Prisma.CheckoutLineModifierOptionOmit<ExtArgs> | null;
|
|
1810
|
+
/**
|
|
1811
|
+
* Choose, which related nodes to fetch as well
|
|
1812
|
+
*/
|
|
1813
|
+
include?: Prisma.CheckoutLineModifierOptionInclude<ExtArgs> | null;
|
|
1814
|
+
where?: Prisma.CheckoutLineModifierOptionWhereInput;
|
|
1815
|
+
orderBy?: Prisma.CheckoutLineModifierOptionOrderByWithRelationInput | Prisma.CheckoutLineModifierOptionOrderByWithRelationInput[];
|
|
1816
|
+
cursor?: Prisma.CheckoutLineModifierOptionWhereUniqueInput;
|
|
1817
|
+
take?: number;
|
|
1818
|
+
skip?: number;
|
|
1819
|
+
distinct?: Prisma.CheckoutLineModifierOptionScalarFieldEnum | Prisma.CheckoutLineModifierOptionScalarFieldEnum[];
|
|
1820
|
+
};
|
|
1821
|
+
/**
|
|
1822
|
+
* ModifierOption without action
|
|
1823
|
+
*/
|
|
1824
|
+
export type ModifierOptionDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1825
|
+
/**
|
|
1826
|
+
* Select specific fields to fetch from the ModifierOption
|
|
1827
|
+
*/
|
|
1828
|
+
select?: Prisma.ModifierOptionSelect<ExtArgs> | null;
|
|
1829
|
+
/**
|
|
1830
|
+
* Omit specific fields from the ModifierOption
|
|
1831
|
+
*/
|
|
1832
|
+
omit?: Prisma.ModifierOptionOmit<ExtArgs> | null;
|
|
1833
|
+
/**
|
|
1834
|
+
* Choose, which related nodes to fetch as well
|
|
1835
|
+
*/
|
|
1836
|
+
include?: Prisma.ModifierOptionInclude<ExtArgs> | null;
|
|
1837
|
+
};
|
|
1838
|
+
export {};
|