Built motion from commit (unavailable).|2.5.4
[motion2.git] / server / api / screenRecording / screenRecording.attributes.js
index 6ec2224..070d21f 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x17ba=['MM-DD-YYYY\x20HH:mm','toString','createdAt','sequelize','moment','../../config/environment','exports','VIRTUAL','getDataValue','value','extname','STRING','replace','setDataValue','INTEGER','startedAt','subtract','closedAt','duration','DATE','format'];(function(_0x26e949,_0x4de8bc){var _0x33cd65=function(_0x4a001b){while(--_0x4a001b){_0x26e949['push'](_0x26e949['shift']());}};_0x33cd65(++_0x4de8bc);}(_0x17ba,0xab));var _0xa17b=function(_0x5f39f8,_0x5f24cb){_0x5f39f8=_0x5f39f8-0x0;var _0x567915=_0x17ba[_0x5f39f8];return _0x567915;};'use strict';var Sequelize=require(_0xa17b('0x0'));var moment=require(_0xa17b('0x1'));var path=require('path');var config=require(_0xa17b('0x2'));module[_0xa17b('0x3')]={'format':{'type':Sequelize[_0xa17b('0x4')],'get':function(){return this[_0xa17b('0x5')](_0xa17b('0x6'))?path[_0xa17b('0x7')](this[_0xa17b('0x5')](_0xa17b('0x6'))):undefined;}},'interactionid':{'type':Sequelize[_0xa17b('0x8')]},'channel':{'type':Sequelize[_0xa17b('0x8')]},'value':{'type':Sequelize[_0xa17b('0x8')],'set':function(_0x2e3d43){var _0x1957be=_0x2e3d43[_0xa17b('0x9')](/\\/g,'/');this[_0xa17b('0xa')](_0xa17b('0x6'),_0x1957be);}},'rating':{'type':Sequelize[_0xa17b('0xb')],'validate':{'max':0x5,'min':0x0}},'duration':{'type':Sequelize[_0xa17b('0xb')],'set':function(_0x15bdfc){this['setDataValue'](_0xa17b('0xc'),moment()[_0xa17b('0xd')](_0x15bdfc,'ms'));this[_0xa17b('0xa')](_0xa17b('0xe'),moment());this[_0xa17b('0xa')](_0xa17b('0xf'),_0x15bdfc);}},'startedAt':{'type':Sequelize[_0xa17b('0x10')],'get':function(){return moment(this['getDataValue'](_0xa17b('0xc')))[_0xa17b('0x11')](_0xa17b('0x12'))['toString']();}},'closedAt':{'type':Sequelize[_0xa17b('0x10')],'get':function(){return moment(this[_0xa17b('0x5')](_0xa17b('0xe')))[_0xa17b('0x11')]('MM-DD-YYYY\x20HH:mm')[_0xa17b('0x13')]();}},'createdAt':{'type':Sequelize['DATE'],'get':function(){return moment(this[_0xa17b('0x5')](_0xa17b('0x14')))['format'](_0xa17b('0x12'))[_0xa17b('0x13')]();}},'updatedAt':{'type':Sequelize[_0xa17b('0x10')],'get':function(){return moment(this[_0xa17b('0x5')]('updatedAt'))[_0xa17b('0x11')]('MM-DD-YYYY\x20HH:mm')['toString']();}}};
\ No newline at end of file
+var _0x4b84=['createdAt','sequelize','moment','exports','value','extname','getDataValue','STRING','setDataValue','INTEGER','subtract','closedAt','duration','DATE','format','MM-DD-YYYY\x20HH:mm','toString'];(function(_0x3fbb10,_0x15e109){var _0x3d063c=function(_0x2ed91f){while(--_0x2ed91f){_0x3fbb10['push'](_0x3fbb10['shift']());}};_0x3d063c(++_0x15e109);}(_0x4b84,0x1cc));var _0x44b8=function(_0x350aeb,_0x3d265a){_0x350aeb=_0x350aeb-0x0;var _0x3c5273=_0x4b84[_0x350aeb];return _0x3c5273;};'use strict';var Sequelize=require(_0x44b8('0x0'));var moment=require(_0x44b8('0x1'));var path=require('path');var config=require('../../config/environment');module[_0x44b8('0x2')]={'format':{'type':Sequelize['VIRTUAL'],'get':function(){return this['getDataValue'](_0x44b8('0x3'))?path[_0x44b8('0x4')](this[_0x44b8('0x5')]('value')):undefined;}},'interactionid':{'type':Sequelize['STRING']},'channel':{'type':Sequelize['STRING']},'value':{'type':Sequelize[_0x44b8('0x6')],'set':function(_0x54274b){var _0x327f59=_0x54274b['replace'](/\\/g,'/');this[_0x44b8('0x7')]('value',_0x327f59);}},'rating':{'type':Sequelize['INTEGER'],'validate':{'max':0x5,'min':0x0}},'duration':{'type':Sequelize[_0x44b8('0x8')],'set':function(_0x42319d){this[_0x44b8('0x7')]('startedAt',moment()[_0x44b8('0x9')](_0x42319d,'ms'));this[_0x44b8('0x7')](_0x44b8('0xa'),moment());this[_0x44b8('0x7')](_0x44b8('0xb'),_0x42319d);}},'startedAt':{'type':Sequelize[_0x44b8('0xc')],'get':function(){return moment(this[_0x44b8('0x5')]('startedAt'))[_0x44b8('0xd')](_0x44b8('0xe'))['toString']();}},'closedAt':{'type':Sequelize[_0x44b8('0xc')],'get':function(){return moment(this['getDataValue'](_0x44b8('0xa')))[_0x44b8('0xd')]('MM-DD-YYYY\x20HH:mm')[_0x44b8('0xf')]();}},'createdAt':{'type':Sequelize['DATE'],'get':function(){return moment(this['getDataValue'](_0x44b8('0x10')))[_0x44b8('0xd')](_0x44b8('0xe'))[_0x44b8('0xf')]();}},'updatedAt':{'type':Sequelize['DATE'],'get':function(){return moment(this['getDataValue']('updatedAt'))[_0x44b8('0xd')]('MM-DD-YYYY\x20HH:mm')[_0x44b8('0xf')]();}}};
\ No newline at end of file