Built motion from commit 0900f080.|2.5.45
[motion2.git] / server / api / schedule / schedule.attributes.js
index df467fb..f67a221 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x8b8e=['years','quarters','months','weeks','days','hours','csv','custom','TEXT','sequelize','STRING','BOOLEAN','DATE','INTEGER','ENUM'];(function(_0x498010,_0x3339e5){var _0x47b1dc=function(_0xe31602){while(--_0xe31602){_0x498010['push'](_0x498010['shift']());}};_0x47b1dc(++_0x3339e5);}(_0x8b8e,0x108));var _0xe8b8=function(_0x428ccc,_0x2d3040){_0x428ccc=_0x428ccc-0x0;var _0x23eb1d=_0x8b8e[_0x428ccc];return _0x23eb1d;};'use strict';var Sequelize=require(_0xe8b8('0x0'));module['exports']={'name':{'type':Sequelize[_0xe8b8('0x1')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0xe8b8('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize[_0xe8b8('0x3')],'allowNull':![]},'endAt':{'type':Sequelize[_0xe8b8('0x3')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xe8b8('0x4')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0xe8b8('0x5')](_0xe8b8('0x6'),_0xe8b8('0x7'),_0xe8b8('0x8'),_0xe8b8('0x9'),_0xe8b8('0xa'),_0xe8b8('0xb'),'minutes'),'allowNull':![],'defaultValue':_0xe8b8('0xa')},'output':{'type':Sequelize['ENUM'](_0xe8b8('0xc'),'pdf','xlsx'),'allowNull':![],'defaultValue':_0xe8b8('0xc')},'type':{'type':Sequelize[_0xe8b8('0x5')]('custom','default'),'allowNull':![],'defaultValue':_0xe8b8('0xd')},'sendMail':{'type':Sequelize[_0xe8b8('0x2')],'defaultValue':![]},'email':{'type':Sequelize[_0xe8b8('0x1')]},'cc':{'type':Sequelize[_0xe8b8('0xe')]},'bcc':{'type':Sequelize[_0xe8b8('0xe')]},'sendIfEmpty':{'type':Sequelize[_0xe8b8('0x2')],'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