Built motion from commit 3e059bc2.|2.5.32
[motion2.git] / server / api / voiceRecording / voiceRecording.attributes.js
index 824930c..d00dd65 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1fcd=['setDataValue','membername','INTEGER','NEW','TEXT','FLOAT','DATE','createdAt','format','MM-DD-YYYY\x20HH:mm','updatedAt','toString','sequelize','moment','path','VIRTUAL','getDataValue','value','extname','STRING','channel'];(function(_0x485fb2,_0x3e2146){var _0x3c0b37=function(_0x1a8fd5){while(--_0x1a8fd5){_0x485fb2['push'](_0x485fb2['shift']());}};_0x3c0b37(++_0x3e2146);}(_0x1fcd,0x108));var _0xd1fc=function(_0x1ccbcc,_0x5c948b){_0x1ccbcc=_0x1ccbcc-0x0;var _0x1e873f=_0x1fcd[_0x1ccbcc];return _0x1e873f;};'use strict';var Sequelize=require(_0xd1fc('0x0'));var moment=require(_0xd1fc('0x1'));var path=require(_0xd1fc('0x2'));module['exports']={'format':{'type':Sequelize[_0xd1fc('0x3')],'get':function(){return this[_0xd1fc('0x4')](_0xd1fc('0x5'))?path[_0xd1fc('0x6')](this[_0xd1fc('0x4')](_0xd1fc('0x5'))):undefined;}},'uniqueid':{'type':Sequelize[_0xd1fc('0x7')]},'channel':{'type':Sequelize[_0xd1fc('0x7')],'set':function(_0x508559){if(_0x508559){this['setDataValue'](_0xd1fc('0x8'),_0x508559);this[_0xd1fc('0x9')](_0xd1fc('0xa'),_0x508559['split'](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xd1fc('0x7')]},'calleridname':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0xd1fc('0x7')]},'connectedlinename':{'type':Sequelize[_0xd1fc('0x7')]},'accountcode':{'type':Sequelize[_0xd1fc('0x7')]},'context':{'type':Sequelize[_0xd1fc('0x7')]},'exten':{'type':Sequelize[_0xd1fc('0x7')]},'value':{'type':Sequelize[_0xd1fc('0x7')]},'type':{'type':Sequelize[_0xd1fc('0x7')]},'rating':{'type':Sequelize[_0xd1fc('0xb')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0xd1fc('0x7')]},'userDisposition':{'type':Sequelize['STRING']},'userSecondDisposition':{'type':Sequelize[_0xd1fc('0x7')]},'userThirdDisposition':{'type':Sequelize[_0xd1fc('0x7')]},'location':{'type':Sequelize['TEXT']},'transcribeName':{'type':Sequelize[_0xd1fc('0x7')]},'transcribeStatus':{'type':Sequelize[_0xd1fc('0x7')],'defaultValue':_0xd1fc('0xc')},'fileUri':{'type':Sequelize[_0xd1fc('0xd')]},'fileText':{'type':Sequelize[_0xd1fc('0xd')]},'failureReason':{'type':Sequelize['TEXT']},'sentiment':{'type':Sequelize[_0xd1fc('0x7')]},'sPositive':{'type':Sequelize[_0xd1fc('0xe')]},'sNegative':{'type':Sequelize[_0xd1fc('0xe')]},'sNeutral':{'type':Sequelize[_0xd1fc('0xe')]},'sMixed':{'type':Sequelize[_0xd1fc('0xe')]},'tempSentiment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'createdAt':{'type':Sequelize[_0xd1fc('0xf')],'get':function(){return moment(this['getDataValue'](_0xd1fc('0x10')))[_0xd1fc('0x11')](_0xd1fc('0x12'))['toString']();}},'updatedAt':{'type':Sequelize[_0xd1fc('0xf')],'get':function(){return moment(this[_0xd1fc('0x4')](_0xd1fc('0x13')))[_0xd1fc('0x11')](_0xd1fc('0x12'))[_0xd1fc('0x14')]();}}};
\ 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(_0xefd519,_0xc62635){var _0x4bb882=function(_0x37e0a1){while(--_0x37e0a1){_0xefd519['push'](_0xefd519['shift']());}};_0x4bb882(++_0xc62635);}(_0xa9e0,0x123));var _0x0a9e=function(_0x484e36,_0x4482d8){_0x484e36=_0x484e36-0x0;var _0xafc85d=_0xa9e0[_0x484e36];return _0xafc85d;};'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