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