Add voxtelesys_integration/hooks.py
This commit is contained in:
parent
4d68c0e47b
commit
f62ae072d9
1 changed files with 31 additions and 0 deletions
31
voxtelesys_integration/hooks.py
Normal file
31
voxtelesys_integration/hooks.py
Normal file
|
|
@ -0,0 +1,31 @@
|
||||||
|
from . import __version__ as app_version
|
||||||
|
|
||||||
|
app_name = "voxtelesys_integration"
|
||||||
|
app_title = "Voxtelesys Integration"
|
||||||
|
app_publisher = "Broadcast Management Group"
|
||||||
|
app_description = "Voxtelesys Voice API integration for ERPNext Helpdesk telephony"
|
||||||
|
app_email = "it@broadcastmgmt.com"
|
||||||
|
app_license = "MIT"
|
||||||
|
|
||||||
|
# Assets loaded on every ERPNext page
|
||||||
|
app_include_js = "assets/voxtelesys_integration/js/voxtelesys_call_popup.js"
|
||||||
|
app_include_css = "assets/voxtelesys_integration/css/voxtelesys_call_popup.css"
|
||||||
|
|
||||||
|
# Boot hook
|
||||||
|
boot_session = "voxtelesys_integration.api.voxtelesys.boot_session"
|
||||||
|
|
||||||
|
# Scheduled tasks
|
||||||
|
scheduler_events = {
|
||||||
|
"cron": {
|
||||||
|
"*/10 * * * *": [
|
||||||
|
"voxtelesys_integration.api.voxtelesys.sync_pending_call_logs",
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
# Timeline integration
|
||||||
|
additional_timeline_content = {
|
||||||
|
"*": [
|
||||||
|
"voxtelesys_integration.api.voxtelesys.get_linked_call_logs"
|
||||||
|
]
|
||||||
|
}
|
||||||
Loading…
Reference in a new issue