Built motion from commit (unavailable).|2.6.0
[motion2.git] / server / api / voiceRecording / voiceRecording.attributes.js
index 3839cc1..94cd513 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x2b19=['exports','VIRTUAL','getDataValue','extname','value','setDataValue','membername','split','STRING','INTEGER','TEXT','NEW','FLOAT','createdAt','format','MM-DD-YYYY\x20HH:mm','toString','DATE','path'];(function(_0x30f87a,_0x2cce5a){var _0x3a8efc=function(_0x225d6b){while(--_0x225d6b){_0x30f87a['push'](_0x30f87a['shift']());}};_0x3a8efc(++_0x2cce5a);}(_0x2b19,0xbd));var _0x92b1=function(_0xae89a1,_0x4efd03){_0xae89a1=_0xae89a1-0x0;var _0x1e7463=_0x2b19[_0xae89a1];return _0x1e7463;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');var path=require(_0x92b1('0x0'));module[_0x92b1('0x1')]={'format':{'type':Sequelize[_0x92b1('0x2')],'get':function(){return this[_0x92b1('0x3')]('value')?path[_0x92b1('0x4')](this[_0x92b1('0x3')](_0x92b1('0x5'))):undefined;}},'uniqueid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize['STRING'],'set':function(_0x13c20e){if(_0x13c20e){this[_0x92b1('0x6')]('channel',_0x13c20e);this['setDataValue'](_0x92b1('0x7'),_0x13c20e[_0x92b1('0x8')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x92b1('0x9')]},'calleridnum':{'type':Sequelize[_0x92b1('0x9')]},'calleridname':{'type':Sequelize[_0x92b1('0x9')]},'connectedlinenum':{'type':Sequelize[_0x92b1('0x9')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0x92b1('0x9')]},'value':{'type':Sequelize[_0x92b1('0x9')]},'type':{'type':Sequelize['STRING']},'rating':{'type':Sequelize[_0x92b1('0xa')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize['STRING']},'userDisposition':{'type':Sequelize[_0x92b1('0x9')]},'userSecondDisposition':{'type':Sequelize[_0x92b1('0x9')]},'userThirdDisposition':{'type':Sequelize[_0x92b1('0x9')]},'location':{'type':Sequelize[_0x92b1('0xb')]},'transcribeName':{'type':Sequelize[_0x92b1('0x9')]},'transcribeStatus':{'type':Sequelize[_0x92b1('0x9')],'defaultValue':_0x92b1('0xc')},'fileUri':{'type':Sequelize[_0x92b1('0xb')]},'fileText':{'type':Sequelize[_0x92b1('0xb')]},'failureReason':{'type':Sequelize[_0x92b1('0xb')]},'sentiment':{'type':Sequelize[_0x92b1('0x9')]},'sPositive':{'type':Sequelize['FLOAT']},'sNegative':{'type':Sequelize[_0x92b1('0xd')]},'sNeutral':{'type':Sequelize['FLOAT']},'sMixed':{'type':Sequelize[_0x92b1('0xd')]},'tempSentiment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'createdAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0x92b1('0x3')](_0x92b1('0xe')))[_0x92b1('0xf')](_0x92b1('0x10'))[_0x92b1('0x11')]();}},'updatedAt':{'type':Sequelize[_0x92b1('0x12')],'get':function(){return moment(this[_0x92b1('0x3')]('updatedAt'))['format']('MM-DD-YYYY\x20HH:mm')['toString']();}}};
\ No newline at end of file
+var _0xf879=['sequelize','moment','path','exports','VIRTUAL','getDataValue','value','extname','STRING','channel','setDataValue','membername','INTEGER','TEXT','FLOAT','BOOLEAN','DATE','createdAt','MM-DD-YYYY\x20HH:mm','updatedAt','format','toString'];(function(_0x1aab74,_0x38a57b){var _0x396af2=function(_0x1c2e0d){while(--_0x1c2e0d){_0x1aab74['push'](_0x1aab74['shift']());}};_0x396af2(++_0x38a57b);}(_0xf879,0x84));var _0x9f87=function(_0x26610d,_0x3f0efb){_0x26610d=_0x26610d-0x0;var _0x58d90b=_0xf879[_0x26610d];return _0x58d90b;};'use strict';var Sequelize=require(_0x9f87('0x0'));var moment=require(_0x9f87('0x1'));var path=require(_0x9f87('0x2'));module[_0x9f87('0x3')]={'format':{'type':Sequelize[_0x9f87('0x4')],'get':function(){return this[_0x9f87('0x5')](_0x9f87('0x6'))?path[_0x9f87('0x7')](this['getDataValue'](_0x9f87('0x6'))):undefined;}},'uniqueid':{'type':Sequelize[_0x9f87('0x8')]},'channel':{'type':Sequelize[_0x9f87('0x8')],'set':function(_0xaa7ef8){if(_0xaa7ef8){this['setDataValue'](_0x9f87('0x9'),_0xaa7ef8);this[_0x9f87('0xa')](_0x9f87('0xb'),_0xaa7ef8['split'](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x9f87('0x8')]},'calleridnum':{'type':Sequelize[_0x9f87('0x8')]},'calleridname':{'type':Sequelize[_0x9f87('0x8')]},'connectedlinenum':{'type':Sequelize[_0x9f87('0x8')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x9f87('0x8')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0x9f87('0x8')]},'value':{'type':Sequelize[_0x9f87('0x8')]},'type':{'type':Sequelize['STRING']},'rating':{'type':Sequelize[_0x9f87('0xc')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0x9f87('0x8')]},'userDisposition':{'type':Sequelize[_0x9f87('0x8')]},'userSecondDisposition':{'type':Sequelize[_0x9f87('0x8')]},'userThirdDisposition':{'type':Sequelize[_0x9f87('0x8')]},'location':{'type':Sequelize['TEXT']},'transcribeName':{'type':Sequelize[_0x9f87('0x8')]},'transcribeStatus':{'type':Sequelize[_0x9f87('0x8')],'defaultValue':'NEW'},'fileUri':{'type':Sequelize[_0x9f87('0xd')]},'fileText':{'type':Sequelize['TEXT']},'failureReason':{'type':Sequelize[_0x9f87('0xd')]},'sentiment':{'type':Sequelize[_0x9f87('0x8')]},'sPositive':{'type':Sequelize[_0x9f87('0xe')]},'sNegative':{'type':Sequelize[_0x9f87('0xe')]},'sNeutral':{'type':Sequelize[_0x9f87('0xe')]},'sMixed':{'type':Sequelize[_0x9f87('0xe')]},'tempSentiment':{'type':Sequelize[_0x9f87('0xf')],'defaultValue':![]},'createdAt':{'type':Sequelize[_0x9f87('0x10')],'get':function(){return moment(this[_0x9f87('0x5')](_0x9f87('0x11')))['format'](_0x9f87('0x12'))['toString']();}},'updatedAt':{'type':Sequelize[_0x9f87('0x10')],'get':function(){return moment(this['getDataValue'](_0x9f87('0x13')))[_0x9f87('0x14')](_0x9f87('0x12'))[_0x9f87('0x15')]();}}};
\ No newline at end of file