Built motion from commit 82a371561bcdbc7605c801e5e414f4032ba9e7ad. Version 3.0.0...
[motion-next.git] / server / api / voiceRecording / voiceRecording.attributes.js
1 const a770_0x8605=['createdAt','NEW','STRING','value','moment','setDataValue','toString','MM-DD-YYYY\x20HH:mm','extname','getDataValue','channel','updatedAt','format','INTEGER','split','TEXT','VIRTUAL','path','sequelize','DATE','FLOAT'];(function(_0x52beb4,_0x860587){const _0x2f93a0=function(_0x13342c){while(--_0x13342c){_0x52beb4['push'](_0x52beb4['shift']());}};_0x2f93a0(++_0x860587);}(a770_0x8605,0x90));const a770_0x2f93=function(_0x52beb4,_0x860587){_0x52beb4=_0x52beb4-0x0;let _0x2f93a0=a770_0x8605[_0x52beb4];return _0x2f93a0;};const _0xfc9fb7=a770_0x2f93;'use strict';const Sequelize=require(_0xfc9fb7('0x0')),moment=require(_0xfc9fb7('0x7')),path=require(_0xfc9fb7('0x14'));module['exports']={'format':{'type':Sequelize[_0xfc9fb7('0x13')],'get':function(){const _0x340214=_0xfc9fb7;return this[_0x340214('0xc')]('value')?path[_0x340214('0xb')](this[_0x340214('0xc')](_0x340214('0x6'))):undefined;}},'uniqueid':{'type':Sequelize[_0xfc9fb7('0x5')]},'channel':{'type':Sequelize[_0xfc9fb7('0x5')],'set':function(_0x13342c){const _0x1ca5c7=_0xfc9fb7;_0x13342c&&(this['setDataValue'](_0x1ca5c7('0xd'),_0x13342c),this[_0x1ca5c7('0x8')]('membername',_0x13342c[_0x1ca5c7('0x11')](/\/|-/)[0x1]));}},'membername':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xfc9fb7('0x5')]},'calleridname':{'type':Sequelize[_0xfc9fb7('0x5')]},'connectedlinenum':{'type':Sequelize['STRING']},'connectedlinename':{'type':Sequelize[_0xfc9fb7('0x5')]},'accountcode':{'type':Sequelize[_0xfc9fb7('0x5')]},'context':{'type':Sequelize[_0xfc9fb7('0x5')]},'exten':{'type':Sequelize[_0xfc9fb7('0x5')]},'value':{'type':Sequelize[_0xfc9fb7('0x5')]},'type':{'type':Sequelize[_0xfc9fb7('0x5')]},'rating':{'type':Sequelize[_0xfc9fb7('0x10')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0xfc9fb7('0x5')]},'userDisposition':{'type':Sequelize['STRING']},'userSecondDisposition':{'type':Sequelize[_0xfc9fb7('0x5')]},'userThirdDisposition':{'type':Sequelize[_0xfc9fb7('0x5')]},'location':{'type':Sequelize[_0xfc9fb7('0x12')]},'transcribeName':{'type':Sequelize[_0xfc9fb7('0x5')]},'transcribeStatus':{'type':Sequelize[_0xfc9fb7('0x5')],'defaultValue':_0xfc9fb7('0x4')},'fileUri':{'type':Sequelize['TEXT']},'fileText':{'type':Sequelize['TEXT']},'failureReason':{'type':Sequelize[_0xfc9fb7('0x12')]},'sentiment':{'type':Sequelize[_0xfc9fb7('0x5')]},'sPositive':{'type':Sequelize[_0xfc9fb7('0x2')]},'sNegative':{'type':Sequelize[_0xfc9fb7('0x2')]},'sNeutral':{'type':Sequelize['FLOAT']},'sMixed':{'type':Sequelize[_0xfc9fb7('0x2')]},'tempSentiment':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'createdAt':{'type':Sequelize[_0xfc9fb7('0x1')],'get':function(){const _0x576d3c=_0xfc9fb7;return moment(this[_0x576d3c('0xc')](_0x576d3c('0x3')))[_0x576d3c('0xf')](_0x576d3c('0xa'))[_0x576d3c('0x9')]();}},'updatedAt':{'type':Sequelize[_0xfc9fb7('0x1')],'get':function(){const _0x5300e0=_0xfc9fb7;return moment(this[_0x5300e0('0xc')](_0x5300e0('0xe')))[_0x5300e0('0xf')](_0x5300e0('0xa'))[_0x5300e0('0x9')]();}}};