Built motion from commit 9d0783e6.|2.6.13
[motion2.git] / server / api / voiceExtension / voiceExtension.attributes.js
index 76b2300..b42c094 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x912f=['wav','getDataValue','compositeIndex','STRING','NoOp','ENUM','inbound','inbound-fax','outbound-fax','system','INTEGER','BOOLEAN'];(function(_0x54605a,_0xc67e48){var _0x48429f=function(_0xa059cf){while(--_0xa059cf){_0x54605a['push'](_0x54605a['shift']());}};_0x48429f(++_0xc67e48);}(_0x912f,0x122));var _0xf912=function(_0x184ebd,_0x1a5a66){_0x184ebd=_0x184ebd-0x0;var _0x1b3dfe=_0x912f[_0x184ebd];return _0x1b3dfe;};'use strict';var Sequelize=require('sequelize');module['exports']={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xf912('0x0'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xf912('0x0')},'priority':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'1','unique':_0xf912('0x0')},'tag':{'type':Sequelize[_0xf912('0x1')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xf912('0x1')],'allowNull':![],'defaultValue':_0xf912('0x2')},'appdata':{'type':Sequelize[_0xf912('0x1')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xf912('0x3')](_0xf912('0x4'),'outbound','internal',_0xf912('0x5'),_0xf912('0x6'),_0xf912('0x7'),'any'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0xf912('0x1')],'allowNull':![],'defaultValue':'*,*,*,*'},'IntervalId':{'type':Sequelize[_0xf912('0x8')]},'isApp':{'type':Sequelize[_0xf912('0x9')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xf912('0x1')],'defaultValue':null},'callerID':{'type':Sequelize['STRING'],'allowNull':!![]},'record':{'type':Sequelize[_0xf912('0x9')],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize[_0xf912('0x1')],'defaultValue':_0xf912('0xa')},'answer':{'type':Sequelize[_0xf912('0x9')],'defaultValue':!![]},'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x29bdaa){return this[_0xf912('0xb')]('exten');}},'alias':{'type':Sequelize[_0xf912('0x1')],'allowNull':!![]}};
\ No newline at end of file
+var _0x112a=['internal','inbound-fax','outbound-fax','system','any','INTEGER','BOOLEAN','wav','VIRTUAL','getDataValue','exten','STRING','compositeIndex','NoOp','ENUM','inbound','outbound'];(function(_0x26fafd,_0x4bf302){var _0x4b1f9b=function(_0x3f5a58){while(--_0x3f5a58){_0x26fafd['push'](_0x26fafd['shift']());}};_0x4b1f9b(++_0x4bf302);}(_0x112a,0xd7));var _0xa112=function(_0x5e8c20,_0x255ef1){_0x5e8c20=_0x5e8c20-0x0;var _0x328ddd=_0x112a[_0x5e8c20];return _0x328ddd;};'use strict';var Sequelize=require('sequelize');module['exports']={'context':{'type':Sequelize[_0xa112('0x0')],'allowNull':![],'unique':_0xa112('0x1'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0xa112('0x0')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0xa112('0x0')],'allowNull':![],'defaultValue':'1','unique':'compositeIndex'},'tag':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xa112('0x0')],'allowNull':![],'defaultValue':_0xa112('0x2')},'appdata':{'type':Sequelize[_0xa112('0x0')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize[_0xa112('0x3')](_0xa112('0x4'),_0xa112('0x5'),_0xa112('0x6'),_0xa112('0x7'),_0xa112('0x8'),_0xa112('0x9'),_0xa112('0xa')),'allowNull':![]},'description':{'type':Sequelize[_0xa112('0x0')]},'interval':{'type':Sequelize[_0xa112('0x0')],'allowNull':![],'defaultValue':'*,*,*,*'},'IntervalId':{'type':Sequelize[_0xa112('0xb')]},'isApp':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize['STRING'],'defaultValue':null},'callerID':{'type':Sequelize['STRING'],'allowNull':!![]},'record':{'type':Sequelize[_0xa112('0xc')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xa112('0xb')]},'recordingFormat':{'type':Sequelize[_0xa112('0x0')],'defaultValue':_0xa112('0xd')},'answer':{'type':Sequelize[_0xa112('0xc')],'defaultValue':!![]},'name':{'type':Sequelize[_0xa112('0xe')],'get':function(_0x1332d6){return this[_0xa112('0xf')](_0xa112('0x10'));}},'alias':{'type':Sequelize[_0xa112('0x0')],'allowNull':!![]}};
\ No newline at end of file