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