Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / schedule / schedule.attributes.js
index cace093..81c336e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xbb67=['months','weeks','hours','minutes','days','csv','pdf','xlsx','default','custom','TEXT','exports','STRING','BOOLEAN','DATE','INTEGER','ENUM','years','quarters'];(function(_0x32f7d7,_0x54231b){var _0x133d09=function(_0x41a7ab){while(--_0x41a7ab){_0x32f7d7['push'](_0x32f7d7['shift']());}};_0x133d09(++_0x54231b);}(_0xbb67,0x161));var _0x7bb6=function(_0x239861,_0x533d27){_0x239861=_0x239861-0x0;var _0x56e949=_0xbb67[_0x239861];return _0x56e949;};'use strict';var Sequelize=require('sequelize');module[_0x7bb6('0x0')]={'name':{'type':Sequelize[_0x7bb6('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0x7bb6('0x1')]},'active':{'type':Sequelize[_0x7bb6('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x7bb6('0x1')],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize[_0x7bb6('0x3')],'allowNull':![]},'endAt':{'type':Sequelize[_0x7bb6('0x3')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x7bb6('0x4')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x7bb6('0x5')](_0x7bb6('0x6'),_0x7bb6('0x7'),_0x7bb6('0x8'),_0x7bb6('0x9'),'days',_0x7bb6('0xa'),_0x7bb6('0xb')),'allowNull':![],'defaultValue':_0x7bb6('0xc')},'output':{'type':Sequelize[_0x7bb6('0x5')](_0x7bb6('0xd'),_0x7bb6('0xe'),_0x7bb6('0xf')),'allowNull':![],'defaultValue':_0x7bb6('0xd')},'type':{'type':Sequelize[_0x7bb6('0x5')]('custom',_0x7bb6('0x10')),'allowNull':![],'defaultValue':_0x7bb6('0x11')},'sendMail':{'type':Sequelize[_0x7bb6('0x2')],'defaultValue':![]},'email':{'type':Sequelize[_0x7bb6('0x1')]},'cc':{'type':Sequelize[_0x7bb6('0x12')]},'bcc':{'type':Sequelize[_0x7bb6('0x12')]},'sendIfEmpty':{'type':Sequelize[_0x7bb6('0x2')],'defaultValue':!![]}};
\ No newline at end of file
+var _0xf174=['TEXT','exports','STRING','INTEGER','ENUM','years','quarters','months','weeks','minutes','csv','pdf','custom','default','BOOLEAN'];(function(_0x20a584,_0xe384a5){var _0x4b41a8=function(_0x2127c6){while(--_0x2127c6){_0x20a584['push'](_0x20a584['shift']());}};_0x4b41a8(++_0xe384a5);}(_0xf174,0x1a5));var _0x4f17=function(_0x20c432,_0x224c52){_0x20c432=_0x20c432-0x0;var _0x5b02e9=_0xf174[_0x20c432];return _0x5b02e9;};'use strict';var Sequelize=require('sequelize');module[_0x4f17('0x0')]={'name':{'type':Sequelize[_0x4f17('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0x4f17('0x1')]},'active':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x4f17('0x1')],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize['DATE'],'allowNull':![]},'endAt':{'type':Sequelize['DATE'],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x4f17('0x2')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x4f17('0x3')](_0x4f17('0x4'),_0x4f17('0x5'),_0x4f17('0x6'),_0x4f17('0x7'),'days','hours',_0x4f17('0x8')),'allowNull':![],'defaultValue':'days'},'output':{'type':Sequelize[_0x4f17('0x3')](_0x4f17('0x9'),_0x4f17('0xa'),'xlsx'),'allowNull':![],'defaultValue':'csv'},'type':{'type':Sequelize[_0x4f17('0x3')](_0x4f17('0xb'),_0x4f17('0xc')),'allowNull':![],'defaultValue':_0x4f17('0xb')},'sendMail':{'type':Sequelize[_0x4f17('0xd')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x4f17('0xe')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize[_0x4f17('0xd')],'defaultValue':!![]}};
\ No newline at end of file