# -*- coding: utf-8 -*-
# Copyright 2026 Nexa Systems Inc.
# License OPL-1 (Odoo Proprietary License v1.0)

{
    'name': 'Fusion Connect',
    'version': '19.0.1.0.0',
    'category': 'Productivity/Phone',
    'summary': 'Embedded RingCentral phone, click-to-dial, call history, recordings, transcripts, and analytics.',
    'description': """
        Fusion RingCentral
        ==================

        Comprehensive RingCentral integration for Odoo 19.

        Features:
        ---------
        * Embedded RingCentral softphone widget
        * Click-to-dial from any phone field
        * System tray presence indicator
        * OAuth 2.0 authentication with automatic token refresh
        * Call history with automatic contact linking
        * Call recordings with authenticated proxy playback
        * AI-powered call transcripts via RingSense
        * Webhook subscriptions for real-time call events
        * KPI dashboard with graphs and pivot tables
        * Background call history sync via cron

        Copyright 2026 Nexa Systems Inc. All rights reserved.
    """,
    'author': 'Nexa Systems Inc.',
    'website': 'https://www.nexasystems.ca',
    'license': 'OPL-1',
    'depends': [
        'base',
        'mail',
        'contacts',
        'account',
        'sale_management',
        'fusion_faxes',
    ],
    'external_dependencies': {
        'python': ['requests'],
    },
    'data': [
        'security/security.xml',
        'security/ir.model.access.csv',
        'data/ir_sequence_data.xml',
        'data/ir_cron_data.xml',
        'views/rc_config_views.xml',
        'views/rc_call_history_views.xml',
        'views/rc_call_dashboard_views.xml',
        'views/rc_fax_menus.xml',
        'views/fusion_fax_views.xml',
        'views/rc_voicemail_views.xml',
        'views/res_config_settings_views.xml',
        'views/res_partner_views.xml',
    ],
    'assets': {
        'web.assets_backend': [
            'fusion_ringcentral/static/src/xml/rc_systray.xml',
            'fusion_ringcentral/static/src/js/rc_phone_widget.js',
            'fusion_ringcentral/static/src/js/rc_click_to_dial.js',
            'fusion_ringcentral/static/src/js/rc_systray.js',
        ],
    },
    'installable': True,
    'auto_install': False,
    'application': True,
}
