Built motion from commit (unavailable).|2.4.4
[motion2.git] / server / api / voiceRecording / voiceRecording.attributes.js
index bf72d2e..6e96edb 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x605c=['format','sequelize','moment','exports','getDataValue','value','extname','STRING','setDataValue','split','INTEGER','DATE','MM-DD-YYYY\x20HH:mm','toString','updatedAt'];(function(_0x55ba94,_0x585601){var _0x1bd2d1=function(_0xfa612c){while(--_0xfa612c){_0x55ba94['push'](_0x55ba94['shift']());}};_0x1bd2d1(++_0x585601);}(_0x605c,0xb5));var _0xc605=function(_0x43baac,_0x15a9df){_0x43baac=_0x43baac-0x0;var _0x4b91a9=_0x605c[_0x43baac];return _0x4b91a9;};'use strict';var Sequelize=require(_0xc605('0x0'));var moment=require(_0xc605('0x1'));var path=require('path');module[_0xc605('0x2')]={'format':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0xc605('0x3')](_0xc605('0x4'))?path[_0xc605('0x5')](this[_0xc605('0x3')](_0xc605('0x4'))):undefined;}},'uniqueid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0xc605('0x6')],'set':function(_0x572a4d){if(_0x572a4d){this[_0xc605('0x7')]('channel',_0x572a4d);this[_0xc605('0x7')]('membername',_0x572a4d[_0xc605('0x8')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xc605('0x6')]},'calleridname':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0xc605('0x6')]},'connectedlinename':{'type':Sequelize[_0xc605('0x6')]},'accountcode':{'type':Sequelize[_0xc605('0x6')]},'context':{'type':Sequelize[_0xc605('0x6')]},'exten':{'type':Sequelize[_0xc605('0x6')]},'value':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'rating':{'type':Sequelize[_0xc605('0x9')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0xc605('0x6')]},'userDisposition':{'type':Sequelize['STRING']},'createdAt':{'type':Sequelize[_0xc605('0xa')],'get':function(){return moment(this[_0xc605('0x3')]('createdAt'))['format'](_0xc605('0xb'))[_0xc605('0xc')]();}},'updatedAt':{'type':Sequelize[_0xc605('0xa')],'get':function(){return moment(this['getDataValue'](_0xc605('0xd')))[_0xc605('0xe')](_0xc605('0xb'))['toString']();}}};
\ No newline at end of file
+var _0x1a75=['membername','split','INTEGER','format','MM-DD-YYYY\x20HH:mm','toString','DATE','sequelize','moment','path','exports','VIRTUAL','getDataValue','extname','value','STRING','channel','setDataValue'];(function(_0x37a241,_0x149148){var _0x159898=function(_0x47ded2){while(--_0x47ded2){_0x37a241['push'](_0x37a241['shift']());}};_0x159898(++_0x149148);}(_0x1a75,0xf1));var _0x51a7=function(_0x3033aa,_0x5376d5){_0x3033aa=_0x3033aa-0x0;var _0x4447b3=_0x1a75[_0x3033aa];return _0x4447b3;};'use strict';var Sequelize=require(_0x51a7('0x0'));var moment=require(_0x51a7('0x1'));var path=require(_0x51a7('0x2'));module[_0x51a7('0x3')]={'format':{'type':Sequelize[_0x51a7('0x4')],'get':function(){return this[_0x51a7('0x5')]('value')?path[_0x51a7('0x6')](this[_0x51a7('0x5')](_0x51a7('0x7'))):undefined;}},'uniqueid':{'type':Sequelize[_0x51a7('0x8')]},'channel':{'type':Sequelize['STRING'],'set':function(_0x259a85){if(_0x259a85){this['setDataValue'](_0x51a7('0x9'),_0x259a85);this[_0x51a7('0xa')](_0x51a7('0xb'),_0x259a85[_0x51a7('0xc')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x51a7('0x8')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x51a7('0x8')]},'connectedlinenum':{'type':Sequelize[_0x51a7('0x8')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x51a7('0x8')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0x51a7('0x8')]},'value':{'type':Sequelize[_0x51a7('0x8')]},'type':{'type':Sequelize[_0x51a7('0x8')]},'rating':{'type':Sequelize[_0x51a7('0xd')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0x51a7('0x8')]},'userDisposition':{'type':Sequelize[_0x51a7('0x8')]},'createdAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0x51a7('0x5')]('createdAt'))[_0x51a7('0xe')](_0x51a7('0xf'))[_0x51a7('0x10')]();}},'updatedAt':{'type':Sequelize[_0x51a7('0x11')],'get':function(){return moment(this[_0x51a7('0x5')]('updatedAt'))[_0x51a7('0xe')](_0x51a7('0xf'))[_0x51a7('0x10')]();}}};
\ No newline at end of file