-
Notifications
You must be signed in to change notification settings - Fork 10
/
Copy pathmodule.xml
89 lines (89 loc) · 3.78 KB
/
module.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<module>
<rawname>api</rawname>
<repo>standard</repo>
<name>PBX API</name>
<version>17.0.1.7</version>
<publisher>Sangoma Technologies Corporation</publisher>
<license>AGPLv3+</license>
<licenselink>http://www.gnu.org/licenses/gpl-3.0.txt</licenselink>
<category>Connectivity</category>
<menuitems>
<api>API</api>
</menuitems>
<changelog>
*17.0.1.7* bump
*17.0.1alpha* 17.0.1 alpha release
</changelog>
<description>The API module allows administrators to configure and manage FreePBX remotely through automated. As an administrator you can use other languages to control your PBX systems.</description>
<more-info>https://sangomakb.atlassian.net/wiki/spaces/FP/pages/10289746/PBX+API</more-info>
<depends>
<module>pm2 ge 17.0.1</module>
</depends>
<hooks>
<framework class="Chown" namespace="FreePBX\Console\Command">
<method callingMethod="fwcChownFiles" class="Api" namespace="FreePBX\modules">chownFreepbx</method>
</framework>
</hooks>
<database>
<table name="api_applications">
<field name="id" type="integer" unsigned="true" primarykey="true" autoincrement="true"/>
<field name="owner" type="integer" notnull="false"/>
<field name="name" type="string" length="50" default=""/>
<field name="description" type="text" notnull="false"/>
<field name="grant_type" type="string" length="20" default=""/>
<field name="client_id" type="string" length="128" default=""/>
<field name="client_secret" type="string" length="64" notnull="false"/>
<field name="redirect_uri" type="string" length="150" notnull="false"/>
<field name="website" type="string" length="150" notnull="false"/>
<field name="algo" type="string" length="10" notnull="false"/>
<field name="allowed_scopes" type="text" notnull="false"/>
<key name="client_id" type="unique">
<column name="client_id"/>
</key>
</table>
<table name="api_access_tokens">
<field name="token" type="string" length="80" default="" primarykey="true"/>
<field name="aid" type="integer" unsigned="true"/>
<field name="expiry" type="integer"/>
<field name="scopes" type="blob"/>
<field name="uid" type="integer" notnull="false"/>
<field name="ip_address" type="string" length="80" default=""/>
<field name="last_accessed" type="integer"/>
</table>
<table name="api_auth_codes">
<field name="code" type="string" length="80" default="" primarykey="true"/>
<field name="aid" type="integer" unsigned="true"/>
<field name="expiry" type="integer"/>
<field name="scopes" type="blob"/>
<field name="uid" type="integer" notnull="false"/>
<field name="ip_address" type="string" length="80" default=""/>
<field name="last_accessed" type="integer"/>
</table>
<table name="api_refresh_tokens">
<field name="token" type="string" length="80" default="" primarykey="true"/>
<field name="access_token" type="string" length="80" default=""/>
<field name="expiry" type="integer"/>
<field name="ip_address" type="string" length="80" default=""/>
<field name="last_accessed" type="integer"/>
</table>
<table name="api_asynchronous_transaction_history">
<field name="txn_id" type="integer" unsigned="true" autoincrement="true" primarykey="true"/>
<field name="module_name" type="string" length="80" default=""/>
<field name="event_name" type="string" length="80" default=""/>
<field name="event_status" type="string" length="10" default="Processing"/>
<field name="failure_reason" type="string" length="255" default=""/>
<field name="process_start_time" type="integer"/>
<field name="process_end_time" type="integer" notnull="false"/>
<field name="event_output" type="string" length="255" default=""/>
</table>
</database>
<supported>
<version>17.0</version>
</supported>
<console>
<command>
<name>api</name>
<class>Api</class>
</command>
</console>
</module>