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