Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / schedule / schedule.attributes.js
index 9e50073..f67a221 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xa678=['years','months','weeks','days','hours','minutes','pdf','csv','default','custom','TEXT','sequelize','exports','STRING','BOOLEAN','INTEGER','ENUM'];(function(_0x4248f3,_0x2ab024){var _0x3598bc=function(_0x22e5de){while(--_0x22e5de){_0x4248f3['push'](_0x4248f3['shift']());}};_0x3598bc(++_0x2ab024);}(_0xa678,0xa4));var _0x8a67=function(_0x24371c,_0x5cafac){_0x24371c=_0x24371c-0x0;var _0x28b558=_0xa678[_0x24371c];return _0x28b558;};'use strict';var Sequelize=require(_0x8a67('0x0'));module[_0x8a67('0x1')]={'name':{'type':Sequelize[_0x8a67('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0x8a67('0x2')]},'active':{'type':Sequelize[_0x8a67('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x8a67('0x2')],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize['DATE'],'allowNull':![]},'endAt':{'type':Sequelize['DATE'],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x8a67('0x4')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x8a67('0x5')](_0x8a67('0x6'),'quarters',_0x8a67('0x7'),_0x8a67('0x8'),_0x8a67('0x9'),_0x8a67('0xa'),_0x8a67('0xb')),'allowNull':![],'defaultValue':'days'},'output':{'type':Sequelize[_0x8a67('0x5')]('csv',_0x8a67('0xc'),'xlsx'),'allowNull':![],'defaultValue':_0x8a67('0xd')},'type':{'type':Sequelize[_0x8a67('0x5')]('custom',_0x8a67('0xe')),'allowNull':![],'defaultValue':_0x8a67('0xf')},'sendMail':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x8a67('0x10')]},'bcc':{'type':Sequelize[_0x8a67('0x10')]},'sendIfEmpty':{'type':Sequelize[_0x8a67('0x3')],'defaultValue':!![]}};
\ No newline at end of file
+var _0xec3a=['csv','pdf','xlsx','ENUM','default','custom','TEXT','exports','STRING','BOOLEAN','DATE','INTEGER','years','quarters','months','weeks','hours','minutes','days'];(function(_0x569a8f,_0x3d10fa){var _0x27bc32=function(_0x5da1ed){while(--_0x5da1ed){_0x569a8f['push'](_0x569a8f['shift']());}};_0x27bc32(++_0x3d10fa);}(_0xec3a,0x137));var _0xaec3=function(_0x19950b,_0x53d0d7){_0x19950b=_0x19950b-0x0;var _0x3c6b41=_0xec3a[_0x19950b];return _0x3c6b41;};'use strict';var Sequelize=require('sequelize');module[_0xaec3('0x0')]={'name':{'type':Sequelize[_0xaec3('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0xaec3('0x1')]},'active':{'type':Sequelize[_0xaec3('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0xaec3('0x1')],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize[_0xaec3('0x3')],'allowNull':![]},'endAt':{'type':Sequelize['DATE'],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xaec3('0x4')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize['ENUM'](_0xaec3('0x5'),_0xaec3('0x6'),_0xaec3('0x7'),_0xaec3('0x8'),'days',_0xaec3('0x9'),_0xaec3('0xa')),'allowNull':![],'defaultValue':_0xaec3('0xb')},'output':{'type':Sequelize['ENUM'](_0xaec3('0xc'),_0xaec3('0xd'),_0xaec3('0xe')),'allowNull':![],'defaultValue':_0xaec3('0xc')},'type':{'type':Sequelize[_0xaec3('0xf')]('custom',_0xaec3('0x10')),'allowNull':![],'defaultValue':_0xaec3('0x11')},'sendMail':{'type':Sequelize[_0xaec3('0x2')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0xaec3('0x12')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize[_0xaec3('0x2')],'defaultValue':!![]}};
\ No newline at end of file