{
    "name": "leads",
    "displayName": "Leads & CRM",
    "version": "1.0.0",
    "description": "Captura, qualificação e acompanhamento de leads.",
    "author": "Clube67",
    "category": "business",
    "enabled": true,
    "canDisable": true,
    "dependencies": [
        "core-auth",
        "partners"
    ],
    "backend": {
        "routePrefix": "/api/leads",
        "hasMigrations": true
    },
    "frontend": {
        "menuItems": [
            {
                "id": "leads-list",
                "label": "Leads",
                "icon": "UserPlus",
                "href": "/admin/leads",
                "roles": [
                    "super_admin"
                ],
                "order": 35
            },
            {
                "id": "leads-partner",
                "label": "Meus Leads",
                "icon": "UserPlus",
                "href": "/partner/leads",
                "roles": [
                    "partner_admin"
                ],
                "order": 35
            }
        ]
    },
    "hooks": {
        "subscribes": [
            "user:register"
        ],
        "emits": [
            "lead:created",
            "lead:converted",
            "lead:lost"
        ]
    }
}
