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