Built motion from commit b87691d.|0.0.53
[motion.git] / server / models / voice_recording.js
1 var _0x5c24=["\x6D\x6F\x6D\x65\x6E\x74","\x65\x78\x70\x6F\x72\x74\x73","\x56\x6F\x69\x63\x65\x52\x65\x63\x6F\x72\x64\x69\x6E\x67","\x53\x54\x52\x49\x4E\x47","\x49\x4E\x54\x45\x47\x45\x52","\x44\x41\x54\x45","\x4D\x4D\x2D\x44\x44\x2D\x59\x59\x59\x59\x20\x48\x48\x3A\x6D\x6D","\x66\x6F\x72\x6D\x61\x74","\x61\x67\x65\x6E\x74\x63\x6F\x6E\x6E\x65\x63\x74\x41\x74","\x67\x65\x74\x44\x61\x74\x61\x56\x61\x6C\x75\x65","\x76\x6F\x69\x63\x65\x5F\x72\x65\x63\x6F\x72\x64\x69\x6E\x67\x73","\x64\x65\x66\x69\x6E\x65"];var moment=require(_0x5c24[0]);module[_0x5c24[1]]=function(_0x1bf8x2,_0x1bf8x3){var _0x1bf8x4=_0x1bf8x2[_0x5c24[11]](_0x5c24[2],{uniqueid:{type:_0x1bf8x3[_0x5c24[3]],primaryKey:true},channel:{type:_0x1bf8x3[_0x5c24[3]]},calleridnum:{type:_0x1bf8x3[_0x5c24[3]]},calleridname:{type:_0x1bf8x3[_0x5c24[3]]},connectedlinenum:{type:_0x1bf8x3[_0x5c24[3]]},connectedlinename:{type:_0x1bf8x3[_0x5c24[3]]},language:{type:_0x1bf8x3[_0x5c24[3]]},accountcode:{type:_0x1bf8x3[_0x5c24[3]]},context:{type:_0x1bf8x3[_0x5c24[3]]},exten:{type:_0x1bf8x3[_0x5c24[3]]},value:{type:_0x1bf8x3[_0x5c24[3]]},type:{type:_0x1bf8x3[_0x5c24[3]]},rating:{type:_0x1bf8x3[_0x5c24[4]],defaultValue:0,validate:{max:5,min:0}},createdAt:{type:_0x1bf8x3[_0x5c24[5]],get:function(){return moment(this[_0x5c24[9]](_0x5c24[8]))[_0x5c24[7]](_0x5c24[6])}},updatedAt:{type:_0x1bf8x3[_0x5c24[5]],get:function(){return moment(this[_0x5c24[9]](_0x5c24[8]))[_0x5c24[7]](_0x5c24[6])}}},{tableName:_0x5c24[10],associate:function(_0x1bf8x5){}});return _0x1bf8x4}