"""Module manifest — see core/modules/model.py and APPS_PLATFORM §4.""" from core.modules.model import Module, Mount, Perm, SettingDef MODULE = Module( key='caller_id', kind='integration', name='Caller ID', description="Incoming phone calls from the venue's phone system (Grandstream UCM): who is calling, with their last orders.", permissions=( Perm('caller_id.use', 'See incoming calls', roles=('owner', 'store_manager', 'staff_manager')), ), settings=( SettingDef('caller_id.secret', '', 'Optional shared secret for the phone system webhook: when set, the UCM Action URL must add &key=. Plan step 3.5.', type='str'), ), routers=( Mount('routers.phone', '/api/phone'), ), )