Built motion from commit 19a84241.|2.5.34
[motion2.git] / server / api / voiceRecording / voiceRecording.attributes.js
index b03bb0b..acb2926 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x641b=['DATE','MM-DD-YYYY\x20HH:mm','toString','updatedAt','format','path','exports','VIRTUAL','getDataValue','value','STRING','setDataValue','membername','split','INTEGER'];(function(_0x41e958,_0x2bff6f){var _0x36c4f4=function(_0x22dc30){while(--_0x22dc30){_0x41e958['push'](_0x41e958['shift']());}};_0x36c4f4(++_0x2bff6f);}(_0x641b,0x140));var _0xb641=function(_0x1b0bae,_0x2668ed){_0x1b0bae=_0x1b0bae-0x0;var _0x11c058=_0x641b[_0x1b0bae];return _0x11c058;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');var path=require(_0xb641('0x0'));module[_0xb641('0x1')]={'format':{'type':Sequelize[_0xb641('0x2')],'get':function(){return this[_0xb641('0x3')](_0xb641('0x4'))?path['extname'](this['getDataValue'](_0xb641('0x4'))):undefined;}},'uniqueid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize[_0xb641('0x5')],'set':function(_0x923427){if(_0x923427){this[_0xb641('0x6')]('channel',_0x923427);this[_0xb641('0x6')](_0xb641('0x7'),_0x923427[_0xb641('0x8')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0xb641('0x5')]},'calleridnum':{'type':Sequelize[_0xb641('0x5')]},'calleridname':{'type':Sequelize[_0xb641('0x5')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0xb641('0x5')]},'context':{'type':Sequelize[_0xb641('0x5')]},'exten':{'type':Sequelize[_0xb641('0x5')]},'value':{'type':Sequelize[_0xb641('0x5')]},'type':{'type':Sequelize[_0xb641('0x5')]},'rating':{'type':Sequelize[_0xb641('0x9')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0xb641('0x5')]},'userDisposition':{'type':Sequelize[_0xb641('0x5')]},'createdAt':{'type':Sequelize[_0xb641('0xa')],'get':function(){return moment(this['getDataValue']('createdAt'))['format'](_0xb641('0xb'))[_0xb641('0xc')]();}},'updatedAt':{'type':Sequelize[_0xb641('0xa')],'get':function(){return moment(this[_0xb641('0x3')](_0xb641('0xd')))[_0xb641('0xe')](_0xb641('0xb'))[_0xb641('0xc')]();}}};
\ 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(_0x525c7b,_0x488fcc){var _0x27b33e=function(_0x56d43b){while(--_0x56d43b){_0x525c7b['push'](_0x525c7b['shift']());}};_0x27b33e(++_0x488fcc);}(_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