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