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