Built motion from commit 37e1ed56.|2.6.29
[motion2.git] / server / api / voiceExtension / voiceExtension.attributes.js
index 68aedec..5ee609c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbd5c=['*,*,*,*','INTEGER','BOOLEAN','VIRTUAL','exten','sequelize','exports','compositeIndex','STRING','NoOp','internal','inbound-fax','outbound-fax','any'];(function(_0xc37557,_0x4db6fb){var _0x132210=function(_0x3f746d){while(--_0x3f746d){_0xc37557['push'](_0xc37557['shift']());}};_0x132210(++_0x4db6fb);}(_0xbd5c,0x1e1));var _0xcbd5=function(_0x4b1074,_0x303b2a){_0x4b1074=_0x4b1074-0x0;var _0x500719=_0xbd5c[_0x4b1074];return _0x500719;};'use strict';var Sequelize=require(_0xcbd5('0x0'));module[_0xcbd5('0x1')]={'context':{'type':Sequelize['STRING'],'allowNull':![],'unique':_0xcbd5('0x2'),'validate':{'notEmpty':!![],'is':/[A-Za-z0-9._\+*!\-\[\]]+$/i}},'exten':{'type':Sequelize[_0xcbd5('0x3')],'allowNull':![],'unique':'compositeIndex'},'priority':{'type':Sequelize[_0xcbd5('0x3')],'allowNull':![],'defaultValue':'1','unique':_0xcbd5('0x2')},'tag':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'--'},'app':{'type':Sequelize[_0xcbd5('0x3')],'allowNull':![],'defaultValue':_0xcbd5('0x4')},'appdata':{'type':Sequelize[_0xcbd5('0x3')](0x1000),'allowNull':!![],'defaultValue':''},'type':{'type':Sequelize['ENUM']('inbound','outbound',_0xcbd5('0x5'),_0xcbd5('0x6'),_0xcbd5('0x7'),'system',_0xcbd5('0x8')),'allowNull':![]},'description':{'type':Sequelize['STRING']},'interval':{'type':Sequelize[_0xcbd5('0x3')],'allowNull':![],'defaultValue':_0xcbd5('0x9')},'IntervalId':{'type':Sequelize[_0xcbd5('0xa')]},'isApp':{'type':Sequelize[_0xcbd5('0xb')],'allowNull':![],'defaultValue':![]},'appType':{'type':Sequelize[_0xcbd5('0x3')],'defaultValue':null},'callerID':{'type':Sequelize['STRING'],'allowNull':!![]},'record':{'type':Sequelize[_0xcbd5('0xb')],'defaultValue':![]},'cutdigits':{'type':Sequelize['INTEGER']},'recordingFormat':{'type':Sequelize[_0xcbd5('0x3')],'defaultValue':'wav'},'answer':{'type':Sequelize[_0xcbd5('0xb')],'defaultValue':!![]},'name':{'type':Sequelize[_0xcbd5('0xc')],'get':function(_0x43667a){return this['getDataValue'](_0xcbd5('0xd'));}},'alias':{'type':Sequelize['STRING'],'allowNull':!![]}};
\ No newline at end of file
+var _0xa9e0=['*,*,*,*','INTEGER','BOOLEAN','VIRTUAL','getDataValue','exten','sequelize','exports','STRING','compositeIndex','NoOp','inbound','outbound','internal','system'];(function(_0x3ba938,_0x27414d){var _0x2aabff=function(_0x10709c){while(--_0x10709c){_0x3ba938['push'](_0x3ba938['shift']());}};_0x2aabff(++_0x27414d);}(_0xa9e0,0x123));var _0x0a9e=function(_0x1cfa0d,_0x4391f2){_0x1cfa0d=_0x1cfa0d-0x0;var _0xe33279=_0xa9e0[_0x1cfa0d];return _0xe33279;};'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(){return this[_0x0a9e('0xd')](_0x0a9e('0xe'));}}};
\ No newline at end of file