letschatty 0.6.75__tar.gz → 0.6.78__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.6.75 → letschatty-0.6.78}/PKG-INFO +1 -1
- {letschatty-0.6.75 → letschatty-0.6.78}/pyproject.toml +1 -1
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/__init__.py +6 -3
- letschatty-0.6.78/src/letschatty/domain/attention/pending_notices.py +51 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/reasons.py +5 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/receptions.py +31 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/__init__.py +2 -1
- letschatty-0.6.78/src/letschatty/mongo/attention/pending_notice_repository.py +51 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/reason_repository.py +6 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/reception_repository.py +25 -1
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/attention/cached_reason_repository.py +3 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/attention/cached_reception_repository.py +10 -1
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/chat_messages_collection.py +25 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/chat_service.py +14 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/LICENSE +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/README.md +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/ai/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/ai/ai_agent_in_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/ai/ai_agents.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/ai/ai_components.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/ai/chain_of_thought.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/ai/filter_criteria.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/attention_in_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/capacities.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/classification_requests.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/entries.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/migrations.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/pending_entries.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/states.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/suggestions.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/automation/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/automation/chat_flow_states.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/automation/workflows.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/company/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/company/assignment.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/company/company.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/company/global_betas.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/company/notifications.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/company/user_devices.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/company/users.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/crm/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/crm/chat_funnels.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/crm/form_fields.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/crm/funnels.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/crm/products.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/crm/reminder_categories.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/crm/reminders.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/crm/sales.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/crm/tags.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/infra/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/infra/failed_events.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/infra/history_import.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/infra/postponed_stubs.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/infra/unhandled_meta_notices.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/coexistence_import_sync.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/fast_answers.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/media_assets.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/meta_templates.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/template_campaigns.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/template_sync_state.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/contact_points.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/conversions_api_sends.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/friendly_codes.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/inferred_ad_templates.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/sources.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/sources_settings.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/topics.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/connection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/connection_store.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/meta_episodes.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/profile_snapshots.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/registration_trail.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/unconnected_numbers.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/waba_incidents.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp_accounts.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/ai_microservices/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/ai_microservices/expected_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/ai_microservices/lambda_events.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/ai_microservices/lambda_invokation_types.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/ai_microservices/n8n_ai_agents_payload.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/ai_microservices/openai_payloads.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/base.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/ai_agent_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/ai_agent_escalate_event.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/ai_agent_execution_event.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/business_area.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/chat_based_event.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/chat_client.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/chat_context.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/chat_funnel.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/chat_reset.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/chat_status.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/contact_point.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/continuous_conversation.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/highlight.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/inferred_ad.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/message.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/messages_intent_context.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/product_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/quality_scoring.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/sale.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/tag_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/chat_based_events/workflow.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/company_based_events/asset_events.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/company_based_events/company_events.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/company_based_events/user_events.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/event_type_to_classes.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/event_types.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/user_notification_intent/HOW-TO-ADD.md +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/user_notification_intent/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/user_notification_intent/builders.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/user_notification_intent/event.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/events/user_notification_intent/metadata.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/metrics/__init_.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/metrics/daily_contact_points.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/metrics/daily_new_chats.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/metrics/daily_sent_templates_grouped.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/metrics/sales_roadmap.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/metrics/sent_templates.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/smart_messages/friendly_code_for_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/smart_messages/topic.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/smart_messages/topic_message.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/ad_creative.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/coexistence_echo_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/contact_import_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/google_ad_utm_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/helpers.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/mapeo_motivo.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/meta_ad_inferred.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/meta_post.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/other_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/pure_ad.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/pure_ad_utm_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/source_base.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/template_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/topic_default_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/utm_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/utms/pixel_attribution.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/utms/referer_info.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/utms/utm_query_params.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/analytics/sources/whatsapp_default_source.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/auth/jwt.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/base_models/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/base_models/ai_agent_component.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/base_models/chatty_asset_model.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/base_models/helpers.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/base_models/related_asset_usage_example.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/base_models/singleton.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/base_models/update_model_interface.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/base_models/validate_timestamps_and_id.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/cache/README.md +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/cache/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/cache/cache_protocol.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/cache/no_cache.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/cache/redis_cache.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/cache/redis_connection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/channels/channel.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/channels/exceptions.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/channels/request_account.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/assets_assigned_to_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/chat_client_preview.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/chat_messages_bucket.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/chat_status_modifications.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/chat_summary.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/chat_with_assets.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/client.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/coexistence_import_sync.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/continuous_conversation.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/executive_followup.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/filter_parameters.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/flow_link_state.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/group_participant.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/highlight.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/marcas_de_meta.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/message_summary.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/motivo_en_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/no_contactar.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/preview.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/quality_scoring.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/query_builder.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/scheduled_messages.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/seguimiento.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/seguimiento_estado.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/temporary_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/chat/time_left.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/CRM/business_area.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/CRM/funnel.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/cintia_execution.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/events/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/events/cintia_event_type.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/chat_vector.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/chatty_asset_embedding.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/chatty_trigger.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/cintia_feedback.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/cintia_trigger.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/lambda_trigger_events.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/cintia_assistant_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/cintia_audio_transcriber_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/cintia_customer_success_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/cintia_decision_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/cintia_human_capture_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/cintia_responder_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/cintia_smart_follow_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/cintia_tagger_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/CINTIA/models/outputs/executive_decision_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/account_scope.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/ai_agent_message_draft.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/ai_agents_decision_output.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/ai_specific_instruction.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/chain_of_thought_in_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/chat_example.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/chat_example_test.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/chatty_ai_agent.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/chatty_ai_agent_config_for_automation.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/chatty_ai_agent_in_chat.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/chatty_ai_mode.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/context_item.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/cs_scenario.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/data_collection_config.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/faq.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/fast_answer_reference.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/follow_up_strategy.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/get_chat_with_prompt_response.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/instruction.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/knowleadge_base_components.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/n8n_agents_info.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/n8n_schema_incoming_message_output.json +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/n8n_schema_smart_follow_up_output.json +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/pre_qualify_config.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/ai_agents_v2/tag_reference.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/asset_model_registry.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/assignment/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/assignment/assignment_assets.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/accion.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/acciones_basicas.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/acciones_fijas.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/al_responder.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/capacidad.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/entradas.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/herencia.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/precalificacion.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/recetas.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/atencion/seguimientos.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/automation.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/chat_assets.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/chatty_fast_answers/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/chatty_fast_answers/chatty_fast_answer.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/company_assets.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/contact_point.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/embeddable.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/filter_criteria.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/flow.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/inferred_attribution.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/launch/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/launch/launch.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/launch/scheduled_communication.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/launch/subscription.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/media/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/media/file.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/media/media_asset.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/motivo.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/notification.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/product.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/product_parameter_embed_config.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/recepcion.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/recordatorio.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/recordatorio_categoria.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/sale.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/sin_producto.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/tag.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/users/agent_chats_snapshot.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/users/permissions.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/users/user.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/users/user_asset_permission.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/assets/workflow_execution.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/company_chats_snapshot.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/company_messaging_settgins.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/conversation_topic.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/empresa.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/form_field.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/home_widget.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/insight.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/integrations/product_sync_status.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/integrations/shopify/company_shopify_integration.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/integrations/shopify/shopify_product_sync_status.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/integrations/shopify/shopify_webhook_topics.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/integrations/sync_status_enum.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/integrations/tienda_nube/company_tienda_nube_integration.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/integrations/tienda_nube/tienda_nube_product_sync_status.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/integrations/tienda_nube/tienda_nube_webhook_topics.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/company/notifications/notification.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/copilot/links.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/data_base/README.md +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/data_base/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/data_base/collection_interface.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/data_base/mongo_connection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/execution/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/execution/execution.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/execution/executor.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/forms/company/auth0_company_registration_form.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/forms/company/meta_register.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/audio.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/base/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/base/chatty_message_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/base/message_base.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/base/message_draft.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/button.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/central_notification.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/contact.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/document.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/image.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/interactive.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/location.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/reaction.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_audio.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_button.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_central.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_contacts.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_document.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_image.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_interactive.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_location.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_media.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_reaction.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_sticker.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_text.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_content/content_video.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_context/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_context/chatty_context.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_context/template_rendering.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_referal/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/schema/chatty_referal/chatty_referal.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/sticker.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/text.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/chatty_messages/video.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/message_templates/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/message_templates/chatty_template_campaign.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/message_templates/filled_data_from_frontend.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/message_templates/header_media.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/message_templates/meta_template.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/message_templates/payload_for_sending_template.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/message_templates/raw_meta_template.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/message_templates/recipient_of_template_campaign.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/message_templates/required_for_frontend_templates.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_base_notification_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_echo_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_error_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_group_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_history_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_inexistent_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_message_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_state_sync_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_status_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_template_webhook_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/meta_unknown_json.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/button_content.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/contacts_content.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/interactive_content.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/location_content.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/multimedia_content.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/order_content.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/reaction_content.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/system_content.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/content_messages/text_content.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/values/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/values/motivos_de_no_entrega.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/values/value_errors.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/values/value_messages.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/messages/meta_message_model/schema/values/value_statuses.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/push_notifications/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/push_notifications/enums.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/push_notifications/user_device.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/custom_exceptions/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/custom_exceptions/custom_exceptions.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/definitions.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/CRUD_operations.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/channel_types.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/chats_actions.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/country.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/deletion_type.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/executor_types.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/identifier.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/message_status_types.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/message_types.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/phone_number.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/serializer_type.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/source_types.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/utils/types/typealiases.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/whatsapp/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/whatsapp/account_context.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/whatsapp/exceptions.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/whatsapp/ownership.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/whatsapp/portfolio_bsuid.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/whatsapp/time.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/whatsapp/whatsapp_account.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/whatsapp/whatsapp_business_account.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/whatsapp/whatsapp_number.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/ai/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/ai/ai_agent_in_chat_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/ai/ai_agent_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/ai/ai_component_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/ai/chain_of_thought_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/ai/filter_criteria_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/attention_in_chat_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/capacity_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/classification_request_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/entry_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/migration_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/pending_entry_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/suggestion_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/automation/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/automation/chat_flow_state_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/automation/generated_link_reader.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/automation/workflow_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/catalog_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/company/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/company/assignment_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/company/company_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/company/global_betas_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/company/notification_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/company/user_device_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/company/user_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/crm/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/crm/chat_funnel_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/crm/form_field_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/crm/funnel_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/crm/product_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/crm/reminder_category_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/crm/reminder_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/crm/sale_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/crm/tag_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/infra/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/infra/failed_event_sink.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/infra/history_import_queue.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/infra/postponed_stub_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/infra/unhandled_meta_notice_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/messaging/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/messaging/coexistence_import_sync_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/messaging/fast_answer_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/messaging/media_asset_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/messaging/meta_template_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/messaging/template_campaign_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/messaging/template_sync_state_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/sources/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/sources/contact_point_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/sources/conversions_api_send_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/sources/friendly_code_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/sources/inferred_ad_template_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/sources/source_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/sources/sources_settings_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/sources/topic_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/whatsapp/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/whatsapp/connection_event_log.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/whatsapp/connection_state_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/whatsapp/meta_episode_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/whatsapp/profile_snapshot_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/whatsapp/registration_trail_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/whatsapp/unconnected_number_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/whatsapp/waba_incident_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/package_version.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/ai/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/ai/cached_ai_agent_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/ai/cached_ai_component_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/ai/cached_filter_criteria_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/asset_cache.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/attention/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/attention/cached_entry_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/cached_catalog_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/company/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/company/cached_company_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/company/cached_global_betas_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/company/cached_notification_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/company/cached_user_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/company/company_keys.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/company/redis_routing_index.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/crm/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/crm/cached_chat_funnel_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/crm/cached_form_field_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/crm/cached_funnel_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/crm/cached_product_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/crm/cached_reminder_category_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/crm/cached_reminder_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/crm/cached_sale_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/crm/cached_tag_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/messaging/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/messaging/cached_coexistence_import_sync_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/messaging/cached_fast_answer_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/messaging/cached_media_asset_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/messaging/cached_meta_template_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/messaging/cached_template_campaign_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/sources/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/sources/cached_contact_point_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/sources/cached_friendly_code_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/sources/cached_source_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/sources/cached_topic_repository.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/ai_agents/context_builder_v2.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/ai_agents/cot_follow_up_examples.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/ai_agents/followup_schema.json +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/ai_agents/smart_follow_up_context_builder_v2.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/ai_agents/smart_follow_up_service_v2.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/ai_agents/tool_descriptions/assign_chat_to_ai_agent_itself.json +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/ai_agents/tool_descriptions/human_handover.json +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/ai_agents/tool_descriptions.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/ai_components_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chat/chat_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chat/client_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chat/conversation_topics_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chat/whatsapp_apb_mode_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/asset_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/assets_collections.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/base_container_with_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/ai_agent_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/ai_agent_in_chat_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/ai_component_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/chain_of_thought_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/chat_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/chat_flow_state_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/chat_summary_pipeline.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/client_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/contact_point_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/fast_answer_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/filter_criteria_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/flow_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/form_field_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/media_asset_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/product_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/sale_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/source_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/tag_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/topic_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/collections/user_collection.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/documentation_diagram.png +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/example_usage.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/readme.md +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/ai_agent_in_chat_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/ai_agent_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/chain_of_thought_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/chat_loader.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/contact_point_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/fast_answer_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/filter_criteria_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/flow_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/product_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/sale_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/source_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/tag_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/topic_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/chatty_assets/services/user_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/concurrent/concurrent.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/contact_points/contact_point_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/continuous_conversation_service/continuous_conversation_helper.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/events/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/events/events_manager.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/analytics/ai_agent_event_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/analytics/contact_point_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/analytics/events_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/analytics/smart_messages/topics_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/analytics/sources/helpers.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/analytics/sources/source_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/chats/chat_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/chatty_fast_answers/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/chatty_fast_answers/chatty_fast_answers_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/clients/client_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/company/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/company/empresa_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/lambda_ai_orchestrartor/lambda_events_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/messages/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/messages/central_notification_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/messages/chatty_message_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/messages/child_db_message_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/messages/child_request_message.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/messages/from_template_hot_fix.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/messages/message_templates/component_builders.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/messages/message_templates/template_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/messages/message_templates/test.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/meta_notifications/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/meta_notifications/meta_notification_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/factories/product_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/filter_criteria_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/messages_helpers/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/messages_helpers/get_caption_or_body_or_preview.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/scheduled_messages_service/scheduled_messages_helpers.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/template_campaigns/template_campaign_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/users/agent_service.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/users/user_factory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/validators/analytics_validator.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/__init__.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/account_floor.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/chat_scope.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/connect_number.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/directory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/in_memory.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/indexes.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/mongo_repositories.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/repositories.py +0 -0
- {letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/services/whatsapp_accounts/source_scope.py +0 -0
|
@@ -6,10 +6,12 @@ from .capacities import CapacityRepository
|
|
|
6
6
|
from .classification_requests import ClassificationRequest, ClassificationRequestRepository
|
|
7
7
|
from .entries import EntryRepository
|
|
8
8
|
from .pending_entries import DuePendingEntry, PendingEntry, PendingEntryRepository
|
|
9
|
+
from .pending_notices import PendingNotice, PendingNoticeRepository
|
|
9
10
|
from .migrations import AttentionMigration, AttentionMigrationRepository, SourceCopy
|
|
10
11
|
from .reasons import ReasonRepository
|
|
11
12
|
from .suggestions import ReasonSuggestionRepository, ReasonSuggestionRequest
|
|
12
|
-
from .receptions import ABSENCE_FLAGS, BLOCK_FIELDS, ReceptionRepository, StoredBlocks
|
|
13
|
+
from .receptions import (ABSENCE_FLAGS, BLOCK_FIELDS, FlowStateWrite, ReceptionRepository, StoredBlocks,
|
|
14
|
+
StoredFlowStates)
|
|
13
15
|
from .states import (ACTIVE_REQUEST_STATES, AI_ACTIVE, AI_FINISHED, ASKING, CLASSIFYING, CORRECTABLE, CUT_BY, GATHERING,
|
|
14
16
|
IN_GENERAL_INQUIRY, REPLACED, RESOLVED, SHORTCUT_PHRASE, SHORTCUT_SIMILAR, WAITING_FOR_A_MESSAGE)
|
|
15
17
|
from .states import ENTRY_DONE, ENTRY_FAILED, ENTRY_PENDING, ENTRY_SENDING
|
|
@@ -25,6 +27,7 @@ __all__ = ["ReasonSuggestionRepository", "ReasonSuggestionRequest", "AttentionMi
|
|
|
25
27
|
"CORRECTABLE", "ENTRY_DONE", "ENTRY_FAILED", "ENTRY_PENDING", "ENTRY_SENDING", "GATHERING", "IN_GENERAL_INQUIRY",
|
|
26
28
|
"REPLACED", "RESOLVED", "SHORTCUT_PHRASE", "SHORTCUT_SIMILAR",
|
|
27
29
|
"WAITING_FOR_A_MESSAGE", "CapacityRepository", "ClassificationRequest",
|
|
28
|
-
"ClassificationRequestRepository", "DuePendingEntry", "EntryRepository", "PendingEntry", "PendingEntryRepository",
|
|
30
|
+
"ClassificationRequestRepository", "DuePendingEntry", "EntryRepository", "PendingEntry", "PendingEntryRepository", "PendingNotice",
|
|
31
|
+
"PendingNoticeRepository",
|
|
29
32
|
"ReasonRepository",
|
|
30
|
-
"ReceptionRepository", "StoredBlocks"]
|
|
33
|
+
"ReceptionRepository", "StoredBlocks", "FlowStateWrite", "StoredFlowStates"]
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"""Pending out of hours notices («aviso fuera de horario con IA»): the port of `ausencia_pendiente` (api-chatty
|
|
2
|
+
`docs/atencion/aviso-fuera-de-horario.md`).
|
|
3
|
+
|
|
4
|
+
Outside the hours, with an autonomous AI in the chat, the business chooses when the closed notice goes out
|
|
5
|
+
(`Recepcion.ausencia.con_ia_autonoma`). Two options send it AFTER: the entry leaves a pending notice (one per chat,
|
|
6
|
+
valid until the next opening) and a hook after the AI's first reply or after its hand over takes it, once. Its stored
|
|
7
|
+
form (Spanish names, as in `main`) is the Mongo adapter's (`letschatty/mongo/attention/pending_notice_repository.py`):
|
|
8
|
+
the port takes fields and answers the model below. Without cache, list, edit or events: every operation is by the
|
|
9
|
+
chat's id, and the document is deleted when it is taken or by a TTL when it expires.
|
|
10
|
+
"""
|
|
11
|
+
from __future__ import annotations
|
|
12
|
+
|
|
13
|
+
from dataclasses import dataclass
|
|
14
|
+
from datetime import datetime
|
|
15
|
+
from typing import Any, Optional, Protocol
|
|
16
|
+
|
|
17
|
+
__all__ = ["PendingNotice", "PendingNoticeRepository"]
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
@dataclass(frozen=True)
|
|
21
|
+
class PendingNotice:
|
|
22
|
+
"""A notice as taking it answers. `account_id` is the account of the chat when it had one (the hours of the notice
|
|
23
|
+
are the account's); a stored value that is not text is kept as it is (`raw_account_id`), and `main` read it as «no
|
|
24
|
+
account»: `account_id` answers None then."""
|
|
25
|
+
chat_id: str
|
|
26
|
+
company_id: Optional[str]
|
|
27
|
+
option: str
|
|
28
|
+
raw_account_id: Any = None
|
|
29
|
+
|
|
30
|
+
@property
|
|
31
|
+
def account_id(self) -> Optional[str]:
|
|
32
|
+
return self.raw_account_id if isinstance(self.raw_account_id, str) else None
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
class PendingNoticeRepository(Protocol):
|
|
36
|
+
async def register(self, company_id: str, *, chat_id: str, option: str, expires_at: datetime, now: datetime,
|
|
37
|
+
account_id: Optional[str] = None) -> None:
|
|
38
|
+
"""Leaves the chat's pending notice (an upsert by the chat's id): `company_id`, `option`, `expires_at` (a time
|
|
39
|
+
without a zone is UTC) and `now` as its creation time; `account_id` only if there is one. Another notice of the
|
|
40
|
+
chat is overwritten in those fields and keeps an `account_id` it had."""
|
|
41
|
+
...
|
|
42
|
+
|
|
43
|
+
async def option(self, chat_id: str, now: datetime) -> Optional[str]:
|
|
44
|
+
"""The option of the chat's notice if it is still valid at `now`, or None. By the chat's id only (ADR-010 §3:
|
|
45
|
+
the chat already comes from the company)."""
|
|
46
|
+
...
|
|
47
|
+
|
|
48
|
+
async def take(self, chat_id: str, option: str, now: datetime) -> Optional[PendingNotice]:
|
|
49
|
+
"""Atomic, for one caller: deletes and answers the chat's notice if it has that option and is valid at `now`,
|
|
50
|
+
or None. By the chat's id only (ADR-010 §3)."""
|
|
51
|
+
...
|
|
@@ -41,3 +41,8 @@ class ReasonRepository(Protocol):
|
|
|
41
41
|
async def delete(self, reason_id: StrObjectId) -> Motivo:
|
|
42
42
|
"""Marks it deleted (the document stays) and returns it as it was before."""
|
|
43
43
|
...
|
|
44
|
+
|
|
45
|
+
async def has_general_inquiry(self, company_id: StrObjectId, *, max_time_ms: int) -> bool:
|
|
46
|
+
"""Whether the company has a live «Consulta general» (`is_fallback`), by an id-only read from the store now with a
|
|
47
|
+
time limit (it does not build the model: an unreadable document still counts)."""
|
|
48
|
+
...
|
|
@@ -39,6 +39,24 @@ class StoredBlocks:
|
|
|
39
39
|
accounts: Dict[str, Any] = field(default_factory=dict)
|
|
40
40
|
|
|
41
41
|
|
|
42
|
+
@dataclass(frozen=True)
|
|
43
|
+
class StoredFlowStates:
|
|
44
|
+
"""The attention flow's stored states of a company's live reception, read narrow (not the whole document): `base` is
|
|
45
|
+
the document's own `atencion_estado` (None when it has none) and `accounts` the `atencion_estado` of each account
|
|
46
|
+
block that has one. Values are as stored: the use case decides which are known states."""
|
|
47
|
+
|
|
48
|
+
base: Optional[Any] = None
|
|
49
|
+
accounts: Dict[str, Any] = field(default_factory=dict)
|
|
50
|
+
|
|
51
|
+
|
|
52
|
+
@dataclass(frozen=True)
|
|
53
|
+
class FlowStateWrite:
|
|
54
|
+
"""What a write of the flow's state matched and changed (a count of live receptions, 0 or 1)."""
|
|
55
|
+
|
|
56
|
+
matched: int
|
|
57
|
+
modified: int
|
|
58
|
+
|
|
59
|
+
|
|
42
60
|
class ReceptionRepository(Protocol):
|
|
43
61
|
async def list_live(self, company_id: StrObjectId) -> List[Recepcion]:
|
|
44
62
|
"""The company's receptions without `deleted_at`, through the cache (one when all is well)."""
|
|
@@ -80,3 +98,16 @@ class ReceptionRepository(Protocol):
|
|
|
80
98
|
`retired_account_id` the block that is removed (None: none). The cache of the item and the lists is cleared
|
|
81
99
|
after it: a failed clear is NOT swallowed (as in `main`)."""
|
|
82
100
|
...
|
|
101
|
+
|
|
102
|
+
async def flow_states(self, company_id: StrObjectId, *, max_time_ms: int) -> Optional[StoredFlowStates]:
|
|
103
|
+
"""The company's live reception's stored flow states (`atencion_estado` of the base and of each account block),
|
|
104
|
+
read from the store and not from the cache, with a time limit; None when the company has no live reception."""
|
|
105
|
+
...
|
|
106
|
+
|
|
107
|
+
async def set_flow_state(self, company_id: StrObjectId, state: str, *, account_id: Optional[str] = None,
|
|
108
|
+
only_if_missing: bool = False) -> FlowStateWrite:
|
|
109
|
+
"""Writes the flow's state (`atencion_estado`) of the base, or of the block of `account_id` (an account that is not
|
|
110
|
+
the default's), in ONE write on the company's live reception. `only_if_missing` writes only when the base has no
|
|
111
|
+
state yet (never over a stored one). It does not touch the item cache: the model does not carry the field. It does
|
|
112
|
+
not create the reception: no live reception, nothing matched."""
|
|
113
|
+
...
|
|
@@ -4,9 +4,10 @@ from .classification_request_repository import MongoClassificationRequestReposit
|
|
|
4
4
|
from .entry_repository import MongoEntryRepository
|
|
5
5
|
from .migration_repository import MongoAttentionMigrationRepository
|
|
6
6
|
from .pending_entry_repository import MongoPendingEntryRepository
|
|
7
|
+
from .pending_notice_repository import MongoPendingNoticeRepository
|
|
7
8
|
from .suggestion_repository import MongoReasonSuggestionRepository
|
|
8
9
|
from .reason_repository import MongoReasonRepository
|
|
9
10
|
from .reception_repository import MongoReceptionRepository
|
|
10
11
|
|
|
11
12
|
__all__ = ["MongoReasonSuggestionRepository", "MongoAttentionInChatRepository", "MongoAttentionMigrationRepository", "MongoCapacityRepository", "MongoClassificationRequestRepository",
|
|
12
|
-
"MongoEntryRepository", "MongoPendingEntryRepository", "MongoReasonRepository", "MongoReceptionRepository"]
|
|
13
|
+
"MongoEntryRepository", "MongoPendingEntryRepository", "MongoPendingNoticeRepository", "MongoReasonRepository", "MongoReceptionRepository"]
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"""`PendingNoticeRepository` on `ausencia_pendiente`: the same operations that `AvisosPendientes` of api-chatty ran
|
|
2
|
+
(`company/analytics/source_analyzer/source_automation_executor/ausencia_con_ia.py`): an upsert `$set` by `_id` (the
|
|
3
|
+
chat's id), a `find_one` projected to `opcion` and an atomic `find_one_and_delete` by `_id`, `opcion` and a valid
|
|
4
|
+
`vence_at`. The TTL index on `vence_at` is created by api-chatty (`Database/indexes/ausencia_pendiente_indexes.py`).
|
|
5
|
+
|
|
6
|
+
The stored form lives only here: what taking answers is turned into the domain's `PendingNotice`
|
|
7
|
+
(`pending_notice_from_stored`)."""
|
|
8
|
+
from __future__ import annotations
|
|
9
|
+
|
|
10
|
+
from datetime import datetime, timezone
|
|
11
|
+
from typing import Any, Dict, Optional
|
|
12
|
+
|
|
13
|
+
from ...domain.attention.pending_notices import PendingNotice
|
|
14
|
+
|
|
15
|
+
COLLECTION = "ausencia_pendiente"
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
def _utc(t: datetime) -> datetime:
|
|
19
|
+
return t if t.tzinfo else t.replace(tzinfo=timezone.utc)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
def pending_notice_from_stored(doc: Dict[str, Any]) -> PendingNotice:
|
|
23
|
+
"""A stored notice as the domain's."""
|
|
24
|
+
company_id = doc.get("company_id")
|
|
25
|
+
return PendingNotice(chat_id=str(doc["_id"]), company_id=None if company_id is None else str(company_id),
|
|
26
|
+
option=str(doc.get("opcion")), raw_account_id=doc.get("account_id"))
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class MongoPendingNoticeRepository:
|
|
30
|
+
"""On a Motor collection, resolved by whoever wires it."""
|
|
31
|
+
|
|
32
|
+
def __init__(self, collection):
|
|
33
|
+
self.collection = collection
|
|
34
|
+
|
|
35
|
+
async def register(self, company_id: str, *, chat_id: str, option: str, expires_at: datetime, now: datetime,
|
|
36
|
+
account_id: Optional[str] = None) -> None:
|
|
37
|
+
fields = {"company_id": str(company_id), "opcion": str(option), "vence_at": _utc(expires_at),
|
|
38
|
+
"creado_at": now}
|
|
39
|
+
if account_id:
|
|
40
|
+
fields["account_id"] = str(account_id)
|
|
41
|
+
await self.collection.update_one({"_id": str(chat_id)}, {"$set": fields}, upsert=True)
|
|
42
|
+
|
|
43
|
+
async def option(self, chat_id: str, now: datetime) -> Optional[str]:
|
|
44
|
+
doc = await self.collection.find_one({"_id": str(chat_id), "vence_at": {"$gt": now}},
|
|
45
|
+
projection={"opcion": 1})
|
|
46
|
+
return (doc or {}).get("opcion")
|
|
47
|
+
|
|
48
|
+
async def take(self, chat_id: str, option: str, now: datetime) -> Optional[PendingNotice]:
|
|
49
|
+
doc = await self.collection.find_one_and_delete(
|
|
50
|
+
{"_id": str(chat_id), "opcion": str(option), "vence_at": {"$gt": now}})
|
|
51
|
+
return None if doc is None else pending_notice_from_stored(doc)
|
|
@@ -24,3 +24,9 @@ class MongoReasonRepository(MongoCatalogByIdWithPreviews[Motivo]):
|
|
|
24
24
|
# company filter.
|
|
25
25
|
return await self.collection.get_by_query(
|
|
26
26
|
query={"company_id": str(company_id), "is_fallback": True, "deleted_at": None})
|
|
27
|
+
|
|
28
|
+
async def has_general_inquiry(self, company_id: StrObjectId, *, max_time_ms: int) -> bool:
|
|
29
|
+
found = await self.collection.collection.find_one(
|
|
30
|
+
{"company_id": str(company_id), "is_fallback": True, "deleted_at": None}, projection={"_id": 1},
|
|
31
|
+
max_time_ms=max_time_ms)
|
|
32
|
+
return found is not None
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/mongo/attention/reception_repository.py
RENAMED
|
@@ -6,7 +6,7 @@ from __future__ import annotations
|
|
|
6
6
|
|
|
7
7
|
from typing import Any, Dict, Optional, Sequence, Union
|
|
8
8
|
|
|
9
|
-
from ...domain.attention.receptions import ABSENCE_FLAGS, BLOCK_FIELDS, StoredBlocks
|
|
9
|
+
from ...domain.attention.receptions import ABSENCE_FLAGS, BLOCK_FIELDS, FlowStateWrite, StoredBlocks, StoredFlowStates
|
|
10
10
|
from ...models.company.assets.recepcion import Ausencia, Recepcion
|
|
11
11
|
from ...models.utils.types import StrObjectId
|
|
12
12
|
from ..catalog_repository import MongoCatalogById
|
|
@@ -46,6 +46,30 @@ class MongoReceptionRepository(MongoCatalogById[Recepcion]):
|
|
|
46
46
|
return StoredBlocks(reception_id=doc["_id"], base={k: doc[k] for k in fields if k in doc},
|
|
47
47
|
accounts=doc.get("account_receptions") or {})
|
|
48
48
|
|
|
49
|
+
async def flow_states(self, company_id: StrObjectId, *, max_time_ms: int) -> Optional[StoredFlowStates]:
|
|
50
|
+
doc = await self.collection.collection.find_one(
|
|
51
|
+
{"company_id": str(company_id), "deleted_at": None},
|
|
52
|
+
projection={"_id": 0, "atencion_estado": 1, "account_receptions": 1}, max_time_ms=max_time_ms)
|
|
53
|
+
if doc is None:
|
|
54
|
+
return None
|
|
55
|
+
blocks = doc.get("account_receptions")
|
|
56
|
+
accounts = {str(k): v["atencion_estado"] for k, v in blocks.items()
|
|
57
|
+
if isinstance(v, dict) and "atencion_estado" in v} if isinstance(blocks, dict) else {}
|
|
58
|
+
return StoredFlowStates(base=doc.get("atencion_estado"), accounts=accounts)
|
|
59
|
+
|
|
60
|
+
async def set_flow_state(self, company_id: StrObjectId, state: str, *, account_id: Optional[str] = None,
|
|
61
|
+
only_if_missing: bool = False) -> FlowStateWrite:
|
|
62
|
+
if account_id and (not isinstance(account_id, str) or any(c in account_id for c in ".$ \t\n/\\")):
|
|
63
|
+
# Same rule as the use case (`valid_account_id`): the id must not build another path of the document.
|
|
64
|
+
raise ValueError(f"Id de cuenta inválido: {account_id!r}")
|
|
65
|
+
field = "atencion_estado" if not account_id else f"account_receptions.{account_id}.atencion_estado"
|
|
66
|
+
query: Dict[str, Any] = {"company_id": str(company_id), "deleted_at": None}
|
|
67
|
+
if only_if_missing:
|
|
68
|
+
query["atencion_estado"] = {"$exists": False}
|
|
69
|
+
result = await self.collection.collection.update_one(query, {"$set": {field: state}})
|
|
70
|
+
return FlowStateWrite(matched=int(getattr(result, "matched_count", 0)),
|
|
71
|
+
modified=int(getattr(result, "modified_count", 0)))
|
|
72
|
+
|
|
49
73
|
async def swap_default_block(self, company_id: StrObjectId, reception_id: Any, previous_account_id: str,
|
|
50
74
|
to_previous: Dict[str, Any], to_base: Dict[str, Any],
|
|
51
75
|
retired_account_id: Optional[str]) -> None:
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/redis/attention/cached_reason_repository.py
RENAMED
|
@@ -27,3 +27,6 @@ class CachedReasonRepository(CachedCatalogByIdWithPreviews[Motivo]):
|
|
|
27
27
|
|
|
28
28
|
async def list_fallbacks(self, company_id: StrObjectId) -> List[Motivo]:
|
|
29
29
|
return await self.inner.list_fallbacks(company_id)
|
|
30
|
+
|
|
31
|
+
async def has_general_inquiry(self, company_id: StrObjectId, *, max_time_ms: int) -> bool:
|
|
32
|
+
return await self.inner.has_general_inquiry(company_id, max_time_ms=max_time_ms)
|
|
@@ -9,7 +9,7 @@ from __future__ import annotations
|
|
|
9
9
|
|
|
10
10
|
from typing import Any, Dict, Optional, Sequence, Union
|
|
11
11
|
|
|
12
|
-
from ...domain.attention.receptions import StoredBlocks
|
|
12
|
+
from ...domain.attention.receptions import FlowStateWrite, StoredBlocks, StoredFlowStates
|
|
13
13
|
from ...models.company.assets.recepcion import Ausencia, Recepcion
|
|
14
14
|
from ...models.utils.types import StrObjectId
|
|
15
15
|
from ..cached_catalog_repository import CachedCatalogById
|
|
@@ -32,6 +32,15 @@ class CachedReceptionRepository(CachedCatalogById[Recepcion]):
|
|
|
32
32
|
async def stored_blocks(self, company_id: StrObjectId, fields: Sequence[str]) -> Optional[StoredBlocks]:
|
|
33
33
|
return await self.inner.stored_blocks(company_id, fields)
|
|
34
34
|
|
|
35
|
+
async def flow_states(self, company_id: StrObjectId, *, max_time_ms: int) -> Optional[StoredFlowStates]:
|
|
36
|
+
return await self.inner.flow_states(company_id, max_time_ms=max_time_ms)
|
|
37
|
+
|
|
38
|
+
async def set_flow_state(self, company_id: StrObjectId, state: str, *, account_id: Optional[str] = None,
|
|
39
|
+
only_if_missing: bool = False) -> FlowStateWrite:
|
|
40
|
+
# No clear of the item or the lists: the model does not carry `atencion_estado`, and in `main` this write went
|
|
41
|
+
# straight to the collection (the state's own cache is api-chatty's).
|
|
42
|
+
return await self.inner.set_flow_state(company_id, state, account_id=account_id, only_if_missing=only_if_missing)
|
|
43
|
+
|
|
35
44
|
async def swap_default_block(self, company_id: StrObjectId, reception_id: Any, previous_account_id: str,
|
|
36
45
|
to_previous: Dict[str, Any], to_base: Dict[str, Any],
|
|
37
46
|
retired_account_id: Optional[str]) -> None:
|
|
@@ -40,6 +40,9 @@ from ....models.utils import MessageType, Status
|
|
|
40
40
|
from ....models.utils.types.message_types import MessageSubtype
|
|
41
41
|
from ....models.utils.types.identifier import StrObjectId
|
|
42
42
|
|
|
43
|
+
# Los estados que un «leído hasta acá» puede avanzar a `read`: no prueba nada de un `failed` ni de un `waiting`.
|
|
44
|
+
READ_UP_TO_ADVANCES = (Status.SENT, Status.DELIVERED)
|
|
45
|
+
|
|
43
46
|
logger = logging.getLogger("ChatMessagesCollection")
|
|
44
47
|
|
|
45
48
|
COLLECTION_NAME = "chat_messages"
|
|
@@ -320,6 +323,28 @@ class ChatMessagesCollection:
|
|
|
320
323
|
)
|
|
321
324
|
return result.matched_count > 0
|
|
322
325
|
|
|
326
|
+
async def mark_read_up_to(self, chat_id: StrObjectId, up_to: datetime) -> List[str]:
|
|
327
|
+
"""Marca `read` los mensajes salientes del chat con fecha hasta `up_to` (inclusive). Devuelve los ids que
|
|
328
|
+
ESTE llamador cambió.
|
|
329
|
+
|
|
330
|
+
Es la lectura de los canales que avisan «leído hasta acá» en vez de un estado por mensaje. Sólo avanzan `sent`
|
|
331
|
+
y `delivered`: un «leído hasta acá» no prueba nada de los anteriores, así que un `failed` o un `waiting` (un
|
|
332
|
+
envío que no salió o no se confirmó) quedan como están. Cada mensaje entra por el mismo `update_status`
|
|
333
|
+
condicional de siempre (`Status.supersedes`): uno que ya está `read`, o que otro escritor leyó a la vez, no se
|
|
334
|
+
cuenta ni retrocede.
|
|
335
|
+
"""
|
|
336
|
+
cutoff = _as_utc(up_to)
|
|
337
|
+
buckets = await self.collection.find({"chat_id": chat_id, "first_at": {"$lte": cutoff}}).to_list(None)
|
|
338
|
+
pending = [
|
|
339
|
+
m for m in self._messages_of(buckets)
|
|
340
|
+
if m.is_outgoing and _as_utc(m.created_at) <= cutoff and m.status in READ_UP_TO_ADVANCES
|
|
341
|
+
]
|
|
342
|
+
marked: List[str] = []
|
|
343
|
+
for message in pending:
|
|
344
|
+
if await self.update_status(chat_id, message.id, Status.READ, confirmed_by_provider=True):
|
|
345
|
+
marked.append(message.id)
|
|
346
|
+
return marked
|
|
347
|
+
|
|
323
348
|
async def set_message_fields(self, chat_id: StrObjectId, message_id: str, fields: Dict[str, Any]) -> bool:
|
|
324
349
|
"""`$set` posicional de campos del mensaje (`{"revoked": True}`, `{"content.body": ...}`)."""
|
|
325
350
|
result = await self.collection.update_one(
|
|
@@ -228,6 +228,20 @@ class ChatAssetService(AssetService[Chat, ChattyAssetPreview]):
|
|
|
228
228
|
await self.cache.delete(self._item_key(chat_id))
|
|
229
229
|
return applied
|
|
230
230
|
|
|
231
|
+
async def mark_read_up_to(self, chat_id: str, message_id: str, execution_context: ExecutionContext) -> List[str]:
|
|
232
|
+
"""«Leído hasta acá»: marca `read` los salientes del chat hasta la fecha del mensaje `message_id`
|
|
233
|
+
(inclusive) que están en `sent` o `delivered` (un `failed` o un `waiting` quedan como están), en los bloques y en
|
|
234
|
+
el resumen. Devuelve los ids que cambió; un mensaje que el chat no tiene
|
|
235
|
+
no marca nada. Despierta los workflows si cambió alguno («el cliente leyó» es una condición de copilot)."""
|
|
236
|
+
boundary = await self.messages.find_message(chat_id, message_id)
|
|
237
|
+
marked = await self.messages.mark_read_up_to(chat_id, boundary.created_at) if boundary is not None else []
|
|
238
|
+
for marked_id in marked:
|
|
239
|
+
await self._chat_collection.apply_status(chat_id, marked_id, Status.READ, None, confirmed_by_provider=True)
|
|
240
|
+
if marked:
|
|
241
|
+
await self.flow_states.mark_chat_changed(chat_id)
|
|
242
|
+
await self.cache.delete(self._item_key(chat_id))
|
|
243
|
+
return marked
|
|
244
|
+
|
|
231
245
|
async def update_message_revoked(self, chat_id: str, message_id: str, execution_context: ExecutionContext) -> None:
|
|
232
246
|
"""Marca el mensaje como borrado por quien lo mandó. El contenido se conserva."""
|
|
233
247
|
if await self.messages.set_message_fields(chat_id, message_id, {"revoked": True}):
|
|
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.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/attention_in_chat.py
RENAMED
|
File without changes
|
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/attention/classification_requests.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/automation/chat_flow_states.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
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/infra/unhandled_meta_notices.py
RENAMED
|
File without changes
|
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/coexistence_import_sync.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/template_campaigns.py
RENAMED
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/messaging/template_sync_state.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/conversions_api_sends.py
RENAMED
|
File without changes
|
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/sources/inferred_ad_templates.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.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/registration_trail.py
RENAMED
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/domain/whatsapp/unconnected_numbers.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/ai_microservices/expected_output.py
RENAMED
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/ai_microservices/lambda_events.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{letschatty-0.6.75 → letschatty-0.6.78}/src/letschatty/models/ai_microservices/openai_payloads.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
|