@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,1266 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model Facet
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type FacetModel = runtime.Types.Result.DefaultSelection<Prisma.$FacetPayload>;
|
|
8
|
+
export type AggregateFacet = {
|
|
9
|
+
_count: FacetCountAggregateOutputType | null;
|
|
10
|
+
_avg: FacetAvgAggregateOutputType | null;
|
|
11
|
+
_sum: FacetSumAggregateOutputType | null;
|
|
12
|
+
_min: FacetMinAggregateOutputType | null;
|
|
13
|
+
_max: FacetMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type FacetAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
};
|
|
18
|
+
export type FacetSumAggregateOutputType = {
|
|
19
|
+
id: bigint | null;
|
|
20
|
+
};
|
|
21
|
+
export type FacetMinAggregateOutputType = {
|
|
22
|
+
id: bigint | null;
|
|
23
|
+
createdAt: Date | null;
|
|
24
|
+
updatedAt: Date | null;
|
|
25
|
+
code: string | null;
|
|
26
|
+
};
|
|
27
|
+
export type FacetMaxAggregateOutputType = {
|
|
28
|
+
id: bigint | null;
|
|
29
|
+
createdAt: Date | null;
|
|
30
|
+
updatedAt: Date | null;
|
|
31
|
+
code: string | null;
|
|
32
|
+
};
|
|
33
|
+
export type FacetCountAggregateOutputType = {
|
|
34
|
+
id: number;
|
|
35
|
+
createdAt: number;
|
|
36
|
+
updatedAt: number;
|
|
37
|
+
code: number;
|
|
38
|
+
_all: number;
|
|
39
|
+
};
|
|
40
|
+
export type FacetAvgAggregateInputType = {
|
|
41
|
+
id?: true;
|
|
42
|
+
};
|
|
43
|
+
export type FacetSumAggregateInputType = {
|
|
44
|
+
id?: true;
|
|
45
|
+
};
|
|
46
|
+
export type FacetMinAggregateInputType = {
|
|
47
|
+
id?: true;
|
|
48
|
+
createdAt?: true;
|
|
49
|
+
updatedAt?: true;
|
|
50
|
+
code?: true;
|
|
51
|
+
};
|
|
52
|
+
export type FacetMaxAggregateInputType = {
|
|
53
|
+
id?: true;
|
|
54
|
+
createdAt?: true;
|
|
55
|
+
updatedAt?: true;
|
|
56
|
+
code?: true;
|
|
57
|
+
};
|
|
58
|
+
export type FacetCountAggregateInputType = {
|
|
59
|
+
id?: true;
|
|
60
|
+
createdAt?: true;
|
|
61
|
+
updatedAt?: true;
|
|
62
|
+
code?: true;
|
|
63
|
+
_all?: true;
|
|
64
|
+
};
|
|
65
|
+
export type FacetAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
66
|
+
/**
|
|
67
|
+
* Filter which Facet to aggregate.
|
|
68
|
+
*/
|
|
69
|
+
where?: Prisma.FacetWhereInput;
|
|
70
|
+
/**
|
|
71
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
72
|
+
*
|
|
73
|
+
* Determine the order of Facets to fetch.
|
|
74
|
+
*/
|
|
75
|
+
orderBy?: Prisma.FacetOrderByWithRelationInput | Prisma.FacetOrderByWithRelationInput[];
|
|
76
|
+
/**
|
|
77
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
78
|
+
*
|
|
79
|
+
* Sets the start position
|
|
80
|
+
*/
|
|
81
|
+
cursor?: Prisma.FacetWhereUniqueInput;
|
|
82
|
+
/**
|
|
83
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
84
|
+
*
|
|
85
|
+
* Take `±n` Facets from the position of the cursor.
|
|
86
|
+
*/
|
|
87
|
+
take?: number;
|
|
88
|
+
/**
|
|
89
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
90
|
+
*
|
|
91
|
+
* Skip the first `n` Facets.
|
|
92
|
+
*/
|
|
93
|
+
skip?: number;
|
|
94
|
+
/**
|
|
95
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
96
|
+
*
|
|
97
|
+
* Count returned Facets
|
|
98
|
+
**/
|
|
99
|
+
_count?: true | FacetCountAggregateInputType;
|
|
100
|
+
/**
|
|
101
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
102
|
+
*
|
|
103
|
+
* Select which fields to average
|
|
104
|
+
**/
|
|
105
|
+
_avg?: FacetAvgAggregateInputType;
|
|
106
|
+
/**
|
|
107
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
108
|
+
*
|
|
109
|
+
* Select which fields to sum
|
|
110
|
+
**/
|
|
111
|
+
_sum?: FacetSumAggregateInputType;
|
|
112
|
+
/**
|
|
113
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
114
|
+
*
|
|
115
|
+
* Select which fields to find the minimum value
|
|
116
|
+
**/
|
|
117
|
+
_min?: FacetMinAggregateInputType;
|
|
118
|
+
/**
|
|
119
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
120
|
+
*
|
|
121
|
+
* Select which fields to find the maximum value
|
|
122
|
+
**/
|
|
123
|
+
_max?: FacetMaxAggregateInputType;
|
|
124
|
+
};
|
|
125
|
+
export type GetFacetAggregateType<T extends FacetAggregateArgs> = {
|
|
126
|
+
[P in keyof T & keyof AggregateFacet]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateFacet[P]> : Prisma.GetScalarType<T[P], AggregateFacet[P]>;
|
|
127
|
+
};
|
|
128
|
+
export type FacetGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
129
|
+
where?: Prisma.FacetWhereInput;
|
|
130
|
+
orderBy?: Prisma.FacetOrderByWithAggregationInput | Prisma.FacetOrderByWithAggregationInput[];
|
|
131
|
+
by: Prisma.FacetScalarFieldEnum[] | Prisma.FacetScalarFieldEnum;
|
|
132
|
+
having?: Prisma.FacetScalarWhereWithAggregatesInput;
|
|
133
|
+
take?: number;
|
|
134
|
+
skip?: number;
|
|
135
|
+
_count?: FacetCountAggregateInputType | true;
|
|
136
|
+
_avg?: FacetAvgAggregateInputType;
|
|
137
|
+
_sum?: FacetSumAggregateInputType;
|
|
138
|
+
_min?: FacetMinAggregateInputType;
|
|
139
|
+
_max?: FacetMaxAggregateInputType;
|
|
140
|
+
};
|
|
141
|
+
export type FacetGroupByOutputType = {
|
|
142
|
+
id: bigint;
|
|
143
|
+
createdAt: Date;
|
|
144
|
+
updatedAt: Date;
|
|
145
|
+
code: string;
|
|
146
|
+
_count: FacetCountAggregateOutputType | null;
|
|
147
|
+
_avg: FacetAvgAggregateOutputType | null;
|
|
148
|
+
_sum: FacetSumAggregateOutputType | null;
|
|
149
|
+
_min: FacetMinAggregateOutputType | null;
|
|
150
|
+
_max: FacetMaxAggregateOutputType | null;
|
|
151
|
+
};
|
|
152
|
+
type GetFacetGroupByPayload<T extends FacetGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<FacetGroupByOutputType, T['by']> & {
|
|
153
|
+
[P in ((keyof T) & (keyof FacetGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], FacetGroupByOutputType[P]> : Prisma.GetScalarType<T[P], FacetGroupByOutputType[P]>;
|
|
154
|
+
}>>;
|
|
155
|
+
export type FacetWhereInput = {
|
|
156
|
+
AND?: Prisma.FacetWhereInput | Prisma.FacetWhereInput[];
|
|
157
|
+
OR?: Prisma.FacetWhereInput[];
|
|
158
|
+
NOT?: Prisma.FacetWhereInput | Prisma.FacetWhereInput[];
|
|
159
|
+
id?: Prisma.BigIntFilter<"Facet"> | bigint | number;
|
|
160
|
+
createdAt?: Prisma.DateTimeFilter<"Facet"> | Date | string;
|
|
161
|
+
updatedAt?: Prisma.DateTimeFilter<"Facet"> | Date | string;
|
|
162
|
+
code?: Prisma.StringFilter<"Facet"> | string;
|
|
163
|
+
facetOptions?: Prisma.FacetOptionListRelationFilter;
|
|
164
|
+
facetToPlatform?: Prisma.FacetToPlatformListRelationFilter;
|
|
165
|
+
};
|
|
166
|
+
export type FacetOrderByWithRelationInput = {
|
|
167
|
+
id?: Prisma.SortOrder;
|
|
168
|
+
createdAt?: Prisma.SortOrder;
|
|
169
|
+
updatedAt?: Prisma.SortOrder;
|
|
170
|
+
code?: Prisma.SortOrder;
|
|
171
|
+
facetOptions?: Prisma.FacetOptionOrderByRelationAggregateInput;
|
|
172
|
+
facetToPlatform?: Prisma.FacetToPlatformOrderByRelationAggregateInput;
|
|
173
|
+
_relevance?: Prisma.FacetOrderByRelevanceInput;
|
|
174
|
+
};
|
|
175
|
+
export type FacetWhereUniqueInput = Prisma.AtLeast<{
|
|
176
|
+
id?: bigint | number;
|
|
177
|
+
code?: string;
|
|
178
|
+
AND?: Prisma.FacetWhereInput | Prisma.FacetWhereInput[];
|
|
179
|
+
OR?: Prisma.FacetWhereInput[];
|
|
180
|
+
NOT?: Prisma.FacetWhereInput | Prisma.FacetWhereInput[];
|
|
181
|
+
createdAt?: Prisma.DateTimeFilter<"Facet"> | Date | string;
|
|
182
|
+
updatedAt?: Prisma.DateTimeFilter<"Facet"> | Date | string;
|
|
183
|
+
facetOptions?: Prisma.FacetOptionListRelationFilter;
|
|
184
|
+
facetToPlatform?: Prisma.FacetToPlatformListRelationFilter;
|
|
185
|
+
}, "id" | "code">;
|
|
186
|
+
export type FacetOrderByWithAggregationInput = {
|
|
187
|
+
id?: Prisma.SortOrder;
|
|
188
|
+
createdAt?: Prisma.SortOrder;
|
|
189
|
+
updatedAt?: Prisma.SortOrder;
|
|
190
|
+
code?: Prisma.SortOrder;
|
|
191
|
+
_count?: Prisma.FacetCountOrderByAggregateInput;
|
|
192
|
+
_avg?: Prisma.FacetAvgOrderByAggregateInput;
|
|
193
|
+
_max?: Prisma.FacetMaxOrderByAggregateInput;
|
|
194
|
+
_min?: Prisma.FacetMinOrderByAggregateInput;
|
|
195
|
+
_sum?: Prisma.FacetSumOrderByAggregateInput;
|
|
196
|
+
};
|
|
197
|
+
export type FacetScalarWhereWithAggregatesInput = {
|
|
198
|
+
AND?: Prisma.FacetScalarWhereWithAggregatesInput | Prisma.FacetScalarWhereWithAggregatesInput[];
|
|
199
|
+
OR?: Prisma.FacetScalarWhereWithAggregatesInput[];
|
|
200
|
+
NOT?: Prisma.FacetScalarWhereWithAggregatesInput | Prisma.FacetScalarWhereWithAggregatesInput[];
|
|
201
|
+
id?: Prisma.BigIntWithAggregatesFilter<"Facet"> | bigint | number;
|
|
202
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Facet"> | Date | string;
|
|
203
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Facet"> | Date | string;
|
|
204
|
+
code?: Prisma.StringWithAggregatesFilter<"Facet"> | string;
|
|
205
|
+
};
|
|
206
|
+
export type FacetCreateInput = {
|
|
207
|
+
id?: bigint | number;
|
|
208
|
+
createdAt?: Date | string;
|
|
209
|
+
updatedAt?: Date | string;
|
|
210
|
+
code: string;
|
|
211
|
+
facetOptions?: Prisma.FacetOptionCreateNestedManyWithoutFacetInput;
|
|
212
|
+
facetToPlatform?: Prisma.FacetToPlatformCreateNestedManyWithoutFacetInput;
|
|
213
|
+
};
|
|
214
|
+
export type FacetUncheckedCreateInput = {
|
|
215
|
+
id?: bigint | number;
|
|
216
|
+
createdAt?: Date | string;
|
|
217
|
+
updatedAt?: Date | string;
|
|
218
|
+
code: string;
|
|
219
|
+
facetOptions?: Prisma.FacetOptionUncheckedCreateNestedManyWithoutFacetInput;
|
|
220
|
+
facetToPlatform?: Prisma.FacetToPlatformUncheckedCreateNestedManyWithoutFacetInput;
|
|
221
|
+
};
|
|
222
|
+
export type FacetUpdateInput = {
|
|
223
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
224
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
225
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
226
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
227
|
+
facetOptions?: Prisma.FacetOptionUpdateManyWithoutFacetNestedInput;
|
|
228
|
+
facetToPlatform?: Prisma.FacetToPlatformUpdateManyWithoutFacetNestedInput;
|
|
229
|
+
};
|
|
230
|
+
export type FacetUncheckedUpdateInput = {
|
|
231
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
232
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
233
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
234
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
235
|
+
facetOptions?: Prisma.FacetOptionUncheckedUpdateManyWithoutFacetNestedInput;
|
|
236
|
+
facetToPlatform?: Prisma.FacetToPlatformUncheckedUpdateManyWithoutFacetNestedInput;
|
|
237
|
+
};
|
|
238
|
+
export type FacetCreateManyInput = {
|
|
239
|
+
id?: bigint | number;
|
|
240
|
+
createdAt?: Date | string;
|
|
241
|
+
updatedAt?: Date | string;
|
|
242
|
+
code: string;
|
|
243
|
+
};
|
|
244
|
+
export type FacetUpdateManyMutationInput = {
|
|
245
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
246
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
247
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
248
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
249
|
+
};
|
|
250
|
+
export type FacetUncheckedUpdateManyInput = {
|
|
251
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
252
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
253
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
254
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
255
|
+
};
|
|
256
|
+
export type FacetScalarRelationFilter = {
|
|
257
|
+
is?: Prisma.FacetWhereInput;
|
|
258
|
+
isNot?: Prisma.FacetWhereInput;
|
|
259
|
+
};
|
|
260
|
+
export type FacetOrderByRelevanceInput = {
|
|
261
|
+
fields: Prisma.FacetOrderByRelevanceFieldEnum | Prisma.FacetOrderByRelevanceFieldEnum[];
|
|
262
|
+
sort: Prisma.SortOrder;
|
|
263
|
+
search: string;
|
|
264
|
+
};
|
|
265
|
+
export type FacetCountOrderByAggregateInput = {
|
|
266
|
+
id?: Prisma.SortOrder;
|
|
267
|
+
createdAt?: Prisma.SortOrder;
|
|
268
|
+
updatedAt?: Prisma.SortOrder;
|
|
269
|
+
code?: Prisma.SortOrder;
|
|
270
|
+
};
|
|
271
|
+
export type FacetAvgOrderByAggregateInput = {
|
|
272
|
+
id?: Prisma.SortOrder;
|
|
273
|
+
};
|
|
274
|
+
export type FacetMaxOrderByAggregateInput = {
|
|
275
|
+
id?: Prisma.SortOrder;
|
|
276
|
+
createdAt?: Prisma.SortOrder;
|
|
277
|
+
updatedAt?: Prisma.SortOrder;
|
|
278
|
+
code?: Prisma.SortOrder;
|
|
279
|
+
};
|
|
280
|
+
export type FacetMinOrderByAggregateInput = {
|
|
281
|
+
id?: Prisma.SortOrder;
|
|
282
|
+
createdAt?: Prisma.SortOrder;
|
|
283
|
+
updatedAt?: Prisma.SortOrder;
|
|
284
|
+
code?: Prisma.SortOrder;
|
|
285
|
+
};
|
|
286
|
+
export type FacetSumOrderByAggregateInput = {
|
|
287
|
+
id?: Prisma.SortOrder;
|
|
288
|
+
};
|
|
289
|
+
export type FacetCreateNestedOneWithoutFacetOptionsInput = {
|
|
290
|
+
create?: Prisma.XOR<Prisma.FacetCreateWithoutFacetOptionsInput, Prisma.FacetUncheckedCreateWithoutFacetOptionsInput>;
|
|
291
|
+
connectOrCreate?: Prisma.FacetCreateOrConnectWithoutFacetOptionsInput;
|
|
292
|
+
connect?: Prisma.FacetWhereUniqueInput;
|
|
293
|
+
};
|
|
294
|
+
export type FacetUpdateOneRequiredWithoutFacetOptionsNestedInput = {
|
|
295
|
+
create?: Prisma.XOR<Prisma.FacetCreateWithoutFacetOptionsInput, Prisma.FacetUncheckedCreateWithoutFacetOptionsInput>;
|
|
296
|
+
connectOrCreate?: Prisma.FacetCreateOrConnectWithoutFacetOptionsInput;
|
|
297
|
+
upsert?: Prisma.FacetUpsertWithoutFacetOptionsInput;
|
|
298
|
+
connect?: Prisma.FacetWhereUniqueInput;
|
|
299
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.FacetUpdateToOneWithWhereWithoutFacetOptionsInput, Prisma.FacetUpdateWithoutFacetOptionsInput>, Prisma.FacetUncheckedUpdateWithoutFacetOptionsInput>;
|
|
300
|
+
};
|
|
301
|
+
export type FacetCreateNestedOneWithoutFacetToPlatformInput = {
|
|
302
|
+
create?: Prisma.XOR<Prisma.FacetCreateWithoutFacetToPlatformInput, Prisma.FacetUncheckedCreateWithoutFacetToPlatformInput>;
|
|
303
|
+
connectOrCreate?: Prisma.FacetCreateOrConnectWithoutFacetToPlatformInput;
|
|
304
|
+
connect?: Prisma.FacetWhereUniqueInput;
|
|
305
|
+
};
|
|
306
|
+
export type FacetUpdateOneRequiredWithoutFacetToPlatformNestedInput = {
|
|
307
|
+
create?: Prisma.XOR<Prisma.FacetCreateWithoutFacetToPlatformInput, Prisma.FacetUncheckedCreateWithoutFacetToPlatformInput>;
|
|
308
|
+
connectOrCreate?: Prisma.FacetCreateOrConnectWithoutFacetToPlatformInput;
|
|
309
|
+
upsert?: Prisma.FacetUpsertWithoutFacetToPlatformInput;
|
|
310
|
+
connect?: Prisma.FacetWhereUniqueInput;
|
|
311
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.FacetUpdateToOneWithWhereWithoutFacetToPlatformInput, Prisma.FacetUpdateWithoutFacetToPlatformInput>, Prisma.FacetUncheckedUpdateWithoutFacetToPlatformInput>;
|
|
312
|
+
};
|
|
313
|
+
export type FacetCreateWithoutFacetOptionsInput = {
|
|
314
|
+
id?: bigint | number;
|
|
315
|
+
createdAt?: Date | string;
|
|
316
|
+
updatedAt?: Date | string;
|
|
317
|
+
code: string;
|
|
318
|
+
facetToPlatform?: Prisma.FacetToPlatformCreateNestedManyWithoutFacetInput;
|
|
319
|
+
};
|
|
320
|
+
export type FacetUncheckedCreateWithoutFacetOptionsInput = {
|
|
321
|
+
id?: bigint | number;
|
|
322
|
+
createdAt?: Date | string;
|
|
323
|
+
updatedAt?: Date | string;
|
|
324
|
+
code: string;
|
|
325
|
+
facetToPlatform?: Prisma.FacetToPlatformUncheckedCreateNestedManyWithoutFacetInput;
|
|
326
|
+
};
|
|
327
|
+
export type FacetCreateOrConnectWithoutFacetOptionsInput = {
|
|
328
|
+
where: Prisma.FacetWhereUniqueInput;
|
|
329
|
+
create: Prisma.XOR<Prisma.FacetCreateWithoutFacetOptionsInput, Prisma.FacetUncheckedCreateWithoutFacetOptionsInput>;
|
|
330
|
+
};
|
|
331
|
+
export type FacetUpsertWithoutFacetOptionsInput = {
|
|
332
|
+
update: Prisma.XOR<Prisma.FacetUpdateWithoutFacetOptionsInput, Prisma.FacetUncheckedUpdateWithoutFacetOptionsInput>;
|
|
333
|
+
create: Prisma.XOR<Prisma.FacetCreateWithoutFacetOptionsInput, Prisma.FacetUncheckedCreateWithoutFacetOptionsInput>;
|
|
334
|
+
where?: Prisma.FacetWhereInput;
|
|
335
|
+
};
|
|
336
|
+
export type FacetUpdateToOneWithWhereWithoutFacetOptionsInput = {
|
|
337
|
+
where?: Prisma.FacetWhereInput;
|
|
338
|
+
data: Prisma.XOR<Prisma.FacetUpdateWithoutFacetOptionsInput, Prisma.FacetUncheckedUpdateWithoutFacetOptionsInput>;
|
|
339
|
+
};
|
|
340
|
+
export type FacetUpdateWithoutFacetOptionsInput = {
|
|
341
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
342
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
343
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
344
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
345
|
+
facetToPlatform?: Prisma.FacetToPlatformUpdateManyWithoutFacetNestedInput;
|
|
346
|
+
};
|
|
347
|
+
export type FacetUncheckedUpdateWithoutFacetOptionsInput = {
|
|
348
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
349
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
350
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
351
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
352
|
+
facetToPlatform?: Prisma.FacetToPlatformUncheckedUpdateManyWithoutFacetNestedInput;
|
|
353
|
+
};
|
|
354
|
+
export type FacetCreateWithoutFacetToPlatformInput = {
|
|
355
|
+
id?: bigint | number;
|
|
356
|
+
createdAt?: Date | string;
|
|
357
|
+
updatedAt?: Date | string;
|
|
358
|
+
code: string;
|
|
359
|
+
facetOptions?: Prisma.FacetOptionCreateNestedManyWithoutFacetInput;
|
|
360
|
+
};
|
|
361
|
+
export type FacetUncheckedCreateWithoutFacetToPlatformInput = {
|
|
362
|
+
id?: bigint | number;
|
|
363
|
+
createdAt?: Date | string;
|
|
364
|
+
updatedAt?: Date | string;
|
|
365
|
+
code: string;
|
|
366
|
+
facetOptions?: Prisma.FacetOptionUncheckedCreateNestedManyWithoutFacetInput;
|
|
367
|
+
};
|
|
368
|
+
export type FacetCreateOrConnectWithoutFacetToPlatformInput = {
|
|
369
|
+
where: Prisma.FacetWhereUniqueInput;
|
|
370
|
+
create: Prisma.XOR<Prisma.FacetCreateWithoutFacetToPlatformInput, Prisma.FacetUncheckedCreateWithoutFacetToPlatformInput>;
|
|
371
|
+
};
|
|
372
|
+
export type FacetUpsertWithoutFacetToPlatformInput = {
|
|
373
|
+
update: Prisma.XOR<Prisma.FacetUpdateWithoutFacetToPlatformInput, Prisma.FacetUncheckedUpdateWithoutFacetToPlatformInput>;
|
|
374
|
+
create: Prisma.XOR<Prisma.FacetCreateWithoutFacetToPlatformInput, Prisma.FacetUncheckedCreateWithoutFacetToPlatformInput>;
|
|
375
|
+
where?: Prisma.FacetWhereInput;
|
|
376
|
+
};
|
|
377
|
+
export type FacetUpdateToOneWithWhereWithoutFacetToPlatformInput = {
|
|
378
|
+
where?: Prisma.FacetWhereInput;
|
|
379
|
+
data: Prisma.XOR<Prisma.FacetUpdateWithoutFacetToPlatformInput, Prisma.FacetUncheckedUpdateWithoutFacetToPlatformInput>;
|
|
380
|
+
};
|
|
381
|
+
export type FacetUpdateWithoutFacetToPlatformInput = {
|
|
382
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
383
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
384
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
385
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
386
|
+
facetOptions?: Prisma.FacetOptionUpdateManyWithoutFacetNestedInput;
|
|
387
|
+
};
|
|
388
|
+
export type FacetUncheckedUpdateWithoutFacetToPlatformInput = {
|
|
389
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
390
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
391
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
392
|
+
code?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
393
|
+
facetOptions?: Prisma.FacetOptionUncheckedUpdateManyWithoutFacetNestedInput;
|
|
394
|
+
};
|
|
395
|
+
/**
|
|
396
|
+
* Count Type FacetCountOutputType
|
|
397
|
+
*/
|
|
398
|
+
export type FacetCountOutputType = {
|
|
399
|
+
facetOptions: number;
|
|
400
|
+
facetToPlatform: number;
|
|
401
|
+
};
|
|
402
|
+
export type FacetCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
403
|
+
facetOptions?: boolean | FacetCountOutputTypeCountFacetOptionsArgs;
|
|
404
|
+
facetToPlatform?: boolean | FacetCountOutputTypeCountFacetToPlatformArgs;
|
|
405
|
+
};
|
|
406
|
+
/**
|
|
407
|
+
* FacetCountOutputType without action
|
|
408
|
+
*/
|
|
409
|
+
export type FacetCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
410
|
+
/**
|
|
411
|
+
* Select specific fields to fetch from the FacetCountOutputType
|
|
412
|
+
*/
|
|
413
|
+
select?: Prisma.FacetCountOutputTypeSelect<ExtArgs> | null;
|
|
414
|
+
};
|
|
415
|
+
/**
|
|
416
|
+
* FacetCountOutputType without action
|
|
417
|
+
*/
|
|
418
|
+
export type FacetCountOutputTypeCountFacetOptionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
419
|
+
where?: Prisma.FacetOptionWhereInput;
|
|
420
|
+
};
|
|
421
|
+
/**
|
|
422
|
+
* FacetCountOutputType without action
|
|
423
|
+
*/
|
|
424
|
+
export type FacetCountOutputTypeCountFacetToPlatformArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
425
|
+
where?: Prisma.FacetToPlatformWhereInput;
|
|
426
|
+
};
|
|
427
|
+
export type FacetSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
428
|
+
id?: boolean;
|
|
429
|
+
createdAt?: boolean;
|
|
430
|
+
updatedAt?: boolean;
|
|
431
|
+
code?: boolean;
|
|
432
|
+
facetOptions?: boolean | Prisma.Facet$facetOptionsArgs<ExtArgs>;
|
|
433
|
+
facetToPlatform?: boolean | Prisma.Facet$facetToPlatformArgs<ExtArgs>;
|
|
434
|
+
_count?: boolean | Prisma.FacetCountOutputTypeDefaultArgs<ExtArgs>;
|
|
435
|
+
}, ExtArgs["result"]["facet"]>;
|
|
436
|
+
export type FacetSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
437
|
+
id?: boolean;
|
|
438
|
+
createdAt?: boolean;
|
|
439
|
+
updatedAt?: boolean;
|
|
440
|
+
code?: boolean;
|
|
441
|
+
}, ExtArgs["result"]["facet"]>;
|
|
442
|
+
export type FacetSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
443
|
+
id?: boolean;
|
|
444
|
+
createdAt?: boolean;
|
|
445
|
+
updatedAt?: boolean;
|
|
446
|
+
code?: boolean;
|
|
447
|
+
}, ExtArgs["result"]["facet"]>;
|
|
448
|
+
export type FacetSelectScalar = {
|
|
449
|
+
id?: boolean;
|
|
450
|
+
createdAt?: boolean;
|
|
451
|
+
updatedAt?: boolean;
|
|
452
|
+
code?: boolean;
|
|
453
|
+
};
|
|
454
|
+
export type FacetOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "createdAt" | "updatedAt" | "code", ExtArgs["result"]["facet"]>;
|
|
455
|
+
export type FacetInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
456
|
+
facetOptions?: boolean | Prisma.Facet$facetOptionsArgs<ExtArgs>;
|
|
457
|
+
facetToPlatform?: boolean | Prisma.Facet$facetToPlatformArgs<ExtArgs>;
|
|
458
|
+
_count?: boolean | Prisma.FacetCountOutputTypeDefaultArgs<ExtArgs>;
|
|
459
|
+
};
|
|
460
|
+
export type FacetIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
461
|
+
export type FacetIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {};
|
|
462
|
+
export type $FacetPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
463
|
+
name: "Facet";
|
|
464
|
+
objects: {
|
|
465
|
+
facetOptions: Prisma.$FacetOptionPayload<ExtArgs>[];
|
|
466
|
+
facetToPlatform: Prisma.$FacetToPlatformPayload<ExtArgs>[];
|
|
467
|
+
};
|
|
468
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
469
|
+
id: bigint;
|
|
470
|
+
createdAt: Date;
|
|
471
|
+
updatedAt: Date;
|
|
472
|
+
code: string;
|
|
473
|
+
}, ExtArgs["result"]["facet"]>;
|
|
474
|
+
composites: {};
|
|
475
|
+
};
|
|
476
|
+
export type FacetGetPayload<S extends boolean | null | undefined | FacetDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$FacetPayload, S>;
|
|
477
|
+
export type FacetCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<FacetFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
478
|
+
select?: FacetCountAggregateInputType | true;
|
|
479
|
+
};
|
|
480
|
+
export interface FacetDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
481
|
+
[K: symbol]: {
|
|
482
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Facet'];
|
|
483
|
+
meta: {
|
|
484
|
+
name: 'Facet';
|
|
485
|
+
};
|
|
486
|
+
};
|
|
487
|
+
/**
|
|
488
|
+
* Find zero or one Facet that matches the filter.
|
|
489
|
+
* @param {FacetFindUniqueArgs} args - Arguments to find a Facet
|
|
490
|
+
* @example
|
|
491
|
+
* // Get one Facet
|
|
492
|
+
* const facet = await prisma.facet.findUnique({
|
|
493
|
+
* where: {
|
|
494
|
+
* // ... provide filter here
|
|
495
|
+
* }
|
|
496
|
+
* })
|
|
497
|
+
*/
|
|
498
|
+
findUnique<T extends FacetFindUniqueArgs>(args: Prisma.SelectSubset<T, FacetFindUniqueArgs<ExtArgs>>): Prisma.Prisma__FacetClient<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
499
|
+
/**
|
|
500
|
+
* Find one Facet that matches the filter or throw an error with `error.code='P2025'`
|
|
501
|
+
* if no matches were found.
|
|
502
|
+
* @param {FacetFindUniqueOrThrowArgs} args - Arguments to find a Facet
|
|
503
|
+
* @example
|
|
504
|
+
* // Get one Facet
|
|
505
|
+
* const facet = await prisma.facet.findUniqueOrThrow({
|
|
506
|
+
* where: {
|
|
507
|
+
* // ... provide filter here
|
|
508
|
+
* }
|
|
509
|
+
* })
|
|
510
|
+
*/
|
|
511
|
+
findUniqueOrThrow<T extends FacetFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, FacetFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__FacetClient<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
512
|
+
/**
|
|
513
|
+
* Find the first Facet that matches the filter.
|
|
514
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
515
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
516
|
+
* @param {FacetFindFirstArgs} args - Arguments to find a Facet
|
|
517
|
+
* @example
|
|
518
|
+
* // Get one Facet
|
|
519
|
+
* const facet = await prisma.facet.findFirst({
|
|
520
|
+
* where: {
|
|
521
|
+
* // ... provide filter here
|
|
522
|
+
* }
|
|
523
|
+
* })
|
|
524
|
+
*/
|
|
525
|
+
findFirst<T extends FacetFindFirstArgs>(args?: Prisma.SelectSubset<T, FacetFindFirstArgs<ExtArgs>>): Prisma.Prisma__FacetClient<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
526
|
+
/**
|
|
527
|
+
* Find the first Facet that matches the filter or
|
|
528
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
529
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
530
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
531
|
+
* @param {FacetFindFirstOrThrowArgs} args - Arguments to find a Facet
|
|
532
|
+
* @example
|
|
533
|
+
* // Get one Facet
|
|
534
|
+
* const facet = await prisma.facet.findFirstOrThrow({
|
|
535
|
+
* where: {
|
|
536
|
+
* // ... provide filter here
|
|
537
|
+
* }
|
|
538
|
+
* })
|
|
539
|
+
*/
|
|
540
|
+
findFirstOrThrow<T extends FacetFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, FacetFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__FacetClient<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
541
|
+
/**
|
|
542
|
+
* Find zero or more Facets that matches the filter.
|
|
543
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
544
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
545
|
+
* @param {FacetFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
546
|
+
* @example
|
|
547
|
+
* // Get all Facets
|
|
548
|
+
* const facets = await prisma.facet.findMany()
|
|
549
|
+
*
|
|
550
|
+
* // Get first 10 Facets
|
|
551
|
+
* const facets = await prisma.facet.findMany({ take: 10 })
|
|
552
|
+
*
|
|
553
|
+
* // Only select the `id`
|
|
554
|
+
* const facetWithIdOnly = await prisma.facet.findMany({ select: { id: true } })
|
|
555
|
+
*
|
|
556
|
+
*/
|
|
557
|
+
findMany<T extends FacetFindManyArgs>(args?: Prisma.SelectSubset<T, FacetFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
558
|
+
/**
|
|
559
|
+
* Create a Facet.
|
|
560
|
+
* @param {FacetCreateArgs} args - Arguments to create a Facet.
|
|
561
|
+
* @example
|
|
562
|
+
* // Create one Facet
|
|
563
|
+
* const Facet = await prisma.facet.create({
|
|
564
|
+
* data: {
|
|
565
|
+
* // ... data to create a Facet
|
|
566
|
+
* }
|
|
567
|
+
* })
|
|
568
|
+
*
|
|
569
|
+
*/
|
|
570
|
+
create<T extends FacetCreateArgs>(args: Prisma.SelectSubset<T, FacetCreateArgs<ExtArgs>>): Prisma.Prisma__FacetClient<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
571
|
+
/**
|
|
572
|
+
* Create many Facets.
|
|
573
|
+
* @param {FacetCreateManyArgs} args - Arguments to create many Facets.
|
|
574
|
+
* @example
|
|
575
|
+
* // Create many Facets
|
|
576
|
+
* const facet = await prisma.facet.createMany({
|
|
577
|
+
* data: [
|
|
578
|
+
* // ... provide data here
|
|
579
|
+
* ]
|
|
580
|
+
* })
|
|
581
|
+
*
|
|
582
|
+
*/
|
|
583
|
+
createMany<T extends FacetCreateManyArgs>(args?: Prisma.SelectSubset<T, FacetCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
584
|
+
/**
|
|
585
|
+
* Create many Facets and returns the data saved in the database.
|
|
586
|
+
* @param {FacetCreateManyAndReturnArgs} args - Arguments to create many Facets.
|
|
587
|
+
* @example
|
|
588
|
+
* // Create many Facets
|
|
589
|
+
* const facet = await prisma.facet.createManyAndReturn({
|
|
590
|
+
* data: [
|
|
591
|
+
* // ... provide data here
|
|
592
|
+
* ]
|
|
593
|
+
* })
|
|
594
|
+
*
|
|
595
|
+
* // Create many Facets and only return the `id`
|
|
596
|
+
* const facetWithIdOnly = await prisma.facet.createManyAndReturn({
|
|
597
|
+
* select: { id: true },
|
|
598
|
+
* data: [
|
|
599
|
+
* // ... provide data here
|
|
600
|
+
* ]
|
|
601
|
+
* })
|
|
602
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
603
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
604
|
+
*
|
|
605
|
+
*/
|
|
606
|
+
createManyAndReturn<T extends FacetCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, FacetCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
607
|
+
/**
|
|
608
|
+
* Delete a Facet.
|
|
609
|
+
* @param {FacetDeleteArgs} args - Arguments to delete one Facet.
|
|
610
|
+
* @example
|
|
611
|
+
* // Delete one Facet
|
|
612
|
+
* const Facet = await prisma.facet.delete({
|
|
613
|
+
* where: {
|
|
614
|
+
* // ... filter to delete one Facet
|
|
615
|
+
* }
|
|
616
|
+
* })
|
|
617
|
+
*
|
|
618
|
+
*/
|
|
619
|
+
delete<T extends FacetDeleteArgs>(args: Prisma.SelectSubset<T, FacetDeleteArgs<ExtArgs>>): Prisma.Prisma__FacetClient<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
620
|
+
/**
|
|
621
|
+
* Update one Facet.
|
|
622
|
+
* @param {FacetUpdateArgs} args - Arguments to update one Facet.
|
|
623
|
+
* @example
|
|
624
|
+
* // Update one Facet
|
|
625
|
+
* const facet = await prisma.facet.update({
|
|
626
|
+
* where: {
|
|
627
|
+
* // ... provide filter here
|
|
628
|
+
* },
|
|
629
|
+
* data: {
|
|
630
|
+
* // ... provide data here
|
|
631
|
+
* }
|
|
632
|
+
* })
|
|
633
|
+
*
|
|
634
|
+
*/
|
|
635
|
+
update<T extends FacetUpdateArgs>(args: Prisma.SelectSubset<T, FacetUpdateArgs<ExtArgs>>): Prisma.Prisma__FacetClient<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
636
|
+
/**
|
|
637
|
+
* Delete zero or more Facets.
|
|
638
|
+
* @param {FacetDeleteManyArgs} args - Arguments to filter Facets to delete.
|
|
639
|
+
* @example
|
|
640
|
+
* // Delete a few Facets
|
|
641
|
+
* const { count } = await prisma.facet.deleteMany({
|
|
642
|
+
* where: {
|
|
643
|
+
* // ... provide filter here
|
|
644
|
+
* }
|
|
645
|
+
* })
|
|
646
|
+
*
|
|
647
|
+
*/
|
|
648
|
+
deleteMany<T extends FacetDeleteManyArgs>(args?: Prisma.SelectSubset<T, FacetDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
649
|
+
/**
|
|
650
|
+
* Update zero or more Facets.
|
|
651
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
652
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
653
|
+
* @param {FacetUpdateManyArgs} args - Arguments to update one or more rows.
|
|
654
|
+
* @example
|
|
655
|
+
* // Update many Facets
|
|
656
|
+
* const facet = await prisma.facet.updateMany({
|
|
657
|
+
* where: {
|
|
658
|
+
* // ... provide filter here
|
|
659
|
+
* },
|
|
660
|
+
* data: {
|
|
661
|
+
* // ... provide data here
|
|
662
|
+
* }
|
|
663
|
+
* })
|
|
664
|
+
*
|
|
665
|
+
*/
|
|
666
|
+
updateMany<T extends FacetUpdateManyArgs>(args: Prisma.SelectSubset<T, FacetUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
667
|
+
/**
|
|
668
|
+
* Update zero or more Facets and returns the data updated in the database.
|
|
669
|
+
* @param {FacetUpdateManyAndReturnArgs} args - Arguments to update many Facets.
|
|
670
|
+
* @example
|
|
671
|
+
* // Update many Facets
|
|
672
|
+
* const facet = await prisma.facet.updateManyAndReturn({
|
|
673
|
+
* where: {
|
|
674
|
+
* // ... provide filter here
|
|
675
|
+
* },
|
|
676
|
+
* data: [
|
|
677
|
+
* // ... provide data here
|
|
678
|
+
* ]
|
|
679
|
+
* })
|
|
680
|
+
*
|
|
681
|
+
* // Update zero or more Facets and only return the `id`
|
|
682
|
+
* const facetWithIdOnly = await prisma.facet.updateManyAndReturn({
|
|
683
|
+
* select: { id: true },
|
|
684
|
+
* where: {
|
|
685
|
+
* // ... provide filter here
|
|
686
|
+
* },
|
|
687
|
+
* data: [
|
|
688
|
+
* // ... provide data here
|
|
689
|
+
* ]
|
|
690
|
+
* })
|
|
691
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
692
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
693
|
+
*
|
|
694
|
+
*/
|
|
695
|
+
updateManyAndReturn<T extends FacetUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, FacetUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
696
|
+
/**
|
|
697
|
+
* Create or update one Facet.
|
|
698
|
+
* @param {FacetUpsertArgs} args - Arguments to update or create a Facet.
|
|
699
|
+
* @example
|
|
700
|
+
* // Update or create a Facet
|
|
701
|
+
* const facet = await prisma.facet.upsert({
|
|
702
|
+
* create: {
|
|
703
|
+
* // ... data to create a Facet
|
|
704
|
+
* },
|
|
705
|
+
* update: {
|
|
706
|
+
* // ... in case it already exists, update
|
|
707
|
+
* },
|
|
708
|
+
* where: {
|
|
709
|
+
* // ... the filter for the Facet we want to update
|
|
710
|
+
* }
|
|
711
|
+
* })
|
|
712
|
+
*/
|
|
713
|
+
upsert<T extends FacetUpsertArgs>(args: Prisma.SelectSubset<T, FacetUpsertArgs<ExtArgs>>): Prisma.Prisma__FacetClient<runtime.Types.Result.GetResult<Prisma.$FacetPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
714
|
+
/**
|
|
715
|
+
* Count the number of Facets.
|
|
716
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
717
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
718
|
+
* @param {FacetCountArgs} args - Arguments to filter Facets to count.
|
|
719
|
+
* @example
|
|
720
|
+
* // Count the number of Facets
|
|
721
|
+
* const count = await prisma.facet.count({
|
|
722
|
+
* where: {
|
|
723
|
+
* // ... the filter for the Facets we want to count
|
|
724
|
+
* }
|
|
725
|
+
* })
|
|
726
|
+
**/
|
|
727
|
+
count<T extends FacetCountArgs>(args?: Prisma.Subset<T, FacetCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], FacetCountAggregateOutputType> : number>;
|
|
728
|
+
/**
|
|
729
|
+
* Allows you to perform aggregations operations on a Facet.
|
|
730
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
731
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
732
|
+
* @param {FacetAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
733
|
+
* @example
|
|
734
|
+
* // Ordered by age ascending
|
|
735
|
+
* // Where email contains prisma.io
|
|
736
|
+
* // Limited to the 10 users
|
|
737
|
+
* const aggregations = await prisma.user.aggregate({
|
|
738
|
+
* _avg: {
|
|
739
|
+
* age: true,
|
|
740
|
+
* },
|
|
741
|
+
* where: {
|
|
742
|
+
* email: {
|
|
743
|
+
* contains: "prisma.io",
|
|
744
|
+
* },
|
|
745
|
+
* },
|
|
746
|
+
* orderBy: {
|
|
747
|
+
* age: "asc",
|
|
748
|
+
* },
|
|
749
|
+
* take: 10,
|
|
750
|
+
* })
|
|
751
|
+
**/
|
|
752
|
+
aggregate<T extends FacetAggregateArgs>(args: Prisma.Subset<T, FacetAggregateArgs>): Prisma.PrismaPromise<GetFacetAggregateType<T>>;
|
|
753
|
+
/**
|
|
754
|
+
* Group by Facet.
|
|
755
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
756
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
757
|
+
* @param {FacetGroupByArgs} args - Group by arguments.
|
|
758
|
+
* @example
|
|
759
|
+
* // Group by city, order by createdAt, get count
|
|
760
|
+
* const result = await prisma.user.groupBy({
|
|
761
|
+
* by: ['city', 'createdAt'],
|
|
762
|
+
* orderBy: {
|
|
763
|
+
* createdAt: true
|
|
764
|
+
* },
|
|
765
|
+
* _count: {
|
|
766
|
+
* _all: true
|
|
767
|
+
* },
|
|
768
|
+
* })
|
|
769
|
+
*
|
|
770
|
+
**/
|
|
771
|
+
groupBy<T extends FacetGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
772
|
+
orderBy: FacetGroupByArgs['orderBy'];
|
|
773
|
+
} : {
|
|
774
|
+
orderBy?: FacetGroupByArgs['orderBy'];
|
|
775
|
+
}, 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 ? {
|
|
776
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
777
|
+
Error,
|
|
778
|
+
'Field ',
|
|
779
|
+
P,
|
|
780
|
+
` in "having" needs to be provided in "by"`
|
|
781
|
+
];
|
|
782
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
783
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
784
|
+
}[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 ? {} : {
|
|
785
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
786
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
787
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
788
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, FacetGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetFacetGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
789
|
+
/**
|
|
790
|
+
* Fields of the Facet model
|
|
791
|
+
*/
|
|
792
|
+
readonly fields: FacetFieldRefs;
|
|
793
|
+
}
|
|
794
|
+
/**
|
|
795
|
+
* The delegate class that acts as a "Promise-like" for Facet.
|
|
796
|
+
* Why is this prefixed with `Prisma__`?
|
|
797
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
798
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
799
|
+
*/
|
|
800
|
+
export interface Prisma__FacetClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
801
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
802
|
+
facetOptions<T extends Prisma.Facet$facetOptionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Facet$facetOptionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FacetOptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
803
|
+
facetToPlatform<T extends Prisma.Facet$facetToPlatformArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Facet$facetToPlatformArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$FacetToPlatformPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
804
|
+
/**
|
|
805
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
806
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
807
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
808
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
809
|
+
*/
|
|
810
|
+
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>;
|
|
811
|
+
/**
|
|
812
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
813
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
814
|
+
* @returns A Promise for the completion of the callback.
|
|
815
|
+
*/
|
|
816
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
817
|
+
/**
|
|
818
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
819
|
+
* resolved value cannot be modified from the callback.
|
|
820
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
821
|
+
* @returns A Promise for the completion of the callback.
|
|
822
|
+
*/
|
|
823
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
824
|
+
}
|
|
825
|
+
/**
|
|
826
|
+
* Fields of the Facet model
|
|
827
|
+
*/
|
|
828
|
+
export interface FacetFieldRefs {
|
|
829
|
+
readonly id: Prisma.FieldRef<"Facet", 'BigInt'>;
|
|
830
|
+
readonly createdAt: Prisma.FieldRef<"Facet", 'DateTime'>;
|
|
831
|
+
readonly updatedAt: Prisma.FieldRef<"Facet", 'DateTime'>;
|
|
832
|
+
readonly code: Prisma.FieldRef<"Facet", 'String'>;
|
|
833
|
+
}
|
|
834
|
+
/**
|
|
835
|
+
* Facet findUnique
|
|
836
|
+
*/
|
|
837
|
+
export type FacetFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
838
|
+
/**
|
|
839
|
+
* Select specific fields to fetch from the Facet
|
|
840
|
+
*/
|
|
841
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
842
|
+
/**
|
|
843
|
+
* Omit specific fields from the Facet
|
|
844
|
+
*/
|
|
845
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
846
|
+
/**
|
|
847
|
+
* Choose, which related nodes to fetch as well
|
|
848
|
+
*/
|
|
849
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
850
|
+
/**
|
|
851
|
+
* Filter, which Facet to fetch.
|
|
852
|
+
*/
|
|
853
|
+
where: Prisma.FacetWhereUniqueInput;
|
|
854
|
+
};
|
|
855
|
+
/**
|
|
856
|
+
* Facet findUniqueOrThrow
|
|
857
|
+
*/
|
|
858
|
+
export type FacetFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
859
|
+
/**
|
|
860
|
+
* Select specific fields to fetch from the Facet
|
|
861
|
+
*/
|
|
862
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
863
|
+
/**
|
|
864
|
+
* Omit specific fields from the Facet
|
|
865
|
+
*/
|
|
866
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
867
|
+
/**
|
|
868
|
+
* Choose, which related nodes to fetch as well
|
|
869
|
+
*/
|
|
870
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
871
|
+
/**
|
|
872
|
+
* Filter, which Facet to fetch.
|
|
873
|
+
*/
|
|
874
|
+
where: Prisma.FacetWhereUniqueInput;
|
|
875
|
+
};
|
|
876
|
+
/**
|
|
877
|
+
* Facet findFirst
|
|
878
|
+
*/
|
|
879
|
+
export type FacetFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
880
|
+
/**
|
|
881
|
+
* Select specific fields to fetch from the Facet
|
|
882
|
+
*/
|
|
883
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
884
|
+
/**
|
|
885
|
+
* Omit specific fields from the Facet
|
|
886
|
+
*/
|
|
887
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
888
|
+
/**
|
|
889
|
+
* Choose, which related nodes to fetch as well
|
|
890
|
+
*/
|
|
891
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
892
|
+
/**
|
|
893
|
+
* Filter, which Facet to fetch.
|
|
894
|
+
*/
|
|
895
|
+
where?: Prisma.FacetWhereInput;
|
|
896
|
+
/**
|
|
897
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
898
|
+
*
|
|
899
|
+
* Determine the order of Facets to fetch.
|
|
900
|
+
*/
|
|
901
|
+
orderBy?: Prisma.FacetOrderByWithRelationInput | Prisma.FacetOrderByWithRelationInput[];
|
|
902
|
+
/**
|
|
903
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
904
|
+
*
|
|
905
|
+
* Sets the position for searching for Facets.
|
|
906
|
+
*/
|
|
907
|
+
cursor?: Prisma.FacetWhereUniqueInput;
|
|
908
|
+
/**
|
|
909
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
910
|
+
*
|
|
911
|
+
* Take `±n` Facets from the position of the cursor.
|
|
912
|
+
*/
|
|
913
|
+
take?: number;
|
|
914
|
+
/**
|
|
915
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
916
|
+
*
|
|
917
|
+
* Skip the first `n` Facets.
|
|
918
|
+
*/
|
|
919
|
+
skip?: number;
|
|
920
|
+
/**
|
|
921
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
922
|
+
*
|
|
923
|
+
* Filter by unique combinations of Facets.
|
|
924
|
+
*/
|
|
925
|
+
distinct?: Prisma.FacetScalarFieldEnum | Prisma.FacetScalarFieldEnum[];
|
|
926
|
+
};
|
|
927
|
+
/**
|
|
928
|
+
* Facet findFirstOrThrow
|
|
929
|
+
*/
|
|
930
|
+
export type FacetFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
931
|
+
/**
|
|
932
|
+
* Select specific fields to fetch from the Facet
|
|
933
|
+
*/
|
|
934
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
935
|
+
/**
|
|
936
|
+
* Omit specific fields from the Facet
|
|
937
|
+
*/
|
|
938
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
939
|
+
/**
|
|
940
|
+
* Choose, which related nodes to fetch as well
|
|
941
|
+
*/
|
|
942
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
943
|
+
/**
|
|
944
|
+
* Filter, which Facet to fetch.
|
|
945
|
+
*/
|
|
946
|
+
where?: Prisma.FacetWhereInput;
|
|
947
|
+
/**
|
|
948
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
949
|
+
*
|
|
950
|
+
* Determine the order of Facets to fetch.
|
|
951
|
+
*/
|
|
952
|
+
orderBy?: Prisma.FacetOrderByWithRelationInput | Prisma.FacetOrderByWithRelationInput[];
|
|
953
|
+
/**
|
|
954
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
955
|
+
*
|
|
956
|
+
* Sets the position for searching for Facets.
|
|
957
|
+
*/
|
|
958
|
+
cursor?: Prisma.FacetWhereUniqueInput;
|
|
959
|
+
/**
|
|
960
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
961
|
+
*
|
|
962
|
+
* Take `±n` Facets from the position of the cursor.
|
|
963
|
+
*/
|
|
964
|
+
take?: number;
|
|
965
|
+
/**
|
|
966
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
967
|
+
*
|
|
968
|
+
* Skip the first `n` Facets.
|
|
969
|
+
*/
|
|
970
|
+
skip?: number;
|
|
971
|
+
/**
|
|
972
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
973
|
+
*
|
|
974
|
+
* Filter by unique combinations of Facets.
|
|
975
|
+
*/
|
|
976
|
+
distinct?: Prisma.FacetScalarFieldEnum | Prisma.FacetScalarFieldEnum[];
|
|
977
|
+
};
|
|
978
|
+
/**
|
|
979
|
+
* Facet findMany
|
|
980
|
+
*/
|
|
981
|
+
export type FacetFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
982
|
+
/**
|
|
983
|
+
* Select specific fields to fetch from the Facet
|
|
984
|
+
*/
|
|
985
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
986
|
+
/**
|
|
987
|
+
* Omit specific fields from the Facet
|
|
988
|
+
*/
|
|
989
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
990
|
+
/**
|
|
991
|
+
* Choose, which related nodes to fetch as well
|
|
992
|
+
*/
|
|
993
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
994
|
+
/**
|
|
995
|
+
* Filter, which Facets to fetch.
|
|
996
|
+
*/
|
|
997
|
+
where?: Prisma.FacetWhereInput;
|
|
998
|
+
/**
|
|
999
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
1000
|
+
*
|
|
1001
|
+
* Determine the order of Facets to fetch.
|
|
1002
|
+
*/
|
|
1003
|
+
orderBy?: Prisma.FacetOrderByWithRelationInput | Prisma.FacetOrderByWithRelationInput[];
|
|
1004
|
+
/**
|
|
1005
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
1006
|
+
*
|
|
1007
|
+
* Sets the position for listing Facets.
|
|
1008
|
+
*/
|
|
1009
|
+
cursor?: Prisma.FacetWhereUniqueInput;
|
|
1010
|
+
/**
|
|
1011
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1012
|
+
*
|
|
1013
|
+
* Take `±n` Facets from the position of the cursor.
|
|
1014
|
+
*/
|
|
1015
|
+
take?: number;
|
|
1016
|
+
/**
|
|
1017
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
1018
|
+
*
|
|
1019
|
+
* Skip the first `n` Facets.
|
|
1020
|
+
*/
|
|
1021
|
+
skip?: number;
|
|
1022
|
+
distinct?: Prisma.FacetScalarFieldEnum | Prisma.FacetScalarFieldEnum[];
|
|
1023
|
+
};
|
|
1024
|
+
/**
|
|
1025
|
+
* Facet create
|
|
1026
|
+
*/
|
|
1027
|
+
export type FacetCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1028
|
+
/**
|
|
1029
|
+
* Select specific fields to fetch from the Facet
|
|
1030
|
+
*/
|
|
1031
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
1032
|
+
/**
|
|
1033
|
+
* Omit specific fields from the Facet
|
|
1034
|
+
*/
|
|
1035
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
1036
|
+
/**
|
|
1037
|
+
* Choose, which related nodes to fetch as well
|
|
1038
|
+
*/
|
|
1039
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
1040
|
+
/**
|
|
1041
|
+
* The data needed to create a Facet.
|
|
1042
|
+
*/
|
|
1043
|
+
data: Prisma.XOR<Prisma.FacetCreateInput, Prisma.FacetUncheckedCreateInput>;
|
|
1044
|
+
};
|
|
1045
|
+
/**
|
|
1046
|
+
* Facet createMany
|
|
1047
|
+
*/
|
|
1048
|
+
export type FacetCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1049
|
+
/**
|
|
1050
|
+
* The data used to create many Facets.
|
|
1051
|
+
*/
|
|
1052
|
+
data: Prisma.FacetCreateManyInput | Prisma.FacetCreateManyInput[];
|
|
1053
|
+
skipDuplicates?: boolean;
|
|
1054
|
+
};
|
|
1055
|
+
/**
|
|
1056
|
+
* Facet createManyAndReturn
|
|
1057
|
+
*/
|
|
1058
|
+
export type FacetCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1059
|
+
/**
|
|
1060
|
+
* Select specific fields to fetch from the Facet
|
|
1061
|
+
*/
|
|
1062
|
+
select?: Prisma.FacetSelectCreateManyAndReturn<ExtArgs> | null;
|
|
1063
|
+
/**
|
|
1064
|
+
* Omit specific fields from the Facet
|
|
1065
|
+
*/
|
|
1066
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
1067
|
+
/**
|
|
1068
|
+
* The data used to create many Facets.
|
|
1069
|
+
*/
|
|
1070
|
+
data: Prisma.FacetCreateManyInput | Prisma.FacetCreateManyInput[];
|
|
1071
|
+
skipDuplicates?: boolean;
|
|
1072
|
+
};
|
|
1073
|
+
/**
|
|
1074
|
+
* Facet update
|
|
1075
|
+
*/
|
|
1076
|
+
export type FacetUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1077
|
+
/**
|
|
1078
|
+
* Select specific fields to fetch from the Facet
|
|
1079
|
+
*/
|
|
1080
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
1081
|
+
/**
|
|
1082
|
+
* Omit specific fields from the Facet
|
|
1083
|
+
*/
|
|
1084
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
1085
|
+
/**
|
|
1086
|
+
* Choose, which related nodes to fetch as well
|
|
1087
|
+
*/
|
|
1088
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
1089
|
+
/**
|
|
1090
|
+
* The data needed to update a Facet.
|
|
1091
|
+
*/
|
|
1092
|
+
data: Prisma.XOR<Prisma.FacetUpdateInput, Prisma.FacetUncheckedUpdateInput>;
|
|
1093
|
+
/**
|
|
1094
|
+
* Choose, which Facet to update.
|
|
1095
|
+
*/
|
|
1096
|
+
where: Prisma.FacetWhereUniqueInput;
|
|
1097
|
+
};
|
|
1098
|
+
/**
|
|
1099
|
+
* Facet updateMany
|
|
1100
|
+
*/
|
|
1101
|
+
export type FacetUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1102
|
+
/**
|
|
1103
|
+
* The data used to update Facets.
|
|
1104
|
+
*/
|
|
1105
|
+
data: Prisma.XOR<Prisma.FacetUpdateManyMutationInput, Prisma.FacetUncheckedUpdateManyInput>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Filter which Facets to update
|
|
1108
|
+
*/
|
|
1109
|
+
where?: Prisma.FacetWhereInput;
|
|
1110
|
+
/**
|
|
1111
|
+
* Limit how many Facets to update.
|
|
1112
|
+
*/
|
|
1113
|
+
limit?: number;
|
|
1114
|
+
};
|
|
1115
|
+
/**
|
|
1116
|
+
* Facet updateManyAndReturn
|
|
1117
|
+
*/
|
|
1118
|
+
export type FacetUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1119
|
+
/**
|
|
1120
|
+
* Select specific fields to fetch from the Facet
|
|
1121
|
+
*/
|
|
1122
|
+
select?: Prisma.FacetSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
1123
|
+
/**
|
|
1124
|
+
* Omit specific fields from the Facet
|
|
1125
|
+
*/
|
|
1126
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
1127
|
+
/**
|
|
1128
|
+
* The data used to update Facets.
|
|
1129
|
+
*/
|
|
1130
|
+
data: Prisma.XOR<Prisma.FacetUpdateManyMutationInput, Prisma.FacetUncheckedUpdateManyInput>;
|
|
1131
|
+
/**
|
|
1132
|
+
* Filter which Facets to update
|
|
1133
|
+
*/
|
|
1134
|
+
where?: Prisma.FacetWhereInput;
|
|
1135
|
+
/**
|
|
1136
|
+
* Limit how many Facets to update.
|
|
1137
|
+
*/
|
|
1138
|
+
limit?: number;
|
|
1139
|
+
};
|
|
1140
|
+
/**
|
|
1141
|
+
* Facet upsert
|
|
1142
|
+
*/
|
|
1143
|
+
export type FacetUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1144
|
+
/**
|
|
1145
|
+
* Select specific fields to fetch from the Facet
|
|
1146
|
+
*/
|
|
1147
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
1148
|
+
/**
|
|
1149
|
+
* Omit specific fields from the Facet
|
|
1150
|
+
*/
|
|
1151
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
1152
|
+
/**
|
|
1153
|
+
* Choose, which related nodes to fetch as well
|
|
1154
|
+
*/
|
|
1155
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
1156
|
+
/**
|
|
1157
|
+
* The filter to search for the Facet to update in case it exists.
|
|
1158
|
+
*/
|
|
1159
|
+
where: Prisma.FacetWhereUniqueInput;
|
|
1160
|
+
/**
|
|
1161
|
+
* In case the Facet found by the `where` argument doesn't exist, create a new Facet with this data.
|
|
1162
|
+
*/
|
|
1163
|
+
create: Prisma.XOR<Prisma.FacetCreateInput, Prisma.FacetUncheckedCreateInput>;
|
|
1164
|
+
/**
|
|
1165
|
+
* In case the Facet was found with the provided `where` argument, update it with this data.
|
|
1166
|
+
*/
|
|
1167
|
+
update: Prisma.XOR<Prisma.FacetUpdateInput, Prisma.FacetUncheckedUpdateInput>;
|
|
1168
|
+
};
|
|
1169
|
+
/**
|
|
1170
|
+
* Facet delete
|
|
1171
|
+
*/
|
|
1172
|
+
export type FacetDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1173
|
+
/**
|
|
1174
|
+
* Select specific fields to fetch from the Facet
|
|
1175
|
+
*/
|
|
1176
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
1177
|
+
/**
|
|
1178
|
+
* Omit specific fields from the Facet
|
|
1179
|
+
*/
|
|
1180
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
1181
|
+
/**
|
|
1182
|
+
* Choose, which related nodes to fetch as well
|
|
1183
|
+
*/
|
|
1184
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
1185
|
+
/**
|
|
1186
|
+
* Filter which Facet to delete.
|
|
1187
|
+
*/
|
|
1188
|
+
where: Prisma.FacetWhereUniqueInput;
|
|
1189
|
+
};
|
|
1190
|
+
/**
|
|
1191
|
+
* Facet deleteMany
|
|
1192
|
+
*/
|
|
1193
|
+
export type FacetDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1194
|
+
/**
|
|
1195
|
+
* Filter which Facets to delete
|
|
1196
|
+
*/
|
|
1197
|
+
where?: Prisma.FacetWhereInput;
|
|
1198
|
+
/**
|
|
1199
|
+
* Limit how many Facets to delete.
|
|
1200
|
+
*/
|
|
1201
|
+
limit?: number;
|
|
1202
|
+
};
|
|
1203
|
+
/**
|
|
1204
|
+
* Facet.facetOptions
|
|
1205
|
+
*/
|
|
1206
|
+
export type Facet$facetOptionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1207
|
+
/**
|
|
1208
|
+
* Select specific fields to fetch from the FacetOption
|
|
1209
|
+
*/
|
|
1210
|
+
select?: Prisma.FacetOptionSelect<ExtArgs> | null;
|
|
1211
|
+
/**
|
|
1212
|
+
* Omit specific fields from the FacetOption
|
|
1213
|
+
*/
|
|
1214
|
+
omit?: Prisma.FacetOptionOmit<ExtArgs> | null;
|
|
1215
|
+
/**
|
|
1216
|
+
* Choose, which related nodes to fetch as well
|
|
1217
|
+
*/
|
|
1218
|
+
include?: Prisma.FacetOptionInclude<ExtArgs> | null;
|
|
1219
|
+
where?: Prisma.FacetOptionWhereInput;
|
|
1220
|
+
orderBy?: Prisma.FacetOptionOrderByWithRelationInput | Prisma.FacetOptionOrderByWithRelationInput[];
|
|
1221
|
+
cursor?: Prisma.FacetOptionWhereUniqueInput;
|
|
1222
|
+
take?: number;
|
|
1223
|
+
skip?: number;
|
|
1224
|
+
distinct?: Prisma.FacetOptionScalarFieldEnum | Prisma.FacetOptionScalarFieldEnum[];
|
|
1225
|
+
};
|
|
1226
|
+
/**
|
|
1227
|
+
* Facet.facetToPlatform
|
|
1228
|
+
*/
|
|
1229
|
+
export type Facet$facetToPlatformArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1230
|
+
/**
|
|
1231
|
+
* Select specific fields to fetch from the FacetToPlatform
|
|
1232
|
+
*/
|
|
1233
|
+
select?: Prisma.FacetToPlatformSelect<ExtArgs> | null;
|
|
1234
|
+
/**
|
|
1235
|
+
* Omit specific fields from the FacetToPlatform
|
|
1236
|
+
*/
|
|
1237
|
+
omit?: Prisma.FacetToPlatformOmit<ExtArgs> | null;
|
|
1238
|
+
/**
|
|
1239
|
+
* Choose, which related nodes to fetch as well
|
|
1240
|
+
*/
|
|
1241
|
+
include?: Prisma.FacetToPlatformInclude<ExtArgs> | null;
|
|
1242
|
+
where?: Prisma.FacetToPlatformWhereInput;
|
|
1243
|
+
orderBy?: Prisma.FacetToPlatformOrderByWithRelationInput | Prisma.FacetToPlatformOrderByWithRelationInput[];
|
|
1244
|
+
cursor?: Prisma.FacetToPlatformWhereUniqueInput;
|
|
1245
|
+
take?: number;
|
|
1246
|
+
skip?: number;
|
|
1247
|
+
distinct?: Prisma.FacetToPlatformScalarFieldEnum | Prisma.FacetToPlatformScalarFieldEnum[];
|
|
1248
|
+
};
|
|
1249
|
+
/**
|
|
1250
|
+
* Facet without action
|
|
1251
|
+
*/
|
|
1252
|
+
export type FacetDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1253
|
+
/**
|
|
1254
|
+
* Select specific fields to fetch from the Facet
|
|
1255
|
+
*/
|
|
1256
|
+
select?: Prisma.FacetSelect<ExtArgs> | null;
|
|
1257
|
+
/**
|
|
1258
|
+
* Omit specific fields from the Facet
|
|
1259
|
+
*/
|
|
1260
|
+
omit?: Prisma.FacetOmit<ExtArgs> | null;
|
|
1261
|
+
/**
|
|
1262
|
+
* Choose, which related nodes to fetch as well
|
|
1263
|
+
*/
|
|
1264
|
+
include?: Prisma.FacetInclude<ExtArgs> | null;
|
|
1265
|
+
};
|
|
1266
|
+
export {};
|