Built motion from commit c738b9ac.|2.6.25
[motion2.git] / server / api / voiceMail / voiceMail.attributes.js
index 5ece40f..a56101c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc48b=['mailbox','sequelize','STRING','from-voicemail','contest_mailbox','setDataValue','string','trim','central','ENUM','yes','TIMESTAMP','INTEGER','getDataValue','fullname'];(function(_0x1cb9ab,_0x2efaf7){var _0x480bf8=function(_0x5f3dc1){while(--_0x5f3dc1){_0x1cb9ab['push'](_0x1cb9ab['shift']());}};_0x480bf8(++_0x2efaf7);}(_0xc48b,0x88));var _0xbc48=function(_0x1c3331,_0x49ecd7){_0x1c3331=_0x1c3331-0x0;var _0x4a2b9f=_0xc48b[_0x1c3331];return _0x4a2b9f;};'use strict';var Sequelize=require(_0xbc48('0x0'));module['exports']={'customer_id':{'type':Sequelize[_0xbc48('0x1')]},'context':{'type':Sequelize[_0xbc48('0x1')],'defaultValue':_0xbc48('0x2'),'unique':_0xbc48('0x3')},'mailbox':{'type':Sequelize[_0xbc48('0x1')],'defaultValue':'','allowNull':![],'unique':'contest_mailbox'},'password':{'type':Sequelize[_0xbc48('0x1')]},'fullname':{'type':Sequelize[_0xbc48('0x1')]},'email':{'type':Sequelize[_0xbc48('0x1')],'validate':{'isEmail':!![]},'set':function(_0x3847ba){this[_0xbc48('0x4')]('email',typeof _0x3847ba===_0xbc48('0x5')&&_0x3847ba[_0xbc48('0x6')]()?_0x3847ba['trim']():null);}},'pager':{'type':Sequelize['STRING']},'tz':{'type':Sequelize[_0xbc48('0x1')],'defaultValue':_0xbc48('0x7')},'attach':{'type':Sequelize[_0xbc48('0x8')]('yes','no'),'defaultValue':_0xbc48('0x9'),'allowNull':![]},'saycid':{'type':Sequelize[_0xbc48('0x8')](_0xbc48('0x9'),'no'),'defaultValue':'yes','allowNull':![]},'dialout':{'type':Sequelize[_0xbc48('0x1')]},'callback':{'type':Sequelize['STRING']},'review':{'type':Sequelize[_0xbc48('0x8')](_0xbc48('0x9'),'no'),'defaultValue':'no','allowNull':![]},'operator':{'type':Sequelize[_0xbc48('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'envelope':{'type':Sequelize[_0xbc48('0x8')](_0xbc48('0x9'),'no'),'defaultValue':'no','allowNull':![]},'sayduration':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no','allowNull':![]},'saydurationm':{'type':'TINYINT(4)','defaultValue':0x1,'allowNull':![]},'sendvoicemail':{'type':Sequelize[_0xbc48('0x8')](_0xbc48('0x9'),'no'),'defaultValue':'no','allowNull':![]},'delete':{'type':Sequelize[_0xbc48('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'nextaftercmd':{'type':Sequelize[_0xbc48('0x8')](_0xbc48('0x9'),'no'),'defaultValue':'yes','allowNull':![]},'forcename':{'type':Sequelize['ENUM'](_0xbc48('0x9'),'no'),'defaultValue':'no','allowNull':![]},'forcegreetings':{'type':Sequelize[_0xbc48('0x8')](_0xbc48('0x9'),'no'),'defaultValue':'no','allowNull':![]},'hidefromdir':{'type':Sequelize[_0xbc48('0x8')](_0xbc48('0x9'),'no'),'defaultValue':_0xbc48('0x9'),'allowNull':![]},'stamp':{'type':_0xbc48('0xa')},'emailsubject':{'type':Sequelize[_0xbc48('0x1')]},'emailbody':{'type':Sequelize[_0xbc48('0x1')]},'maxsecs':{'type':Sequelize[_0xbc48('0xb')](0xff),'defaultValue':0xb4,'allowNull':![]},'maxmsg':{'type':Sequelize[_0xbc48('0xb')](0xff),'defaultValue':0x64,'allowNull':![]},'name':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0xbc48('0xc')](_0xbc48('0xd'))+'\x20-\x20'+this[_0xbc48('0xc')](_0xbc48('0xe'));}}};
\ No newline at end of file
+var _0x8535=['email','trim','central','ENUM','yes','TINYINT(4)','TIMESTAMP','INTEGER','VIRTUAL','fullname','\x20-\x20','getDataValue','mailbox','sequelize','exports','STRING','from-voicemail','setDataValue'];(function(_0x3ef2d5,_0x423d46){var _0x2fefb2=function(_0x54f82f){while(--_0x54f82f){_0x3ef2d5['push'](_0x3ef2d5['shift']());}};_0x2fefb2(++_0x423d46);}(_0x8535,0x109));var _0x5853=function(_0x538744,_0x4c3573){_0x538744=_0x538744-0x0;var _0x485407=_0x8535[_0x538744];return _0x485407;};'use strict';var Sequelize=require(_0x5853('0x0'));module[_0x5853('0x1')]={'customer_id':{'type':Sequelize[_0x5853('0x2')]},'context':{'type':Sequelize[_0x5853('0x2')],'defaultValue':_0x5853('0x3'),'unique':'contest_mailbox'},'mailbox':{'type':Sequelize[_0x5853('0x2')],'defaultValue':'','allowNull':![],'unique':'contest_mailbox'},'password':{'type':Sequelize['STRING']},'fullname':{'type':Sequelize['STRING']},'email':{'type':Sequelize[_0x5853('0x2')],'validate':{'isEmail':!![]},'set':function(_0x3b2509){this[_0x5853('0x4')](_0x5853('0x5'),typeof _0x3b2509==='string'&&_0x3b2509['trim']()?_0x3b2509[_0x5853('0x6')]():null);}},'pager':{'type':Sequelize['STRING']},'tz':{'type':Sequelize[_0x5853('0x2')],'defaultValue':_0x5853('0x7')},'attach':{'type':Sequelize[_0x5853('0x8')](_0x5853('0x9'),'no'),'defaultValue':_0x5853('0x9'),'allowNull':![]},'saycid':{'type':Sequelize['ENUM'](_0x5853('0x9'),'no'),'defaultValue':_0x5853('0x9'),'allowNull':![]},'dialout':{'type':Sequelize[_0x5853('0x2')]},'callback':{'type':Sequelize[_0x5853('0x2')]},'review':{'type':Sequelize[_0x5853('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'operator':{'type':Sequelize['ENUM'](_0x5853('0x9'),'no'),'defaultValue':'no','allowNull':![]},'envelope':{'type':Sequelize[_0x5853('0x8')](_0x5853('0x9'),'no'),'defaultValue':'no','allowNull':![]},'sayduration':{'type':Sequelize['ENUM']('yes','no'),'defaultValue':'no','allowNull':![]},'saydurationm':{'type':_0x5853('0xa'),'defaultValue':0x1,'allowNull':![]},'sendvoicemail':{'type':Sequelize[_0x5853('0x8')](_0x5853('0x9'),'no'),'defaultValue':'no','allowNull':![]},'delete':{'type':Sequelize[_0x5853('0x8')]('yes','no'),'defaultValue':'no','allowNull':![]},'nextaftercmd':{'type':Sequelize[_0x5853('0x8')]('yes','no'),'defaultValue':_0x5853('0x9'),'allowNull':![]},'forcename':{'type':Sequelize[_0x5853('0x8')](_0x5853('0x9'),'no'),'defaultValue':'no','allowNull':![]},'forcegreetings':{'type':Sequelize[_0x5853('0x8')](_0x5853('0x9'),'no'),'defaultValue':'no','allowNull':![]},'hidefromdir':{'type':Sequelize[_0x5853('0x8')](_0x5853('0x9'),'no'),'defaultValue':'yes','allowNull':![]},'stamp':{'type':_0x5853('0xb')},'emailsubject':{'type':Sequelize[_0x5853('0x2')]},'emailbody':{'type':Sequelize[_0x5853('0x2')]},'maxsecs':{'type':Sequelize[_0x5853('0xc')](0xff),'defaultValue':0xb4,'allowNull':![]},'maxmsg':{'type':Sequelize[_0x5853('0xc')](0xff),'defaultValue':0x64,'allowNull':![]},'name':{'type':Sequelize[_0x5853('0xd')],'get':function(){return this['getDataValue'](_0x5853('0xe'))+_0x5853('0xf')+this[_0x5853('0x10')](_0x5853('0x11'));}}};
\ No newline at end of file