118 lines
5.5 KiB
PHP
118 lines
5.5 KiB
PHP
<?php
|
|
//application details
|
|
$apps[$x]['name'] = "Recordings";
|
|
$apps[$x]['uuid'] = '83913217-c7a2-9e90-925d-a866eb40b60e';
|
|
$apps[$x]['category'] = 'Switch';;
|
|
$apps[$x]['subcategory'] = '';
|
|
$apps[$x]['version'] = '';
|
|
$apps[$x]['license'] = 'Mozilla Public License 1.1';
|
|
$apps[$x]['url'] = 'http://www.fusionpbx.com';
|
|
$apps[$x]['description']['en-us'] = 'Manager recordings primarily used with an IVR.';
|
|
$apps[$x]['description']['es-mx'] = '';
|
|
$apps[$x]['description']['de'] = '';
|
|
$apps[$x]['description']['de-ch'] = '';
|
|
$apps[$x]['description']['de-at'] = '';
|
|
$apps[$x]['description']['fr'] = '';
|
|
$apps[$x]['description']['fr-ca'] = '';
|
|
$apps[$x]['description']['fr-ch'] = '';
|
|
$apps[$x]['description']['pt-pt'] = 'Gestor de gravações utilizadas principalmente com um IVR.';
|
|
$apps[$x]['description']['pt-br'] = '';
|
|
|
|
//menu details
|
|
$apps[$x]['menu'][0]['title']['en-us'] = 'Recordings';
|
|
$apps[$x]['menu'][0]['title']['es-mx'] = '';
|
|
$apps[$x]['menu'][0]['title']['de'] = '';
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = '';
|
|
$apps[$x]['menu'][0]['title']['de-at'] = '';
|
|
$apps[$x]['menu'][0]['title']['fr'] = '';
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = '';
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = 'Gravações';
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = '';
|
|
$apps[$x]['menu'][0]['uuid'] = 'e4290fd2-3ccc-a758-1714-660d38453104';
|
|
$apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
$apps[$x]['menu'][0]['path'] = '/app/recordings/recordings.php';
|
|
$apps[$x]['menu'][0]['groups'][] = 'admin';
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
|
|
//permission details
|
|
$apps[$x]['permissions'][0]['name'] = 'recordings_view';
|
|
$apps[$x]['permissions'][0]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][0]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][1]['name'] = 'recordings_add';
|
|
$apps[$x]['permissions'][1]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][1]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][2]['name'] = 'recordings_edit';
|
|
$apps[$x]['permissions'][2]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][2]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][3]['name'] = 'recordings_delete';
|
|
$apps[$x]['permissions'][3]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][3]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][4]['name'] = 'recordings_upload';
|
|
$apps[$x]['permissions'][4]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][4]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][5]['name'] = 'recordings_play';
|
|
$apps[$x]['permissions'][5]['groups'][] = 'user';
|
|
$apps[$x]['permissions'][5]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][5]['groups'][] = 'superadmin';
|
|
|
|
$apps[$x]['permissions'][6]['name'] = 'recordings_download';
|
|
$apps[$x]['permissions'][6]['groups'][] = 'user';
|
|
$apps[$x]['permissions'][6]['groups'][] = 'admin';
|
|
$apps[$x]['permissions'][6]['groups'][] = 'superadmin';
|
|
|
|
//schema details
|
|
$y = 0; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = 'v_recordings';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'id';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'recording_id';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'serial';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'integer';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'INT NOT NULL AUTO_INCREMENT';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'recording_uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'primary';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'domain_uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['pgsql'] = 'uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = 'char(36)';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_domains';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'domain_uuid';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'v_id';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
$apps[$x]['db'][$y]['fields'][$z]['deprecated'] = 'true';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'recording_filename';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'filename';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'recording_name';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'recordingname';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['text'] = 'recording_description';
|
|
$apps[$x]['db'][$y]['fields'][$z]['name']['deprecated'] = 'descr';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = '';
|
|
|
|
?>
|