139 lines
6.6 KiB
PHP
139 lines
6.6 KiB
PHP
<?php
|
|
//application details
|
|
$apps[$x]['name'] = 'Call Flows';
|
|
$apps[$x]['uuid'] = 'b1b70f85-6b42-429b-8c5a-60c8b02b7d14';
|
|
$apps[$x]['category'] = '';
|
|
$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'] = '';
|
|
$apps[$x]['description']['es-mx'] = '';
|
|
$apps[$x]['description']['de-de'] = '';
|
|
$apps[$x]['description']['de-ch'] = '';
|
|
$apps[$x]['description']['de-at'] = '';
|
|
$apps[$x]['description']['fr-fr'] = '';
|
|
$apps[$x]['description']['fr-ca'] = '';
|
|
$apps[$x]['description']['fr-ch'] = '';
|
|
$apps[$x]['description']['pt-pt'] = '';
|
|
$apps[$x]['description']['pt-br'] = '';
|
|
|
|
//menu details
|
|
$apps[$x]['menu'][0]['title']['en-us'] = 'Call Flows';
|
|
$apps[$x]['menu'][0]['title']['es-mx'] = 'Flujo de Llamada';
|
|
$apps[$x]['menu'][0]['title']['de-de'] = '';
|
|
$apps[$x]['menu'][0]['title']['de-ch'] = '';
|
|
$apps[$x]['menu'][0]['title']['de-at'] = '';
|
|
$apps[$x]['menu'][0]['title']['fr-fr'] = "cinématiques d'Appel";
|
|
$apps[$x]['menu'][0]['title']['fr-ca'] = '';
|
|
$apps[$x]['menu'][0]['title']['fr-ch'] = '';
|
|
$apps[$x]['menu'][0]['title']['pt-pt'] = '';
|
|
$apps[$x]['menu'][0]['title']['pt-br'] = '';
|
|
$apps[$x]['menu'][0]['uuid'] = 'b0939384-7055-44e8-8b4c-9f72293e1878';
|
|
$apps[$x]['menu'][0]['parent_uuid'] = 'fd29e39c-c936-f5fc-8e2b-611681b266b5';
|
|
$apps[$x]['menu'][0]['category'] = 'internal';
|
|
$apps[$x]['menu'][0]['path'] = '/app/call_flows/call_flows.php';
|
|
$apps[$x]['menu'][0]['groups'][] = 'superadmin';
|
|
$apps[$x]['menu'][0]['groups'][] = 'admin';
|
|
|
|
//permission details
|
|
$y = 0;
|
|
$apps[$x]['permissions'][$y]['name'] = 'call_flow_view';
|
|
$apps[$x]['permissions'][$y]['menu']['uuid'] = 'b0939384-7055-44e8-8b4c-9f72293e1878';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = 'call_flow_add';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = 'call_flow_edit';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$y++;
|
|
$apps[$x]['permissions'][$y]['name'] = 'call_flow_delete';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'superadmin';
|
|
$apps[$x]['permissions'][$y]['groups'][] = 'admin';
|
|
$y++;
|
|
|
|
//schema details
|
|
$y = 0; //table array index
|
|
$z = 0; //field array index
|
|
$apps[$x]['db'][$y]['table'] = 'v_call_flows';
|
|
$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';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_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';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'dialplan_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]['description']['en'] = '';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['type'] = 'foreign';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['table'] = 'v_dialplans';
|
|
$apps[$x]['db'][$y]['fields'][$z]['key']['reference']['field'] = 'dialplan_uuid';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_name';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the name.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_extension';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the extension number.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_feature_code';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the feature code.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_context';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the context.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_status';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Select the status.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_pin_number';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the PIN number.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_label';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the label.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_app';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the application.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_data';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the application data.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_anti_label';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the alternate label.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_anti_app';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the alternate application.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_anti_data';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the alernate application data.';
|
|
$z++;
|
|
$apps[$x]['db'][$y]['fields'][$z]['name'] = 'call_flow_description';
|
|
$apps[$x]['db'][$y]['fields'][$z]['type'] = 'text';
|
|
$apps[$x]['db'][$y]['fields'][$z]['description']['en'] = 'Enter the description.';
|
|
$z++;
|
|
?>
|