letschatty 0.4.335__py3-none-any.whl → 0.4.338__py3-none-any.whl

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.
Files changed (81) hide show
  1. letschatty/models/ai_microservices/__init__.py +3 -3
  2. letschatty/models/ai_microservices/expected_output.py +2 -29
  3. letschatty/models/ai_microservices/lambda_events.py +28 -137
  4. letschatty/models/ai_microservices/lambda_invokation_types.py +1 -3
  5. letschatty/models/ai_microservices/n8n_ai_agents_payload.py +1 -3
  6. letschatty/models/analytics/events/__init__.py +2 -3
  7. letschatty/models/analytics/events/chat_based_events/chat_funnel.py +69 -13
  8. letschatty/models/analytics/events/company_based_events/asset_events.py +9 -2
  9. letschatty/models/analytics/events/event_type_to_classes.py +6 -3
  10. letschatty/models/analytics/events/event_types.py +9 -50
  11. letschatty/models/chat/chat.py +2 -0
  12. letschatty/models/chat/chat_with_assets.py +6 -1
  13. letschatty/models/chat/client.py +0 -2
  14. letschatty/models/chat/continuous_conversation.py +1 -1
  15. letschatty/models/company/CRM/funnel.py +365 -33
  16. letschatty/models/company/__init__.py +2 -1
  17. letschatty/models/company/assets/ai_agents_v2/ai_agents_decision_output.py +1 -1
  18. letschatty/models/company/assets/ai_agents_v2/chatty_ai_agent_in_chat.py +2 -37
  19. letschatty/models/company/assets/ai_agents_v2/chatty_ai_mode.py +2 -2
  20. letschatty/models/company/assets/ai_agents_v2/get_chat_with_prompt_response.py +0 -1
  21. letschatty/models/company/assets/ai_agents_v2/pre_qualify_config.py +2 -14
  22. letschatty/models/company/assets/ai_agents_v2/statuses.py +33 -0
  23. letschatty/models/company/assets/automation.py +10 -19
  24. letschatty/models/company/assets/chat_assets.py +1 -1
  25. letschatty/models/company/assets/company_assets.py +2 -0
  26. letschatty/models/company/company_shopify_integration.py +10 -0
  27. letschatty/models/data_base/collection_interface.py +29 -101
  28. letschatty/models/data_base/mongo_connection.py +9 -92
  29. letschatty/models/messages/chatty_messages/schema/chatty_content/content_document.py +4 -2
  30. letschatty/models/messages/chatty_messages/schema/chatty_content/content_media.py +4 -3
  31. letschatty/models/utils/custom_exceptions/custom_exceptions.py +1 -14
  32. letschatty/services/ai_agents/smart_follow_up_context_builder_v2.py +2 -5
  33. letschatty/services/chatty_assets/__init__.py +0 -12
  34. letschatty/services/chatty_assets/asset_service.py +13 -190
  35. letschatty/services/chatty_assets/base_container.py +2 -3
  36. letschatty/services/chatty_assets/base_container_with_collection.py +26 -35
  37. letschatty/services/continuous_conversation_service/continuous_conversation_helper.py +0 -11
  38. letschatty/services/events/events_manager.py +1 -218
  39. letschatty/services/factories/analytics/events_factory.py +6 -66
  40. letschatty/services/factories/lambda_ai_orchestrartor/lambda_events_factory.py +8 -25
  41. letschatty/services/messages_helpers/get_caption_or_body_or_preview.py +4 -6
  42. {letschatty-0.4.335.dist-info → letschatty-0.4.338.dist-info}/METADATA +1 -1
  43. {letschatty-0.4.335.dist-info → letschatty-0.4.338.dist-info}/RECORD +45 -79
  44. letschatty/models/analytics/events/chat_based_events/ai_agent_execution_event.py +0 -71
  45. letschatty/services/chatty_assets/assets_collections.py +0 -137
  46. letschatty/services/chatty_assets/collections/__init__.py +0 -38
  47. letschatty/services/chatty_assets/collections/ai_agent_collection.py +0 -19
  48. letschatty/services/chatty_assets/collections/ai_agent_in_chat_collection.py +0 -32
  49. letschatty/services/chatty_assets/collections/ai_component_collection.py +0 -21
  50. letschatty/services/chatty_assets/collections/chain_of_thought_collection.py +0 -30
  51. letschatty/services/chatty_assets/collections/chat_collection.py +0 -21
  52. letschatty/services/chatty_assets/collections/contact_point_collection.py +0 -21
  53. letschatty/services/chatty_assets/collections/fast_answer_collection.py +0 -21
  54. letschatty/services/chatty_assets/collections/filter_criteria_collection.py +0 -18
  55. letschatty/services/chatty_assets/collections/flow_collection.py +0 -20
  56. letschatty/services/chatty_assets/collections/product_collection.py +0 -20
  57. letschatty/services/chatty_assets/collections/sale_collection.py +0 -20
  58. letschatty/services/chatty_assets/collections/source_collection.py +0 -21
  59. letschatty/services/chatty_assets/collections/tag_collection.py +0 -19
  60. letschatty/services/chatty_assets/collections/topic_collection.py +0 -21
  61. letschatty/services/chatty_assets/collections/user_collection.py +0 -20
  62. letschatty/services/chatty_assets/example_usage.py +0 -44
  63. letschatty/services/chatty_assets/services/__init__.py +0 -37
  64. letschatty/services/chatty_assets/services/ai_agent_in_chat_service.py +0 -73
  65. letschatty/services/chatty_assets/services/ai_agent_service.py +0 -23
  66. letschatty/services/chatty_assets/services/chain_of_thought_service.py +0 -70
  67. letschatty/services/chatty_assets/services/chat_service.py +0 -25
  68. letschatty/services/chatty_assets/services/contact_point_service.py +0 -29
  69. letschatty/services/chatty_assets/services/fast_answer_service.py +0 -32
  70. letschatty/services/chatty_assets/services/filter_criteria_service.py +0 -30
  71. letschatty/services/chatty_assets/services/flow_service.py +0 -25
  72. letschatty/services/chatty_assets/services/product_service.py +0 -30
  73. letschatty/services/chatty_assets/services/sale_service.py +0 -25
  74. letschatty/services/chatty_assets/services/source_service.py +0 -28
  75. letschatty/services/chatty_assets/services/tag_service.py +0 -32
  76. letschatty/services/chatty_assets/services/topic_service.py +0 -31
  77. letschatty/services/chatty_assets/services/user_service.py +0 -32
  78. letschatty/services/events/__init__.py +0 -6
  79. letschatty/services/factories/analytics/ai_agent_event_factory.py +0 -161
  80. {letschatty-0.4.335.dist-info → letschatty-0.4.338.dist-info}/LICENSE +0 -0
  81. {letschatty-0.4.335.dist-info → letschatty-0.4.338.dist-info}/WHEEL +0 -0