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