Built motion from commit aab208717af8d15f4fa224cdb6a202877019af9b. Version 3.0.0...
[motion-next.git] / server / api / voiceRecording / voiceRecording.attributes.js
index 2c83269..e61ceff 100644 (file)
@@ -1 +1 @@
-const a770_0x19e8=['INTEGER','setDataValue','format','createdAt','MM-DD-YYYY\x20HH:mm','DATE','NEW','value','exports','TEXT','toString','channel','extname','split','FLOAT','getDataValue','VIRTUAL','path','STRING','updatedAt','moment'];(function(_0x17f710,_0x19e896){const _0x4b0c02=function(_0x1feb98){while(--_0x1feb98){_0x17f710['push'](_0x17f710['shift']());}};_0x4b0c02(++_0x19e896);}(a770_0x19e8,0x185));const a770_0x4b0c=function(_0x17f710,_0x19e896){_0x17f710=_0x17f710-0x0;let _0x4b0c02=a770_0x19e8[_0x17f710];return _0x4b0c02;};const _0x2188af=a770_0x4b0c;'use strict';const Sequelize=require('sequelize'),moment=require(_0x2188af('0x9')),path=require(_0x2188af('0x6'));module[_0x2188af('0x12')]={'format':{'type':Sequelize[_0x2188af('0x5')],'get':function(){const _0x3eacb6=_0x2188af;return this[_0x3eacb6('0x4')]('value')?path[_0x3eacb6('0x1')](this[_0x3eacb6('0x4')](_0x3eacb6('0x11'))):undefined;}},'uniqueid':{'type':Sequelize[_0x2188af('0x7')]},'channel':{'type':Sequelize[_0x2188af('0x7')],'set':function(_0x1feb98){const _0xc355d7=_0x2188af;_0x1feb98&&(this[_0xc355d7('0xb')](_0xc355d7('0x0'),_0x1feb98),this[_0xc355d7('0xb')]('membername',_0x1feb98[_0xc355d7('0x2')](/\/|-/)[0x1]));}},'membername':{'type':Sequelize[_0x2188af('0x7')]},'calleridnum':{'type':Sequelize[_0x2188af('0x7')]},'calleridname':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x2188af('0x7')]},'connectedlinename':{'type':Sequelize[_0x2188af('0x7')]},'accountcode':{'type':Sequelize[_0x2188af('0x7')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0x2188af('0x7')]},'value':{'type':Sequelize['STRING']},'type':{'type':Sequelize['STRING']},'rating':{'type':Sequelize[_0x2188af('0xa')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0x2188af('0x7')]},'userDisposition':{'type':Sequelize[_0x2188af('0x7')]},'userSecondDisposition':{'type':Sequelize[_0x2188af('0x7')]},'userThirdDisposition':{'type':Sequelize[_0x2188af('0x7')]},'location':{'type':Sequelize[_0x2188af('0x13')]},'transcribeName':{'type':Sequelize['STRING']},'transcribeStatus':{'type':Sequelize[_0x2188af('0x7')],'defaultValue':_0x2188af('0x10')},'fileUri':{'type':Sequelize['TEXT']},'fileText':{'type':Sequelize[_0x2188af('0x13')]},'failureReason':{'type':Sequelize[_0x2188af('0x13')]},'sentiment':{'type':Sequelize[_0x2188af('0x7')]},'sPositive':{'type':Sequelize[_0x2188af('0x3')]},'sNegative':{'type':Sequelize['FLOAT']},'sNeutral':{'type':Sequelize[_0x2188af('0x3')]},'sMixed':{'type':Sequelize['FLOAT']},'tempSentiment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'createdAt':{'type':Sequelize[_0x2188af('0xf')],'get':function(){const _0x290ade=_0x2188af;return moment(this[_0x290ade('0x4')](_0x290ade('0xd')))[_0x290ade('0xc')]('MM-DD-YYYY\x20HH:mm')[_0x290ade('0x14')]();}},'updatedAt':{'type':Sequelize['DATE'],'get':function(){const _0x3ae6cd=_0x2188af;return moment(this[_0x3ae6cd('0x4')](_0x3ae6cd('0x8')))[_0x3ae6cd('0xc')](_0x3ae6cd('0xe'))['toString']();}}};
\ No newline at end of file
+const a770_0x5468=['moment','format','DATE','NEW','TEXT','exports','channel','STRING','toString','VIRTUAL','getDataValue','FLOAT','sequelize','setDataValue','INTEGER','path','extname','updatedAt','value','BOOLEAN','createdAt','MM-DD-YYYY\x20HH:mm'];(function(_0x5a0709,_0x546855){const _0x2587cf=function(_0x442d82){while(--_0x442d82){_0x5a0709['push'](_0x5a0709['shift']());}};_0x2587cf(++_0x546855);}(a770_0x5468,0xcc));const a770_0x2587=function(_0x5a0709,_0x546855){_0x5a0709=_0x5a0709-0x0;let _0x2587cf=a770_0x5468[_0x5a0709];return _0x2587cf;};const _0x51ff81=a770_0x2587;'use strict';const Sequelize=require(_0x51ff81('0x6')),moment=require(_0x51ff81('0x10')),path=require(_0x51ff81('0x9'));module[_0x51ff81('0x15')]={'format':{'type':Sequelize[_0x51ff81('0x3')],'get':function(){const _0x5d8433=_0x51ff81;return this[_0x5d8433('0x4')](_0x5d8433('0xc'))?path[_0x5d8433('0xa')](this['getDataValue'](_0x5d8433('0xc'))):undefined;}},'uniqueid':{'type':Sequelize[_0x51ff81('0x1')]},'channel':{'type':Sequelize['STRING'],'set':function(_0x442d82){const _0x41d7bd=_0x51ff81;_0x442d82&&(this[_0x41d7bd('0x7')](_0x41d7bd('0x0'),_0x442d82),this[_0x41d7bd('0x7')]('membername',_0x442d82['split'](/\/|-/)[0x1]));}},'membername':{'type':Sequelize[_0x51ff81('0x1')]},'calleridnum':{'type':Sequelize[_0x51ff81('0x1')]},'calleridname':{'type':Sequelize[_0x51ff81('0x1')]},'connectedlinenum':{'type':Sequelize[_0x51ff81('0x1')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x51ff81('0x1')]},'context':{'type':Sequelize[_0x51ff81('0x1')]},'exten':{'type':Sequelize[_0x51ff81('0x1')]},'value':{'type':Sequelize[_0x51ff81('0x1')]},'type':{'type':Sequelize[_0x51ff81('0x1')]},'rating':{'type':Sequelize[_0x51ff81('0x8')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize['STRING']},'userDisposition':{'type':Sequelize['STRING']},'userSecondDisposition':{'type':Sequelize['STRING']},'userThirdDisposition':{'type':Sequelize[_0x51ff81('0x1')]},'location':{'type':Sequelize[_0x51ff81('0x14')]},'transcribeName':{'type':Sequelize[_0x51ff81('0x1')]},'transcribeStatus':{'type':Sequelize[_0x51ff81('0x1')],'defaultValue':_0x51ff81('0x13')},'fileUri':{'type':Sequelize['TEXT']},'fileText':{'type':Sequelize['TEXT']},'failureReason':{'type':Sequelize[_0x51ff81('0x14')]},'sentiment':{'type':Sequelize[_0x51ff81('0x1')]},'sPositive':{'type':Sequelize[_0x51ff81('0x5')]},'sNegative':{'type':Sequelize[_0x51ff81('0x5')]},'sNeutral':{'type':Sequelize[_0x51ff81('0x5')]},'sMixed':{'type':Sequelize[_0x51ff81('0x5')]},'tempSentiment':{'type':Sequelize[_0x51ff81('0xd')],'defaultValue':![]},'createdAt':{'type':Sequelize['DATE'],'get':function(){const _0x58dc4d=_0x51ff81;return moment(this[_0x58dc4d('0x4')](_0x58dc4d('0xe')))[_0x58dc4d('0x11')](_0x58dc4d('0xf'))[_0x58dc4d('0x2')]();}},'updatedAt':{'type':Sequelize[_0x51ff81('0x12')],'get':function(){const _0x35f954=_0x51ff81;return moment(this[_0x35f954('0x4')](_0x35f954('0xb')))[_0x35f954('0x11')](_0x35f954('0xf'))['toString']();}}};
\ No newline at end of file