Built motion from commit (unavailable).|2.5.1
[motion2.git] / server / api / voiceRecording / voiceRecording.attributes.js
index a6ae0a9..d2acbff 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x72b7=['moment','path','exports','value','extname','getDataValue','STRING','channel','setDataValue','membername','split','INTEGER','TEXT','FLOAT','BOOLEAN','format','toString','DATE','updatedAt','sequelize'];(function(_0x86f399,_0x5cc477){var _0x3b8b2e=function(_0xbe80a){while(--_0xbe80a){_0x86f399['push'](_0x86f399['shift']());}};_0x3b8b2e(++_0x5cc477);}(_0x72b7,0x1a3));var _0x772b=function(_0x4565bf,_0x5ad9d6){_0x4565bf=_0x4565bf-0x0;var _0x5610ba=_0x72b7[_0x4565bf];return _0x5610ba;};'use strict';var Sequelize=require(_0x772b('0x0'));var moment=require(_0x772b('0x1'));var path=require(_0x772b('0x2'));module[_0x772b('0x3')]={'format':{'type':Sequelize['VIRTUAL'],'get':function(){return this['getDataValue'](_0x772b('0x4'))?path[_0x772b('0x5')](this[_0x772b('0x6')](_0x772b('0x4'))):undefined;}},'uniqueid':{'type':Sequelize[_0x772b('0x7')]},'channel':{'type':Sequelize[_0x772b('0x7')],'set':function(_0xfe6888){if(_0xfe6888){this['setDataValue'](_0x772b('0x8'),_0xfe6888);this[_0x772b('0x9')](_0x772b('0xa'),_0xfe6888[_0x772b('0xb')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x772b('0x7')]},'calleridnum':{'type':Sequelize[_0x772b('0x7')]},'calleridname':{'type':Sequelize[_0x772b('0x7')]},'connectedlinenum':{'type':Sequelize[_0x772b('0x7')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0x772b('0x7')]},'value':{'type':Sequelize[_0x772b('0x7')]},'type':{'type':Sequelize[_0x772b('0x7')]},'rating':{'type':Sequelize[_0x772b('0xc')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0x772b('0x7')]},'userDisposition':{'type':Sequelize['STRING']},'userSecondDisposition':{'type':Sequelize[_0x772b('0x7')]},'userThirdDisposition':{'type':Sequelize['STRING']},'location':{'type':Sequelize[_0x772b('0xd')]},'transcribeName':{'type':Sequelize[_0x772b('0x7')]},'transcribeStatus':{'type':Sequelize['STRING'],'defaultValue':'NEW'},'fileUri':{'type':Sequelize[_0x772b('0xd')]},'fileText':{'type':Sequelize[_0x772b('0xd')]},'failureReason':{'type':Sequelize[_0x772b('0xd')]},'sentiment':{'type':Sequelize[_0x772b('0x7')]},'sPositive':{'type':Sequelize[_0x772b('0xe')]},'sNegative':{'type':Sequelize[_0x772b('0xe')]},'sNeutral':{'type':Sequelize['FLOAT']},'sMixed':{'type':Sequelize[_0x772b('0xe')]},'tempSentiment':{'type':Sequelize[_0x772b('0xf')],'defaultValue':![]},'createdAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0x772b('0x6')]('createdAt'))[_0x772b('0x10')]('MM-DD-YYYY\x20HH:mm')[_0x772b('0x11')]();}},'updatedAt':{'type':Sequelize[_0x772b('0x12')],'get':function(){return moment(this[_0x772b('0x6')](_0x772b('0x13')))[_0x772b('0x10')]('MM-DD-YYYY\x20HH:mm')['toString']();}}};
\ No newline at end of file
+var _0x96de=['channel','membername','STRING','TEXT','FLOAT','DATE','format','MM-DD-YYYY\x20HH:mm','toString','moment','exports','getDataValue','value','extname','setDataValue'];(function(_0x3ee21e,_0x5cf64c){var _0x10755a=function(_0x31d3a9){while(--_0x31d3a9){_0x3ee21e['push'](_0x3ee21e['shift']());}};_0x10755a(++_0x5cf64c);}(_0x96de,0x126));var _0xe96d=function(_0x32d86c,_0x374da2){_0x32d86c=_0x32d86c-0x0;var _0x35cfd5=_0x96de[_0x32d86c];return _0x35cfd5;};'use strict';var Sequelize=require('sequelize');var moment=require(_0xe96d('0x0'));var path=require('path');module[_0xe96d('0x1')]={'format':{'type':Sequelize['VIRTUAL'],'get':function(){return this[_0xe96d('0x2')](_0xe96d('0x3'))?path[_0xe96d('0x4')](this[_0xe96d('0x2')](_0xe96d('0x3'))):undefined;}},'uniqueid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize['STRING'],'set':function(_0x4a2ff2){if(_0x4a2ff2){this[_0xe96d('0x5')](_0xe96d('0x6'),_0x4a2ff2);this['setDataValue'](_0xe96d('0x7'),_0x4a2ff2['split'](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0xe96d('0x8')]},'calleridnum':{'type':Sequelize[_0xe96d('0x8')]},'calleridname':{'type':Sequelize[_0xe96d('0x8')]},'connectedlinenum':{'type':Sequelize[_0xe96d('0x8')]},'connectedlinename':{'type':Sequelize[_0xe96d('0x8')]},'accountcode':{'type':Sequelize[_0xe96d('0x8')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize['STRING']},'value':{'type':Sequelize[_0xe96d('0x8')]},'type':{'type':Sequelize['STRING']},'rating':{'type':Sequelize['INTEGER'],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0xe96d('0x8')]},'userDisposition':{'type':Sequelize[_0xe96d('0x8')]},'userSecondDisposition':{'type':Sequelize['STRING']},'userThirdDisposition':{'type':Sequelize['STRING']},'location':{'type':Sequelize[_0xe96d('0x9')]},'transcribeName':{'type':Sequelize[_0xe96d('0x8')]},'transcribeStatus':{'type':Sequelize['STRING'],'defaultValue':'NEW'},'fileUri':{'type':Sequelize[_0xe96d('0x9')]},'fileText':{'type':Sequelize[_0xe96d('0x9')]},'failureReason':{'type':Sequelize[_0xe96d('0x9')]},'sentiment':{'type':Sequelize['STRING']},'sPositive':{'type':Sequelize[_0xe96d('0xa')]},'sNegative':{'type':Sequelize[_0xe96d('0xa')]},'sNeutral':{'type':Sequelize[_0xe96d('0xa')]},'sMixed':{'type':Sequelize[_0xe96d('0xa')]},'tempSentiment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'createdAt':{'type':Sequelize[_0xe96d('0xb')],'get':function(){return moment(this[_0xe96d('0x2')]('createdAt'))[_0xe96d('0xc')](_0xe96d('0xd'))[_0xe96d('0xe')]();}},'updatedAt':{'type':Sequelize['DATE'],'get':function(){return moment(this['getDataValue']('updatedAt'))['format'](_0xe96d('0xd'))[_0xe96d('0xe')]();}}};
\ No newline at end of file