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