@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,2964 @@
|
|
|
1
|
+
import type * as runtime from "@prisma/client/runtime/client";
|
|
2
|
+
import type * as Prisma from "../internal/prismaNamespace.js";
|
|
3
|
+
/**
|
|
4
|
+
* Model Customer
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
export type CustomerModel = runtime.Types.Result.DefaultSelection<Prisma.$CustomerPayload>;
|
|
8
|
+
export type AggregateCustomer = {
|
|
9
|
+
_count: CustomerCountAggregateOutputType | null;
|
|
10
|
+
_avg: CustomerAvgAggregateOutputType | null;
|
|
11
|
+
_sum: CustomerSumAggregateOutputType | null;
|
|
12
|
+
_min: CustomerMinAggregateOutputType | null;
|
|
13
|
+
_max: CustomerMaxAggregateOutputType | null;
|
|
14
|
+
};
|
|
15
|
+
export type CustomerAvgAggregateOutputType = {
|
|
16
|
+
id: number | null;
|
|
17
|
+
userId: number | null;
|
|
18
|
+
};
|
|
19
|
+
export type CustomerSumAggregateOutputType = {
|
|
20
|
+
id: bigint | null;
|
|
21
|
+
userId: bigint | null;
|
|
22
|
+
};
|
|
23
|
+
export type CustomerMinAggregateOutputType = {
|
|
24
|
+
id: bigint | null;
|
|
25
|
+
platformId: string | null;
|
|
26
|
+
firstName: string | null;
|
|
27
|
+
lastName: string | null;
|
|
28
|
+
displayName: string | null;
|
|
29
|
+
email: string | null;
|
|
30
|
+
phone: string | null;
|
|
31
|
+
createdAt: Date | null;
|
|
32
|
+
updatedAt: Date | null;
|
|
33
|
+
deletedAt: Date | null;
|
|
34
|
+
nmiId: string | null;
|
|
35
|
+
userId: bigint | null;
|
|
36
|
+
doesConsentToSmsCommunication: boolean | null;
|
|
37
|
+
discriminator: string | null;
|
|
38
|
+
};
|
|
39
|
+
export type CustomerMaxAggregateOutputType = {
|
|
40
|
+
id: bigint | null;
|
|
41
|
+
platformId: string | null;
|
|
42
|
+
firstName: string | null;
|
|
43
|
+
lastName: string | null;
|
|
44
|
+
displayName: string | null;
|
|
45
|
+
email: string | null;
|
|
46
|
+
phone: string | null;
|
|
47
|
+
createdAt: Date | null;
|
|
48
|
+
updatedAt: Date | null;
|
|
49
|
+
deletedAt: Date | null;
|
|
50
|
+
nmiId: string | null;
|
|
51
|
+
userId: bigint | null;
|
|
52
|
+
doesConsentToSmsCommunication: boolean | null;
|
|
53
|
+
discriminator: string | null;
|
|
54
|
+
};
|
|
55
|
+
export type CustomerCountAggregateOutputType = {
|
|
56
|
+
id: number;
|
|
57
|
+
platformId: number;
|
|
58
|
+
firstName: number;
|
|
59
|
+
lastName: number;
|
|
60
|
+
displayName: number;
|
|
61
|
+
email: number;
|
|
62
|
+
phone: number;
|
|
63
|
+
tags: number;
|
|
64
|
+
createdAt: number;
|
|
65
|
+
updatedAt: number;
|
|
66
|
+
deletedAt: number;
|
|
67
|
+
nmiId: number;
|
|
68
|
+
userId: number;
|
|
69
|
+
doesConsentToSmsCommunication: number;
|
|
70
|
+
discriminator: number;
|
|
71
|
+
_all: number;
|
|
72
|
+
};
|
|
73
|
+
export type CustomerAvgAggregateInputType = {
|
|
74
|
+
id?: true;
|
|
75
|
+
userId?: true;
|
|
76
|
+
};
|
|
77
|
+
export type CustomerSumAggregateInputType = {
|
|
78
|
+
id?: true;
|
|
79
|
+
userId?: true;
|
|
80
|
+
};
|
|
81
|
+
export type CustomerMinAggregateInputType = {
|
|
82
|
+
id?: true;
|
|
83
|
+
platformId?: true;
|
|
84
|
+
firstName?: true;
|
|
85
|
+
lastName?: true;
|
|
86
|
+
displayName?: true;
|
|
87
|
+
email?: true;
|
|
88
|
+
phone?: true;
|
|
89
|
+
createdAt?: true;
|
|
90
|
+
updatedAt?: true;
|
|
91
|
+
deletedAt?: true;
|
|
92
|
+
nmiId?: true;
|
|
93
|
+
userId?: true;
|
|
94
|
+
doesConsentToSmsCommunication?: true;
|
|
95
|
+
discriminator?: true;
|
|
96
|
+
};
|
|
97
|
+
export type CustomerMaxAggregateInputType = {
|
|
98
|
+
id?: true;
|
|
99
|
+
platformId?: true;
|
|
100
|
+
firstName?: true;
|
|
101
|
+
lastName?: true;
|
|
102
|
+
displayName?: true;
|
|
103
|
+
email?: true;
|
|
104
|
+
phone?: true;
|
|
105
|
+
createdAt?: true;
|
|
106
|
+
updatedAt?: true;
|
|
107
|
+
deletedAt?: true;
|
|
108
|
+
nmiId?: true;
|
|
109
|
+
userId?: true;
|
|
110
|
+
doesConsentToSmsCommunication?: true;
|
|
111
|
+
discriminator?: true;
|
|
112
|
+
};
|
|
113
|
+
export type CustomerCountAggregateInputType = {
|
|
114
|
+
id?: true;
|
|
115
|
+
platformId?: true;
|
|
116
|
+
firstName?: true;
|
|
117
|
+
lastName?: true;
|
|
118
|
+
displayName?: true;
|
|
119
|
+
email?: true;
|
|
120
|
+
phone?: true;
|
|
121
|
+
tags?: true;
|
|
122
|
+
createdAt?: true;
|
|
123
|
+
updatedAt?: true;
|
|
124
|
+
deletedAt?: true;
|
|
125
|
+
nmiId?: true;
|
|
126
|
+
userId?: true;
|
|
127
|
+
doesConsentToSmsCommunication?: true;
|
|
128
|
+
discriminator?: true;
|
|
129
|
+
_all?: true;
|
|
130
|
+
};
|
|
131
|
+
export type CustomerAggregateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
132
|
+
/**
|
|
133
|
+
* Filter which Customer to aggregate.
|
|
134
|
+
*/
|
|
135
|
+
where?: Prisma.CustomerWhereInput;
|
|
136
|
+
/**
|
|
137
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
138
|
+
*
|
|
139
|
+
* Determine the order of Customers to fetch.
|
|
140
|
+
*/
|
|
141
|
+
orderBy?: Prisma.CustomerOrderByWithRelationInput | Prisma.CustomerOrderByWithRelationInput[];
|
|
142
|
+
/**
|
|
143
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
144
|
+
*
|
|
145
|
+
* Sets the start position
|
|
146
|
+
*/
|
|
147
|
+
cursor?: Prisma.CustomerWhereUniqueInput;
|
|
148
|
+
/**
|
|
149
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
150
|
+
*
|
|
151
|
+
* Take `±n` Customers from the position of the cursor.
|
|
152
|
+
*/
|
|
153
|
+
take?: number;
|
|
154
|
+
/**
|
|
155
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
156
|
+
*
|
|
157
|
+
* Skip the first `n` Customers.
|
|
158
|
+
*/
|
|
159
|
+
skip?: number;
|
|
160
|
+
/**
|
|
161
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
162
|
+
*
|
|
163
|
+
* Count returned Customers
|
|
164
|
+
**/
|
|
165
|
+
_count?: true | CustomerCountAggregateInputType;
|
|
166
|
+
/**
|
|
167
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
168
|
+
*
|
|
169
|
+
* Select which fields to average
|
|
170
|
+
**/
|
|
171
|
+
_avg?: CustomerAvgAggregateInputType;
|
|
172
|
+
/**
|
|
173
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
174
|
+
*
|
|
175
|
+
* Select which fields to sum
|
|
176
|
+
**/
|
|
177
|
+
_sum?: CustomerSumAggregateInputType;
|
|
178
|
+
/**
|
|
179
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
180
|
+
*
|
|
181
|
+
* Select which fields to find the minimum value
|
|
182
|
+
**/
|
|
183
|
+
_min?: CustomerMinAggregateInputType;
|
|
184
|
+
/**
|
|
185
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/aggregations Aggregation Docs}
|
|
186
|
+
*
|
|
187
|
+
* Select which fields to find the maximum value
|
|
188
|
+
**/
|
|
189
|
+
_max?: CustomerMaxAggregateInputType;
|
|
190
|
+
};
|
|
191
|
+
export type GetCustomerAggregateType<T extends CustomerAggregateArgs> = {
|
|
192
|
+
[P in keyof T & keyof AggregateCustomer]: P extends '_count' | 'count' ? T[P] extends true ? number : Prisma.GetScalarType<T[P], AggregateCustomer[P]> : Prisma.GetScalarType<T[P], AggregateCustomer[P]>;
|
|
193
|
+
};
|
|
194
|
+
export type CustomerGroupByArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
195
|
+
where?: Prisma.CustomerWhereInput;
|
|
196
|
+
orderBy?: Prisma.CustomerOrderByWithAggregationInput | Prisma.CustomerOrderByWithAggregationInput[];
|
|
197
|
+
by: Prisma.CustomerScalarFieldEnum[] | Prisma.CustomerScalarFieldEnum;
|
|
198
|
+
having?: Prisma.CustomerScalarWhereWithAggregatesInput;
|
|
199
|
+
take?: number;
|
|
200
|
+
skip?: number;
|
|
201
|
+
_count?: CustomerCountAggregateInputType | true;
|
|
202
|
+
_avg?: CustomerAvgAggregateInputType;
|
|
203
|
+
_sum?: CustomerSumAggregateInputType;
|
|
204
|
+
_min?: CustomerMinAggregateInputType;
|
|
205
|
+
_max?: CustomerMaxAggregateInputType;
|
|
206
|
+
};
|
|
207
|
+
export type CustomerGroupByOutputType = {
|
|
208
|
+
id: bigint;
|
|
209
|
+
platformId: string;
|
|
210
|
+
firstName: string;
|
|
211
|
+
lastName: string;
|
|
212
|
+
displayName: string | null;
|
|
213
|
+
email: string | null;
|
|
214
|
+
phone: string | null;
|
|
215
|
+
tags: string[];
|
|
216
|
+
createdAt: Date;
|
|
217
|
+
updatedAt: Date;
|
|
218
|
+
deletedAt: Date | null;
|
|
219
|
+
nmiId: string | null;
|
|
220
|
+
userId: bigint;
|
|
221
|
+
doesConsentToSmsCommunication: boolean;
|
|
222
|
+
discriminator: string;
|
|
223
|
+
_count: CustomerCountAggregateOutputType | null;
|
|
224
|
+
_avg: CustomerAvgAggregateOutputType | null;
|
|
225
|
+
_sum: CustomerSumAggregateOutputType | null;
|
|
226
|
+
_min: CustomerMinAggregateOutputType | null;
|
|
227
|
+
_max: CustomerMaxAggregateOutputType | null;
|
|
228
|
+
};
|
|
229
|
+
type GetCustomerGroupByPayload<T extends CustomerGroupByArgs> = Prisma.PrismaPromise<Array<Prisma.PickEnumerable<CustomerGroupByOutputType, T['by']> & {
|
|
230
|
+
[P in ((keyof T) & (keyof CustomerGroupByOutputType))]: P extends '_count' ? T[P] extends boolean ? number : Prisma.GetScalarType<T[P], CustomerGroupByOutputType[P]> : Prisma.GetScalarType<T[P], CustomerGroupByOutputType[P]>;
|
|
231
|
+
}>>;
|
|
232
|
+
export type CustomerWhereInput = {
|
|
233
|
+
AND?: Prisma.CustomerWhereInput | Prisma.CustomerWhereInput[];
|
|
234
|
+
OR?: Prisma.CustomerWhereInput[];
|
|
235
|
+
NOT?: Prisma.CustomerWhereInput | Prisma.CustomerWhereInput[];
|
|
236
|
+
id?: Prisma.BigIntFilter<"Customer"> | bigint | number;
|
|
237
|
+
platformId?: Prisma.StringFilter<"Customer"> | string;
|
|
238
|
+
firstName?: Prisma.StringFilter<"Customer"> | string;
|
|
239
|
+
lastName?: Prisma.StringFilter<"Customer"> | string;
|
|
240
|
+
displayName?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
241
|
+
email?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
242
|
+
phone?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
243
|
+
tags?: Prisma.StringNullableListFilter<"Customer">;
|
|
244
|
+
createdAt?: Prisma.DateTimeFilter<"Customer"> | Date | string;
|
|
245
|
+
updatedAt?: Prisma.DateTimeFilter<"Customer"> | Date | string;
|
|
246
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"Customer"> | Date | string | null;
|
|
247
|
+
nmiId?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
248
|
+
userId?: Prisma.BigIntFilter<"Customer"> | bigint | number;
|
|
249
|
+
doesConsentToSmsCommunication?: Prisma.BoolFilter<"Customer"> | boolean;
|
|
250
|
+
discriminator?: Prisma.StringFilter<"Customer"> | string;
|
|
251
|
+
carts?: Prisma.CartListRelationFilter;
|
|
252
|
+
checkouts?: Prisma.CheckoutListRelationFilter;
|
|
253
|
+
addresses?: Prisma.CustomerToAddressListRelationFilter;
|
|
254
|
+
cards?: Prisma.CardListRelationFilter;
|
|
255
|
+
checkoutGroup?: Prisma.CheckoutGroupListRelationFilter;
|
|
256
|
+
redemptions?: Prisma.DiscountCodeRedemptionListRelationFilter;
|
|
257
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
258
|
+
SmsConversation?: Prisma.SmsConversationListRelationFilter;
|
|
259
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupListRelationFilter;
|
|
260
|
+
};
|
|
261
|
+
export type CustomerOrderByWithRelationInput = {
|
|
262
|
+
id?: Prisma.SortOrder;
|
|
263
|
+
platformId?: Prisma.SortOrder;
|
|
264
|
+
firstName?: Prisma.SortOrder;
|
|
265
|
+
lastName?: Prisma.SortOrder;
|
|
266
|
+
displayName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
267
|
+
email?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
268
|
+
phone?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
269
|
+
tags?: Prisma.SortOrder;
|
|
270
|
+
createdAt?: Prisma.SortOrder;
|
|
271
|
+
updatedAt?: Prisma.SortOrder;
|
|
272
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
273
|
+
nmiId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
274
|
+
userId?: Prisma.SortOrder;
|
|
275
|
+
doesConsentToSmsCommunication?: Prisma.SortOrder;
|
|
276
|
+
discriminator?: Prisma.SortOrder;
|
|
277
|
+
carts?: Prisma.CartOrderByRelationAggregateInput;
|
|
278
|
+
checkouts?: Prisma.CheckoutOrderByRelationAggregateInput;
|
|
279
|
+
addresses?: Prisma.CustomerToAddressOrderByRelationAggregateInput;
|
|
280
|
+
cards?: Prisma.CardOrderByRelationAggregateInput;
|
|
281
|
+
checkoutGroup?: Prisma.CheckoutGroupOrderByRelationAggregateInput;
|
|
282
|
+
redemptions?: Prisma.DiscountCodeRedemptionOrderByRelationAggregateInput;
|
|
283
|
+
user?: Prisma.UserOrderByWithRelationInput;
|
|
284
|
+
SmsConversation?: Prisma.SmsConversationOrderByRelationAggregateInput;
|
|
285
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupOrderByRelationAggregateInput;
|
|
286
|
+
_relevance?: Prisma.CustomerOrderByRelevanceInput;
|
|
287
|
+
};
|
|
288
|
+
export type CustomerWhereUniqueInput = Prisma.AtLeast<{
|
|
289
|
+
id?: bigint | number;
|
|
290
|
+
platformId_email_discriminator?: Prisma.CustomerPlatformIdEmailDiscriminatorCompoundUniqueInput;
|
|
291
|
+
platformId_phone_discriminator?: Prisma.CustomerPlatformIdPhoneDiscriminatorCompoundUniqueInput;
|
|
292
|
+
AND?: Prisma.CustomerWhereInput | Prisma.CustomerWhereInput[];
|
|
293
|
+
OR?: Prisma.CustomerWhereInput[];
|
|
294
|
+
NOT?: Prisma.CustomerWhereInput | Prisma.CustomerWhereInput[];
|
|
295
|
+
platformId?: Prisma.StringFilter<"Customer"> | string;
|
|
296
|
+
firstName?: Prisma.StringFilter<"Customer"> | string;
|
|
297
|
+
lastName?: Prisma.StringFilter<"Customer"> | string;
|
|
298
|
+
displayName?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
299
|
+
email?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
300
|
+
phone?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
301
|
+
tags?: Prisma.StringNullableListFilter<"Customer">;
|
|
302
|
+
createdAt?: Prisma.DateTimeFilter<"Customer"> | Date | string;
|
|
303
|
+
updatedAt?: Prisma.DateTimeFilter<"Customer"> | Date | string;
|
|
304
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"Customer"> | Date | string | null;
|
|
305
|
+
nmiId?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
306
|
+
userId?: Prisma.BigIntFilter<"Customer"> | bigint | number;
|
|
307
|
+
doesConsentToSmsCommunication?: Prisma.BoolFilter<"Customer"> | boolean;
|
|
308
|
+
discriminator?: Prisma.StringFilter<"Customer"> | string;
|
|
309
|
+
carts?: Prisma.CartListRelationFilter;
|
|
310
|
+
checkouts?: Prisma.CheckoutListRelationFilter;
|
|
311
|
+
addresses?: Prisma.CustomerToAddressListRelationFilter;
|
|
312
|
+
cards?: Prisma.CardListRelationFilter;
|
|
313
|
+
checkoutGroup?: Prisma.CheckoutGroupListRelationFilter;
|
|
314
|
+
redemptions?: Prisma.DiscountCodeRedemptionListRelationFilter;
|
|
315
|
+
user?: Prisma.XOR<Prisma.UserScalarRelationFilter, Prisma.UserWhereInput>;
|
|
316
|
+
SmsConversation?: Prisma.SmsConversationListRelationFilter;
|
|
317
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupListRelationFilter;
|
|
318
|
+
}, "id" | "platformId_email_discriminator" | "platformId_phone_discriminator">;
|
|
319
|
+
export type CustomerOrderByWithAggregationInput = {
|
|
320
|
+
id?: Prisma.SortOrder;
|
|
321
|
+
platformId?: Prisma.SortOrder;
|
|
322
|
+
firstName?: Prisma.SortOrder;
|
|
323
|
+
lastName?: Prisma.SortOrder;
|
|
324
|
+
displayName?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
325
|
+
email?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
326
|
+
phone?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
327
|
+
tags?: Prisma.SortOrder;
|
|
328
|
+
createdAt?: Prisma.SortOrder;
|
|
329
|
+
updatedAt?: Prisma.SortOrder;
|
|
330
|
+
deletedAt?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
331
|
+
nmiId?: Prisma.SortOrderInput | Prisma.SortOrder;
|
|
332
|
+
userId?: Prisma.SortOrder;
|
|
333
|
+
doesConsentToSmsCommunication?: Prisma.SortOrder;
|
|
334
|
+
discriminator?: Prisma.SortOrder;
|
|
335
|
+
_count?: Prisma.CustomerCountOrderByAggregateInput;
|
|
336
|
+
_avg?: Prisma.CustomerAvgOrderByAggregateInput;
|
|
337
|
+
_max?: Prisma.CustomerMaxOrderByAggregateInput;
|
|
338
|
+
_min?: Prisma.CustomerMinOrderByAggregateInput;
|
|
339
|
+
_sum?: Prisma.CustomerSumOrderByAggregateInput;
|
|
340
|
+
};
|
|
341
|
+
export type CustomerScalarWhereWithAggregatesInput = {
|
|
342
|
+
AND?: Prisma.CustomerScalarWhereWithAggregatesInput | Prisma.CustomerScalarWhereWithAggregatesInput[];
|
|
343
|
+
OR?: Prisma.CustomerScalarWhereWithAggregatesInput[];
|
|
344
|
+
NOT?: Prisma.CustomerScalarWhereWithAggregatesInput | Prisma.CustomerScalarWhereWithAggregatesInput[];
|
|
345
|
+
id?: Prisma.BigIntWithAggregatesFilter<"Customer"> | bigint | number;
|
|
346
|
+
platformId?: Prisma.StringWithAggregatesFilter<"Customer"> | string;
|
|
347
|
+
firstName?: Prisma.StringWithAggregatesFilter<"Customer"> | string;
|
|
348
|
+
lastName?: Prisma.StringWithAggregatesFilter<"Customer"> | string;
|
|
349
|
+
displayName?: Prisma.StringNullableWithAggregatesFilter<"Customer"> | string | null;
|
|
350
|
+
email?: Prisma.StringNullableWithAggregatesFilter<"Customer"> | string | null;
|
|
351
|
+
phone?: Prisma.StringNullableWithAggregatesFilter<"Customer"> | string | null;
|
|
352
|
+
tags?: Prisma.StringNullableListFilter<"Customer">;
|
|
353
|
+
createdAt?: Prisma.DateTimeWithAggregatesFilter<"Customer"> | Date | string;
|
|
354
|
+
updatedAt?: Prisma.DateTimeWithAggregatesFilter<"Customer"> | Date | string;
|
|
355
|
+
deletedAt?: Prisma.DateTimeNullableWithAggregatesFilter<"Customer"> | Date | string | null;
|
|
356
|
+
nmiId?: Prisma.StringNullableWithAggregatesFilter<"Customer"> | string | null;
|
|
357
|
+
userId?: Prisma.BigIntWithAggregatesFilter<"Customer"> | bigint | number;
|
|
358
|
+
doesConsentToSmsCommunication?: Prisma.BoolWithAggregatesFilter<"Customer"> | boolean;
|
|
359
|
+
discriminator?: Prisma.StringWithAggregatesFilter<"Customer"> | string;
|
|
360
|
+
};
|
|
361
|
+
export type CustomerCreateInput = {
|
|
362
|
+
id?: bigint | number;
|
|
363
|
+
platformId: string;
|
|
364
|
+
firstName: string;
|
|
365
|
+
lastName: string;
|
|
366
|
+
displayName?: string | null;
|
|
367
|
+
email?: string | null;
|
|
368
|
+
phone?: string | null;
|
|
369
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
370
|
+
createdAt?: Date | string;
|
|
371
|
+
updatedAt?: Date | string;
|
|
372
|
+
deletedAt?: Date | string | null;
|
|
373
|
+
nmiId?: string | null;
|
|
374
|
+
doesConsentToSmsCommunication?: boolean;
|
|
375
|
+
discriminator?: string;
|
|
376
|
+
carts?: Prisma.CartCreateNestedManyWithoutCustomerInput;
|
|
377
|
+
checkouts?: Prisma.CheckoutCreateNestedManyWithoutCustomerInput;
|
|
378
|
+
addresses?: Prisma.CustomerToAddressCreateNestedManyWithoutCustomerInput;
|
|
379
|
+
cards?: Prisma.CardCreateNestedManyWithoutCustomerInput;
|
|
380
|
+
checkoutGroup?: Prisma.CheckoutGroupCreateNestedManyWithoutCustomerInput;
|
|
381
|
+
redemptions?: Prisma.DiscountCodeRedemptionCreateNestedManyWithoutCustomerInput;
|
|
382
|
+
user: Prisma.UserCreateNestedOneWithoutCustomerInput;
|
|
383
|
+
SmsConversation?: Prisma.SmsConversationCreateNestedManyWithoutCustomerInput;
|
|
384
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupCreateNestedManyWithoutCustomerInput;
|
|
385
|
+
};
|
|
386
|
+
export type CustomerUncheckedCreateInput = {
|
|
387
|
+
id?: bigint | number;
|
|
388
|
+
platformId: string;
|
|
389
|
+
firstName: string;
|
|
390
|
+
lastName: string;
|
|
391
|
+
displayName?: string | null;
|
|
392
|
+
email?: string | null;
|
|
393
|
+
phone?: string | null;
|
|
394
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
395
|
+
createdAt?: Date | string;
|
|
396
|
+
updatedAt?: Date | string;
|
|
397
|
+
deletedAt?: Date | string | null;
|
|
398
|
+
nmiId?: string | null;
|
|
399
|
+
userId: bigint | number;
|
|
400
|
+
doesConsentToSmsCommunication?: boolean;
|
|
401
|
+
discriminator?: string;
|
|
402
|
+
carts?: Prisma.CartUncheckedCreateNestedManyWithoutCustomerInput;
|
|
403
|
+
checkouts?: Prisma.CheckoutUncheckedCreateNestedManyWithoutCustomerInput;
|
|
404
|
+
addresses?: Prisma.CustomerToAddressUncheckedCreateNestedManyWithoutCustomerInput;
|
|
405
|
+
cards?: Prisma.CardUncheckedCreateNestedManyWithoutCustomerInput;
|
|
406
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
407
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedCreateNestedManyWithoutCustomerInput;
|
|
408
|
+
SmsConversation?: Prisma.SmsConversationUncheckedCreateNestedManyWithoutCustomerInput;
|
|
409
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
410
|
+
};
|
|
411
|
+
export type CustomerUpdateInput = {
|
|
412
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
413
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
414
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
415
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
416
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
417
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
418
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
419
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
420
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
421
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
422
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
423
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
424
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
425
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
426
|
+
carts?: Prisma.CartUpdateManyWithoutCustomerNestedInput;
|
|
427
|
+
checkouts?: Prisma.CheckoutUpdateManyWithoutCustomerNestedInput;
|
|
428
|
+
addresses?: Prisma.CustomerToAddressUpdateManyWithoutCustomerNestedInput;
|
|
429
|
+
cards?: Prisma.CardUpdateManyWithoutCustomerNestedInput;
|
|
430
|
+
checkoutGroup?: Prisma.CheckoutGroupUpdateManyWithoutCustomerNestedInput;
|
|
431
|
+
redemptions?: Prisma.DiscountCodeRedemptionUpdateManyWithoutCustomerNestedInput;
|
|
432
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCustomerNestedInput;
|
|
433
|
+
SmsConversation?: Prisma.SmsConversationUpdateManyWithoutCustomerNestedInput;
|
|
434
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUpdateManyWithoutCustomerNestedInput;
|
|
435
|
+
};
|
|
436
|
+
export type CustomerUncheckedUpdateInput = {
|
|
437
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
438
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
439
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
440
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
441
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
442
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
443
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
444
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
445
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
446
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
447
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
448
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
449
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
450
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
451
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
452
|
+
carts?: Prisma.CartUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
453
|
+
checkouts?: Prisma.CheckoutUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
454
|
+
addresses?: Prisma.CustomerToAddressUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
455
|
+
cards?: Prisma.CardUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
456
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
457
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
458
|
+
SmsConversation?: Prisma.SmsConversationUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
459
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
460
|
+
};
|
|
461
|
+
export type CustomerCreateManyInput = {
|
|
462
|
+
id?: bigint | number;
|
|
463
|
+
platformId: string;
|
|
464
|
+
firstName: string;
|
|
465
|
+
lastName: string;
|
|
466
|
+
displayName?: string | null;
|
|
467
|
+
email?: string | null;
|
|
468
|
+
phone?: string | null;
|
|
469
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
470
|
+
createdAt?: Date | string;
|
|
471
|
+
updatedAt?: Date | string;
|
|
472
|
+
deletedAt?: Date | string | null;
|
|
473
|
+
nmiId?: string | null;
|
|
474
|
+
userId: bigint | number;
|
|
475
|
+
doesConsentToSmsCommunication?: boolean;
|
|
476
|
+
discriminator?: string;
|
|
477
|
+
};
|
|
478
|
+
export type CustomerUpdateManyMutationInput = {
|
|
479
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
480
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
481
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
482
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
483
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
484
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
485
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
486
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
487
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
488
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
489
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
490
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
491
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
492
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
493
|
+
};
|
|
494
|
+
export type CustomerUncheckedUpdateManyInput = {
|
|
495
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
496
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
497
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
498
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
499
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
500
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
501
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
502
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
503
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
504
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
505
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
506
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
507
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
508
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
509
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
510
|
+
};
|
|
511
|
+
export type StringNullableListFilter<$PrismaModel = never> = {
|
|
512
|
+
equals?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel> | null;
|
|
513
|
+
has?: string | Prisma.StringFieldRefInput<$PrismaModel> | null;
|
|
514
|
+
hasEvery?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
515
|
+
hasSome?: string[] | Prisma.ListStringFieldRefInput<$PrismaModel>;
|
|
516
|
+
isEmpty?: boolean;
|
|
517
|
+
};
|
|
518
|
+
export type CustomerOrderByRelevanceInput = {
|
|
519
|
+
fields: Prisma.CustomerOrderByRelevanceFieldEnum | Prisma.CustomerOrderByRelevanceFieldEnum[];
|
|
520
|
+
sort: Prisma.SortOrder;
|
|
521
|
+
search: string;
|
|
522
|
+
};
|
|
523
|
+
export type CustomerPlatformIdEmailDiscriminatorCompoundUniqueInput = {
|
|
524
|
+
platformId: string;
|
|
525
|
+
email: string;
|
|
526
|
+
discriminator: string;
|
|
527
|
+
};
|
|
528
|
+
export type CustomerPlatformIdPhoneDiscriminatorCompoundUniqueInput = {
|
|
529
|
+
platformId: string;
|
|
530
|
+
phone: string;
|
|
531
|
+
discriminator: string;
|
|
532
|
+
};
|
|
533
|
+
export type CustomerCountOrderByAggregateInput = {
|
|
534
|
+
id?: Prisma.SortOrder;
|
|
535
|
+
platformId?: Prisma.SortOrder;
|
|
536
|
+
firstName?: Prisma.SortOrder;
|
|
537
|
+
lastName?: Prisma.SortOrder;
|
|
538
|
+
displayName?: Prisma.SortOrder;
|
|
539
|
+
email?: Prisma.SortOrder;
|
|
540
|
+
phone?: Prisma.SortOrder;
|
|
541
|
+
tags?: Prisma.SortOrder;
|
|
542
|
+
createdAt?: Prisma.SortOrder;
|
|
543
|
+
updatedAt?: Prisma.SortOrder;
|
|
544
|
+
deletedAt?: Prisma.SortOrder;
|
|
545
|
+
nmiId?: Prisma.SortOrder;
|
|
546
|
+
userId?: Prisma.SortOrder;
|
|
547
|
+
doesConsentToSmsCommunication?: Prisma.SortOrder;
|
|
548
|
+
discriminator?: Prisma.SortOrder;
|
|
549
|
+
};
|
|
550
|
+
export type CustomerAvgOrderByAggregateInput = {
|
|
551
|
+
id?: Prisma.SortOrder;
|
|
552
|
+
userId?: Prisma.SortOrder;
|
|
553
|
+
};
|
|
554
|
+
export type CustomerMaxOrderByAggregateInput = {
|
|
555
|
+
id?: Prisma.SortOrder;
|
|
556
|
+
platformId?: Prisma.SortOrder;
|
|
557
|
+
firstName?: Prisma.SortOrder;
|
|
558
|
+
lastName?: Prisma.SortOrder;
|
|
559
|
+
displayName?: Prisma.SortOrder;
|
|
560
|
+
email?: Prisma.SortOrder;
|
|
561
|
+
phone?: Prisma.SortOrder;
|
|
562
|
+
createdAt?: Prisma.SortOrder;
|
|
563
|
+
updatedAt?: Prisma.SortOrder;
|
|
564
|
+
deletedAt?: Prisma.SortOrder;
|
|
565
|
+
nmiId?: Prisma.SortOrder;
|
|
566
|
+
userId?: Prisma.SortOrder;
|
|
567
|
+
doesConsentToSmsCommunication?: Prisma.SortOrder;
|
|
568
|
+
discriminator?: Prisma.SortOrder;
|
|
569
|
+
};
|
|
570
|
+
export type CustomerMinOrderByAggregateInput = {
|
|
571
|
+
id?: Prisma.SortOrder;
|
|
572
|
+
platformId?: Prisma.SortOrder;
|
|
573
|
+
firstName?: Prisma.SortOrder;
|
|
574
|
+
lastName?: Prisma.SortOrder;
|
|
575
|
+
displayName?: Prisma.SortOrder;
|
|
576
|
+
email?: Prisma.SortOrder;
|
|
577
|
+
phone?: Prisma.SortOrder;
|
|
578
|
+
createdAt?: Prisma.SortOrder;
|
|
579
|
+
updatedAt?: Prisma.SortOrder;
|
|
580
|
+
deletedAt?: Prisma.SortOrder;
|
|
581
|
+
nmiId?: Prisma.SortOrder;
|
|
582
|
+
userId?: Prisma.SortOrder;
|
|
583
|
+
doesConsentToSmsCommunication?: Prisma.SortOrder;
|
|
584
|
+
discriminator?: Prisma.SortOrder;
|
|
585
|
+
};
|
|
586
|
+
export type CustomerSumOrderByAggregateInput = {
|
|
587
|
+
id?: Prisma.SortOrder;
|
|
588
|
+
userId?: Prisma.SortOrder;
|
|
589
|
+
};
|
|
590
|
+
export type CustomerListRelationFilter = {
|
|
591
|
+
every?: Prisma.CustomerWhereInput;
|
|
592
|
+
some?: Prisma.CustomerWhereInput;
|
|
593
|
+
none?: Prisma.CustomerWhereInput;
|
|
594
|
+
};
|
|
595
|
+
export type CustomerOrderByRelationAggregateInput = {
|
|
596
|
+
_count?: Prisma.SortOrder;
|
|
597
|
+
};
|
|
598
|
+
export type CustomerScalarRelationFilter = {
|
|
599
|
+
is?: Prisma.CustomerWhereInput;
|
|
600
|
+
isNot?: Prisma.CustomerWhereInput;
|
|
601
|
+
};
|
|
602
|
+
export type CustomerNullableScalarRelationFilter = {
|
|
603
|
+
is?: Prisma.CustomerWhereInput | null;
|
|
604
|
+
isNot?: Prisma.CustomerWhereInput | null;
|
|
605
|
+
};
|
|
606
|
+
export type CustomerCreatetagsInput = {
|
|
607
|
+
set: string[];
|
|
608
|
+
};
|
|
609
|
+
export type CustomerUpdatetagsInput = {
|
|
610
|
+
set?: string[];
|
|
611
|
+
push?: string | string[];
|
|
612
|
+
};
|
|
613
|
+
export type BoolFieldUpdateOperationsInput = {
|
|
614
|
+
set?: boolean;
|
|
615
|
+
};
|
|
616
|
+
export type CustomerCreateNestedManyWithoutUserInput = {
|
|
617
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutUserInput, Prisma.CustomerUncheckedCreateWithoutUserInput> | Prisma.CustomerCreateWithoutUserInput[] | Prisma.CustomerUncheckedCreateWithoutUserInput[];
|
|
618
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutUserInput | Prisma.CustomerCreateOrConnectWithoutUserInput[];
|
|
619
|
+
createMany?: Prisma.CustomerCreateManyUserInputEnvelope;
|
|
620
|
+
connect?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
621
|
+
};
|
|
622
|
+
export type CustomerUncheckedCreateNestedManyWithoutUserInput = {
|
|
623
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutUserInput, Prisma.CustomerUncheckedCreateWithoutUserInput> | Prisma.CustomerCreateWithoutUserInput[] | Prisma.CustomerUncheckedCreateWithoutUserInput[];
|
|
624
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutUserInput | Prisma.CustomerCreateOrConnectWithoutUserInput[];
|
|
625
|
+
createMany?: Prisma.CustomerCreateManyUserInputEnvelope;
|
|
626
|
+
connect?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
627
|
+
};
|
|
628
|
+
export type CustomerUpdateManyWithoutUserNestedInput = {
|
|
629
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutUserInput, Prisma.CustomerUncheckedCreateWithoutUserInput> | Prisma.CustomerCreateWithoutUserInput[] | Prisma.CustomerUncheckedCreateWithoutUserInput[];
|
|
630
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutUserInput | Prisma.CustomerCreateOrConnectWithoutUserInput[];
|
|
631
|
+
upsert?: Prisma.CustomerUpsertWithWhereUniqueWithoutUserInput | Prisma.CustomerUpsertWithWhereUniqueWithoutUserInput[];
|
|
632
|
+
createMany?: Prisma.CustomerCreateManyUserInputEnvelope;
|
|
633
|
+
set?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
634
|
+
disconnect?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
635
|
+
delete?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
636
|
+
connect?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
637
|
+
update?: Prisma.CustomerUpdateWithWhereUniqueWithoutUserInput | Prisma.CustomerUpdateWithWhereUniqueWithoutUserInput[];
|
|
638
|
+
updateMany?: Prisma.CustomerUpdateManyWithWhereWithoutUserInput | Prisma.CustomerUpdateManyWithWhereWithoutUserInput[];
|
|
639
|
+
deleteMany?: Prisma.CustomerScalarWhereInput | Prisma.CustomerScalarWhereInput[];
|
|
640
|
+
};
|
|
641
|
+
export type CustomerUncheckedUpdateManyWithoutUserNestedInput = {
|
|
642
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutUserInput, Prisma.CustomerUncheckedCreateWithoutUserInput> | Prisma.CustomerCreateWithoutUserInput[] | Prisma.CustomerUncheckedCreateWithoutUserInput[];
|
|
643
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutUserInput | Prisma.CustomerCreateOrConnectWithoutUserInput[];
|
|
644
|
+
upsert?: Prisma.CustomerUpsertWithWhereUniqueWithoutUserInput | Prisma.CustomerUpsertWithWhereUniqueWithoutUserInput[];
|
|
645
|
+
createMany?: Prisma.CustomerCreateManyUserInputEnvelope;
|
|
646
|
+
set?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
647
|
+
disconnect?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
648
|
+
delete?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
649
|
+
connect?: Prisma.CustomerWhereUniqueInput | Prisma.CustomerWhereUniqueInput[];
|
|
650
|
+
update?: Prisma.CustomerUpdateWithWhereUniqueWithoutUserInput | Prisma.CustomerUpdateWithWhereUniqueWithoutUserInput[];
|
|
651
|
+
updateMany?: Prisma.CustomerUpdateManyWithWhereWithoutUserInput | Prisma.CustomerUpdateManyWithWhereWithoutUserInput[];
|
|
652
|
+
deleteMany?: Prisma.CustomerScalarWhereInput | Prisma.CustomerScalarWhereInput[];
|
|
653
|
+
};
|
|
654
|
+
export type CustomerCreateNestedOneWithoutCardsInput = {
|
|
655
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCardsInput, Prisma.CustomerUncheckedCreateWithoutCardsInput>;
|
|
656
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCardsInput;
|
|
657
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
658
|
+
};
|
|
659
|
+
export type CustomerUpdateOneRequiredWithoutCardsNestedInput = {
|
|
660
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCardsInput, Prisma.CustomerUncheckedCreateWithoutCardsInput>;
|
|
661
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCardsInput;
|
|
662
|
+
upsert?: Prisma.CustomerUpsertWithoutCardsInput;
|
|
663
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
664
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutCardsInput, Prisma.CustomerUpdateWithoutCardsInput>, Prisma.CustomerUncheckedUpdateWithoutCardsInput>;
|
|
665
|
+
};
|
|
666
|
+
export type CustomerCreateNestedOneWithoutCartsInput = {
|
|
667
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCartsInput, Prisma.CustomerUncheckedCreateWithoutCartsInput>;
|
|
668
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCartsInput;
|
|
669
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
670
|
+
};
|
|
671
|
+
export type CustomerUpdateOneWithoutCartsNestedInput = {
|
|
672
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCartsInput, Prisma.CustomerUncheckedCreateWithoutCartsInput>;
|
|
673
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCartsInput;
|
|
674
|
+
upsert?: Prisma.CustomerUpsertWithoutCartsInput;
|
|
675
|
+
disconnect?: Prisma.CustomerWhereInput | boolean;
|
|
676
|
+
delete?: Prisma.CustomerWhereInput | boolean;
|
|
677
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
678
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutCartsInput, Prisma.CustomerUpdateWithoutCartsInput>, Prisma.CustomerUncheckedUpdateWithoutCartsInput>;
|
|
679
|
+
};
|
|
680
|
+
export type CustomerCreateNestedOneWithoutCheckoutGroupInput = {
|
|
681
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCheckoutGroupInput, Prisma.CustomerUncheckedCreateWithoutCheckoutGroupInput>;
|
|
682
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCheckoutGroupInput;
|
|
683
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
684
|
+
};
|
|
685
|
+
export type CustomerUpdateOneWithoutCheckoutGroupNestedInput = {
|
|
686
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCheckoutGroupInput, Prisma.CustomerUncheckedCreateWithoutCheckoutGroupInput>;
|
|
687
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCheckoutGroupInput;
|
|
688
|
+
upsert?: Prisma.CustomerUpsertWithoutCheckoutGroupInput;
|
|
689
|
+
disconnect?: Prisma.CustomerWhereInput | boolean;
|
|
690
|
+
delete?: Prisma.CustomerWhereInput | boolean;
|
|
691
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
692
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutCheckoutGroupInput, Prisma.CustomerUpdateWithoutCheckoutGroupInput>, Prisma.CustomerUncheckedUpdateWithoutCheckoutGroupInput>;
|
|
693
|
+
};
|
|
694
|
+
export type CustomerCreateNestedOneWithoutCheckoutsInput = {
|
|
695
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCheckoutsInput, Prisma.CustomerUncheckedCreateWithoutCheckoutsInput>;
|
|
696
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCheckoutsInput;
|
|
697
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
698
|
+
};
|
|
699
|
+
export type CustomerUpdateOneWithoutCheckoutsNestedInput = {
|
|
700
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCheckoutsInput, Prisma.CustomerUncheckedCreateWithoutCheckoutsInput>;
|
|
701
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCheckoutsInput;
|
|
702
|
+
upsert?: Prisma.CustomerUpsertWithoutCheckoutsInput;
|
|
703
|
+
disconnect?: Prisma.CustomerWhereInput | boolean;
|
|
704
|
+
delete?: Prisma.CustomerWhereInput | boolean;
|
|
705
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
706
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutCheckoutsInput, Prisma.CustomerUpdateWithoutCheckoutsInput>, Prisma.CustomerUncheckedUpdateWithoutCheckoutsInput>;
|
|
707
|
+
};
|
|
708
|
+
export type CustomerCreateNestedOneWithoutAddressesInput = {
|
|
709
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutAddressesInput, Prisma.CustomerUncheckedCreateWithoutAddressesInput>;
|
|
710
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutAddressesInput;
|
|
711
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
712
|
+
};
|
|
713
|
+
export type CustomerUpdateOneRequiredWithoutAddressesNestedInput = {
|
|
714
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutAddressesInput, Prisma.CustomerUncheckedCreateWithoutAddressesInput>;
|
|
715
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutAddressesInput;
|
|
716
|
+
upsert?: Prisma.CustomerUpsertWithoutAddressesInput;
|
|
717
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
718
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutAddressesInput, Prisma.CustomerUpdateWithoutAddressesInput>, Prisma.CustomerUncheckedUpdateWithoutAddressesInput>;
|
|
719
|
+
};
|
|
720
|
+
export type CustomerCreateNestedOneWithoutCustomerToCustomerGroupsInput = {
|
|
721
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCustomerToCustomerGroupsInput, Prisma.CustomerUncheckedCreateWithoutCustomerToCustomerGroupsInput>;
|
|
722
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCustomerToCustomerGroupsInput;
|
|
723
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
724
|
+
};
|
|
725
|
+
export type CustomerUpdateOneRequiredWithoutCustomerToCustomerGroupsNestedInput = {
|
|
726
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutCustomerToCustomerGroupsInput, Prisma.CustomerUncheckedCreateWithoutCustomerToCustomerGroupsInput>;
|
|
727
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutCustomerToCustomerGroupsInput;
|
|
728
|
+
upsert?: Prisma.CustomerUpsertWithoutCustomerToCustomerGroupsInput;
|
|
729
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
730
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutCustomerToCustomerGroupsInput, Prisma.CustomerUpdateWithoutCustomerToCustomerGroupsInput>, Prisma.CustomerUncheckedUpdateWithoutCustomerToCustomerGroupsInput>;
|
|
731
|
+
};
|
|
732
|
+
export type CustomerCreateNestedOneWithoutRedemptionsInput = {
|
|
733
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutRedemptionsInput, Prisma.CustomerUncheckedCreateWithoutRedemptionsInput>;
|
|
734
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutRedemptionsInput;
|
|
735
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
736
|
+
};
|
|
737
|
+
export type CustomerUpdateOneWithoutRedemptionsNestedInput = {
|
|
738
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutRedemptionsInput, Prisma.CustomerUncheckedCreateWithoutRedemptionsInput>;
|
|
739
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutRedemptionsInput;
|
|
740
|
+
upsert?: Prisma.CustomerUpsertWithoutRedemptionsInput;
|
|
741
|
+
disconnect?: Prisma.CustomerWhereInput | boolean;
|
|
742
|
+
delete?: Prisma.CustomerWhereInput | boolean;
|
|
743
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
744
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutRedemptionsInput, Prisma.CustomerUpdateWithoutRedemptionsInput>, Prisma.CustomerUncheckedUpdateWithoutRedemptionsInput>;
|
|
745
|
+
};
|
|
746
|
+
export type CustomerCreateNestedOneWithoutSmsConversationInput = {
|
|
747
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutSmsConversationInput, Prisma.CustomerUncheckedCreateWithoutSmsConversationInput>;
|
|
748
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutSmsConversationInput;
|
|
749
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
750
|
+
};
|
|
751
|
+
export type CustomerUpdateOneRequiredWithoutSmsConversationNestedInput = {
|
|
752
|
+
create?: Prisma.XOR<Prisma.CustomerCreateWithoutSmsConversationInput, Prisma.CustomerUncheckedCreateWithoutSmsConversationInput>;
|
|
753
|
+
connectOrCreate?: Prisma.CustomerCreateOrConnectWithoutSmsConversationInput;
|
|
754
|
+
upsert?: Prisma.CustomerUpsertWithoutSmsConversationInput;
|
|
755
|
+
connect?: Prisma.CustomerWhereUniqueInput;
|
|
756
|
+
update?: Prisma.XOR<Prisma.XOR<Prisma.CustomerUpdateToOneWithWhereWithoutSmsConversationInput, Prisma.CustomerUpdateWithoutSmsConversationInput>, Prisma.CustomerUncheckedUpdateWithoutSmsConversationInput>;
|
|
757
|
+
};
|
|
758
|
+
export type CustomerCreateWithoutUserInput = {
|
|
759
|
+
id?: bigint | number;
|
|
760
|
+
platformId: string;
|
|
761
|
+
firstName: string;
|
|
762
|
+
lastName: string;
|
|
763
|
+
displayName?: string | null;
|
|
764
|
+
email?: string | null;
|
|
765
|
+
phone?: string | null;
|
|
766
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
767
|
+
createdAt?: Date | string;
|
|
768
|
+
updatedAt?: Date | string;
|
|
769
|
+
deletedAt?: Date | string | null;
|
|
770
|
+
nmiId?: string | null;
|
|
771
|
+
doesConsentToSmsCommunication?: boolean;
|
|
772
|
+
discriminator?: string;
|
|
773
|
+
carts?: Prisma.CartCreateNestedManyWithoutCustomerInput;
|
|
774
|
+
checkouts?: Prisma.CheckoutCreateNestedManyWithoutCustomerInput;
|
|
775
|
+
addresses?: Prisma.CustomerToAddressCreateNestedManyWithoutCustomerInput;
|
|
776
|
+
cards?: Prisma.CardCreateNestedManyWithoutCustomerInput;
|
|
777
|
+
checkoutGroup?: Prisma.CheckoutGroupCreateNestedManyWithoutCustomerInput;
|
|
778
|
+
redemptions?: Prisma.DiscountCodeRedemptionCreateNestedManyWithoutCustomerInput;
|
|
779
|
+
SmsConversation?: Prisma.SmsConversationCreateNestedManyWithoutCustomerInput;
|
|
780
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupCreateNestedManyWithoutCustomerInput;
|
|
781
|
+
};
|
|
782
|
+
export type CustomerUncheckedCreateWithoutUserInput = {
|
|
783
|
+
id?: bigint | number;
|
|
784
|
+
platformId: string;
|
|
785
|
+
firstName: string;
|
|
786
|
+
lastName: string;
|
|
787
|
+
displayName?: string | null;
|
|
788
|
+
email?: string | null;
|
|
789
|
+
phone?: string | null;
|
|
790
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
791
|
+
createdAt?: Date | string;
|
|
792
|
+
updatedAt?: Date | string;
|
|
793
|
+
deletedAt?: Date | string | null;
|
|
794
|
+
nmiId?: string | null;
|
|
795
|
+
doesConsentToSmsCommunication?: boolean;
|
|
796
|
+
discriminator?: string;
|
|
797
|
+
carts?: Prisma.CartUncheckedCreateNestedManyWithoutCustomerInput;
|
|
798
|
+
checkouts?: Prisma.CheckoutUncheckedCreateNestedManyWithoutCustomerInput;
|
|
799
|
+
addresses?: Prisma.CustomerToAddressUncheckedCreateNestedManyWithoutCustomerInput;
|
|
800
|
+
cards?: Prisma.CardUncheckedCreateNestedManyWithoutCustomerInput;
|
|
801
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
802
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedCreateNestedManyWithoutCustomerInput;
|
|
803
|
+
SmsConversation?: Prisma.SmsConversationUncheckedCreateNestedManyWithoutCustomerInput;
|
|
804
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
805
|
+
};
|
|
806
|
+
export type CustomerCreateOrConnectWithoutUserInput = {
|
|
807
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
808
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutUserInput, Prisma.CustomerUncheckedCreateWithoutUserInput>;
|
|
809
|
+
};
|
|
810
|
+
export type CustomerCreateManyUserInputEnvelope = {
|
|
811
|
+
data: Prisma.CustomerCreateManyUserInput | Prisma.CustomerCreateManyUserInput[];
|
|
812
|
+
skipDuplicates?: boolean;
|
|
813
|
+
};
|
|
814
|
+
export type CustomerUpsertWithWhereUniqueWithoutUserInput = {
|
|
815
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
816
|
+
update: Prisma.XOR<Prisma.CustomerUpdateWithoutUserInput, Prisma.CustomerUncheckedUpdateWithoutUserInput>;
|
|
817
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutUserInput, Prisma.CustomerUncheckedCreateWithoutUserInput>;
|
|
818
|
+
};
|
|
819
|
+
export type CustomerUpdateWithWhereUniqueWithoutUserInput = {
|
|
820
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
821
|
+
data: Prisma.XOR<Prisma.CustomerUpdateWithoutUserInput, Prisma.CustomerUncheckedUpdateWithoutUserInput>;
|
|
822
|
+
};
|
|
823
|
+
export type CustomerUpdateManyWithWhereWithoutUserInput = {
|
|
824
|
+
where: Prisma.CustomerScalarWhereInput;
|
|
825
|
+
data: Prisma.XOR<Prisma.CustomerUpdateManyMutationInput, Prisma.CustomerUncheckedUpdateManyWithoutUserInput>;
|
|
826
|
+
};
|
|
827
|
+
export type CustomerScalarWhereInput = {
|
|
828
|
+
AND?: Prisma.CustomerScalarWhereInput | Prisma.CustomerScalarWhereInput[];
|
|
829
|
+
OR?: Prisma.CustomerScalarWhereInput[];
|
|
830
|
+
NOT?: Prisma.CustomerScalarWhereInput | Prisma.CustomerScalarWhereInput[];
|
|
831
|
+
id?: Prisma.BigIntFilter<"Customer"> | bigint | number;
|
|
832
|
+
platformId?: Prisma.StringFilter<"Customer"> | string;
|
|
833
|
+
firstName?: Prisma.StringFilter<"Customer"> | string;
|
|
834
|
+
lastName?: Prisma.StringFilter<"Customer"> | string;
|
|
835
|
+
displayName?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
836
|
+
email?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
837
|
+
phone?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
838
|
+
tags?: Prisma.StringNullableListFilter<"Customer">;
|
|
839
|
+
createdAt?: Prisma.DateTimeFilter<"Customer"> | Date | string;
|
|
840
|
+
updatedAt?: Prisma.DateTimeFilter<"Customer"> | Date | string;
|
|
841
|
+
deletedAt?: Prisma.DateTimeNullableFilter<"Customer"> | Date | string | null;
|
|
842
|
+
nmiId?: Prisma.StringNullableFilter<"Customer"> | string | null;
|
|
843
|
+
userId?: Prisma.BigIntFilter<"Customer"> | bigint | number;
|
|
844
|
+
doesConsentToSmsCommunication?: Prisma.BoolFilter<"Customer"> | boolean;
|
|
845
|
+
discriminator?: Prisma.StringFilter<"Customer"> | string;
|
|
846
|
+
};
|
|
847
|
+
export type CustomerCreateWithoutCardsInput = {
|
|
848
|
+
id?: bigint | number;
|
|
849
|
+
platformId: string;
|
|
850
|
+
firstName: string;
|
|
851
|
+
lastName: string;
|
|
852
|
+
displayName?: string | null;
|
|
853
|
+
email?: string | null;
|
|
854
|
+
phone?: string | null;
|
|
855
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
856
|
+
createdAt?: Date | string;
|
|
857
|
+
updatedAt?: Date | string;
|
|
858
|
+
deletedAt?: Date | string | null;
|
|
859
|
+
nmiId?: string | null;
|
|
860
|
+
doesConsentToSmsCommunication?: boolean;
|
|
861
|
+
discriminator?: string;
|
|
862
|
+
carts?: Prisma.CartCreateNestedManyWithoutCustomerInput;
|
|
863
|
+
checkouts?: Prisma.CheckoutCreateNestedManyWithoutCustomerInput;
|
|
864
|
+
addresses?: Prisma.CustomerToAddressCreateNestedManyWithoutCustomerInput;
|
|
865
|
+
checkoutGroup?: Prisma.CheckoutGroupCreateNestedManyWithoutCustomerInput;
|
|
866
|
+
redemptions?: Prisma.DiscountCodeRedemptionCreateNestedManyWithoutCustomerInput;
|
|
867
|
+
user: Prisma.UserCreateNestedOneWithoutCustomerInput;
|
|
868
|
+
SmsConversation?: Prisma.SmsConversationCreateNestedManyWithoutCustomerInput;
|
|
869
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupCreateNestedManyWithoutCustomerInput;
|
|
870
|
+
};
|
|
871
|
+
export type CustomerUncheckedCreateWithoutCardsInput = {
|
|
872
|
+
id?: bigint | number;
|
|
873
|
+
platformId: string;
|
|
874
|
+
firstName: string;
|
|
875
|
+
lastName: string;
|
|
876
|
+
displayName?: string | null;
|
|
877
|
+
email?: string | null;
|
|
878
|
+
phone?: string | null;
|
|
879
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
880
|
+
createdAt?: Date | string;
|
|
881
|
+
updatedAt?: Date | string;
|
|
882
|
+
deletedAt?: Date | string | null;
|
|
883
|
+
nmiId?: string | null;
|
|
884
|
+
userId: bigint | number;
|
|
885
|
+
doesConsentToSmsCommunication?: boolean;
|
|
886
|
+
discriminator?: string;
|
|
887
|
+
carts?: Prisma.CartUncheckedCreateNestedManyWithoutCustomerInput;
|
|
888
|
+
checkouts?: Prisma.CheckoutUncheckedCreateNestedManyWithoutCustomerInput;
|
|
889
|
+
addresses?: Prisma.CustomerToAddressUncheckedCreateNestedManyWithoutCustomerInput;
|
|
890
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
891
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedCreateNestedManyWithoutCustomerInput;
|
|
892
|
+
SmsConversation?: Prisma.SmsConversationUncheckedCreateNestedManyWithoutCustomerInput;
|
|
893
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
894
|
+
};
|
|
895
|
+
export type CustomerCreateOrConnectWithoutCardsInput = {
|
|
896
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
897
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCardsInput, Prisma.CustomerUncheckedCreateWithoutCardsInput>;
|
|
898
|
+
};
|
|
899
|
+
export type CustomerUpsertWithoutCardsInput = {
|
|
900
|
+
update: Prisma.XOR<Prisma.CustomerUpdateWithoutCardsInput, Prisma.CustomerUncheckedUpdateWithoutCardsInput>;
|
|
901
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCardsInput, Prisma.CustomerUncheckedCreateWithoutCardsInput>;
|
|
902
|
+
where?: Prisma.CustomerWhereInput;
|
|
903
|
+
};
|
|
904
|
+
export type CustomerUpdateToOneWithWhereWithoutCardsInput = {
|
|
905
|
+
where?: Prisma.CustomerWhereInput;
|
|
906
|
+
data: Prisma.XOR<Prisma.CustomerUpdateWithoutCardsInput, Prisma.CustomerUncheckedUpdateWithoutCardsInput>;
|
|
907
|
+
};
|
|
908
|
+
export type CustomerUpdateWithoutCardsInput = {
|
|
909
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
910
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
911
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
912
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
913
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
914
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
915
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
916
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
917
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
918
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
919
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
920
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
921
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
922
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
923
|
+
carts?: Prisma.CartUpdateManyWithoutCustomerNestedInput;
|
|
924
|
+
checkouts?: Prisma.CheckoutUpdateManyWithoutCustomerNestedInput;
|
|
925
|
+
addresses?: Prisma.CustomerToAddressUpdateManyWithoutCustomerNestedInput;
|
|
926
|
+
checkoutGroup?: Prisma.CheckoutGroupUpdateManyWithoutCustomerNestedInput;
|
|
927
|
+
redemptions?: Prisma.DiscountCodeRedemptionUpdateManyWithoutCustomerNestedInput;
|
|
928
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCustomerNestedInput;
|
|
929
|
+
SmsConversation?: Prisma.SmsConversationUpdateManyWithoutCustomerNestedInput;
|
|
930
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUpdateManyWithoutCustomerNestedInput;
|
|
931
|
+
};
|
|
932
|
+
export type CustomerUncheckedUpdateWithoutCardsInput = {
|
|
933
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
934
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
935
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
936
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
937
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
938
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
939
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
940
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
941
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
942
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
943
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
944
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
945
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
946
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
947
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
948
|
+
carts?: Prisma.CartUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
949
|
+
checkouts?: Prisma.CheckoutUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
950
|
+
addresses?: Prisma.CustomerToAddressUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
951
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
952
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
953
|
+
SmsConversation?: Prisma.SmsConversationUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
954
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
955
|
+
};
|
|
956
|
+
export type CustomerCreateWithoutCartsInput = {
|
|
957
|
+
id?: bigint | number;
|
|
958
|
+
platformId: string;
|
|
959
|
+
firstName: string;
|
|
960
|
+
lastName: string;
|
|
961
|
+
displayName?: string | null;
|
|
962
|
+
email?: string | null;
|
|
963
|
+
phone?: string | null;
|
|
964
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
965
|
+
createdAt?: Date | string;
|
|
966
|
+
updatedAt?: Date | string;
|
|
967
|
+
deletedAt?: Date | string | null;
|
|
968
|
+
nmiId?: string | null;
|
|
969
|
+
doesConsentToSmsCommunication?: boolean;
|
|
970
|
+
discriminator?: string;
|
|
971
|
+
checkouts?: Prisma.CheckoutCreateNestedManyWithoutCustomerInput;
|
|
972
|
+
addresses?: Prisma.CustomerToAddressCreateNestedManyWithoutCustomerInput;
|
|
973
|
+
cards?: Prisma.CardCreateNestedManyWithoutCustomerInput;
|
|
974
|
+
checkoutGroup?: Prisma.CheckoutGroupCreateNestedManyWithoutCustomerInput;
|
|
975
|
+
redemptions?: Prisma.DiscountCodeRedemptionCreateNestedManyWithoutCustomerInput;
|
|
976
|
+
user: Prisma.UserCreateNestedOneWithoutCustomerInput;
|
|
977
|
+
SmsConversation?: Prisma.SmsConversationCreateNestedManyWithoutCustomerInput;
|
|
978
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupCreateNestedManyWithoutCustomerInput;
|
|
979
|
+
};
|
|
980
|
+
export type CustomerUncheckedCreateWithoutCartsInput = {
|
|
981
|
+
id?: bigint | number;
|
|
982
|
+
platformId: string;
|
|
983
|
+
firstName: string;
|
|
984
|
+
lastName: string;
|
|
985
|
+
displayName?: string | null;
|
|
986
|
+
email?: string | null;
|
|
987
|
+
phone?: string | null;
|
|
988
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
989
|
+
createdAt?: Date | string;
|
|
990
|
+
updatedAt?: Date | string;
|
|
991
|
+
deletedAt?: Date | string | null;
|
|
992
|
+
nmiId?: string | null;
|
|
993
|
+
userId: bigint | number;
|
|
994
|
+
doesConsentToSmsCommunication?: boolean;
|
|
995
|
+
discriminator?: string;
|
|
996
|
+
checkouts?: Prisma.CheckoutUncheckedCreateNestedManyWithoutCustomerInput;
|
|
997
|
+
addresses?: Prisma.CustomerToAddressUncheckedCreateNestedManyWithoutCustomerInput;
|
|
998
|
+
cards?: Prisma.CardUncheckedCreateNestedManyWithoutCustomerInput;
|
|
999
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1000
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1001
|
+
SmsConversation?: Prisma.SmsConversationUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1002
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1003
|
+
};
|
|
1004
|
+
export type CustomerCreateOrConnectWithoutCartsInput = {
|
|
1005
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
1006
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCartsInput, Prisma.CustomerUncheckedCreateWithoutCartsInput>;
|
|
1007
|
+
};
|
|
1008
|
+
export type CustomerUpsertWithoutCartsInput = {
|
|
1009
|
+
update: Prisma.XOR<Prisma.CustomerUpdateWithoutCartsInput, Prisma.CustomerUncheckedUpdateWithoutCartsInput>;
|
|
1010
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCartsInput, Prisma.CustomerUncheckedCreateWithoutCartsInput>;
|
|
1011
|
+
where?: Prisma.CustomerWhereInput;
|
|
1012
|
+
};
|
|
1013
|
+
export type CustomerUpdateToOneWithWhereWithoutCartsInput = {
|
|
1014
|
+
where?: Prisma.CustomerWhereInput;
|
|
1015
|
+
data: Prisma.XOR<Prisma.CustomerUpdateWithoutCartsInput, Prisma.CustomerUncheckedUpdateWithoutCartsInput>;
|
|
1016
|
+
};
|
|
1017
|
+
export type CustomerUpdateWithoutCartsInput = {
|
|
1018
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1019
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1020
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1021
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1022
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1023
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1024
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1025
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1026
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1027
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1028
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1029
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1030
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1031
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1032
|
+
checkouts?: Prisma.CheckoutUpdateManyWithoutCustomerNestedInput;
|
|
1033
|
+
addresses?: Prisma.CustomerToAddressUpdateManyWithoutCustomerNestedInput;
|
|
1034
|
+
cards?: Prisma.CardUpdateManyWithoutCustomerNestedInput;
|
|
1035
|
+
checkoutGroup?: Prisma.CheckoutGroupUpdateManyWithoutCustomerNestedInput;
|
|
1036
|
+
redemptions?: Prisma.DiscountCodeRedemptionUpdateManyWithoutCustomerNestedInput;
|
|
1037
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCustomerNestedInput;
|
|
1038
|
+
SmsConversation?: Prisma.SmsConversationUpdateManyWithoutCustomerNestedInput;
|
|
1039
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUpdateManyWithoutCustomerNestedInput;
|
|
1040
|
+
};
|
|
1041
|
+
export type CustomerUncheckedUpdateWithoutCartsInput = {
|
|
1042
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1043
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1044
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1045
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1046
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1047
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1048
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1049
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1050
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1051
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1052
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1053
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1054
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1055
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1056
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1057
|
+
checkouts?: Prisma.CheckoutUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1058
|
+
addresses?: Prisma.CustomerToAddressUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1059
|
+
cards?: Prisma.CardUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1060
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1061
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1062
|
+
SmsConversation?: Prisma.SmsConversationUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1063
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1064
|
+
};
|
|
1065
|
+
export type CustomerCreateWithoutCheckoutGroupInput = {
|
|
1066
|
+
id?: bigint | number;
|
|
1067
|
+
platformId: string;
|
|
1068
|
+
firstName: string;
|
|
1069
|
+
lastName: string;
|
|
1070
|
+
displayName?: string | null;
|
|
1071
|
+
email?: string | null;
|
|
1072
|
+
phone?: string | null;
|
|
1073
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1074
|
+
createdAt?: Date | string;
|
|
1075
|
+
updatedAt?: Date | string;
|
|
1076
|
+
deletedAt?: Date | string | null;
|
|
1077
|
+
nmiId?: string | null;
|
|
1078
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1079
|
+
discriminator?: string;
|
|
1080
|
+
carts?: Prisma.CartCreateNestedManyWithoutCustomerInput;
|
|
1081
|
+
checkouts?: Prisma.CheckoutCreateNestedManyWithoutCustomerInput;
|
|
1082
|
+
addresses?: Prisma.CustomerToAddressCreateNestedManyWithoutCustomerInput;
|
|
1083
|
+
cards?: Prisma.CardCreateNestedManyWithoutCustomerInput;
|
|
1084
|
+
redemptions?: Prisma.DiscountCodeRedemptionCreateNestedManyWithoutCustomerInput;
|
|
1085
|
+
user: Prisma.UserCreateNestedOneWithoutCustomerInput;
|
|
1086
|
+
SmsConversation?: Prisma.SmsConversationCreateNestedManyWithoutCustomerInput;
|
|
1087
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupCreateNestedManyWithoutCustomerInput;
|
|
1088
|
+
};
|
|
1089
|
+
export type CustomerUncheckedCreateWithoutCheckoutGroupInput = {
|
|
1090
|
+
id?: bigint | number;
|
|
1091
|
+
platformId: string;
|
|
1092
|
+
firstName: string;
|
|
1093
|
+
lastName: string;
|
|
1094
|
+
displayName?: string | null;
|
|
1095
|
+
email?: string | null;
|
|
1096
|
+
phone?: string | null;
|
|
1097
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1098
|
+
createdAt?: Date | string;
|
|
1099
|
+
updatedAt?: Date | string;
|
|
1100
|
+
deletedAt?: Date | string | null;
|
|
1101
|
+
nmiId?: string | null;
|
|
1102
|
+
userId: bigint | number;
|
|
1103
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1104
|
+
discriminator?: string;
|
|
1105
|
+
carts?: Prisma.CartUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1106
|
+
checkouts?: Prisma.CheckoutUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1107
|
+
addresses?: Prisma.CustomerToAddressUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1108
|
+
cards?: Prisma.CardUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1109
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1110
|
+
SmsConversation?: Prisma.SmsConversationUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1111
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1112
|
+
};
|
|
1113
|
+
export type CustomerCreateOrConnectWithoutCheckoutGroupInput = {
|
|
1114
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
1115
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCheckoutGroupInput, Prisma.CustomerUncheckedCreateWithoutCheckoutGroupInput>;
|
|
1116
|
+
};
|
|
1117
|
+
export type CustomerUpsertWithoutCheckoutGroupInput = {
|
|
1118
|
+
update: Prisma.XOR<Prisma.CustomerUpdateWithoutCheckoutGroupInput, Prisma.CustomerUncheckedUpdateWithoutCheckoutGroupInput>;
|
|
1119
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCheckoutGroupInput, Prisma.CustomerUncheckedCreateWithoutCheckoutGroupInput>;
|
|
1120
|
+
where?: Prisma.CustomerWhereInput;
|
|
1121
|
+
};
|
|
1122
|
+
export type CustomerUpdateToOneWithWhereWithoutCheckoutGroupInput = {
|
|
1123
|
+
where?: Prisma.CustomerWhereInput;
|
|
1124
|
+
data: Prisma.XOR<Prisma.CustomerUpdateWithoutCheckoutGroupInput, Prisma.CustomerUncheckedUpdateWithoutCheckoutGroupInput>;
|
|
1125
|
+
};
|
|
1126
|
+
export type CustomerUpdateWithoutCheckoutGroupInput = {
|
|
1127
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1128
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1129
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1130
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1131
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1132
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1133
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1134
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1135
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1136
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1137
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1138
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1139
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1140
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1141
|
+
carts?: Prisma.CartUpdateManyWithoutCustomerNestedInput;
|
|
1142
|
+
checkouts?: Prisma.CheckoutUpdateManyWithoutCustomerNestedInput;
|
|
1143
|
+
addresses?: Prisma.CustomerToAddressUpdateManyWithoutCustomerNestedInput;
|
|
1144
|
+
cards?: Prisma.CardUpdateManyWithoutCustomerNestedInput;
|
|
1145
|
+
redemptions?: Prisma.DiscountCodeRedemptionUpdateManyWithoutCustomerNestedInput;
|
|
1146
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCustomerNestedInput;
|
|
1147
|
+
SmsConversation?: Prisma.SmsConversationUpdateManyWithoutCustomerNestedInput;
|
|
1148
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUpdateManyWithoutCustomerNestedInput;
|
|
1149
|
+
};
|
|
1150
|
+
export type CustomerUncheckedUpdateWithoutCheckoutGroupInput = {
|
|
1151
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1152
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1153
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1154
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1155
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1156
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1157
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1158
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1159
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1160
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1161
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1162
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1163
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1164
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1165
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1166
|
+
carts?: Prisma.CartUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1167
|
+
checkouts?: Prisma.CheckoutUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1168
|
+
addresses?: Prisma.CustomerToAddressUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1169
|
+
cards?: Prisma.CardUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1170
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1171
|
+
SmsConversation?: Prisma.SmsConversationUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1172
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1173
|
+
};
|
|
1174
|
+
export type CustomerCreateWithoutCheckoutsInput = {
|
|
1175
|
+
id?: bigint | number;
|
|
1176
|
+
platformId: string;
|
|
1177
|
+
firstName: string;
|
|
1178
|
+
lastName: string;
|
|
1179
|
+
displayName?: string | null;
|
|
1180
|
+
email?: string | null;
|
|
1181
|
+
phone?: string | null;
|
|
1182
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1183
|
+
createdAt?: Date | string;
|
|
1184
|
+
updatedAt?: Date | string;
|
|
1185
|
+
deletedAt?: Date | string | null;
|
|
1186
|
+
nmiId?: string | null;
|
|
1187
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1188
|
+
discriminator?: string;
|
|
1189
|
+
carts?: Prisma.CartCreateNestedManyWithoutCustomerInput;
|
|
1190
|
+
addresses?: Prisma.CustomerToAddressCreateNestedManyWithoutCustomerInput;
|
|
1191
|
+
cards?: Prisma.CardCreateNestedManyWithoutCustomerInput;
|
|
1192
|
+
checkoutGroup?: Prisma.CheckoutGroupCreateNestedManyWithoutCustomerInput;
|
|
1193
|
+
redemptions?: Prisma.DiscountCodeRedemptionCreateNestedManyWithoutCustomerInput;
|
|
1194
|
+
user: Prisma.UserCreateNestedOneWithoutCustomerInput;
|
|
1195
|
+
SmsConversation?: Prisma.SmsConversationCreateNestedManyWithoutCustomerInput;
|
|
1196
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupCreateNestedManyWithoutCustomerInput;
|
|
1197
|
+
};
|
|
1198
|
+
export type CustomerUncheckedCreateWithoutCheckoutsInput = {
|
|
1199
|
+
id?: bigint | number;
|
|
1200
|
+
platformId: string;
|
|
1201
|
+
firstName: string;
|
|
1202
|
+
lastName: string;
|
|
1203
|
+
displayName?: string | null;
|
|
1204
|
+
email?: string | null;
|
|
1205
|
+
phone?: string | null;
|
|
1206
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1207
|
+
createdAt?: Date | string;
|
|
1208
|
+
updatedAt?: Date | string;
|
|
1209
|
+
deletedAt?: Date | string | null;
|
|
1210
|
+
nmiId?: string | null;
|
|
1211
|
+
userId: bigint | number;
|
|
1212
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1213
|
+
discriminator?: string;
|
|
1214
|
+
carts?: Prisma.CartUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1215
|
+
addresses?: Prisma.CustomerToAddressUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1216
|
+
cards?: Prisma.CardUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1217
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1218
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1219
|
+
SmsConversation?: Prisma.SmsConversationUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1220
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1221
|
+
};
|
|
1222
|
+
export type CustomerCreateOrConnectWithoutCheckoutsInput = {
|
|
1223
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
1224
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCheckoutsInput, Prisma.CustomerUncheckedCreateWithoutCheckoutsInput>;
|
|
1225
|
+
};
|
|
1226
|
+
export type CustomerUpsertWithoutCheckoutsInput = {
|
|
1227
|
+
update: Prisma.XOR<Prisma.CustomerUpdateWithoutCheckoutsInput, Prisma.CustomerUncheckedUpdateWithoutCheckoutsInput>;
|
|
1228
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCheckoutsInput, Prisma.CustomerUncheckedCreateWithoutCheckoutsInput>;
|
|
1229
|
+
where?: Prisma.CustomerWhereInput;
|
|
1230
|
+
};
|
|
1231
|
+
export type CustomerUpdateToOneWithWhereWithoutCheckoutsInput = {
|
|
1232
|
+
where?: Prisma.CustomerWhereInput;
|
|
1233
|
+
data: Prisma.XOR<Prisma.CustomerUpdateWithoutCheckoutsInput, Prisma.CustomerUncheckedUpdateWithoutCheckoutsInput>;
|
|
1234
|
+
};
|
|
1235
|
+
export type CustomerUpdateWithoutCheckoutsInput = {
|
|
1236
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1237
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1238
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1239
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1240
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1241
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1242
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1243
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1244
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1245
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1246
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1247
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1248
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1249
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1250
|
+
carts?: Prisma.CartUpdateManyWithoutCustomerNestedInput;
|
|
1251
|
+
addresses?: Prisma.CustomerToAddressUpdateManyWithoutCustomerNestedInput;
|
|
1252
|
+
cards?: Prisma.CardUpdateManyWithoutCustomerNestedInput;
|
|
1253
|
+
checkoutGroup?: Prisma.CheckoutGroupUpdateManyWithoutCustomerNestedInput;
|
|
1254
|
+
redemptions?: Prisma.DiscountCodeRedemptionUpdateManyWithoutCustomerNestedInput;
|
|
1255
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCustomerNestedInput;
|
|
1256
|
+
SmsConversation?: Prisma.SmsConversationUpdateManyWithoutCustomerNestedInput;
|
|
1257
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUpdateManyWithoutCustomerNestedInput;
|
|
1258
|
+
};
|
|
1259
|
+
export type CustomerUncheckedUpdateWithoutCheckoutsInput = {
|
|
1260
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1261
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1262
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1263
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1264
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1265
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1266
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1267
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1268
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1269
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1270
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1271
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1272
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1273
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1274
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1275
|
+
carts?: Prisma.CartUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1276
|
+
addresses?: Prisma.CustomerToAddressUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1277
|
+
cards?: Prisma.CardUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1278
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1279
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1280
|
+
SmsConversation?: Prisma.SmsConversationUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1281
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1282
|
+
};
|
|
1283
|
+
export type CustomerCreateWithoutAddressesInput = {
|
|
1284
|
+
id?: bigint | number;
|
|
1285
|
+
platformId: string;
|
|
1286
|
+
firstName: string;
|
|
1287
|
+
lastName: string;
|
|
1288
|
+
displayName?: string | null;
|
|
1289
|
+
email?: string | null;
|
|
1290
|
+
phone?: string | null;
|
|
1291
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1292
|
+
createdAt?: Date | string;
|
|
1293
|
+
updatedAt?: Date | string;
|
|
1294
|
+
deletedAt?: Date | string | null;
|
|
1295
|
+
nmiId?: string | null;
|
|
1296
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1297
|
+
discriminator?: string;
|
|
1298
|
+
carts?: Prisma.CartCreateNestedManyWithoutCustomerInput;
|
|
1299
|
+
checkouts?: Prisma.CheckoutCreateNestedManyWithoutCustomerInput;
|
|
1300
|
+
cards?: Prisma.CardCreateNestedManyWithoutCustomerInput;
|
|
1301
|
+
checkoutGroup?: Prisma.CheckoutGroupCreateNestedManyWithoutCustomerInput;
|
|
1302
|
+
redemptions?: Prisma.DiscountCodeRedemptionCreateNestedManyWithoutCustomerInput;
|
|
1303
|
+
user: Prisma.UserCreateNestedOneWithoutCustomerInput;
|
|
1304
|
+
SmsConversation?: Prisma.SmsConversationCreateNestedManyWithoutCustomerInput;
|
|
1305
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupCreateNestedManyWithoutCustomerInput;
|
|
1306
|
+
};
|
|
1307
|
+
export type CustomerUncheckedCreateWithoutAddressesInput = {
|
|
1308
|
+
id?: bigint | number;
|
|
1309
|
+
platformId: string;
|
|
1310
|
+
firstName: string;
|
|
1311
|
+
lastName: string;
|
|
1312
|
+
displayName?: string | null;
|
|
1313
|
+
email?: string | null;
|
|
1314
|
+
phone?: string | null;
|
|
1315
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1316
|
+
createdAt?: Date | string;
|
|
1317
|
+
updatedAt?: Date | string;
|
|
1318
|
+
deletedAt?: Date | string | null;
|
|
1319
|
+
nmiId?: string | null;
|
|
1320
|
+
userId: bigint | number;
|
|
1321
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1322
|
+
discriminator?: string;
|
|
1323
|
+
carts?: Prisma.CartUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1324
|
+
checkouts?: Prisma.CheckoutUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1325
|
+
cards?: Prisma.CardUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1326
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1327
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1328
|
+
SmsConversation?: Prisma.SmsConversationUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1329
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1330
|
+
};
|
|
1331
|
+
export type CustomerCreateOrConnectWithoutAddressesInput = {
|
|
1332
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
1333
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutAddressesInput, Prisma.CustomerUncheckedCreateWithoutAddressesInput>;
|
|
1334
|
+
};
|
|
1335
|
+
export type CustomerUpsertWithoutAddressesInput = {
|
|
1336
|
+
update: Prisma.XOR<Prisma.CustomerUpdateWithoutAddressesInput, Prisma.CustomerUncheckedUpdateWithoutAddressesInput>;
|
|
1337
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutAddressesInput, Prisma.CustomerUncheckedCreateWithoutAddressesInput>;
|
|
1338
|
+
where?: Prisma.CustomerWhereInput;
|
|
1339
|
+
};
|
|
1340
|
+
export type CustomerUpdateToOneWithWhereWithoutAddressesInput = {
|
|
1341
|
+
where?: Prisma.CustomerWhereInput;
|
|
1342
|
+
data: Prisma.XOR<Prisma.CustomerUpdateWithoutAddressesInput, Prisma.CustomerUncheckedUpdateWithoutAddressesInput>;
|
|
1343
|
+
};
|
|
1344
|
+
export type CustomerUpdateWithoutAddressesInput = {
|
|
1345
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1346
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1347
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1348
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1349
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1350
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1351
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1352
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1353
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1354
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1355
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1356
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1357
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1358
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1359
|
+
carts?: Prisma.CartUpdateManyWithoutCustomerNestedInput;
|
|
1360
|
+
checkouts?: Prisma.CheckoutUpdateManyWithoutCustomerNestedInput;
|
|
1361
|
+
cards?: Prisma.CardUpdateManyWithoutCustomerNestedInput;
|
|
1362
|
+
checkoutGroup?: Prisma.CheckoutGroupUpdateManyWithoutCustomerNestedInput;
|
|
1363
|
+
redemptions?: Prisma.DiscountCodeRedemptionUpdateManyWithoutCustomerNestedInput;
|
|
1364
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCustomerNestedInput;
|
|
1365
|
+
SmsConversation?: Prisma.SmsConversationUpdateManyWithoutCustomerNestedInput;
|
|
1366
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUpdateManyWithoutCustomerNestedInput;
|
|
1367
|
+
};
|
|
1368
|
+
export type CustomerUncheckedUpdateWithoutAddressesInput = {
|
|
1369
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1370
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1371
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1372
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1373
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1374
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1375
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1376
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1377
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1378
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1379
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1380
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1381
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1382
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1383
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1384
|
+
carts?: Prisma.CartUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1385
|
+
checkouts?: Prisma.CheckoutUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1386
|
+
cards?: Prisma.CardUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1387
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1388
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1389
|
+
SmsConversation?: Prisma.SmsConversationUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1390
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1391
|
+
};
|
|
1392
|
+
export type CustomerCreateWithoutCustomerToCustomerGroupsInput = {
|
|
1393
|
+
id?: bigint | number;
|
|
1394
|
+
platformId: string;
|
|
1395
|
+
firstName: string;
|
|
1396
|
+
lastName: string;
|
|
1397
|
+
displayName?: string | null;
|
|
1398
|
+
email?: string | null;
|
|
1399
|
+
phone?: string | null;
|
|
1400
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1401
|
+
createdAt?: Date | string;
|
|
1402
|
+
updatedAt?: Date | string;
|
|
1403
|
+
deletedAt?: Date | string | null;
|
|
1404
|
+
nmiId?: string | null;
|
|
1405
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1406
|
+
discriminator?: string;
|
|
1407
|
+
carts?: Prisma.CartCreateNestedManyWithoutCustomerInput;
|
|
1408
|
+
checkouts?: Prisma.CheckoutCreateNestedManyWithoutCustomerInput;
|
|
1409
|
+
addresses?: Prisma.CustomerToAddressCreateNestedManyWithoutCustomerInput;
|
|
1410
|
+
cards?: Prisma.CardCreateNestedManyWithoutCustomerInput;
|
|
1411
|
+
checkoutGroup?: Prisma.CheckoutGroupCreateNestedManyWithoutCustomerInput;
|
|
1412
|
+
redemptions?: Prisma.DiscountCodeRedemptionCreateNestedManyWithoutCustomerInput;
|
|
1413
|
+
user: Prisma.UserCreateNestedOneWithoutCustomerInput;
|
|
1414
|
+
SmsConversation?: Prisma.SmsConversationCreateNestedManyWithoutCustomerInput;
|
|
1415
|
+
};
|
|
1416
|
+
export type CustomerUncheckedCreateWithoutCustomerToCustomerGroupsInput = {
|
|
1417
|
+
id?: bigint | number;
|
|
1418
|
+
platformId: string;
|
|
1419
|
+
firstName: string;
|
|
1420
|
+
lastName: string;
|
|
1421
|
+
displayName?: string | null;
|
|
1422
|
+
email?: string | null;
|
|
1423
|
+
phone?: string | null;
|
|
1424
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1425
|
+
createdAt?: Date | string;
|
|
1426
|
+
updatedAt?: Date | string;
|
|
1427
|
+
deletedAt?: Date | string | null;
|
|
1428
|
+
nmiId?: string | null;
|
|
1429
|
+
userId: bigint | number;
|
|
1430
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1431
|
+
discriminator?: string;
|
|
1432
|
+
carts?: Prisma.CartUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1433
|
+
checkouts?: Prisma.CheckoutUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1434
|
+
addresses?: Prisma.CustomerToAddressUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1435
|
+
cards?: Prisma.CardUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1436
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1437
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1438
|
+
SmsConversation?: Prisma.SmsConversationUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1439
|
+
};
|
|
1440
|
+
export type CustomerCreateOrConnectWithoutCustomerToCustomerGroupsInput = {
|
|
1441
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
1442
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCustomerToCustomerGroupsInput, Prisma.CustomerUncheckedCreateWithoutCustomerToCustomerGroupsInput>;
|
|
1443
|
+
};
|
|
1444
|
+
export type CustomerUpsertWithoutCustomerToCustomerGroupsInput = {
|
|
1445
|
+
update: Prisma.XOR<Prisma.CustomerUpdateWithoutCustomerToCustomerGroupsInput, Prisma.CustomerUncheckedUpdateWithoutCustomerToCustomerGroupsInput>;
|
|
1446
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutCustomerToCustomerGroupsInput, Prisma.CustomerUncheckedCreateWithoutCustomerToCustomerGroupsInput>;
|
|
1447
|
+
where?: Prisma.CustomerWhereInput;
|
|
1448
|
+
};
|
|
1449
|
+
export type CustomerUpdateToOneWithWhereWithoutCustomerToCustomerGroupsInput = {
|
|
1450
|
+
where?: Prisma.CustomerWhereInput;
|
|
1451
|
+
data: Prisma.XOR<Prisma.CustomerUpdateWithoutCustomerToCustomerGroupsInput, Prisma.CustomerUncheckedUpdateWithoutCustomerToCustomerGroupsInput>;
|
|
1452
|
+
};
|
|
1453
|
+
export type CustomerUpdateWithoutCustomerToCustomerGroupsInput = {
|
|
1454
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1455
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1456
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1457
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1458
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1459
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1460
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1461
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1462
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1463
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1464
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1465
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1466
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1467
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1468
|
+
carts?: Prisma.CartUpdateManyWithoutCustomerNestedInput;
|
|
1469
|
+
checkouts?: Prisma.CheckoutUpdateManyWithoutCustomerNestedInput;
|
|
1470
|
+
addresses?: Prisma.CustomerToAddressUpdateManyWithoutCustomerNestedInput;
|
|
1471
|
+
cards?: Prisma.CardUpdateManyWithoutCustomerNestedInput;
|
|
1472
|
+
checkoutGroup?: Prisma.CheckoutGroupUpdateManyWithoutCustomerNestedInput;
|
|
1473
|
+
redemptions?: Prisma.DiscountCodeRedemptionUpdateManyWithoutCustomerNestedInput;
|
|
1474
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCustomerNestedInput;
|
|
1475
|
+
SmsConversation?: Prisma.SmsConversationUpdateManyWithoutCustomerNestedInput;
|
|
1476
|
+
};
|
|
1477
|
+
export type CustomerUncheckedUpdateWithoutCustomerToCustomerGroupsInput = {
|
|
1478
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1479
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1480
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1481
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1482
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1483
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1484
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1485
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1486
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1487
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1488
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1489
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1490
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1491
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1492
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1493
|
+
carts?: Prisma.CartUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1494
|
+
checkouts?: Prisma.CheckoutUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1495
|
+
addresses?: Prisma.CustomerToAddressUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1496
|
+
cards?: Prisma.CardUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1497
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1498
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1499
|
+
SmsConversation?: Prisma.SmsConversationUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1500
|
+
};
|
|
1501
|
+
export type CustomerCreateWithoutRedemptionsInput = {
|
|
1502
|
+
id?: bigint | number;
|
|
1503
|
+
platformId: string;
|
|
1504
|
+
firstName: string;
|
|
1505
|
+
lastName: string;
|
|
1506
|
+
displayName?: string | null;
|
|
1507
|
+
email?: string | null;
|
|
1508
|
+
phone?: string | null;
|
|
1509
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1510
|
+
createdAt?: Date | string;
|
|
1511
|
+
updatedAt?: Date | string;
|
|
1512
|
+
deletedAt?: Date | string | null;
|
|
1513
|
+
nmiId?: string | null;
|
|
1514
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1515
|
+
discriminator?: string;
|
|
1516
|
+
carts?: Prisma.CartCreateNestedManyWithoutCustomerInput;
|
|
1517
|
+
checkouts?: Prisma.CheckoutCreateNestedManyWithoutCustomerInput;
|
|
1518
|
+
addresses?: Prisma.CustomerToAddressCreateNestedManyWithoutCustomerInput;
|
|
1519
|
+
cards?: Prisma.CardCreateNestedManyWithoutCustomerInput;
|
|
1520
|
+
checkoutGroup?: Prisma.CheckoutGroupCreateNestedManyWithoutCustomerInput;
|
|
1521
|
+
user: Prisma.UserCreateNestedOneWithoutCustomerInput;
|
|
1522
|
+
SmsConversation?: Prisma.SmsConversationCreateNestedManyWithoutCustomerInput;
|
|
1523
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupCreateNestedManyWithoutCustomerInput;
|
|
1524
|
+
};
|
|
1525
|
+
export type CustomerUncheckedCreateWithoutRedemptionsInput = {
|
|
1526
|
+
id?: bigint | number;
|
|
1527
|
+
platformId: string;
|
|
1528
|
+
firstName: string;
|
|
1529
|
+
lastName: string;
|
|
1530
|
+
displayName?: string | null;
|
|
1531
|
+
email?: string | null;
|
|
1532
|
+
phone?: string | null;
|
|
1533
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1534
|
+
createdAt?: Date | string;
|
|
1535
|
+
updatedAt?: Date | string;
|
|
1536
|
+
deletedAt?: Date | string | null;
|
|
1537
|
+
nmiId?: string | null;
|
|
1538
|
+
userId: bigint | number;
|
|
1539
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1540
|
+
discriminator?: string;
|
|
1541
|
+
carts?: Prisma.CartUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1542
|
+
checkouts?: Prisma.CheckoutUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1543
|
+
addresses?: Prisma.CustomerToAddressUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1544
|
+
cards?: Prisma.CardUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1545
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1546
|
+
SmsConversation?: Prisma.SmsConversationUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1547
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1548
|
+
};
|
|
1549
|
+
export type CustomerCreateOrConnectWithoutRedemptionsInput = {
|
|
1550
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
1551
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutRedemptionsInput, Prisma.CustomerUncheckedCreateWithoutRedemptionsInput>;
|
|
1552
|
+
};
|
|
1553
|
+
export type CustomerUpsertWithoutRedemptionsInput = {
|
|
1554
|
+
update: Prisma.XOR<Prisma.CustomerUpdateWithoutRedemptionsInput, Prisma.CustomerUncheckedUpdateWithoutRedemptionsInput>;
|
|
1555
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutRedemptionsInput, Prisma.CustomerUncheckedCreateWithoutRedemptionsInput>;
|
|
1556
|
+
where?: Prisma.CustomerWhereInput;
|
|
1557
|
+
};
|
|
1558
|
+
export type CustomerUpdateToOneWithWhereWithoutRedemptionsInput = {
|
|
1559
|
+
where?: Prisma.CustomerWhereInput;
|
|
1560
|
+
data: Prisma.XOR<Prisma.CustomerUpdateWithoutRedemptionsInput, Prisma.CustomerUncheckedUpdateWithoutRedemptionsInput>;
|
|
1561
|
+
};
|
|
1562
|
+
export type CustomerUpdateWithoutRedemptionsInput = {
|
|
1563
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1564
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1565
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1566
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1567
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1568
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1569
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1570
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1571
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1572
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1573
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1574
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1575
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1576
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1577
|
+
carts?: Prisma.CartUpdateManyWithoutCustomerNestedInput;
|
|
1578
|
+
checkouts?: Prisma.CheckoutUpdateManyWithoutCustomerNestedInput;
|
|
1579
|
+
addresses?: Prisma.CustomerToAddressUpdateManyWithoutCustomerNestedInput;
|
|
1580
|
+
cards?: Prisma.CardUpdateManyWithoutCustomerNestedInput;
|
|
1581
|
+
checkoutGroup?: Prisma.CheckoutGroupUpdateManyWithoutCustomerNestedInput;
|
|
1582
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCustomerNestedInput;
|
|
1583
|
+
SmsConversation?: Prisma.SmsConversationUpdateManyWithoutCustomerNestedInput;
|
|
1584
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUpdateManyWithoutCustomerNestedInput;
|
|
1585
|
+
};
|
|
1586
|
+
export type CustomerUncheckedUpdateWithoutRedemptionsInput = {
|
|
1587
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1588
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1589
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1590
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1591
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1592
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1593
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1594
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1595
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1596
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1597
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1598
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1599
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1600
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1601
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1602
|
+
carts?: Prisma.CartUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1603
|
+
checkouts?: Prisma.CheckoutUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1604
|
+
addresses?: Prisma.CustomerToAddressUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1605
|
+
cards?: Prisma.CardUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1606
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1607
|
+
SmsConversation?: Prisma.SmsConversationUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1608
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1609
|
+
};
|
|
1610
|
+
export type CustomerCreateWithoutSmsConversationInput = {
|
|
1611
|
+
id?: bigint | number;
|
|
1612
|
+
platformId: string;
|
|
1613
|
+
firstName: string;
|
|
1614
|
+
lastName: string;
|
|
1615
|
+
displayName?: string | null;
|
|
1616
|
+
email?: string | null;
|
|
1617
|
+
phone?: string | null;
|
|
1618
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1619
|
+
createdAt?: Date | string;
|
|
1620
|
+
updatedAt?: Date | string;
|
|
1621
|
+
deletedAt?: Date | string | null;
|
|
1622
|
+
nmiId?: string | null;
|
|
1623
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1624
|
+
discriminator?: string;
|
|
1625
|
+
carts?: Prisma.CartCreateNestedManyWithoutCustomerInput;
|
|
1626
|
+
checkouts?: Prisma.CheckoutCreateNestedManyWithoutCustomerInput;
|
|
1627
|
+
addresses?: Prisma.CustomerToAddressCreateNestedManyWithoutCustomerInput;
|
|
1628
|
+
cards?: Prisma.CardCreateNestedManyWithoutCustomerInput;
|
|
1629
|
+
checkoutGroup?: Prisma.CheckoutGroupCreateNestedManyWithoutCustomerInput;
|
|
1630
|
+
redemptions?: Prisma.DiscountCodeRedemptionCreateNestedManyWithoutCustomerInput;
|
|
1631
|
+
user: Prisma.UserCreateNestedOneWithoutCustomerInput;
|
|
1632
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupCreateNestedManyWithoutCustomerInput;
|
|
1633
|
+
};
|
|
1634
|
+
export type CustomerUncheckedCreateWithoutSmsConversationInput = {
|
|
1635
|
+
id?: bigint | number;
|
|
1636
|
+
platformId: string;
|
|
1637
|
+
firstName: string;
|
|
1638
|
+
lastName: string;
|
|
1639
|
+
displayName?: string | null;
|
|
1640
|
+
email?: string | null;
|
|
1641
|
+
phone?: string | null;
|
|
1642
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1643
|
+
createdAt?: Date | string;
|
|
1644
|
+
updatedAt?: Date | string;
|
|
1645
|
+
deletedAt?: Date | string | null;
|
|
1646
|
+
nmiId?: string | null;
|
|
1647
|
+
userId: bigint | number;
|
|
1648
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1649
|
+
discriminator?: string;
|
|
1650
|
+
carts?: Prisma.CartUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1651
|
+
checkouts?: Prisma.CheckoutUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1652
|
+
addresses?: Prisma.CustomerToAddressUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1653
|
+
cards?: Prisma.CardUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1654
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1655
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1656
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedCreateNestedManyWithoutCustomerInput;
|
|
1657
|
+
};
|
|
1658
|
+
export type CustomerCreateOrConnectWithoutSmsConversationInput = {
|
|
1659
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
1660
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutSmsConversationInput, Prisma.CustomerUncheckedCreateWithoutSmsConversationInput>;
|
|
1661
|
+
};
|
|
1662
|
+
export type CustomerUpsertWithoutSmsConversationInput = {
|
|
1663
|
+
update: Prisma.XOR<Prisma.CustomerUpdateWithoutSmsConversationInput, Prisma.CustomerUncheckedUpdateWithoutSmsConversationInput>;
|
|
1664
|
+
create: Prisma.XOR<Prisma.CustomerCreateWithoutSmsConversationInput, Prisma.CustomerUncheckedCreateWithoutSmsConversationInput>;
|
|
1665
|
+
where?: Prisma.CustomerWhereInput;
|
|
1666
|
+
};
|
|
1667
|
+
export type CustomerUpdateToOneWithWhereWithoutSmsConversationInput = {
|
|
1668
|
+
where?: Prisma.CustomerWhereInput;
|
|
1669
|
+
data: Prisma.XOR<Prisma.CustomerUpdateWithoutSmsConversationInput, Prisma.CustomerUncheckedUpdateWithoutSmsConversationInput>;
|
|
1670
|
+
};
|
|
1671
|
+
export type CustomerUpdateWithoutSmsConversationInput = {
|
|
1672
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1673
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1674
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1675
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1676
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1677
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1678
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1679
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1680
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1681
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1682
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1683
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1684
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1685
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1686
|
+
carts?: Prisma.CartUpdateManyWithoutCustomerNestedInput;
|
|
1687
|
+
checkouts?: Prisma.CheckoutUpdateManyWithoutCustomerNestedInput;
|
|
1688
|
+
addresses?: Prisma.CustomerToAddressUpdateManyWithoutCustomerNestedInput;
|
|
1689
|
+
cards?: Prisma.CardUpdateManyWithoutCustomerNestedInput;
|
|
1690
|
+
checkoutGroup?: Prisma.CheckoutGroupUpdateManyWithoutCustomerNestedInput;
|
|
1691
|
+
redemptions?: Prisma.DiscountCodeRedemptionUpdateManyWithoutCustomerNestedInput;
|
|
1692
|
+
user?: Prisma.UserUpdateOneRequiredWithoutCustomerNestedInput;
|
|
1693
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUpdateManyWithoutCustomerNestedInput;
|
|
1694
|
+
};
|
|
1695
|
+
export type CustomerUncheckedUpdateWithoutSmsConversationInput = {
|
|
1696
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1697
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1698
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1699
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1700
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1701
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1702
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1703
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1704
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1705
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1706
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1707
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1708
|
+
userId?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1709
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1710
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1711
|
+
carts?: Prisma.CartUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1712
|
+
checkouts?: Prisma.CheckoutUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1713
|
+
addresses?: Prisma.CustomerToAddressUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1714
|
+
cards?: Prisma.CardUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1715
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1716
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1717
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1718
|
+
};
|
|
1719
|
+
export type CustomerCreateManyUserInput = {
|
|
1720
|
+
id?: bigint | number;
|
|
1721
|
+
platformId: string;
|
|
1722
|
+
firstName: string;
|
|
1723
|
+
lastName: string;
|
|
1724
|
+
displayName?: string | null;
|
|
1725
|
+
email?: string | null;
|
|
1726
|
+
phone?: string | null;
|
|
1727
|
+
tags?: Prisma.CustomerCreatetagsInput | string[];
|
|
1728
|
+
createdAt?: Date | string;
|
|
1729
|
+
updatedAt?: Date | string;
|
|
1730
|
+
deletedAt?: Date | string | null;
|
|
1731
|
+
nmiId?: string | null;
|
|
1732
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1733
|
+
discriminator?: string;
|
|
1734
|
+
};
|
|
1735
|
+
export type CustomerUpdateWithoutUserInput = {
|
|
1736
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1737
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1738
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1739
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1740
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1741
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1742
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1743
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1744
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1745
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1746
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1747
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1748
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1749
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1750
|
+
carts?: Prisma.CartUpdateManyWithoutCustomerNestedInput;
|
|
1751
|
+
checkouts?: Prisma.CheckoutUpdateManyWithoutCustomerNestedInput;
|
|
1752
|
+
addresses?: Prisma.CustomerToAddressUpdateManyWithoutCustomerNestedInput;
|
|
1753
|
+
cards?: Prisma.CardUpdateManyWithoutCustomerNestedInput;
|
|
1754
|
+
checkoutGroup?: Prisma.CheckoutGroupUpdateManyWithoutCustomerNestedInput;
|
|
1755
|
+
redemptions?: Prisma.DiscountCodeRedemptionUpdateManyWithoutCustomerNestedInput;
|
|
1756
|
+
SmsConversation?: Prisma.SmsConversationUpdateManyWithoutCustomerNestedInput;
|
|
1757
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUpdateManyWithoutCustomerNestedInput;
|
|
1758
|
+
};
|
|
1759
|
+
export type CustomerUncheckedUpdateWithoutUserInput = {
|
|
1760
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1761
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1762
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1763
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1764
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1765
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1766
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1767
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1768
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1769
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1770
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1771
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1772
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1773
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1774
|
+
carts?: Prisma.CartUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1775
|
+
checkouts?: Prisma.CheckoutUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1776
|
+
addresses?: Prisma.CustomerToAddressUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1777
|
+
cards?: Prisma.CardUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1778
|
+
checkoutGroup?: Prisma.CheckoutGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1779
|
+
redemptions?: Prisma.DiscountCodeRedemptionUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1780
|
+
SmsConversation?: Prisma.SmsConversationUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1781
|
+
customerToCustomerGroups?: Prisma.CustomerToCustomerGroupUncheckedUpdateManyWithoutCustomerNestedInput;
|
|
1782
|
+
};
|
|
1783
|
+
export type CustomerUncheckedUpdateManyWithoutUserInput = {
|
|
1784
|
+
id?: Prisma.BigIntFieldUpdateOperationsInput | bigint | number;
|
|
1785
|
+
platformId?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1786
|
+
firstName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1787
|
+
lastName?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1788
|
+
displayName?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1789
|
+
email?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1790
|
+
phone?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1791
|
+
tags?: Prisma.CustomerUpdatetagsInput | string[];
|
|
1792
|
+
createdAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1793
|
+
updatedAt?: Prisma.DateTimeFieldUpdateOperationsInput | Date | string;
|
|
1794
|
+
deletedAt?: Prisma.NullableDateTimeFieldUpdateOperationsInput | Date | string | null;
|
|
1795
|
+
nmiId?: Prisma.NullableStringFieldUpdateOperationsInput | string | null;
|
|
1796
|
+
doesConsentToSmsCommunication?: Prisma.BoolFieldUpdateOperationsInput | boolean;
|
|
1797
|
+
discriminator?: Prisma.StringFieldUpdateOperationsInput | string;
|
|
1798
|
+
};
|
|
1799
|
+
/**
|
|
1800
|
+
* Count Type CustomerCountOutputType
|
|
1801
|
+
*/
|
|
1802
|
+
export type CustomerCountOutputType = {
|
|
1803
|
+
carts: number;
|
|
1804
|
+
checkouts: number;
|
|
1805
|
+
addresses: number;
|
|
1806
|
+
cards: number;
|
|
1807
|
+
checkoutGroup: number;
|
|
1808
|
+
redemptions: number;
|
|
1809
|
+
SmsConversation: number;
|
|
1810
|
+
customerToCustomerGroups: number;
|
|
1811
|
+
};
|
|
1812
|
+
export type CustomerCountOutputTypeSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1813
|
+
carts?: boolean | CustomerCountOutputTypeCountCartsArgs;
|
|
1814
|
+
checkouts?: boolean | CustomerCountOutputTypeCountCheckoutsArgs;
|
|
1815
|
+
addresses?: boolean | CustomerCountOutputTypeCountAddressesArgs;
|
|
1816
|
+
cards?: boolean | CustomerCountOutputTypeCountCardsArgs;
|
|
1817
|
+
checkoutGroup?: boolean | CustomerCountOutputTypeCountCheckoutGroupArgs;
|
|
1818
|
+
redemptions?: boolean | CustomerCountOutputTypeCountRedemptionsArgs;
|
|
1819
|
+
SmsConversation?: boolean | CustomerCountOutputTypeCountSmsConversationArgs;
|
|
1820
|
+
customerToCustomerGroups?: boolean | CustomerCountOutputTypeCountCustomerToCustomerGroupsArgs;
|
|
1821
|
+
};
|
|
1822
|
+
/**
|
|
1823
|
+
* CustomerCountOutputType without action
|
|
1824
|
+
*/
|
|
1825
|
+
export type CustomerCountOutputTypeDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1826
|
+
/**
|
|
1827
|
+
* Select specific fields to fetch from the CustomerCountOutputType
|
|
1828
|
+
*/
|
|
1829
|
+
select?: Prisma.CustomerCountOutputTypeSelect<ExtArgs> | null;
|
|
1830
|
+
};
|
|
1831
|
+
/**
|
|
1832
|
+
* CustomerCountOutputType without action
|
|
1833
|
+
*/
|
|
1834
|
+
export type CustomerCountOutputTypeCountCartsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1835
|
+
where?: Prisma.CartWhereInput;
|
|
1836
|
+
};
|
|
1837
|
+
/**
|
|
1838
|
+
* CustomerCountOutputType without action
|
|
1839
|
+
*/
|
|
1840
|
+
export type CustomerCountOutputTypeCountCheckoutsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1841
|
+
where?: Prisma.CheckoutWhereInput;
|
|
1842
|
+
};
|
|
1843
|
+
/**
|
|
1844
|
+
* CustomerCountOutputType without action
|
|
1845
|
+
*/
|
|
1846
|
+
export type CustomerCountOutputTypeCountAddressesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1847
|
+
where?: Prisma.CustomerToAddressWhereInput;
|
|
1848
|
+
};
|
|
1849
|
+
/**
|
|
1850
|
+
* CustomerCountOutputType without action
|
|
1851
|
+
*/
|
|
1852
|
+
export type CustomerCountOutputTypeCountCardsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1853
|
+
where?: Prisma.CardWhereInput;
|
|
1854
|
+
};
|
|
1855
|
+
/**
|
|
1856
|
+
* CustomerCountOutputType without action
|
|
1857
|
+
*/
|
|
1858
|
+
export type CustomerCountOutputTypeCountCheckoutGroupArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1859
|
+
where?: Prisma.CheckoutGroupWhereInput;
|
|
1860
|
+
};
|
|
1861
|
+
/**
|
|
1862
|
+
* CustomerCountOutputType without action
|
|
1863
|
+
*/
|
|
1864
|
+
export type CustomerCountOutputTypeCountRedemptionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1865
|
+
where?: Prisma.DiscountCodeRedemptionWhereInput;
|
|
1866
|
+
};
|
|
1867
|
+
/**
|
|
1868
|
+
* CustomerCountOutputType without action
|
|
1869
|
+
*/
|
|
1870
|
+
export type CustomerCountOutputTypeCountSmsConversationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1871
|
+
where?: Prisma.SmsConversationWhereInput;
|
|
1872
|
+
};
|
|
1873
|
+
/**
|
|
1874
|
+
* CustomerCountOutputType without action
|
|
1875
|
+
*/
|
|
1876
|
+
export type CustomerCountOutputTypeCountCustomerToCustomerGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1877
|
+
where?: Prisma.CustomerToCustomerGroupWhereInput;
|
|
1878
|
+
};
|
|
1879
|
+
export type CustomerSelect<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1880
|
+
id?: boolean;
|
|
1881
|
+
platformId?: boolean;
|
|
1882
|
+
firstName?: boolean;
|
|
1883
|
+
lastName?: boolean;
|
|
1884
|
+
displayName?: boolean;
|
|
1885
|
+
email?: boolean;
|
|
1886
|
+
phone?: boolean;
|
|
1887
|
+
tags?: boolean;
|
|
1888
|
+
createdAt?: boolean;
|
|
1889
|
+
updatedAt?: boolean;
|
|
1890
|
+
deletedAt?: boolean;
|
|
1891
|
+
nmiId?: boolean;
|
|
1892
|
+
userId?: boolean;
|
|
1893
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1894
|
+
discriminator?: boolean;
|
|
1895
|
+
carts?: boolean | Prisma.Customer$cartsArgs<ExtArgs>;
|
|
1896
|
+
checkouts?: boolean | Prisma.Customer$checkoutsArgs<ExtArgs>;
|
|
1897
|
+
addresses?: boolean | Prisma.Customer$addressesArgs<ExtArgs>;
|
|
1898
|
+
cards?: boolean | Prisma.Customer$cardsArgs<ExtArgs>;
|
|
1899
|
+
checkoutGroup?: boolean | Prisma.Customer$checkoutGroupArgs<ExtArgs>;
|
|
1900
|
+
redemptions?: boolean | Prisma.Customer$redemptionsArgs<ExtArgs>;
|
|
1901
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1902
|
+
SmsConversation?: boolean | Prisma.Customer$SmsConversationArgs<ExtArgs>;
|
|
1903
|
+
customerToCustomerGroups?: boolean | Prisma.Customer$customerToCustomerGroupsArgs<ExtArgs>;
|
|
1904
|
+
_count?: boolean | Prisma.CustomerCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1905
|
+
}, ExtArgs["result"]["customer"]>;
|
|
1906
|
+
export type CustomerSelectCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1907
|
+
id?: boolean;
|
|
1908
|
+
platformId?: boolean;
|
|
1909
|
+
firstName?: boolean;
|
|
1910
|
+
lastName?: boolean;
|
|
1911
|
+
displayName?: boolean;
|
|
1912
|
+
email?: boolean;
|
|
1913
|
+
phone?: boolean;
|
|
1914
|
+
tags?: boolean;
|
|
1915
|
+
createdAt?: boolean;
|
|
1916
|
+
updatedAt?: boolean;
|
|
1917
|
+
deletedAt?: boolean;
|
|
1918
|
+
nmiId?: boolean;
|
|
1919
|
+
userId?: boolean;
|
|
1920
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1921
|
+
discriminator?: boolean;
|
|
1922
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1923
|
+
}, ExtArgs["result"]["customer"]>;
|
|
1924
|
+
export type CustomerSelectUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetSelect<{
|
|
1925
|
+
id?: boolean;
|
|
1926
|
+
platformId?: boolean;
|
|
1927
|
+
firstName?: boolean;
|
|
1928
|
+
lastName?: boolean;
|
|
1929
|
+
displayName?: boolean;
|
|
1930
|
+
email?: boolean;
|
|
1931
|
+
phone?: boolean;
|
|
1932
|
+
tags?: boolean;
|
|
1933
|
+
createdAt?: boolean;
|
|
1934
|
+
updatedAt?: boolean;
|
|
1935
|
+
deletedAt?: boolean;
|
|
1936
|
+
nmiId?: boolean;
|
|
1937
|
+
userId?: boolean;
|
|
1938
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1939
|
+
discriminator?: boolean;
|
|
1940
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1941
|
+
}, ExtArgs["result"]["customer"]>;
|
|
1942
|
+
export type CustomerSelectScalar = {
|
|
1943
|
+
id?: boolean;
|
|
1944
|
+
platformId?: boolean;
|
|
1945
|
+
firstName?: boolean;
|
|
1946
|
+
lastName?: boolean;
|
|
1947
|
+
displayName?: boolean;
|
|
1948
|
+
email?: boolean;
|
|
1949
|
+
phone?: boolean;
|
|
1950
|
+
tags?: boolean;
|
|
1951
|
+
createdAt?: boolean;
|
|
1952
|
+
updatedAt?: boolean;
|
|
1953
|
+
deletedAt?: boolean;
|
|
1954
|
+
nmiId?: boolean;
|
|
1955
|
+
userId?: boolean;
|
|
1956
|
+
doesConsentToSmsCommunication?: boolean;
|
|
1957
|
+
discriminator?: boolean;
|
|
1958
|
+
};
|
|
1959
|
+
export type CustomerOmit<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = runtime.Types.Extensions.GetOmit<"id" | "platformId" | "firstName" | "lastName" | "displayName" | "email" | "phone" | "tags" | "createdAt" | "updatedAt" | "deletedAt" | "nmiId" | "userId" | "doesConsentToSmsCommunication" | "discriminator", ExtArgs["result"]["customer"]>;
|
|
1960
|
+
export type CustomerInclude<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1961
|
+
carts?: boolean | Prisma.Customer$cartsArgs<ExtArgs>;
|
|
1962
|
+
checkouts?: boolean | Prisma.Customer$checkoutsArgs<ExtArgs>;
|
|
1963
|
+
addresses?: boolean | Prisma.Customer$addressesArgs<ExtArgs>;
|
|
1964
|
+
cards?: boolean | Prisma.Customer$cardsArgs<ExtArgs>;
|
|
1965
|
+
checkoutGroup?: boolean | Prisma.Customer$checkoutGroupArgs<ExtArgs>;
|
|
1966
|
+
redemptions?: boolean | Prisma.Customer$redemptionsArgs<ExtArgs>;
|
|
1967
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1968
|
+
SmsConversation?: boolean | Prisma.Customer$SmsConversationArgs<ExtArgs>;
|
|
1969
|
+
customerToCustomerGroups?: boolean | Prisma.Customer$customerToCustomerGroupsArgs<ExtArgs>;
|
|
1970
|
+
_count?: boolean | Prisma.CustomerCountOutputTypeDefaultArgs<ExtArgs>;
|
|
1971
|
+
};
|
|
1972
|
+
export type CustomerIncludeCreateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1973
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1974
|
+
};
|
|
1975
|
+
export type CustomerIncludeUpdateManyAndReturn<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1976
|
+
user?: boolean | Prisma.UserDefaultArgs<ExtArgs>;
|
|
1977
|
+
};
|
|
1978
|
+
export type $CustomerPayload<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
1979
|
+
name: "Customer";
|
|
1980
|
+
objects: {
|
|
1981
|
+
carts: Prisma.$CartPayload<ExtArgs>[];
|
|
1982
|
+
checkouts: Prisma.$CheckoutPayload<ExtArgs>[];
|
|
1983
|
+
addresses: Prisma.$CustomerToAddressPayload<ExtArgs>[];
|
|
1984
|
+
cards: Prisma.$CardPayload<ExtArgs>[];
|
|
1985
|
+
checkoutGroup: Prisma.$CheckoutGroupPayload<ExtArgs>[];
|
|
1986
|
+
redemptions: Prisma.$DiscountCodeRedemptionPayload<ExtArgs>[];
|
|
1987
|
+
user: Prisma.$UserPayload<ExtArgs>;
|
|
1988
|
+
SmsConversation: Prisma.$SmsConversationPayload<ExtArgs>[];
|
|
1989
|
+
customerToCustomerGroups: Prisma.$CustomerToCustomerGroupPayload<ExtArgs>[];
|
|
1990
|
+
};
|
|
1991
|
+
scalars: runtime.Types.Extensions.GetPayloadResult<{
|
|
1992
|
+
id: bigint;
|
|
1993
|
+
platformId: string;
|
|
1994
|
+
firstName: string;
|
|
1995
|
+
lastName: string;
|
|
1996
|
+
displayName: string | null;
|
|
1997
|
+
email: string | null;
|
|
1998
|
+
phone: string | null;
|
|
1999
|
+
tags: string[];
|
|
2000
|
+
createdAt: Date;
|
|
2001
|
+
updatedAt: Date;
|
|
2002
|
+
deletedAt: Date | null;
|
|
2003
|
+
nmiId: string | null;
|
|
2004
|
+
userId: bigint;
|
|
2005
|
+
doesConsentToSmsCommunication: boolean;
|
|
2006
|
+
discriminator: string;
|
|
2007
|
+
}, ExtArgs["result"]["customer"]>;
|
|
2008
|
+
composites: {};
|
|
2009
|
+
};
|
|
2010
|
+
export type CustomerGetPayload<S extends boolean | null | undefined | CustomerDefaultArgs> = runtime.Types.Result.GetResult<Prisma.$CustomerPayload, S>;
|
|
2011
|
+
export type CustomerCountArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = Omit<CustomerFindManyArgs, 'select' | 'include' | 'distinct' | 'omit'> & {
|
|
2012
|
+
select?: CustomerCountAggregateInputType | true;
|
|
2013
|
+
};
|
|
2014
|
+
export interface CustomerDelegate<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> {
|
|
2015
|
+
[K: symbol]: {
|
|
2016
|
+
types: Prisma.TypeMap<ExtArgs>['model']['Customer'];
|
|
2017
|
+
meta: {
|
|
2018
|
+
name: 'Customer';
|
|
2019
|
+
};
|
|
2020
|
+
};
|
|
2021
|
+
/**
|
|
2022
|
+
* Find zero or one Customer that matches the filter.
|
|
2023
|
+
* @param {CustomerFindUniqueArgs} args - Arguments to find a Customer
|
|
2024
|
+
* @example
|
|
2025
|
+
* // Get one Customer
|
|
2026
|
+
* const customer = await prisma.customer.findUnique({
|
|
2027
|
+
* where: {
|
|
2028
|
+
* // ... provide filter here
|
|
2029
|
+
* }
|
|
2030
|
+
* })
|
|
2031
|
+
*/
|
|
2032
|
+
findUnique<T extends CustomerFindUniqueArgs>(args: Prisma.SelectSubset<T, CustomerFindUniqueArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findUnique", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2033
|
+
/**
|
|
2034
|
+
* Find one Customer that matches the filter or throw an error with `error.code='P2025'`
|
|
2035
|
+
* if no matches were found.
|
|
2036
|
+
* @param {CustomerFindUniqueOrThrowArgs} args - Arguments to find a Customer
|
|
2037
|
+
* @example
|
|
2038
|
+
* // Get one Customer
|
|
2039
|
+
* const customer = await prisma.customer.findUniqueOrThrow({
|
|
2040
|
+
* where: {
|
|
2041
|
+
* // ... provide filter here
|
|
2042
|
+
* }
|
|
2043
|
+
* })
|
|
2044
|
+
*/
|
|
2045
|
+
findUniqueOrThrow<T extends CustomerFindUniqueOrThrowArgs>(args: Prisma.SelectSubset<T, CustomerFindUniqueOrThrowArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2046
|
+
/**
|
|
2047
|
+
* Find the first Customer that matches the filter.
|
|
2048
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2049
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2050
|
+
* @param {CustomerFindFirstArgs} args - Arguments to find a Customer
|
|
2051
|
+
* @example
|
|
2052
|
+
* // Get one Customer
|
|
2053
|
+
* const customer = await prisma.customer.findFirst({
|
|
2054
|
+
* where: {
|
|
2055
|
+
* // ... provide filter here
|
|
2056
|
+
* }
|
|
2057
|
+
* })
|
|
2058
|
+
*/
|
|
2059
|
+
findFirst<T extends CustomerFindFirstArgs>(args?: Prisma.SelectSubset<T, CustomerFindFirstArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findFirst", GlobalOmitOptions> | null, null, ExtArgs, GlobalOmitOptions>;
|
|
2060
|
+
/**
|
|
2061
|
+
* Find the first Customer that matches the filter or
|
|
2062
|
+
* throw `PrismaKnownClientError` with `P2025` code if no matches were found.
|
|
2063
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2064
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2065
|
+
* @param {CustomerFindFirstOrThrowArgs} args - Arguments to find a Customer
|
|
2066
|
+
* @example
|
|
2067
|
+
* // Get one Customer
|
|
2068
|
+
* const customer = await prisma.customer.findFirstOrThrow({
|
|
2069
|
+
* where: {
|
|
2070
|
+
* // ... provide filter here
|
|
2071
|
+
* }
|
|
2072
|
+
* })
|
|
2073
|
+
*/
|
|
2074
|
+
findFirstOrThrow<T extends CustomerFindFirstOrThrowArgs>(args?: Prisma.SelectSubset<T, CustomerFindFirstOrThrowArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findFirstOrThrow", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2075
|
+
/**
|
|
2076
|
+
* Find zero or more Customers that matches the filter.
|
|
2077
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2078
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2079
|
+
* @param {CustomerFindManyArgs} args - Arguments to filter and select certain fields only.
|
|
2080
|
+
* @example
|
|
2081
|
+
* // Get all Customers
|
|
2082
|
+
* const customers = await prisma.customer.findMany()
|
|
2083
|
+
*
|
|
2084
|
+
* // Get first 10 Customers
|
|
2085
|
+
* const customers = await prisma.customer.findMany({ take: 10 })
|
|
2086
|
+
*
|
|
2087
|
+
* // Only select the `id`
|
|
2088
|
+
* const customerWithIdOnly = await prisma.customer.findMany({ select: { id: true } })
|
|
2089
|
+
*
|
|
2090
|
+
*/
|
|
2091
|
+
findMany<T extends CustomerFindManyArgs>(args?: Prisma.SelectSubset<T, CustomerFindManyArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "findMany", GlobalOmitOptions>>;
|
|
2092
|
+
/**
|
|
2093
|
+
* Create a Customer.
|
|
2094
|
+
* @param {CustomerCreateArgs} args - Arguments to create a Customer.
|
|
2095
|
+
* @example
|
|
2096
|
+
* // Create one Customer
|
|
2097
|
+
* const Customer = await prisma.customer.create({
|
|
2098
|
+
* data: {
|
|
2099
|
+
* // ... data to create a Customer
|
|
2100
|
+
* }
|
|
2101
|
+
* })
|
|
2102
|
+
*
|
|
2103
|
+
*/
|
|
2104
|
+
create<T extends CustomerCreateArgs>(args: Prisma.SelectSubset<T, CustomerCreateArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "create", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2105
|
+
/**
|
|
2106
|
+
* Create many Customers.
|
|
2107
|
+
* @param {CustomerCreateManyArgs} args - Arguments to create many Customers.
|
|
2108
|
+
* @example
|
|
2109
|
+
* // Create many Customers
|
|
2110
|
+
* const customer = await prisma.customer.createMany({
|
|
2111
|
+
* data: [
|
|
2112
|
+
* // ... provide data here
|
|
2113
|
+
* ]
|
|
2114
|
+
* })
|
|
2115
|
+
*
|
|
2116
|
+
*/
|
|
2117
|
+
createMany<T extends CustomerCreateManyArgs>(args?: Prisma.SelectSubset<T, CustomerCreateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2118
|
+
/**
|
|
2119
|
+
* Create many Customers and returns the data saved in the database.
|
|
2120
|
+
* @param {CustomerCreateManyAndReturnArgs} args - Arguments to create many Customers.
|
|
2121
|
+
* @example
|
|
2122
|
+
* // Create many Customers
|
|
2123
|
+
* const customer = await prisma.customer.createManyAndReturn({
|
|
2124
|
+
* data: [
|
|
2125
|
+
* // ... provide data here
|
|
2126
|
+
* ]
|
|
2127
|
+
* })
|
|
2128
|
+
*
|
|
2129
|
+
* // Create many Customers and only return the `id`
|
|
2130
|
+
* const customerWithIdOnly = await prisma.customer.createManyAndReturn({
|
|
2131
|
+
* select: { id: true },
|
|
2132
|
+
* data: [
|
|
2133
|
+
* // ... provide data here
|
|
2134
|
+
* ]
|
|
2135
|
+
* })
|
|
2136
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2137
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2138
|
+
*
|
|
2139
|
+
*/
|
|
2140
|
+
createManyAndReturn<T extends CustomerCreateManyAndReturnArgs>(args?: Prisma.SelectSubset<T, CustomerCreateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "createManyAndReturn", GlobalOmitOptions>>;
|
|
2141
|
+
/**
|
|
2142
|
+
* Delete a Customer.
|
|
2143
|
+
* @param {CustomerDeleteArgs} args - Arguments to delete one Customer.
|
|
2144
|
+
* @example
|
|
2145
|
+
* // Delete one Customer
|
|
2146
|
+
* const Customer = await prisma.customer.delete({
|
|
2147
|
+
* where: {
|
|
2148
|
+
* // ... filter to delete one Customer
|
|
2149
|
+
* }
|
|
2150
|
+
* })
|
|
2151
|
+
*
|
|
2152
|
+
*/
|
|
2153
|
+
delete<T extends CustomerDeleteArgs>(args: Prisma.SelectSubset<T, CustomerDeleteArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "delete", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2154
|
+
/**
|
|
2155
|
+
* Update one Customer.
|
|
2156
|
+
* @param {CustomerUpdateArgs} args - Arguments to update one Customer.
|
|
2157
|
+
* @example
|
|
2158
|
+
* // Update one Customer
|
|
2159
|
+
* const customer = await prisma.customer.update({
|
|
2160
|
+
* where: {
|
|
2161
|
+
* // ... provide filter here
|
|
2162
|
+
* },
|
|
2163
|
+
* data: {
|
|
2164
|
+
* // ... provide data here
|
|
2165
|
+
* }
|
|
2166
|
+
* })
|
|
2167
|
+
*
|
|
2168
|
+
*/
|
|
2169
|
+
update<T extends CustomerUpdateArgs>(args: Prisma.SelectSubset<T, CustomerUpdateArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "update", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2170
|
+
/**
|
|
2171
|
+
* Delete zero or more Customers.
|
|
2172
|
+
* @param {CustomerDeleteManyArgs} args - Arguments to filter Customers to delete.
|
|
2173
|
+
* @example
|
|
2174
|
+
* // Delete a few Customers
|
|
2175
|
+
* const { count } = await prisma.customer.deleteMany({
|
|
2176
|
+
* where: {
|
|
2177
|
+
* // ... provide filter here
|
|
2178
|
+
* }
|
|
2179
|
+
* })
|
|
2180
|
+
*
|
|
2181
|
+
*/
|
|
2182
|
+
deleteMany<T extends CustomerDeleteManyArgs>(args?: Prisma.SelectSubset<T, CustomerDeleteManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2183
|
+
/**
|
|
2184
|
+
* Update zero or more Customers.
|
|
2185
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2186
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2187
|
+
* @param {CustomerUpdateManyArgs} args - Arguments to update one or more rows.
|
|
2188
|
+
* @example
|
|
2189
|
+
* // Update many Customers
|
|
2190
|
+
* const customer = await prisma.customer.updateMany({
|
|
2191
|
+
* where: {
|
|
2192
|
+
* // ... provide filter here
|
|
2193
|
+
* },
|
|
2194
|
+
* data: {
|
|
2195
|
+
* // ... provide data here
|
|
2196
|
+
* }
|
|
2197
|
+
* })
|
|
2198
|
+
*
|
|
2199
|
+
*/
|
|
2200
|
+
updateMany<T extends CustomerUpdateManyArgs>(args: Prisma.SelectSubset<T, CustomerUpdateManyArgs<ExtArgs>>): Prisma.PrismaPromise<Prisma.BatchPayload>;
|
|
2201
|
+
/**
|
|
2202
|
+
* Update zero or more Customers and returns the data updated in the database.
|
|
2203
|
+
* @param {CustomerUpdateManyAndReturnArgs} args - Arguments to update many Customers.
|
|
2204
|
+
* @example
|
|
2205
|
+
* // Update many Customers
|
|
2206
|
+
* const customer = await prisma.customer.updateManyAndReturn({
|
|
2207
|
+
* where: {
|
|
2208
|
+
* // ... provide filter here
|
|
2209
|
+
* },
|
|
2210
|
+
* data: [
|
|
2211
|
+
* // ... provide data here
|
|
2212
|
+
* ]
|
|
2213
|
+
* })
|
|
2214
|
+
*
|
|
2215
|
+
* // Update zero or more Customers and only return the `id`
|
|
2216
|
+
* const customerWithIdOnly = await prisma.customer.updateManyAndReturn({
|
|
2217
|
+
* select: { id: true },
|
|
2218
|
+
* where: {
|
|
2219
|
+
* // ... provide filter here
|
|
2220
|
+
* },
|
|
2221
|
+
* data: [
|
|
2222
|
+
* // ... provide data here
|
|
2223
|
+
* ]
|
|
2224
|
+
* })
|
|
2225
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2226
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2227
|
+
*
|
|
2228
|
+
*/
|
|
2229
|
+
updateManyAndReturn<T extends CustomerUpdateManyAndReturnArgs>(args: Prisma.SelectSubset<T, CustomerUpdateManyAndReturnArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "updateManyAndReturn", GlobalOmitOptions>>;
|
|
2230
|
+
/**
|
|
2231
|
+
* Create or update one Customer.
|
|
2232
|
+
* @param {CustomerUpsertArgs} args - Arguments to update or create a Customer.
|
|
2233
|
+
* @example
|
|
2234
|
+
* // Update or create a Customer
|
|
2235
|
+
* const customer = await prisma.customer.upsert({
|
|
2236
|
+
* create: {
|
|
2237
|
+
* // ... data to create a Customer
|
|
2238
|
+
* },
|
|
2239
|
+
* update: {
|
|
2240
|
+
* // ... in case it already exists, update
|
|
2241
|
+
* },
|
|
2242
|
+
* where: {
|
|
2243
|
+
* // ... the filter for the Customer we want to update
|
|
2244
|
+
* }
|
|
2245
|
+
* })
|
|
2246
|
+
*/
|
|
2247
|
+
upsert<T extends CustomerUpsertArgs>(args: Prisma.SelectSubset<T, CustomerUpsertArgs<ExtArgs>>): Prisma.Prisma__CustomerClient<runtime.Types.Result.GetResult<Prisma.$CustomerPayload<ExtArgs>, T, "upsert", GlobalOmitOptions>, never, ExtArgs, GlobalOmitOptions>;
|
|
2248
|
+
/**
|
|
2249
|
+
* Count the number of Customers.
|
|
2250
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2251
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2252
|
+
* @param {CustomerCountArgs} args - Arguments to filter Customers to count.
|
|
2253
|
+
* @example
|
|
2254
|
+
* // Count the number of Customers
|
|
2255
|
+
* const count = await prisma.customer.count({
|
|
2256
|
+
* where: {
|
|
2257
|
+
* // ... the filter for the Customers we want to count
|
|
2258
|
+
* }
|
|
2259
|
+
* })
|
|
2260
|
+
**/
|
|
2261
|
+
count<T extends CustomerCountArgs>(args?: Prisma.Subset<T, CustomerCountArgs>): Prisma.PrismaPromise<T extends runtime.Types.Utils.Record<'select', any> ? T['select'] extends true ? number : Prisma.GetScalarType<T['select'], CustomerCountAggregateOutputType> : number>;
|
|
2262
|
+
/**
|
|
2263
|
+
* Allows you to perform aggregations operations on a Customer.
|
|
2264
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2265
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2266
|
+
* @param {CustomerAggregateArgs} args - Select which aggregations you would like to apply and on what fields.
|
|
2267
|
+
* @example
|
|
2268
|
+
* // Ordered by age ascending
|
|
2269
|
+
* // Where email contains prisma.io
|
|
2270
|
+
* // Limited to the 10 users
|
|
2271
|
+
* const aggregations = await prisma.user.aggregate({
|
|
2272
|
+
* _avg: {
|
|
2273
|
+
* age: true,
|
|
2274
|
+
* },
|
|
2275
|
+
* where: {
|
|
2276
|
+
* email: {
|
|
2277
|
+
* contains: "prisma.io",
|
|
2278
|
+
* },
|
|
2279
|
+
* },
|
|
2280
|
+
* orderBy: {
|
|
2281
|
+
* age: "asc",
|
|
2282
|
+
* },
|
|
2283
|
+
* take: 10,
|
|
2284
|
+
* })
|
|
2285
|
+
**/
|
|
2286
|
+
aggregate<T extends CustomerAggregateArgs>(args: Prisma.Subset<T, CustomerAggregateArgs>): Prisma.PrismaPromise<GetCustomerAggregateType<T>>;
|
|
2287
|
+
/**
|
|
2288
|
+
* Group by Customer.
|
|
2289
|
+
* Note, that providing `undefined` is treated as the value not being there.
|
|
2290
|
+
* Read more here: https://pris.ly/d/null-undefined
|
|
2291
|
+
* @param {CustomerGroupByArgs} args - Group by arguments.
|
|
2292
|
+
* @example
|
|
2293
|
+
* // Group by city, order by createdAt, get count
|
|
2294
|
+
* const result = await prisma.user.groupBy({
|
|
2295
|
+
* by: ['city', 'createdAt'],
|
|
2296
|
+
* orderBy: {
|
|
2297
|
+
* createdAt: true
|
|
2298
|
+
* },
|
|
2299
|
+
* _count: {
|
|
2300
|
+
* _all: true
|
|
2301
|
+
* },
|
|
2302
|
+
* })
|
|
2303
|
+
*
|
|
2304
|
+
**/
|
|
2305
|
+
groupBy<T extends CustomerGroupByArgs, HasSelectOrTake extends Prisma.Or<Prisma.Extends<'skip', Prisma.Keys<T>>, Prisma.Extends<'take', Prisma.Keys<T>>>, OrderByArg extends Prisma.True extends HasSelectOrTake ? {
|
|
2306
|
+
orderBy: CustomerGroupByArgs['orderBy'];
|
|
2307
|
+
} : {
|
|
2308
|
+
orderBy?: CustomerGroupByArgs['orderBy'];
|
|
2309
|
+
}, 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 ? {
|
|
2310
|
+
[P in HavingFields]: P extends ByFields ? never : P extends string ? `Error: Field "${P}" used in "having" needs to be provided in "by".` : [
|
|
2311
|
+
Error,
|
|
2312
|
+
'Field ',
|
|
2313
|
+
P,
|
|
2314
|
+
` in "having" needs to be provided in "by"`
|
|
2315
|
+
];
|
|
2316
|
+
}[HavingFields] : 'take' extends Prisma.Keys<T> ? 'orderBy' extends Prisma.Keys<T> ? ByValid extends Prisma.True ? {} : {
|
|
2317
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2318
|
+
}[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 ? {} : {
|
|
2319
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2320
|
+
}[OrderFields] : 'Error: If you provide "skip", you also need to provide "orderBy"' : ByValid extends Prisma.True ? {} : {
|
|
2321
|
+
[P in OrderFields]: P extends ByFields ? never : `Error: Field "${P}" in "orderBy" needs to be provided in "by"`;
|
|
2322
|
+
}[OrderFields]>(args: Prisma.SubsetIntersection<T, CustomerGroupByArgs, OrderByArg> & InputErrors): {} extends InputErrors ? GetCustomerGroupByPayload<T> : Prisma.PrismaPromise<InputErrors>;
|
|
2323
|
+
/**
|
|
2324
|
+
* Fields of the Customer model
|
|
2325
|
+
*/
|
|
2326
|
+
readonly fields: CustomerFieldRefs;
|
|
2327
|
+
}
|
|
2328
|
+
/**
|
|
2329
|
+
* The delegate class that acts as a "Promise-like" for Customer.
|
|
2330
|
+
* Why is this prefixed with `Prisma__`?
|
|
2331
|
+
* Because we want to prevent naming conflicts as mentioned in
|
|
2332
|
+
* https://github.com/prisma/prisma-client-js/issues/707
|
|
2333
|
+
*/
|
|
2334
|
+
export interface Prisma__CustomerClient<T, Null = never, ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs, GlobalOmitOptions = {}> extends Prisma.PrismaPromise<T> {
|
|
2335
|
+
readonly [Symbol.toStringTag]: "PrismaPromise";
|
|
2336
|
+
carts<T extends Prisma.Customer$cartsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$cartsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CartPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2337
|
+
checkouts<T extends Prisma.Customer$checkoutsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$checkoutsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2338
|
+
addresses<T extends Prisma.Customer$addressesArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$addressesArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CustomerToAddressPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2339
|
+
cards<T extends Prisma.Customer$cardsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$cardsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CardPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2340
|
+
checkoutGroup<T extends Prisma.Customer$checkoutGroupArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$checkoutGroupArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CheckoutGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2341
|
+
redemptions<T extends Prisma.Customer$redemptionsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$redemptionsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$DiscountCodeRedemptionPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2342
|
+
user<T extends Prisma.UserDefaultArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.UserDefaultArgs<ExtArgs>>): Prisma.Prisma__UserClient<runtime.Types.Result.GetResult<Prisma.$UserPayload<ExtArgs>, T, "findUniqueOrThrow", GlobalOmitOptions> | Null, Null, ExtArgs, GlobalOmitOptions>;
|
|
2343
|
+
SmsConversation<T extends Prisma.Customer$SmsConversationArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$SmsConversationArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$SmsConversationPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2344
|
+
customerToCustomerGroups<T extends Prisma.Customer$customerToCustomerGroupsArgs<ExtArgs> = {}>(args?: Prisma.Subset<T, Prisma.Customer$customerToCustomerGroupsArgs<ExtArgs>>): Prisma.PrismaPromise<runtime.Types.Result.GetResult<Prisma.$CustomerToCustomerGroupPayload<ExtArgs>, T, "findMany", GlobalOmitOptions> | Null>;
|
|
2345
|
+
/**
|
|
2346
|
+
* Attaches callbacks for the resolution and/or rejection of the Promise.
|
|
2347
|
+
* @param onfulfilled The callback to execute when the Promise is resolved.
|
|
2348
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2349
|
+
* @returns A Promise for the completion of which ever callback is executed.
|
|
2350
|
+
*/
|
|
2351
|
+
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>;
|
|
2352
|
+
/**
|
|
2353
|
+
* Attaches a callback for only the rejection of the Promise.
|
|
2354
|
+
* @param onrejected The callback to execute when the Promise is rejected.
|
|
2355
|
+
* @returns A Promise for the completion of the callback.
|
|
2356
|
+
*/
|
|
2357
|
+
catch<TResult = never>(onrejected?: ((reason: any) => TResult | PromiseLike<TResult>) | undefined | null): runtime.Types.Utils.JsPromise<T | TResult>;
|
|
2358
|
+
/**
|
|
2359
|
+
* Attaches a callback that is invoked when the Promise is settled (fulfilled or rejected). The
|
|
2360
|
+
* resolved value cannot be modified from the callback.
|
|
2361
|
+
* @param onfinally The callback to execute when the Promise is settled (fulfilled or rejected).
|
|
2362
|
+
* @returns A Promise for the completion of the callback.
|
|
2363
|
+
*/
|
|
2364
|
+
finally(onfinally?: (() => void) | undefined | null): runtime.Types.Utils.JsPromise<T>;
|
|
2365
|
+
}
|
|
2366
|
+
/**
|
|
2367
|
+
* Fields of the Customer model
|
|
2368
|
+
*/
|
|
2369
|
+
export interface CustomerFieldRefs {
|
|
2370
|
+
readonly id: Prisma.FieldRef<"Customer", 'BigInt'>;
|
|
2371
|
+
readonly platformId: Prisma.FieldRef<"Customer", 'String'>;
|
|
2372
|
+
readonly firstName: Prisma.FieldRef<"Customer", 'String'>;
|
|
2373
|
+
readonly lastName: Prisma.FieldRef<"Customer", 'String'>;
|
|
2374
|
+
readonly displayName: Prisma.FieldRef<"Customer", 'String'>;
|
|
2375
|
+
readonly email: Prisma.FieldRef<"Customer", 'String'>;
|
|
2376
|
+
readonly phone: Prisma.FieldRef<"Customer", 'String'>;
|
|
2377
|
+
readonly tags: Prisma.FieldRef<"Customer", 'String[]'>;
|
|
2378
|
+
readonly createdAt: Prisma.FieldRef<"Customer", 'DateTime'>;
|
|
2379
|
+
readonly updatedAt: Prisma.FieldRef<"Customer", 'DateTime'>;
|
|
2380
|
+
readonly deletedAt: Prisma.FieldRef<"Customer", 'DateTime'>;
|
|
2381
|
+
readonly nmiId: Prisma.FieldRef<"Customer", 'String'>;
|
|
2382
|
+
readonly userId: Prisma.FieldRef<"Customer", 'BigInt'>;
|
|
2383
|
+
readonly doesConsentToSmsCommunication: Prisma.FieldRef<"Customer", 'Boolean'>;
|
|
2384
|
+
readonly discriminator: Prisma.FieldRef<"Customer", 'String'>;
|
|
2385
|
+
}
|
|
2386
|
+
/**
|
|
2387
|
+
* Customer findUnique
|
|
2388
|
+
*/
|
|
2389
|
+
export type CustomerFindUniqueArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2390
|
+
/**
|
|
2391
|
+
* Select specific fields to fetch from the Customer
|
|
2392
|
+
*/
|
|
2393
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2394
|
+
/**
|
|
2395
|
+
* Omit specific fields from the Customer
|
|
2396
|
+
*/
|
|
2397
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2398
|
+
/**
|
|
2399
|
+
* Choose, which related nodes to fetch as well
|
|
2400
|
+
*/
|
|
2401
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2402
|
+
/**
|
|
2403
|
+
* Filter, which Customer to fetch.
|
|
2404
|
+
*/
|
|
2405
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
2406
|
+
};
|
|
2407
|
+
/**
|
|
2408
|
+
* Customer findUniqueOrThrow
|
|
2409
|
+
*/
|
|
2410
|
+
export type CustomerFindUniqueOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2411
|
+
/**
|
|
2412
|
+
* Select specific fields to fetch from the Customer
|
|
2413
|
+
*/
|
|
2414
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2415
|
+
/**
|
|
2416
|
+
* Omit specific fields from the Customer
|
|
2417
|
+
*/
|
|
2418
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2419
|
+
/**
|
|
2420
|
+
* Choose, which related nodes to fetch as well
|
|
2421
|
+
*/
|
|
2422
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2423
|
+
/**
|
|
2424
|
+
* Filter, which Customer to fetch.
|
|
2425
|
+
*/
|
|
2426
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
2427
|
+
};
|
|
2428
|
+
/**
|
|
2429
|
+
* Customer findFirst
|
|
2430
|
+
*/
|
|
2431
|
+
export type CustomerFindFirstArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2432
|
+
/**
|
|
2433
|
+
* Select specific fields to fetch from the Customer
|
|
2434
|
+
*/
|
|
2435
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2436
|
+
/**
|
|
2437
|
+
* Omit specific fields from the Customer
|
|
2438
|
+
*/
|
|
2439
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2440
|
+
/**
|
|
2441
|
+
* Choose, which related nodes to fetch as well
|
|
2442
|
+
*/
|
|
2443
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2444
|
+
/**
|
|
2445
|
+
* Filter, which Customer to fetch.
|
|
2446
|
+
*/
|
|
2447
|
+
where?: Prisma.CustomerWhereInput;
|
|
2448
|
+
/**
|
|
2449
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2450
|
+
*
|
|
2451
|
+
* Determine the order of Customers to fetch.
|
|
2452
|
+
*/
|
|
2453
|
+
orderBy?: Prisma.CustomerOrderByWithRelationInput | Prisma.CustomerOrderByWithRelationInput[];
|
|
2454
|
+
/**
|
|
2455
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2456
|
+
*
|
|
2457
|
+
* Sets the position for searching for Customers.
|
|
2458
|
+
*/
|
|
2459
|
+
cursor?: Prisma.CustomerWhereUniqueInput;
|
|
2460
|
+
/**
|
|
2461
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2462
|
+
*
|
|
2463
|
+
* Take `±n` Customers from the position of the cursor.
|
|
2464
|
+
*/
|
|
2465
|
+
take?: number;
|
|
2466
|
+
/**
|
|
2467
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2468
|
+
*
|
|
2469
|
+
* Skip the first `n` Customers.
|
|
2470
|
+
*/
|
|
2471
|
+
skip?: number;
|
|
2472
|
+
/**
|
|
2473
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2474
|
+
*
|
|
2475
|
+
* Filter by unique combinations of Customers.
|
|
2476
|
+
*/
|
|
2477
|
+
distinct?: Prisma.CustomerScalarFieldEnum | Prisma.CustomerScalarFieldEnum[];
|
|
2478
|
+
};
|
|
2479
|
+
/**
|
|
2480
|
+
* Customer findFirstOrThrow
|
|
2481
|
+
*/
|
|
2482
|
+
export type CustomerFindFirstOrThrowArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2483
|
+
/**
|
|
2484
|
+
* Select specific fields to fetch from the Customer
|
|
2485
|
+
*/
|
|
2486
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2487
|
+
/**
|
|
2488
|
+
* Omit specific fields from the Customer
|
|
2489
|
+
*/
|
|
2490
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2491
|
+
/**
|
|
2492
|
+
* Choose, which related nodes to fetch as well
|
|
2493
|
+
*/
|
|
2494
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2495
|
+
/**
|
|
2496
|
+
* Filter, which Customer to fetch.
|
|
2497
|
+
*/
|
|
2498
|
+
where?: Prisma.CustomerWhereInput;
|
|
2499
|
+
/**
|
|
2500
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2501
|
+
*
|
|
2502
|
+
* Determine the order of Customers to fetch.
|
|
2503
|
+
*/
|
|
2504
|
+
orderBy?: Prisma.CustomerOrderByWithRelationInput | Prisma.CustomerOrderByWithRelationInput[];
|
|
2505
|
+
/**
|
|
2506
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2507
|
+
*
|
|
2508
|
+
* Sets the position for searching for Customers.
|
|
2509
|
+
*/
|
|
2510
|
+
cursor?: Prisma.CustomerWhereUniqueInput;
|
|
2511
|
+
/**
|
|
2512
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2513
|
+
*
|
|
2514
|
+
* Take `±n` Customers from the position of the cursor.
|
|
2515
|
+
*/
|
|
2516
|
+
take?: number;
|
|
2517
|
+
/**
|
|
2518
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2519
|
+
*
|
|
2520
|
+
* Skip the first `n` Customers.
|
|
2521
|
+
*/
|
|
2522
|
+
skip?: number;
|
|
2523
|
+
/**
|
|
2524
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/distinct Distinct Docs}
|
|
2525
|
+
*
|
|
2526
|
+
* Filter by unique combinations of Customers.
|
|
2527
|
+
*/
|
|
2528
|
+
distinct?: Prisma.CustomerScalarFieldEnum | Prisma.CustomerScalarFieldEnum[];
|
|
2529
|
+
};
|
|
2530
|
+
/**
|
|
2531
|
+
* Customer findMany
|
|
2532
|
+
*/
|
|
2533
|
+
export type CustomerFindManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2534
|
+
/**
|
|
2535
|
+
* Select specific fields to fetch from the Customer
|
|
2536
|
+
*/
|
|
2537
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2538
|
+
/**
|
|
2539
|
+
* Omit specific fields from the Customer
|
|
2540
|
+
*/
|
|
2541
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2542
|
+
/**
|
|
2543
|
+
* Choose, which related nodes to fetch as well
|
|
2544
|
+
*/
|
|
2545
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2546
|
+
/**
|
|
2547
|
+
* Filter, which Customers to fetch.
|
|
2548
|
+
*/
|
|
2549
|
+
where?: Prisma.CustomerWhereInput;
|
|
2550
|
+
/**
|
|
2551
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/sorting Sorting Docs}
|
|
2552
|
+
*
|
|
2553
|
+
* Determine the order of Customers to fetch.
|
|
2554
|
+
*/
|
|
2555
|
+
orderBy?: Prisma.CustomerOrderByWithRelationInput | Prisma.CustomerOrderByWithRelationInput[];
|
|
2556
|
+
/**
|
|
2557
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination#cursor-based-pagination Cursor Docs}
|
|
2558
|
+
*
|
|
2559
|
+
* Sets the position for listing Customers.
|
|
2560
|
+
*/
|
|
2561
|
+
cursor?: Prisma.CustomerWhereUniqueInput;
|
|
2562
|
+
/**
|
|
2563
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2564
|
+
*
|
|
2565
|
+
* Take `±n` Customers from the position of the cursor.
|
|
2566
|
+
*/
|
|
2567
|
+
take?: number;
|
|
2568
|
+
/**
|
|
2569
|
+
* {@link https://www.prisma.io/docs/concepts/components/prisma-client/pagination Pagination Docs}
|
|
2570
|
+
*
|
|
2571
|
+
* Skip the first `n` Customers.
|
|
2572
|
+
*/
|
|
2573
|
+
skip?: number;
|
|
2574
|
+
distinct?: Prisma.CustomerScalarFieldEnum | Prisma.CustomerScalarFieldEnum[];
|
|
2575
|
+
};
|
|
2576
|
+
/**
|
|
2577
|
+
* Customer create
|
|
2578
|
+
*/
|
|
2579
|
+
export type CustomerCreateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2580
|
+
/**
|
|
2581
|
+
* Select specific fields to fetch from the Customer
|
|
2582
|
+
*/
|
|
2583
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2584
|
+
/**
|
|
2585
|
+
* Omit specific fields from the Customer
|
|
2586
|
+
*/
|
|
2587
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2588
|
+
/**
|
|
2589
|
+
* Choose, which related nodes to fetch as well
|
|
2590
|
+
*/
|
|
2591
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2592
|
+
/**
|
|
2593
|
+
* The data needed to create a Customer.
|
|
2594
|
+
*/
|
|
2595
|
+
data: Prisma.XOR<Prisma.CustomerCreateInput, Prisma.CustomerUncheckedCreateInput>;
|
|
2596
|
+
};
|
|
2597
|
+
/**
|
|
2598
|
+
* Customer createMany
|
|
2599
|
+
*/
|
|
2600
|
+
export type CustomerCreateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2601
|
+
/**
|
|
2602
|
+
* The data used to create many Customers.
|
|
2603
|
+
*/
|
|
2604
|
+
data: Prisma.CustomerCreateManyInput | Prisma.CustomerCreateManyInput[];
|
|
2605
|
+
skipDuplicates?: boolean;
|
|
2606
|
+
};
|
|
2607
|
+
/**
|
|
2608
|
+
* Customer createManyAndReturn
|
|
2609
|
+
*/
|
|
2610
|
+
export type CustomerCreateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2611
|
+
/**
|
|
2612
|
+
* Select specific fields to fetch from the Customer
|
|
2613
|
+
*/
|
|
2614
|
+
select?: Prisma.CustomerSelectCreateManyAndReturn<ExtArgs> | null;
|
|
2615
|
+
/**
|
|
2616
|
+
* Omit specific fields from the Customer
|
|
2617
|
+
*/
|
|
2618
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2619
|
+
/**
|
|
2620
|
+
* The data used to create many Customers.
|
|
2621
|
+
*/
|
|
2622
|
+
data: Prisma.CustomerCreateManyInput | Prisma.CustomerCreateManyInput[];
|
|
2623
|
+
skipDuplicates?: boolean;
|
|
2624
|
+
/**
|
|
2625
|
+
* Choose, which related nodes to fetch as well
|
|
2626
|
+
*/
|
|
2627
|
+
include?: Prisma.CustomerIncludeCreateManyAndReturn<ExtArgs> | null;
|
|
2628
|
+
};
|
|
2629
|
+
/**
|
|
2630
|
+
* Customer update
|
|
2631
|
+
*/
|
|
2632
|
+
export type CustomerUpdateArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2633
|
+
/**
|
|
2634
|
+
* Select specific fields to fetch from the Customer
|
|
2635
|
+
*/
|
|
2636
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2637
|
+
/**
|
|
2638
|
+
* Omit specific fields from the Customer
|
|
2639
|
+
*/
|
|
2640
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2641
|
+
/**
|
|
2642
|
+
* Choose, which related nodes to fetch as well
|
|
2643
|
+
*/
|
|
2644
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2645
|
+
/**
|
|
2646
|
+
* The data needed to update a Customer.
|
|
2647
|
+
*/
|
|
2648
|
+
data: Prisma.XOR<Prisma.CustomerUpdateInput, Prisma.CustomerUncheckedUpdateInput>;
|
|
2649
|
+
/**
|
|
2650
|
+
* Choose, which Customer to update.
|
|
2651
|
+
*/
|
|
2652
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
2653
|
+
};
|
|
2654
|
+
/**
|
|
2655
|
+
* Customer updateMany
|
|
2656
|
+
*/
|
|
2657
|
+
export type CustomerUpdateManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2658
|
+
/**
|
|
2659
|
+
* The data used to update Customers.
|
|
2660
|
+
*/
|
|
2661
|
+
data: Prisma.XOR<Prisma.CustomerUpdateManyMutationInput, Prisma.CustomerUncheckedUpdateManyInput>;
|
|
2662
|
+
/**
|
|
2663
|
+
* Filter which Customers to update
|
|
2664
|
+
*/
|
|
2665
|
+
where?: Prisma.CustomerWhereInput;
|
|
2666
|
+
/**
|
|
2667
|
+
* Limit how many Customers to update.
|
|
2668
|
+
*/
|
|
2669
|
+
limit?: number;
|
|
2670
|
+
};
|
|
2671
|
+
/**
|
|
2672
|
+
* Customer updateManyAndReturn
|
|
2673
|
+
*/
|
|
2674
|
+
export type CustomerUpdateManyAndReturnArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2675
|
+
/**
|
|
2676
|
+
* Select specific fields to fetch from the Customer
|
|
2677
|
+
*/
|
|
2678
|
+
select?: Prisma.CustomerSelectUpdateManyAndReturn<ExtArgs> | null;
|
|
2679
|
+
/**
|
|
2680
|
+
* Omit specific fields from the Customer
|
|
2681
|
+
*/
|
|
2682
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2683
|
+
/**
|
|
2684
|
+
* The data used to update Customers.
|
|
2685
|
+
*/
|
|
2686
|
+
data: Prisma.XOR<Prisma.CustomerUpdateManyMutationInput, Prisma.CustomerUncheckedUpdateManyInput>;
|
|
2687
|
+
/**
|
|
2688
|
+
* Filter which Customers to update
|
|
2689
|
+
*/
|
|
2690
|
+
where?: Prisma.CustomerWhereInput;
|
|
2691
|
+
/**
|
|
2692
|
+
* Limit how many Customers to update.
|
|
2693
|
+
*/
|
|
2694
|
+
limit?: number;
|
|
2695
|
+
/**
|
|
2696
|
+
* Choose, which related nodes to fetch as well
|
|
2697
|
+
*/
|
|
2698
|
+
include?: Prisma.CustomerIncludeUpdateManyAndReturn<ExtArgs> | null;
|
|
2699
|
+
};
|
|
2700
|
+
/**
|
|
2701
|
+
* Customer upsert
|
|
2702
|
+
*/
|
|
2703
|
+
export type CustomerUpsertArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2704
|
+
/**
|
|
2705
|
+
* Select specific fields to fetch from the Customer
|
|
2706
|
+
*/
|
|
2707
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2708
|
+
/**
|
|
2709
|
+
* Omit specific fields from the Customer
|
|
2710
|
+
*/
|
|
2711
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2712
|
+
/**
|
|
2713
|
+
* Choose, which related nodes to fetch as well
|
|
2714
|
+
*/
|
|
2715
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2716
|
+
/**
|
|
2717
|
+
* The filter to search for the Customer to update in case it exists.
|
|
2718
|
+
*/
|
|
2719
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
2720
|
+
/**
|
|
2721
|
+
* In case the Customer found by the `where` argument doesn't exist, create a new Customer with this data.
|
|
2722
|
+
*/
|
|
2723
|
+
create: Prisma.XOR<Prisma.CustomerCreateInput, Prisma.CustomerUncheckedCreateInput>;
|
|
2724
|
+
/**
|
|
2725
|
+
* In case the Customer was found with the provided `where` argument, update it with this data.
|
|
2726
|
+
*/
|
|
2727
|
+
update: Prisma.XOR<Prisma.CustomerUpdateInput, Prisma.CustomerUncheckedUpdateInput>;
|
|
2728
|
+
};
|
|
2729
|
+
/**
|
|
2730
|
+
* Customer delete
|
|
2731
|
+
*/
|
|
2732
|
+
export type CustomerDeleteArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2733
|
+
/**
|
|
2734
|
+
* Select specific fields to fetch from the Customer
|
|
2735
|
+
*/
|
|
2736
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2737
|
+
/**
|
|
2738
|
+
* Omit specific fields from the Customer
|
|
2739
|
+
*/
|
|
2740
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2741
|
+
/**
|
|
2742
|
+
* Choose, which related nodes to fetch as well
|
|
2743
|
+
*/
|
|
2744
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2745
|
+
/**
|
|
2746
|
+
* Filter which Customer to delete.
|
|
2747
|
+
*/
|
|
2748
|
+
where: Prisma.CustomerWhereUniqueInput;
|
|
2749
|
+
};
|
|
2750
|
+
/**
|
|
2751
|
+
* Customer deleteMany
|
|
2752
|
+
*/
|
|
2753
|
+
export type CustomerDeleteManyArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2754
|
+
/**
|
|
2755
|
+
* Filter which Customers to delete
|
|
2756
|
+
*/
|
|
2757
|
+
where?: Prisma.CustomerWhereInput;
|
|
2758
|
+
/**
|
|
2759
|
+
* Limit how many Customers to delete.
|
|
2760
|
+
*/
|
|
2761
|
+
limit?: number;
|
|
2762
|
+
};
|
|
2763
|
+
/**
|
|
2764
|
+
* Customer.carts
|
|
2765
|
+
*/
|
|
2766
|
+
export type Customer$cartsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2767
|
+
/**
|
|
2768
|
+
* Select specific fields to fetch from the Cart
|
|
2769
|
+
*/
|
|
2770
|
+
select?: Prisma.CartSelect<ExtArgs> | null;
|
|
2771
|
+
/**
|
|
2772
|
+
* Omit specific fields from the Cart
|
|
2773
|
+
*/
|
|
2774
|
+
omit?: Prisma.CartOmit<ExtArgs> | null;
|
|
2775
|
+
/**
|
|
2776
|
+
* Choose, which related nodes to fetch as well
|
|
2777
|
+
*/
|
|
2778
|
+
include?: Prisma.CartInclude<ExtArgs> | null;
|
|
2779
|
+
where?: Prisma.CartWhereInput;
|
|
2780
|
+
orderBy?: Prisma.CartOrderByWithRelationInput | Prisma.CartOrderByWithRelationInput[];
|
|
2781
|
+
cursor?: Prisma.CartWhereUniqueInput;
|
|
2782
|
+
take?: number;
|
|
2783
|
+
skip?: number;
|
|
2784
|
+
distinct?: Prisma.CartScalarFieldEnum | Prisma.CartScalarFieldEnum[];
|
|
2785
|
+
};
|
|
2786
|
+
/**
|
|
2787
|
+
* Customer.checkouts
|
|
2788
|
+
*/
|
|
2789
|
+
export type Customer$checkoutsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2790
|
+
/**
|
|
2791
|
+
* Select specific fields to fetch from the Checkout
|
|
2792
|
+
*/
|
|
2793
|
+
select?: Prisma.CheckoutSelect<ExtArgs> | null;
|
|
2794
|
+
/**
|
|
2795
|
+
* Omit specific fields from the Checkout
|
|
2796
|
+
*/
|
|
2797
|
+
omit?: Prisma.CheckoutOmit<ExtArgs> | null;
|
|
2798
|
+
/**
|
|
2799
|
+
* Choose, which related nodes to fetch as well
|
|
2800
|
+
*/
|
|
2801
|
+
include?: Prisma.CheckoutInclude<ExtArgs> | null;
|
|
2802
|
+
where?: Prisma.CheckoutWhereInput;
|
|
2803
|
+
orderBy?: Prisma.CheckoutOrderByWithRelationInput | Prisma.CheckoutOrderByWithRelationInput[];
|
|
2804
|
+
cursor?: Prisma.CheckoutWhereUniqueInput;
|
|
2805
|
+
take?: number;
|
|
2806
|
+
skip?: number;
|
|
2807
|
+
distinct?: Prisma.CheckoutScalarFieldEnum | Prisma.CheckoutScalarFieldEnum[];
|
|
2808
|
+
};
|
|
2809
|
+
/**
|
|
2810
|
+
* Customer.addresses
|
|
2811
|
+
*/
|
|
2812
|
+
export type Customer$addressesArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2813
|
+
/**
|
|
2814
|
+
* Select specific fields to fetch from the CustomerToAddress
|
|
2815
|
+
*/
|
|
2816
|
+
select?: Prisma.CustomerToAddressSelect<ExtArgs> | null;
|
|
2817
|
+
/**
|
|
2818
|
+
* Omit specific fields from the CustomerToAddress
|
|
2819
|
+
*/
|
|
2820
|
+
omit?: Prisma.CustomerToAddressOmit<ExtArgs> | null;
|
|
2821
|
+
/**
|
|
2822
|
+
* Choose, which related nodes to fetch as well
|
|
2823
|
+
*/
|
|
2824
|
+
include?: Prisma.CustomerToAddressInclude<ExtArgs> | null;
|
|
2825
|
+
where?: Prisma.CustomerToAddressWhereInput;
|
|
2826
|
+
orderBy?: Prisma.CustomerToAddressOrderByWithRelationInput | Prisma.CustomerToAddressOrderByWithRelationInput[];
|
|
2827
|
+
cursor?: Prisma.CustomerToAddressWhereUniqueInput;
|
|
2828
|
+
take?: number;
|
|
2829
|
+
skip?: number;
|
|
2830
|
+
distinct?: Prisma.CustomerToAddressScalarFieldEnum | Prisma.CustomerToAddressScalarFieldEnum[];
|
|
2831
|
+
};
|
|
2832
|
+
/**
|
|
2833
|
+
* Customer.cards
|
|
2834
|
+
*/
|
|
2835
|
+
export type Customer$cardsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2836
|
+
/**
|
|
2837
|
+
* Select specific fields to fetch from the Card
|
|
2838
|
+
*/
|
|
2839
|
+
select?: Prisma.CardSelect<ExtArgs> | null;
|
|
2840
|
+
/**
|
|
2841
|
+
* Omit specific fields from the Card
|
|
2842
|
+
*/
|
|
2843
|
+
omit?: Prisma.CardOmit<ExtArgs> | null;
|
|
2844
|
+
/**
|
|
2845
|
+
* Choose, which related nodes to fetch as well
|
|
2846
|
+
*/
|
|
2847
|
+
include?: Prisma.CardInclude<ExtArgs> | null;
|
|
2848
|
+
where?: Prisma.CardWhereInput;
|
|
2849
|
+
orderBy?: Prisma.CardOrderByWithRelationInput | Prisma.CardOrderByWithRelationInput[];
|
|
2850
|
+
cursor?: Prisma.CardWhereUniqueInput;
|
|
2851
|
+
take?: number;
|
|
2852
|
+
skip?: number;
|
|
2853
|
+
distinct?: Prisma.CardScalarFieldEnum | Prisma.CardScalarFieldEnum[];
|
|
2854
|
+
};
|
|
2855
|
+
/**
|
|
2856
|
+
* Customer.checkoutGroup
|
|
2857
|
+
*/
|
|
2858
|
+
export type Customer$checkoutGroupArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2859
|
+
/**
|
|
2860
|
+
* Select specific fields to fetch from the CheckoutGroup
|
|
2861
|
+
*/
|
|
2862
|
+
select?: Prisma.CheckoutGroupSelect<ExtArgs> | null;
|
|
2863
|
+
/**
|
|
2864
|
+
* Omit specific fields from the CheckoutGroup
|
|
2865
|
+
*/
|
|
2866
|
+
omit?: Prisma.CheckoutGroupOmit<ExtArgs> | null;
|
|
2867
|
+
/**
|
|
2868
|
+
* Choose, which related nodes to fetch as well
|
|
2869
|
+
*/
|
|
2870
|
+
include?: Prisma.CheckoutGroupInclude<ExtArgs> | null;
|
|
2871
|
+
where?: Prisma.CheckoutGroupWhereInput;
|
|
2872
|
+
orderBy?: Prisma.CheckoutGroupOrderByWithRelationInput | Prisma.CheckoutGroupOrderByWithRelationInput[];
|
|
2873
|
+
cursor?: Prisma.CheckoutGroupWhereUniqueInput;
|
|
2874
|
+
take?: number;
|
|
2875
|
+
skip?: number;
|
|
2876
|
+
distinct?: Prisma.CheckoutGroupScalarFieldEnum | Prisma.CheckoutGroupScalarFieldEnum[];
|
|
2877
|
+
};
|
|
2878
|
+
/**
|
|
2879
|
+
* Customer.redemptions
|
|
2880
|
+
*/
|
|
2881
|
+
export type Customer$redemptionsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2882
|
+
/**
|
|
2883
|
+
* Select specific fields to fetch from the DiscountCodeRedemption
|
|
2884
|
+
*/
|
|
2885
|
+
select?: Prisma.DiscountCodeRedemptionSelect<ExtArgs> | null;
|
|
2886
|
+
/**
|
|
2887
|
+
* Omit specific fields from the DiscountCodeRedemption
|
|
2888
|
+
*/
|
|
2889
|
+
omit?: Prisma.DiscountCodeRedemptionOmit<ExtArgs> | null;
|
|
2890
|
+
/**
|
|
2891
|
+
* Choose, which related nodes to fetch as well
|
|
2892
|
+
*/
|
|
2893
|
+
include?: Prisma.DiscountCodeRedemptionInclude<ExtArgs> | null;
|
|
2894
|
+
where?: Prisma.DiscountCodeRedemptionWhereInput;
|
|
2895
|
+
orderBy?: Prisma.DiscountCodeRedemptionOrderByWithRelationInput | Prisma.DiscountCodeRedemptionOrderByWithRelationInput[];
|
|
2896
|
+
cursor?: Prisma.DiscountCodeRedemptionWhereUniqueInput;
|
|
2897
|
+
take?: number;
|
|
2898
|
+
skip?: number;
|
|
2899
|
+
distinct?: Prisma.DiscountCodeRedemptionScalarFieldEnum | Prisma.DiscountCodeRedemptionScalarFieldEnum[];
|
|
2900
|
+
};
|
|
2901
|
+
/**
|
|
2902
|
+
* Customer.SmsConversation
|
|
2903
|
+
*/
|
|
2904
|
+
export type Customer$SmsConversationArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2905
|
+
/**
|
|
2906
|
+
* Select specific fields to fetch from the SmsConversation
|
|
2907
|
+
*/
|
|
2908
|
+
select?: Prisma.SmsConversationSelect<ExtArgs> | null;
|
|
2909
|
+
/**
|
|
2910
|
+
* Omit specific fields from the SmsConversation
|
|
2911
|
+
*/
|
|
2912
|
+
omit?: Prisma.SmsConversationOmit<ExtArgs> | null;
|
|
2913
|
+
/**
|
|
2914
|
+
* Choose, which related nodes to fetch as well
|
|
2915
|
+
*/
|
|
2916
|
+
include?: Prisma.SmsConversationInclude<ExtArgs> | null;
|
|
2917
|
+
where?: Prisma.SmsConversationWhereInput;
|
|
2918
|
+
orderBy?: Prisma.SmsConversationOrderByWithRelationInput | Prisma.SmsConversationOrderByWithRelationInput[];
|
|
2919
|
+
cursor?: Prisma.SmsConversationWhereUniqueInput;
|
|
2920
|
+
take?: number;
|
|
2921
|
+
skip?: number;
|
|
2922
|
+
distinct?: Prisma.SmsConversationScalarFieldEnum | Prisma.SmsConversationScalarFieldEnum[];
|
|
2923
|
+
};
|
|
2924
|
+
/**
|
|
2925
|
+
* Customer.customerToCustomerGroups
|
|
2926
|
+
*/
|
|
2927
|
+
export type Customer$customerToCustomerGroupsArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2928
|
+
/**
|
|
2929
|
+
* Select specific fields to fetch from the CustomerToCustomerGroup
|
|
2930
|
+
*/
|
|
2931
|
+
select?: Prisma.CustomerToCustomerGroupSelect<ExtArgs> | null;
|
|
2932
|
+
/**
|
|
2933
|
+
* Omit specific fields from the CustomerToCustomerGroup
|
|
2934
|
+
*/
|
|
2935
|
+
omit?: Prisma.CustomerToCustomerGroupOmit<ExtArgs> | null;
|
|
2936
|
+
/**
|
|
2937
|
+
* Choose, which related nodes to fetch as well
|
|
2938
|
+
*/
|
|
2939
|
+
include?: Prisma.CustomerToCustomerGroupInclude<ExtArgs> | null;
|
|
2940
|
+
where?: Prisma.CustomerToCustomerGroupWhereInput;
|
|
2941
|
+
orderBy?: Prisma.CustomerToCustomerGroupOrderByWithRelationInput | Prisma.CustomerToCustomerGroupOrderByWithRelationInput[];
|
|
2942
|
+
cursor?: Prisma.CustomerToCustomerGroupWhereUniqueInput;
|
|
2943
|
+
take?: number;
|
|
2944
|
+
skip?: number;
|
|
2945
|
+
distinct?: Prisma.CustomerToCustomerGroupScalarFieldEnum | Prisma.CustomerToCustomerGroupScalarFieldEnum[];
|
|
2946
|
+
};
|
|
2947
|
+
/**
|
|
2948
|
+
* Customer without action
|
|
2949
|
+
*/
|
|
2950
|
+
export type CustomerDefaultArgs<ExtArgs extends runtime.Types.Extensions.InternalArgs = runtime.Types.Extensions.DefaultArgs> = {
|
|
2951
|
+
/**
|
|
2952
|
+
* Select specific fields to fetch from the Customer
|
|
2953
|
+
*/
|
|
2954
|
+
select?: Prisma.CustomerSelect<ExtArgs> | null;
|
|
2955
|
+
/**
|
|
2956
|
+
* Omit specific fields from the Customer
|
|
2957
|
+
*/
|
|
2958
|
+
omit?: Prisma.CustomerOmit<ExtArgs> | null;
|
|
2959
|
+
/**
|
|
2960
|
+
* Choose, which related nodes to fetch as well
|
|
2961
|
+
*/
|
|
2962
|
+
include?: Prisma.CustomerInclude<ExtArgs> | null;
|
|
2963
|
+
};
|
|
2964
|
+
export {};
|