Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / voiceRecording / voiceRecording.attributes.js
index 641db67..99d6964 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x74f6=['membername','split','INTEGER','TEXT','NEW','FLOAT','BOOLEAN','DATE','format','MM-DD-YYYY\x20HH:mm','toString','updatedAt','sequelize','moment','path','exports','VIRTUAL','getDataValue','value','extname','STRING','setDataValue','channel'];(function(_0x433854,_0x158410){var _0x2d9ea8=function(_0x29ab34){while(--_0x29ab34){_0x433854['push'](_0x433854['shift']());}};_0x2d9ea8(++_0x158410);}(_0x74f6,0x1aa));var _0x674f=function(_0x6ee588,_0x5867b5){_0x6ee588=_0x6ee588-0x0;var _0x34dc43=_0x74f6[_0x6ee588];return _0x34dc43;};'use strict';var Sequelize=require(_0x674f('0x0'));var moment=require(_0x674f('0x1'));var path=require(_0x674f('0x2'));module[_0x674f('0x3')]={'format':{'type':Sequelize[_0x674f('0x4')],'get':function(){return this[_0x674f('0x5')](_0x674f('0x6'))?path[_0x674f('0x7')](this['getDataValue'](_0x674f('0x6'))):undefined;}},'uniqueid':{'type':Sequelize[_0x674f('0x8')]},'channel':{'type':Sequelize[_0x674f('0x8')],'set':function(_0x225f67){if(_0x225f67){this[_0x674f('0x9')](_0x674f('0xa'),_0x225f67);this[_0x674f('0x9')](_0x674f('0xb'),_0x225f67[_0x674f('0xc')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x674f('0x8')]},'calleridnum':{'type':Sequelize[_0x674f('0x8')]},'calleridname':{'type':Sequelize[_0x674f('0x8')]},'connectedlinenum':{'type':Sequelize[_0x674f('0x8')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x674f('0x8')]},'context':{'type':Sequelize[_0x674f('0x8')]},'exten':{'type':Sequelize[_0x674f('0x8')]},'value':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x674f('0x8')]},'rating':{'type':Sequelize[_0x674f('0xd')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize['STRING']},'userDisposition':{'type':Sequelize[_0x674f('0x8')]},'userSecondDisposition':{'type':Sequelize['STRING']},'userThirdDisposition':{'type':Sequelize[_0x674f('0x8')]},'location':{'type':Sequelize[_0x674f('0xe')]},'transcribeName':{'type':Sequelize[_0x674f('0x8')]},'transcribeStatus':{'type':Sequelize[_0x674f('0x8')],'defaultValue':_0x674f('0xf')},'fileUri':{'type':Sequelize[_0x674f('0xe')]},'fileText':{'type':Sequelize[_0x674f('0xe')]},'failureReason':{'type':Sequelize[_0x674f('0xe')]},'sentiment':{'type':Sequelize[_0x674f('0x8')]},'sPositive':{'type':Sequelize[_0x674f('0x10')]},'sNegative':{'type':Sequelize[_0x674f('0x10')]},'sNeutral':{'type':Sequelize[_0x674f('0x10')]},'sMixed':{'type':Sequelize[_0x674f('0x10')]},'tempSentiment':{'type':Sequelize[_0x674f('0x11')],'defaultValue':![]},'createdAt':{'type':Sequelize[_0x674f('0x12')],'get':function(){return moment(this[_0x674f('0x5')]('createdAt'))[_0x674f('0x13')](_0x674f('0x14'))[_0x674f('0x15')]();}},'updatedAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0x674f('0x5')](_0x674f('0x16')))[_0x674f('0x13')](_0x674f('0x14'))[_0x674f('0x15')]();}}};
\ No newline at end of file
+var _0xa9e0=['DATE','updatedAt','toString','sequelize','moment','path','getDataValue','extname','value','STRING','setDataValue','channel','TEXT','NEW','FLOAT','BOOLEAN','format','MM-DD-YYYY\x20HH:mm'];(function(_0x4b2436,_0x452299){var _0x4f5ab2=function(_0x5c6679){while(--_0x5c6679){_0x4b2436['push'](_0x4b2436['shift']());}};_0x4f5ab2(++_0x452299);}(_0xa9e0,0x123));var _0x0a9e=function(_0x19e35c,_0x29cd1e){_0x19e35c=_0x19e35c-0x0;var _0x3e1fe8=_0xa9e0[_0x19e35c];return _0x3e1fe8;};'use strict';var Sequelize=require(_0x0a9e('0x0'));var moment=require(_0x0a9e('0x1'));var path=require(_0x0a9e('0x2'));module['exports']={'format':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0x0a9e('0x3')]('value')?path[_0x0a9e('0x4')](this[_0x0a9e('0x3')](_0x0a9e('0x5'))):undefined;}},'uniqueid':{'type':Sequelize[_0x0a9e('0x6')]},'channel':{'type':Sequelize[_0x0a9e('0x6')],'set':function(_0x57b080){if(_0x57b080){this[_0x0a9e('0x7')](_0x0a9e('0x8'),_0x57b080);this[_0x0a9e('0x7')]('membername',_0x57b080['split'](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x0a9e('0x6')]},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x0a9e('0x6')]},'connectedlinename':{'type':Sequelize[_0x0a9e('0x6')]},'accountcode':{'type':Sequelize[_0x0a9e('0x6')]},'context':{'type':Sequelize[_0x0a9e('0x6')]},'exten':{'type':Sequelize[_0x0a9e('0x6')]},'value':{'type':Sequelize[_0x0a9e('0x6')]},'type':{'type':Sequelize['STRING']},'rating':{'type':Sequelize['INTEGER'],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize['STRING']},'userDisposition':{'type':Sequelize['STRING']},'userSecondDisposition':{'type':Sequelize[_0x0a9e('0x6')]},'userThirdDisposition':{'type':Sequelize[_0x0a9e('0x6')]},'location':{'type':Sequelize[_0x0a9e('0x9')]},'transcribeName':{'type':Sequelize[_0x0a9e('0x6')]},'transcribeStatus':{'type':Sequelize[_0x0a9e('0x6')],'defaultValue':_0x0a9e('0xa')},'fileUri':{'type':Sequelize['TEXT']},'fileText':{'type':Sequelize[_0x0a9e('0x9')]},'failureReason':{'type':Sequelize[_0x0a9e('0x9')]},'sentiment':{'type':Sequelize[_0x0a9e('0x6')]},'sPositive':{'type':Sequelize[_0x0a9e('0xb')]},'sNegative':{'type':Sequelize[_0x0a9e('0xb')]},'sNeutral':{'type':Sequelize[_0x0a9e('0xb')]},'sMixed':{'type':Sequelize['FLOAT']},'tempSentiment':{'type':Sequelize[_0x0a9e('0xc')],'defaultValue':![]},'createdAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0x0a9e('0x3')]('createdAt'))[_0x0a9e('0xd')](_0x0a9e('0xe'))['toString']();}},'updatedAt':{'type':Sequelize[_0x0a9e('0xf')],'get':function(){return moment(this['getDataValue'](_0x0a9e('0x10')))[_0x0a9e('0xd')](_0x0a9e('0xe'))[_0x0a9e('0x11')]();}}};
\ No newline at end of file