Built motion from commit (unavailable).|2.5.27
[motion2.git] / server / api / voiceRecording / voiceRecording.attributes.js
index 641db67..be56be4 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 _0x2c02=['sequelize','moment','exports','VIRTUAL','value','extname','getDataValue','STRING','setDataValue','channel','membername','split','INTEGER','TEXT','NEW','FLOAT','BOOLEAN','DATE','format','MM-DD-YYYY\x20HH:mm','toString','updatedAt'];(function(_0x1beef3,_0x57c4b8){var _0x5af964=function(_0x36f463){while(--_0x36f463){_0x1beef3['push'](_0x1beef3['shift']());}};_0x5af964(++_0x57c4b8);}(_0x2c02,0xf2));var _0x22c0=function(_0x11b780,_0x332ff3){_0x11b780=_0x11b780-0x0;var _0x4094c3=_0x2c02[_0x11b780];return _0x4094c3;};'use strict';var Sequelize=require(_0x22c0('0x0'));var moment=require(_0x22c0('0x1'));var path=require('path');module[_0x22c0('0x2')]={'format':{'type':Sequelize[_0x22c0('0x3')],'get':function(){return this['getDataValue'](_0x22c0('0x4'))?path[_0x22c0('0x5')](this[_0x22c0('0x6')]('value')):undefined;}},'uniqueid':{'type':Sequelize[_0x22c0('0x7')]},'channel':{'type':Sequelize[_0x22c0('0x7')],'set':function(_0x37115c){if(_0x37115c){this[_0x22c0('0x8')](_0x22c0('0x9'),_0x37115c);this['setDataValue'](_0x22c0('0xa'),_0x37115c[_0x22c0('0xb')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x22c0('0x7')]},'calleridnum':{'type':Sequelize[_0x22c0('0x7')]},'calleridname':{'type':Sequelize[_0x22c0('0x7')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0x22c0('0x7')]},'accountcode':{'type':Sequelize[_0x22c0('0x7')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize['STRING']},'value':{'type':Sequelize[_0x22c0('0x7')]},'type':{'type':Sequelize[_0x22c0('0x7')]},'rating':{'type':Sequelize[_0x22c0('0xc')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0x22c0('0x7')]},'userDisposition':{'type':Sequelize[_0x22c0('0x7')]},'userSecondDisposition':{'type':Sequelize[_0x22c0('0x7')]},'userThirdDisposition':{'type':Sequelize[_0x22c0('0x7')]},'location':{'type':Sequelize[_0x22c0('0xd')]},'transcribeName':{'type':Sequelize['STRING']},'transcribeStatus':{'type':Sequelize['STRING'],'defaultValue':_0x22c0('0xe')},'fileUri':{'type':Sequelize[_0x22c0('0xd')]},'fileText':{'type':Sequelize[_0x22c0('0xd')]},'failureReason':{'type':Sequelize['TEXT']},'sentiment':{'type':Sequelize[_0x22c0('0x7')]},'sPositive':{'type':Sequelize[_0x22c0('0xf')]},'sNegative':{'type':Sequelize[_0x22c0('0xf')]},'sNeutral':{'type':Sequelize[_0x22c0('0xf')]},'sMixed':{'type':Sequelize[_0x22c0('0xf')]},'tempSentiment':{'type':Sequelize[_0x22c0('0x10')],'defaultValue':![]},'createdAt':{'type':Sequelize[_0x22c0('0x11')],'get':function(){return moment(this[_0x22c0('0x6')]('createdAt'))[_0x22c0('0x12')](_0x22c0('0x13'))[_0x22c0('0x14')]();}},'updatedAt':{'type':Sequelize[_0x22c0('0x11')],'get':function(){return moment(this[_0x22c0('0x6')](_0x22c0('0x15')))['format'](_0x22c0('0x13'))[_0x22c0('0x14')]();}}};
\ No newline at end of file