Built motion from commit 42801a18.|2.6.28
[motion2.git] / server / api / voiceMail / voiceMail.attributes.js
index 46588de..b0bba42 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xad5c=['central','ENUM','yes','TINYINT(4)','TIMESTAMP','INTEGER','VIRTUAL','getDataValue','fullname','\x20-\x20','mailbox','exports','STRING','from-voicemail','contest_mailbox','setDataValue','email','string','trim'];(function(_0x321bb2,_0x202794){var _0x9c12ed=function(_0x263dd3){while(--_0x263dd3){_0x321bb2['push'](_0x321bb2['shift']());}};_0x9c12ed(++_0x202794);}(_0xad5c,0xef));var _0xcad5=function(_0x5e8406,_0x179ea2){_0x5e8406=_0x5e8406-0x0;var _0x516ca2=_0xad5c[_0x5e8406];return _0x516ca2;};'use strict';var Sequelize=require('sequelize');module[_0xcad5('0x0')]={'customer_id':{'type':Sequelize[_0xcad5('0x1')]},'context':{'type':Sequelize['STRING'],'defaultValue':_0xcad5('0x2'),'unique':_0xcad5('0x3')},'mailbox':{'type':Sequelize[_0xcad5('0x1')],'defaultValue':'','allowNull':![],'unique':_0xcad5('0x3')},'password':{'type':Sequelize[_0xcad5('0x1')]},'fullname':{'type':Sequelize[_0xcad5('0x1')]},'email':{'type':Sequelize[_0xcad5('0x1')],'validate':{'isEmail':!![]},'set':function(_0x4ee82e){this[_0xcad5('0x4')](_0xcad5('0x5'),typeof _0x4ee82e===_0xcad5('0x6')&&_0x4ee82e[_0xcad5('0x7')]()?_0x4ee82e[_0xcad5('0x7')]():null);}},'pager':{'type':Sequelize[_0xcad5('0x1')]},'tz':{'type':Sequelize[_0xcad5('0x1')],'defaultValue':_0xcad5('0x8')},'attach':{'type':Sequelize[_0xcad5('0x9')]('yes','no'),'defaultValue':_0xcad5('0xa'),'allowNull':![]},'saycid':{'type':Sequelize[_0xcad5('0x9')](_0xcad5('0xa'),'no'),'defaultValue':_0xcad5('0xa'),'allowNull':![]},'dialout':{'type':Sequelize['STRING']},'callback':{'type':Sequelize[_0xcad5('0x1')]},'review':{'type':Sequelize[_0xcad5('0x9')](_0xcad5('0xa'),'no'),'defaultValue':'no','allowNull':![]},'operator':{'type':Sequelize[_0xcad5('0x9')](_0xcad5('0xa'),'no'),'defaultValue':'no','allowNull':![]},'envelope':{'type':Sequelize[_0xcad5('0x9')](_0xcad5('0xa'),'no'),'defaultValue':'no','allowNull':![]},'sayduration':{'type':Sequelize['ENUM'](_0xcad5('0xa'),'no'),'defaultValue':'no','allowNull':![]},'saydurationm':{'type':_0xcad5('0xb'),'defaultValue':0x1,'allowNull':![]},'sendvoicemail':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no','allowNull':![]},'delete':{'type':Sequelize[_0xcad5('0x9')](_0xcad5('0xa'),'no'),'defaultValue':'no','allowNull':![]},'nextaftercmd':{'type':Sequelize['ENUM'](_0xcad5('0xa'),'no'),'defaultValue':'yes','allowNull':![]},'forcename':{'type':Sequelize[_0xcad5('0x9')](_0xcad5('0xa'),'no'),'defaultValue':'no','allowNull':![]},'forcegreetings':{'type':Sequelize['ENUM'](_0xcad5('0xa'),'no'),'defaultValue':'no','allowNull':![]},'hidefromdir':{'type':Sequelize['ENUM'](_0xcad5('0xa'),'no'),'defaultValue':'yes','allowNull':![]},'stamp':{'type':_0xcad5('0xc')},'emailsubject':{'type':Sequelize[_0xcad5('0x1')]},'emailbody':{'type':Sequelize[_0xcad5('0x1')]},'maxsecs':{'type':Sequelize[_0xcad5('0xd')](0xff),'defaultValue':0xb4,'allowNull':![]},'maxmsg':{'type':Sequelize[_0xcad5('0xd')](0xff),'defaultValue':0x64,'allowNull':![]},'name':{'type':Sequelize[_0xcad5('0xe')],'get':function(){return this[_0xcad5('0xf')](_0xcad5('0x10'))+_0xcad5('0x11')+this[_0xcad5('0xf')](_0xcad5('0x12'));}}};
\ No newline at end of file
+var _0x4039=['exports','STRING','from-voicemail','contest_mailbox','setDataValue','email','central','ENUM','yes','TIMESTAMP','INTEGER','VIRTUAL','getDataValue','\x20-\x20','mailbox','sequelize'];(function(_0x3631bd,_0x3b23c7){var _0x44c442=function(_0x507752){while(--_0x507752){_0x3631bd['push'](_0x3631bd['shift']());}};_0x44c442(++_0x3b23c7);}(_0x4039,0x14f));var _0x9403=function(_0x18abd2,_0x22d4b3){_0x18abd2=_0x18abd2-0x0;var _0x1dcad6=_0x4039[_0x18abd2];return _0x1dcad6;};'use strict';var Sequelize=require(_0x9403('0x0'));module[_0x9403('0x1')]={'customer_id':{'type':Sequelize[_0x9403('0x2')]},'context':{'type':Sequelize[_0x9403('0x2')],'defaultValue':_0x9403('0x3'),'unique':_0x9403('0x4')},'mailbox':{'type':Sequelize[_0x9403('0x2')],'defaultValue':'','allowNull':![],'unique':_0x9403('0x4')},'password':{'type':Sequelize['STRING']},'fullname':{'type':Sequelize[_0x9403('0x2')]},'email':{'type':Sequelize[_0x9403('0x2')],'validate':{'isEmail':!![]},'set':function(_0x3cf953){this[_0x9403('0x5')](_0x9403('0x6'),typeof _0x3cf953==='string'&&_0x3cf953['trim']()?_0x3cf953['trim']():null);}},'pager':{'type':Sequelize[_0x9403('0x2')]},'tz':{'type':Sequelize[_0x9403('0x2')],'defaultValue':_0x9403('0x7')},'attach':{'type':Sequelize[_0x9403('0x8')](_0x9403('0x9'),'no'),'defaultValue':'yes','allowNull':![]},'saycid':{'type':Sequelize['ENUM'](_0x9403('0x9'),'no'),'defaultValue':'yes','allowNull':![]},'dialout':{'type':Sequelize['STRING']},'callback':{'type':Sequelize[_0x9403('0x2')]},'review':{'type':Sequelize[_0x9403('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'operator':{'type':Sequelize['ENUM'](_0x9403('0x9'),'no'),'defaultValue':'no','allowNull':![]},'envelope':{'type':Sequelize[_0x9403('0x8')](_0x9403('0x9'),'no'),'defaultValue':'no','allowNull':![]},'sayduration':{'type':Sequelize[_0x9403('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'saydurationm':{'type':'TINYINT(4)','defaultValue':0x1,'allowNull':![]},'sendvoicemail':{'type':Sequelize[_0x9403('0x8')](_0x9403('0x9'),'no'),'defaultValue':'no','allowNull':![]},'delete':{'type':Sequelize[_0x9403('0x8')](_0x9403('0x9'),'no'),'defaultValue':'no','allowNull':![]},'nextaftercmd':{'type':Sequelize[_0x9403('0x8')]('yes','no'),'defaultValue':_0x9403('0x9'),'allowNull':![]},'forcename':{'type':Sequelize[_0x9403('0x8')](_0x9403('0x9'),'no'),'defaultValue':'no','allowNull':![]},'forcegreetings':{'type':Sequelize['ENUM'](_0x9403('0x9'),'no'),'defaultValue':'no','allowNull':![]},'hidefromdir':{'type':Sequelize[_0x9403('0x8')]('yes','no'),'defaultValue':_0x9403('0x9'),'allowNull':![]},'stamp':{'type':_0x9403('0xa')},'emailsubject':{'type':Sequelize['STRING']},'emailbody':{'type':Sequelize['STRING']},'maxsecs':{'type':Sequelize[_0x9403('0xb')](0xff),'defaultValue':0xb4,'allowNull':![]},'maxmsg':{'type':Sequelize[_0x9403('0xb')](0xff),'defaultValue':0x64,'allowNull':![]},'name':{'type':Sequelize[_0x9403('0xc')],'get':function(){return this[_0x9403('0xd')]('fullname')+_0x9403('0xe')+this[_0x9403('0xd')](_0x9403('0xf'));}}};
\ No newline at end of file