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