Built motion from commit (unavailable).|2.4.3
[motion2.git] / server / api / voiceRecording / voiceRecording.attributes.js
index 1212fcd..e9cd689 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5f49=['STRING','INTEGER','DATE','createdAt','format','updatedAt','toString','sequelize','moment','path','value','extname','getDataValue','channel','split'];(function(_0x48c62e,_0x3d8cd7){var _0x5f3f75=function(_0x33ae84){while(--_0x33ae84){_0x48c62e['push'](_0x48c62e['shift']());}};_0x5f3f75(++_0x3d8cd7);}(_0x5f49,0x1e7));var _0x95f4=function(_0x35da42,_0x5c2610){_0x35da42=_0x35da42-0x0;var _0x370035=_0x5f49[_0x35da42];return _0x370035;};'use strict';var Sequelize=require(_0x95f4('0x0'));var moment=require(_0x95f4('0x1'));var path=require(_0x95f4('0x2'));module['exports']={'format':{'type':Sequelize['VIRTUAL'],'get':function(){return this['getDataValue'](_0x95f4('0x3'))?path[_0x95f4('0x4')](this[_0x95f4('0x5')](_0x95f4('0x3'))):undefined;}},'uniqueid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize['STRING'],'set':function(_0x4c60b6){if(_0x4c60b6){this['setDataValue'](_0x95f4('0x6'),_0x4c60b6);this['setDataValue']('membername',_0x4c60b6[_0x95f4('0x7')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x95f4('0x8')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x95f4('0x8')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0x95f4('0x8')]},'accountcode':{'type':Sequelize[_0x95f4('0x8')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0x95f4('0x8')]},'value':{'type':Sequelize[_0x95f4('0x8')]},'type':{'type':Sequelize['STRING']},'rating':{'type':Sequelize[_0x95f4('0x9')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0x95f4('0x8')]},'userDisposition':{'type':Sequelize['STRING']},'createdAt':{'type':Sequelize[_0x95f4('0xa')],'get':function(){return moment(this[_0x95f4('0x5')](_0x95f4('0xb')))[_0x95f4('0xc')]('MM-DD-YYYY\x20HH:mm')['toString']();}},'updatedAt':{'type':Sequelize[_0x95f4('0xa')],'get':function(){return moment(this['getDataValue'](_0x95f4('0xd')))[_0x95f4('0xc')]('MM-DD-YYYY\x20HH:mm')[_0x95f4('0xe')]();}}};
\ No newline at end of file
+var _0xaeb4=['path','exports','VIRTUAL','value','extname','getDataValue','STRING','setDataValue','channel','DATE','createdAt','MM-DD-YYYY\x20HH:mm','toString','updatedAt','sequelize','moment'];(function(_0x52553c,_0x3ec2cf){var _0x18bd04=function(_0x535a88){while(--_0x535a88){_0x52553c['push'](_0x52553c['shift']());}};_0x18bd04(++_0x3ec2cf);}(_0xaeb4,0x13e));var _0x4aeb=function(_0x1969a7,_0x5a133a){_0x1969a7=_0x1969a7-0x0;var _0x3d665f=_0xaeb4[_0x1969a7];return _0x3d665f;};'use strict';var Sequelize=require(_0x4aeb('0x0'));var moment=require(_0x4aeb('0x1'));var path=require(_0x4aeb('0x2'));module[_0x4aeb('0x3')]={'format':{'type':Sequelize[_0x4aeb('0x4')],'get':function(){return this['getDataValue'](_0x4aeb('0x5'))?path[_0x4aeb('0x6')](this[_0x4aeb('0x7')](_0x4aeb('0x5'))):undefined;}},'uniqueid':{'type':Sequelize[_0x4aeb('0x8')]},'channel':{'type':Sequelize[_0x4aeb('0x8')],'set':function(_0x196032){if(_0x196032){this[_0x4aeb('0x9')](_0x4aeb('0xa'),_0x196032);this[_0x4aeb('0x9')]('membername',_0x196032['split'](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x4aeb('0x8')]},'calleridnum':{'type':Sequelize[_0x4aeb('0x8')]},'calleridname':{'type':Sequelize[_0x4aeb('0x8')]},'connectedlinenum':{'type':Sequelize[_0x4aeb('0x8')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x4aeb('0x8')]},'context':{'type':Sequelize[_0x4aeb('0x8')]},'exten':{'type':Sequelize[_0x4aeb('0x8')]},'value':{'type':Sequelize[_0x4aeb('0x8')]},'type':{'type':Sequelize[_0x4aeb('0x8')]},'rating':{'type':Sequelize['INTEGER'],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize['STRING']},'userDisposition':{'type':Sequelize['STRING']},'createdAt':{'type':Sequelize[_0x4aeb('0xb')],'get':function(){return moment(this[_0x4aeb('0x7')](_0x4aeb('0xc')))['format'](_0x4aeb('0xd'))[_0x4aeb('0xe')]();}},'updatedAt':{'type':Sequelize[_0x4aeb('0xb')],'get':function(){return moment(this[_0x4aeb('0x7')](_0x4aeb('0xf')))['format'](_0x4aeb('0xd'))[_0x4aeb('0xe')]();}}};
\ No newline at end of file