Built motion from commit 53172ac8.|2.6.30
[motion2.git] / server / api / schedule / schedule.attributes.js
index a7c1578..292516c 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xc933=['weeks','days','hours','minutes','csv','pdf','xlsx','custom','default','TEXT','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','months'];(function(_0x7a29b7,_0x2e44fe){var _0x3bdfdf=function(_0x4927a4){while(--_0x4927a4){_0x7a29b7['push'](_0x7a29b7['shift']());}};_0x3bdfdf(++_0x2e44fe);}(_0xc933,0xac));var _0x3c93=function(_0x306a09,_0x4eacf6){_0x306a09=_0x306a09-0x0;var _0x86e2c1=_0xc933[_0x306a09];return _0x86e2c1;};'use strict';var Sequelize=require('sequelize');module[_0x3c93('0x0')]={'name':{'type':Sequelize[_0x3c93('0x1')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x3c93('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x3c93('0x1')],'allowNull':![],'defaultValue':_0x3c93('0x3')},'startAt':{'type':Sequelize[_0x3c93('0x4')],'allowNull':![]},'endAt':{'type':Sequelize[_0x3c93('0x4')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x3c93('0x5')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x3c93('0x6')]('years','quarters',_0x3c93('0x7'),_0x3c93('0x8'),_0x3c93('0x9'),_0x3c93('0xa'),_0x3c93('0xb')),'allowNull':![],'defaultValue':'days'},'output':{'type':Sequelize['ENUM'](_0x3c93('0xc'),_0x3c93('0xd'),_0x3c93('0xe')),'allowNull':![],'defaultValue':_0x3c93('0xc')},'type':{'type':Sequelize['ENUM'](_0x3c93('0xf'),_0x3c93('0x10')),'allowNull':![],'defaultValue':_0x3c93('0xf')},'sendMail':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'email':{'type':Sequelize[_0x3c93('0x1')]},'cc':{'type':Sequelize[_0x3c93('0x11')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};
\ No newline at end of file
+var _0xf4ea=['months','days','hours','minutes','pdf','xlsx','csv','custom','default','TEXT','sequelize','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','quarters'];(function(_0x494a64,_0x44ccb5){var _0x5d8cee=function(_0x827780){while(--_0x827780){_0x494a64['push'](_0x494a64['shift']());}};_0x5d8cee(++_0x44ccb5);}(_0xf4ea,0xfa));var _0xaf4e=function(_0xcbff5,_0x50eb75){_0xcbff5=_0xcbff5-0x0;var _0x13a00a=_0xf4ea[_0xcbff5];return _0x13a00a;};'use strict';var Sequelize=require(_0xaf4e('0x0'));module[_0xaf4e('0x1')]={'name':{'type':Sequelize[_0xaf4e('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0xaf4e('0x2')]},'active':{'type':Sequelize[_0xaf4e('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0xaf4e('0x2')],'allowNull':![],'defaultValue':_0xaf4e('0x4')},'startAt':{'type':Sequelize['DATE'],'allowNull':![]},'endAt':{'type':Sequelize[_0xaf4e('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xaf4e('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0xaf4e('0x7')](_0xaf4e('0x8'),_0xaf4e('0x9'),_0xaf4e('0xa'),'weeks',_0xaf4e('0xb'),_0xaf4e('0xc'),_0xaf4e('0xd')),'allowNull':![],'defaultValue':_0xaf4e('0xb')},'output':{'type':Sequelize[_0xaf4e('0x7')]('csv',_0xaf4e('0xe'),_0xaf4e('0xf')),'allowNull':![],'defaultValue':_0xaf4e('0x10')},'type':{'type':Sequelize[_0xaf4e('0x7')](_0xaf4e('0x11'),_0xaf4e('0x12')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0xaf4e('0x13')]},'bcc':{'type':Sequelize[_0xaf4e('0x13')]},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};
\ No newline at end of file