Built motion from commit (unavailable).|2.2.0
[motion2.git] / server / api / voiceRecording / voiceRecording.attributes.js
index b50978f..5351792 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc093=['sequelize','moment','path','exports','VIRTUAL','getDataValue','value','setDataValue','membername','STRING','DATE','createdAt','MM-DD-YYYY\x20HH:mm','updatedAt','format','toString'];(function(_0x1f9f5f,_0x509fb7){var _0x51d649=function(_0x4a5285){while(--_0x4a5285){_0x1f9f5f['push'](_0x1f9f5f['shift']());}};_0x51d649(++_0x509fb7);}(_0xc093,0x1c0));var _0x3c09=function(_0x1fbeaf,_0x256fbd){_0x1fbeaf=_0x1fbeaf-0x0;var _0x13daa3=_0xc093[_0x1fbeaf];return _0x13daa3;};'use strict';var Sequelize=require(_0x3c09('0x0'));var moment=require(_0x3c09('0x1'));var path=require(_0x3c09('0x2'));module[_0x3c09('0x3')]={'format':{'type':Sequelize[_0x3c09('0x4')],'get':function(){return this[_0x3c09('0x5')](_0x3c09('0x6'))?path['extname'](this[_0x3c09('0x5')]('value')):undefined;}},'uniqueid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize['STRING'],'set':function(_0x4e4cb8){if(_0x4e4cb8){this[_0x3c09('0x7')]('channel',_0x4e4cb8);this['setDataValue'](_0x3c09('0x8'),_0x4e4cb8['split'](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x3c09('0x9')]},'calleridnum':{'type':Sequelize[_0x3c09('0x9')]},'calleridname':{'type':Sequelize[_0x3c09('0x9')]},'connectedlinenum':{'type':Sequelize[_0x3c09('0x9')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize['STRING']},'context':{'type':Sequelize[_0x3c09('0x9')]},'exten':{'type':Sequelize['STRING']},'value':{'type':Sequelize[_0x3c09('0x9')]},'type':{'type':Sequelize['STRING']},'rating':{'type':Sequelize['INTEGER'],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0x3c09('0x9')]},'userDisposition':{'type':Sequelize['STRING']},'createdAt':{'type':Sequelize[_0x3c09('0xa')],'get':function(){return moment(this['getDataValue'](_0x3c09('0xb')))['format'](_0x3c09('0xc'))['toString']();}},'updatedAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0x3c09('0x5')](_0x3c09('0xd')))[_0x3c09('0xe')](_0x3c09('0xc'))[_0x3c09('0xf')]();}}};
\ No newline at end of file
+var _0x8ae8=['createdAt','format','MM-DD-YYYY\x20HH:mm','updatedAt','toString','exports','VIRTUAL','getDataValue','value','extname','setDataValue','membername','split','STRING','INTEGER','DATE'];(function(_0x24d5bb,_0x54f0cc){var _0x30daf0=function(_0x14581b){while(--_0x14581b){_0x24d5bb['push'](_0x24d5bb['shift']());}};_0x30daf0(++_0x54f0cc);}(_0x8ae8,0x125));var _0x88ae=function(_0x29bf80,_0x4af855){_0x29bf80=_0x29bf80-0x0;var _0x932096=_0x8ae8[_0x29bf80];return _0x932096;};'use strict';var Sequelize=require('sequelize');var moment=require('moment');var path=require('path');module[_0x88ae('0x0')]={'format':{'type':Sequelize[_0x88ae('0x1')],'get':function(){return this[_0x88ae('0x2')](_0x88ae('0x3'))?path[_0x88ae('0x4')](this[_0x88ae('0x2')](_0x88ae('0x3'))):undefined;}},'uniqueid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize['STRING'],'set':function(_0x435c63){if(_0x435c63){this[_0x88ae('0x5')]('channel',_0x435c63);this[_0x88ae('0x5')](_0x88ae('0x6'),_0x435c63[_0x88ae('0x7')](/\/|-/)[0x1]);}}},'membername':{'type':Sequelize[_0x88ae('0x8')]},'calleridnum':{'type':Sequelize[_0x88ae('0x8')]},'calleridname':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x88ae('0x8')]},'connectedlinename':{'type':Sequelize['STRING']},'accountcode':{'type':Sequelize[_0x88ae('0x8')]},'context':{'type':Sequelize[_0x88ae('0x8')]},'exten':{'type':Sequelize[_0x88ae('0x8')]},'value':{'type':Sequelize['STRING']},'type':{'type':Sequelize[_0x88ae('0x8')]},'rating':{'type':Sequelize[_0x88ae('0x9')],'validate':{'max':0x5,'min':0x0}},'queue':{'type':Sequelize[_0x88ae('0x8')]},'userDisposition':{'type':Sequelize['STRING']},'createdAt':{'type':Sequelize[_0x88ae('0xa')],'get':function(){return moment(this[_0x88ae('0x2')](_0x88ae('0xb')))[_0x88ae('0xc')](_0x88ae('0xd'))['toString']();}},'updatedAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0x88ae('0x2')](_0x88ae('0xe')))['format'](_0x88ae('0xd'))[_0x88ae('0xf')]();}}};
\ No newline at end of file