Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / voiceExtension / voiceExtension.attributes.js
index 5406bec..8baa75a 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa9e0=['*,*,*,*','INTEGER','BOOLEAN','VIRTUAL','getDataValue','exten','sequelize','exports','STRING','compositeIndex','NoOp','inbound','outbound','internal','system'];(function(_0x43423c,_0x213dbf){var _0x23e730=function(_0x4b593d){while(--_0x4b593d){_0x43423c['push'](_0x43423c['shift']());}};_0x23e730(++_0x213dbf);}(_0xa9e0,0x123));var _0x0a9e=function(_0xbe200f,_0x4b50eb){_0xbe200f=_0xbe200f-0x0;var _0x192597=_0xa9e0[_0xbe200f];return _0x192597;};'use strict';var Sequelize=require(_0x0a9e('0x0'));module[_0x0a9e('0x1')]={'context':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'unique':'compositeIndex','validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0x0a9e('0x3')},'priority':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'1','unique':_0x0a9e('0x3')},'tag':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'defaultValue':_0x0a9e('0x4')},'appdata':{'type':Sequelize[_0x0a9e('0x2')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize['ENUM'](_0x0a9e('0x5'),_0x0a9e('0x6'),_0x0a9e('0x7'),'inbound-fax','outbound-fax',_0x0a9e('0x8'),'any'),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':![],'defaultValue':_0x0a9e('0x9')},'IntervalId':{'type':Sequelize[_0x0a9e('0xa')]},'isApp':{'type':Sequelize[_0x0a9e('0xb')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0x0a9e('0x2')],'defaultValue':null},'callerID':{'type':Sequelize[_0x0a9e('0x2')],'allowNull':!![]},'record':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':'wav'},'answer':{'type':Sequelize[_0x0a9e('0xb')],'defaultValue':!![]},'name':{'type':Sequelize[_0x0a9e('0xc')],'get':function(_0xd5b662){return this[_0x0a9e('0xd')](_0x0a9e('0xe'));}}};
\ No newline at end of file
+var _0x757a=['compositeIndex','NoOp','inbound','outbound','inbound-fax','outbound-fax','system','any','*,*,*,*','INTEGER','BOOLEAN','getDataValue','exports','STRING'];(function(_0x4e0060,_0x35e761){var _0x48be55=function(_0xf6aeb3){while(--_0xf6aeb3){_0x4e0060['push'](_0x4e0060['shift']());}};_0x48be55(++_0x35e761);}(_0x757a,0xde));var _0xa757=function(_0x3fc9d7,_0x451317){_0x3fc9d7=_0x3fc9d7-0x0;var _0x4e0aeb=_0x757a[_0x3fc9d7];return _0x4e0aeb;};'use strict';var Sequelize=require('sequelize');module[_0xa757('0x0')]={'context':{'type':Sequelize[_0xa757('0x1')],'allowNull':![],'unique':'compositeIndex','validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize['STRING'],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0xa757('0x1')],'allowNull':![],'defaultValue':'1','unique':_0xa757('0x2')},'tag':{'type':Sequelize[_0xa757('0x1')],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xa757('0x1')],'allowNull':![],'defaultValue':_0xa757('0x3')},'appdata':{'type':Sequelize[_0xa757('0x1')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize['ENUM'](_0xa757('0x4'),_0xa757('0x5'),'internal',_0xa757('0x6'),_0xa757('0x7'),_0xa757('0x8'),_0xa757('0x9')),'allowNull':![]},'description':{'type':Sequelize[_0xa757('0x1')]},'interval':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xa757('0xa')},'IntervalId':{'type':Sequelize[_0xa757('0xb')]},'isApp':{'type':Sequelize[_0xa757('0xc')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xa757('0x1')],'defaultValue':null},'callerID':{'type':Sequelize[_0xa757('0x1')],'allowNull':!![]},'record':{'type':Sequelize[_0xa757('0xc')],'defaultValue':![]},'cutdigits':{'type':Sequelize[_0xa757('0xb')]},'recordingFormat':{'type':Sequelize['STRING'],'defaultValue':'wav'},'answer':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]},'name':{'type':Sequelize['VIRTUAL'],'get':function(_0x4db68e){return this[_0xa757('0xd')]('exten');}}};
\ No newline at end of file