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