letschatty 0.4.346.post33__tar.gz → 0.4.346.post35__tar.gz
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.
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/PKG-INFO +1 -1
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/pyproject.toml +1 -1
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/chat.py +7 -14
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/preview.py +15 -1
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/chatty_ai_agent_in_chat.py +12 -0
- letschatty-0.4.346.post35/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_location.py +19 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/message_types.py +1 -1
- letschatty-0.4.346.post33/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_location.py +0 -8
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/LICENSE +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/README.md +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/ai_microservices/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/ai_microservices/expected_output.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/ai_microservices/lambda_events.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/ai_microservices/lambda_invokation_types.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/ai_microservices/n8n_ai_agents_payload.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/ai_microservices/openai_payloads.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/base.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/ai_agent_chat.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/business_area.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/chat_based_event.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/chat_client.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/chat_context.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/chat_funnel.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/chat_status.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/contact_point.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/continuous_conversation.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/highlight.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/message.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/messages_intent_context.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/product_chat.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/quality_scoring.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/sale.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/tag_chat.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/chat_based_events/workflow.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/company_based_events/asset_events.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/company_based_events/company_events.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/company_based_events/user_events.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/event_type_to_classes.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/event_types.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/user_notification_intent/HOW-TO-ADD.md +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/user_notification_intent/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/user_notification_intent/builders.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/user_notification_intent/event.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/events/user_notification_intent/metadata.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/metrics/__init_.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/metrics/daily_contact_points.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/metrics/daily_new_chats.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/metrics/daily_sent_templates_grouped.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/metrics/sales_roadmap.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/metrics/sent_templates.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/smart_messages/friendly_code_for_source.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/smart_messages/topic.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/smart_messages/topic_message.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/google_ad_utm_source.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/helpers.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/other_source.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/pure_ad.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/pure_ad_utm_source.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/source_base.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/template_source.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/topic_default_source.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/utm_source.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/utms/referer_info.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/utms/utm_query_params.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/sources/whatsapp_default_source.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/auth/jwt.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/base_models/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/base_models/ai_agent_component.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/base_models/chatty_asset_model.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/base_models/helpers.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/base_models/related_asset_usage_example.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/base_models/singleton.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/base_models/update_model_interface.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/base_models/validate_timestamps_and_id.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/channels/channel.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/assets_assigned_to_chat.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/chat_status_modifications.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/chat_with_assets.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/client.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/continuous_conversation.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/filter_parameters.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/flow_link_state.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/highlight.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/quality_scoring.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/scheduled_messages.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/temporary_chat.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/time_left.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/CRM/business_area.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/CRM/funnel.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/ai_agent_message_draft.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/ai_agents_decision_output.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/ai_specific_instruction.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/chain_of_thought_in_chat.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/chat_example.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/chat_example_test.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/chatty_ai_agent.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/chatty_ai_agent_config_for_automation.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/chatty_ai_mode.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/context_item.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/data_collection_config.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/faq.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/follow_up_strategy.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/get_chat_with_prompt_response.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/instruction.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/knowleadge_base_components.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/n8n_agents_info.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/n8n_schema_incoming_message_output.json +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/n8n_schema_smart_follow_up_output.json +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/ai_agents_v2/pre_qualify_config.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/assignment/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/assignment/assignment_assets.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/automation.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/chat_assets.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/chatty_fast_answers/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/chatty_fast_answers/chatty_fast_answer.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/company_assets.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/contact_point.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/filter_criteria.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/flow.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/launch/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/launch/launch.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/launch/scheduled_communication.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/launch/subscription.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/media/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/media/file.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/notification.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/product.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/sale.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/tag.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/users/agent_chats_snapshot.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/users/user.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/users/user_asset_permission.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/workflow_execution.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/company_chats_snapshot.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/company_messaging_settgins.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/conversation_topic.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/empresa.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/form_field.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/insight.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/integrations/product_sync_status.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/integrations/shopify/company_shopify_integration.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/integrations/shopify/shopify_product_sync_status.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/integrations/shopify/shopify_webhook_topics.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/integrations/sync_status_enum.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/integrations/tienda_nube/company_tienda_nube_integration.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/integrations/tienda_nube/tienda_nube_product_sync_status.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/integrations/tienda_nube/tienda_nube_webhook_topics.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/notifications/notification.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/copilot/links.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/data_base/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/data_base/collection_interface.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/data_base/mongo_connection.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/execution/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/execution/execution.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/execution/executor.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/forms/company/auth0_company_registration_form.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/forms/company/meta_register.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/audio.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/base/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/base/chatty_message_json.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/base/message_base.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/base/message_draft.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/button.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/central_notification.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/contact.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/document.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/image.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/interactive.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/location.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/reaction.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_audio.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_button.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_central.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_contacts.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_document.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_image.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_interactive.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_media.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_reaction.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_sticker.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_text.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_video.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_context/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_context/chatty_context.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_referal/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/schema/chatty_referal/chatty_referal.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/sticker.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/text.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/chatty_messages/video.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/message_templates/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/message_templates/chatty_template_campaign.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/message_templates/filled_data_from_frontend.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/message_templates/payload_for_sending_template.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/message_templates/raw_meta_template.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/message_templates/recipient_of_template_campaign.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/message_templates/required_for_frontend_templates.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/meta_base_notification_json.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/meta_error_json.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/meta_inexistent_json.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/meta_message_json.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/meta_status_json.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/meta_unknown_json.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/button_content.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/contacts_content.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/interactive_content.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/location_content.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/multimedia_content.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/order_content.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/reaction_content.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/system_content.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/content_messages/text_content.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/values/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/values/value_errors.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/values/value_messages.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/meta_message_model/schema/values/value_statuses.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/push_notifications/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/push_notifications/enums.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/push_notifications/user_device.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/custom_exceptions/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/custom_exceptions/custom_exceptions.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/definitions.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/CRUD_operations.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/channel_types.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/chats_actions.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/country.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/deletion_type.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/executor_types.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/identifier.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/message_status_types.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/phone_number.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/serializer_type.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/source_types.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/utils/types/typealiases.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/ai_agents/context_builder_v2.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/ai_agents/cot_follow_up_examples.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/ai_agents/followup_schema.json +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/ai_agents/smart_follow_up_context_builder_v2.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/ai_agents/smart_follow_up_service_v2.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/ai_agents/tool_descriptions/assign_chat_to_ai_agent_itself.json +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/ai_agents/tool_descriptions/human_handover.json +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/ai_agents/tool_descriptions.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/ai_components_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chat/chat_extractors.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chat/chat_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chat/client_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chat/conversation_topics_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chat/whatsapp_apb_mode_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chatty_assets/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chatty_assets/asset_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chatty_assets/base_container.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chatty_assets/base_container_with_collection.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chatty_assets/documentation_diagram.png +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/chatty_assets/readme.md +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/concurrent/concurrent.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/contact_points/contact_point_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/continuous_conversation_service/continuous_conversation_helper.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/events/events_manager.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/analytics/contact_point_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/analytics/events_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/analytics/smart_messages/topics_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/analytics/sources/helpers.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/analytics/sources/source_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/chats/chat_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/chatty_fast_answers/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/chatty_fast_answers/chatty_fast_answers_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/clients/client_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/company/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/company/empresa_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/lambda_ai_orchestrartor/lambda_events_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/messages/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/messages/central_notification_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/messages/chatty_message_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/messages/child_db_message_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/messages/child_request_message.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/messages/from_template_hot_fix.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/messages/message_templates/template_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/messages/message_templates/test.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/meta_notifications/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/meta_notifications/meta_notification_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/factories/product_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/filter_criteria_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/messages_helpers/__init__.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/messages_helpers/get_caption_or_body_or_preview.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/scheduled_messages_service/scheduled_messages_helpers.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/template_campaigns/template_campaign_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/users/agent_service.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/users/user_factory.py +0 -0
- {letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/services/validators/analytics_validator.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "letschatty"
|
|
3
|
-
version = "0.4.346-
|
|
3
|
+
version = "0.4.346-post35" # Or whichever is your latest version
|
|
4
4
|
description = "Models and custom classes to work across the Chattyverse"
|
|
5
5
|
authors = ["Axel <axel@letschatty.com>"]
|
|
6
6
|
license = "MIT"
|
|
@@ -13,10 +13,8 @@ from ..utils.definitions import Area
|
|
|
13
13
|
from .continuous_conversation import ContinuousConversation
|
|
14
14
|
from .scheduled_messages import ScheduledMessages
|
|
15
15
|
from .flow_link_state import FlowStateAssignedToChat
|
|
16
|
-
from ..company.assets.
|
|
17
|
-
from ..company.assets.ai_agents_v2.chatty_ai_agent_in_chat import HumanIntervention
|
|
16
|
+
from ..company.assets.ai_agents_v2.chatty_ai_agent_in_chat import ChattyAiAgentInChatStatus
|
|
18
17
|
from ..messages.chatty_messages.base.message_draft import MessageDraft
|
|
19
|
-
from ..utils.custom_exceptions.custom_exceptions import MissingAIAgentForSmartFollowUp
|
|
20
18
|
from .time_left import TimeLeft
|
|
21
19
|
from ..company.conversation_topic import TopicTimelineEntry
|
|
22
20
|
from ..company.form_field import CollectedData
|
|
@@ -46,13 +44,12 @@ class Chat(CompanyAssetModel):
|
|
|
46
44
|
continuous_conversations: List[ContinuousConversation] = Field(default_factory=list)
|
|
47
45
|
scheduled_messages: List[ScheduledMessages] = Field(default_factory=list)
|
|
48
46
|
flow_states: List[FlowStateAssignedToChat] = Field(default_factory=list)
|
|
49
|
-
|
|
47
|
+
chatty_ai_agent_in_chat_status: Optional[ChattyAiAgentInChatStatus] = Field(
|
|
48
|
+
default=None, description="Present when an AI agent is assigned; human_intervention set when escalated"
|
|
49
|
+
)
|
|
50
50
|
suggested_messages: List[MessageDraft] = Field(default_factory=list)
|
|
51
51
|
topics_timeline: List[TopicTimelineEntry] = Field(default_factory=list, description="Timeline of conversation topics throughout the conversation")
|
|
52
52
|
active_funnel: Optional[ActiveFunnel] = Field(default=None, description="Current active funnel for this chat")
|
|
53
|
-
human_intervention: Optional[HumanIntervention] = Field(
|
|
54
|
-
default=None, description="Set when AI agent is escalated, cleared on de-escalation"
|
|
55
|
-
)
|
|
56
53
|
model_config = ConfigDict(extra="ignore")
|
|
57
54
|
|
|
58
55
|
@property
|
|
@@ -144,18 +141,14 @@ class Chat(CompanyAssetModel):
|
|
|
144
141
|
|
|
145
142
|
|
|
146
143
|
@property
|
|
147
|
-
def assigned_chatty_ai_agent(self)
|
|
144
|
+
def assigned_chatty_ai_agent(self):
|
|
148
145
|
"""Get the assigned chatty ai agent"""
|
|
149
146
|
raise DeprecationWarning("This method is not implemented anymore")
|
|
150
|
-
if self.chatty_ai_agent is None:
|
|
151
|
-
raise MissingAIAgentForSmartFollowUp(f"Chat {self.id} has no chatty ai agent assigned to it")
|
|
152
|
-
return self.chatty_ai_agent
|
|
153
|
-
|
|
154
147
|
|
|
155
148
|
@property
|
|
156
149
|
def chat_has_ai_agent_assigned(self) -> bool:
|
|
157
|
-
"""Check if the chat
|
|
158
|
-
return self.
|
|
150
|
+
"""Check if the chat has an AI agent assigned"""
|
|
151
|
+
return self.chatty_ai_agent_in_chat_status is not None
|
|
159
152
|
|
|
160
153
|
@property
|
|
161
154
|
def sent_fast_answers_ids(self) -> List[StrObjectId]:
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/preview.py
RENAMED
|
@@ -21,6 +21,20 @@ class ChattyAiAgentStatus(StrEnum):
|
|
|
21
21
|
ASSIGNED = "assigned"
|
|
22
22
|
ESCALATED = "escalated"
|
|
23
23
|
|
|
24
|
+
|
|
25
|
+
class ChattyAiAgentStatusPreview(BaseModel):
|
|
26
|
+
"""Compact AI-agent status returned in chat previews.
|
|
27
|
+
|
|
28
|
+
Presence (not None) means an AI agent is assigned.
|
|
29
|
+
``status`` distinguishes plain assignment from escalation.
|
|
30
|
+
``ai_agent_id`` and ``name`` allow the UI to show the agent without extra lookups.
|
|
31
|
+
"""
|
|
32
|
+
|
|
33
|
+
status: ChattyAiAgentStatus
|
|
34
|
+
ai_agent_id: str
|
|
35
|
+
name: Optional[str] = Field(default=None)
|
|
36
|
+
|
|
37
|
+
|
|
24
38
|
class ClientPreview(BaseModel):
|
|
25
39
|
name: str
|
|
26
40
|
phone_number: str
|
|
@@ -44,7 +58,7 @@ class ChatPreview(BaseModel):
|
|
|
44
58
|
created_at : datetime
|
|
45
59
|
scheduled_message : Optional[ScheduledMessageStatus] = Field(default=None)
|
|
46
60
|
tags : Optional[List[TagPreview]] = Field(default=[])
|
|
47
|
-
|
|
61
|
+
chatty_ai_agent_in_chat_status: Optional[ChattyAiAgentStatusPreview] = Field(default=None)
|
|
48
62
|
@property
|
|
49
63
|
def assigned_agent_id(self) -> Optional[StrObjectId]:
|
|
50
64
|
if self.area_status != Area.WITH_AGENT:
|
|
@@ -84,6 +84,18 @@ class HumanIntervention(BaseModel):
|
|
|
84
84
|
reason: HumanInterventionReason = Field(description="The reason for human intervention")
|
|
85
85
|
message: Optional[str] = Field(default=None, description="The message to display to the user if any")
|
|
86
86
|
|
|
87
|
+
|
|
88
|
+
class ChattyAiAgentInChatStatus(BaseModel):
|
|
89
|
+
"""Compact AI-agent presence and escalation status embedded on Chat.
|
|
90
|
+
|
|
91
|
+
Presence (not None) means an AI agent is assigned.
|
|
92
|
+
ai_agent_id identifies which agent is assigned (used by previews to resolve the agent name).
|
|
93
|
+
human_intervention not None means the agent is escalated.
|
|
94
|
+
"""
|
|
95
|
+
ai_agent_id: str = Field(frozen=True, description="ID of the assigned AI agent")
|
|
96
|
+
human_intervention: Optional[HumanIntervention] = Field(default=None)
|
|
97
|
+
|
|
98
|
+
|
|
87
99
|
class ChattyAIAgentInChat(CompanyAssetModel):
|
|
88
100
|
"""
|
|
89
101
|
Standalone AI agent state for a chat, stored in dedicated collection.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
from typing import Optional
|
|
2
|
+
from pydantic import BaseModel
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
class ChattyContentLocation(BaseModel):
|
|
6
|
+
latitude: float
|
|
7
|
+
longitude: float
|
|
8
|
+
name: Optional[str] = None
|
|
9
|
+
address: Optional[str] = None
|
|
10
|
+
url: Optional[str] = None
|
|
11
|
+
|
|
12
|
+
def get_body_or_caption(self) -> str:
|
|
13
|
+
if self.name and self.address:
|
|
14
|
+
return f"{self.name} - {self.address}"
|
|
15
|
+
if self.name:
|
|
16
|
+
return self.name
|
|
17
|
+
if self.address:
|
|
18
|
+
return self.address
|
|
19
|
+
return f"Location: {self.latitude}, {self.longitude}"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/analytics/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/base_models/helpers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/channels/channel.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/client.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/highlight.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/temporary_chat.py
RENAMED
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/chat/time_left.py
RENAMED
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/CRM/funnel.py
RENAMED
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/flow.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/sale.py
RENAMED
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/assets/tag.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/empresa.py
RENAMED
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/form_field.py
RENAMED
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/company/insight.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/copilot/links.py
RENAMED
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/data_base/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/execution/__init__.py
RENAMED
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/execution/execution.py
RENAMED
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/execution/executor.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.4.346.post33 → letschatty-0.4.346.post35}/src/letschatty/models/messages/__init__.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|