Built motion from commit b0a9a629.|2.6.33
[motion2.git] / server / api / schedule / schedule.attributes.js
index b3adad6..68b5986 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x5cf8=['ENUM','quarters','months','weeks','minutes','csv','pdf','xlsx','custom','default','BOOLEAN','TEXT','sequelize','exports','STRING','0\x200\x20*\x20*\x20*','DATE'];(function(_0x41221d,_0xc4cd84){var _0x58ca14=function(_0x38b0dc){while(--_0x38b0dc){_0x41221d['push'](_0x41221d['shift']());}};_0x58ca14(++_0xc4cd84);}(_0x5cf8,0x1b5));var _0x85cf=function(_0x1439e6,_0x2634b8){_0x1439e6=_0x1439e6-0x0;var _0x1101a9=_0x5cf8[_0x1439e6];return _0x1101a9;};'use strict';var Sequelize=require(_0x85cf('0x0'));module[_0x85cf('0x1')]={'name':{'type':Sequelize[_0x85cf('0x2')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x85cf('0x3')},'startAt':{'type':Sequelize[_0x85cf('0x4')],'allowNull':![]},'endAt':{'type':Sequelize[_0x85cf('0x4')],'allowNull':![]},'subtractNumber':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x85cf('0x5')]('years',_0x85cf('0x6'),_0x85cf('0x7'),_0x85cf('0x8'),'days','hours',_0x85cf('0x9')),'allowNull':![],'defaultValue':'days'},'output':{'type':Sequelize[_0x85cf('0x5')](_0x85cf('0xa'),_0x85cf('0xb'),_0x85cf('0xc')),'allowNull':![],'defaultValue':_0x85cf('0xa')},'type':{'type':Sequelize[_0x85cf('0x5')](_0x85cf('0xd'),_0x85cf('0xe')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize[_0x85cf('0xf')],'defaultValue':![]},'email':{'type':Sequelize[_0x85cf('0x2')]},'cc':{'type':Sequelize[_0x85cf('0x10')]},'bcc':{'type':Sequelize[_0x85cf('0x10')]},'sendIfEmpty':{'type':Sequelize[_0x85cf('0xf')],'defaultValue':!![]}};
\ No newline at end of file
+var _0xe716=['weeks','days','hours','minutes','ENUM','csv','pdf','custom','TEXT','sequelize','STRING','BOOLEAN','DATE','years','quarters'];(function(_0xcd0918,_0x56bdf9){var _0x250704=function(_0x56788e){while(--_0x56788e){_0xcd0918['push'](_0xcd0918['shift']());}};_0x250704(++_0x56bdf9);}(_0xe716,0x18f));var _0x6e71=function(_0x34b42e,_0x5c5533){_0x34b42e=_0x34b42e-0x0;var _0x2b69b7=_0xe716[_0x34b42e];return _0x2b69b7;};'use strict';var Sequelize=require(_0x6e71('0x0'));module['exports']={'name':{'type':Sequelize['STRING'],'allowNull':![]},'description':{'type':Sequelize[_0x6e71('0x1')]},'active':{'type':Sequelize[_0x6e71('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x6e71('0x1')],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize[_0x6e71('0x3')],'allowNull':![]},'endAt':{'type':Sequelize[_0x6e71('0x3')],'allowNull':![]},'subtractNumber':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize['ENUM'](_0x6e71('0x4'),_0x6e71('0x5'),'months',_0x6e71('0x6'),_0x6e71('0x7'),_0x6e71('0x8'),_0x6e71('0x9')),'allowNull':![],'defaultValue':'days'},'output':{'type':Sequelize[_0x6e71('0xa')](_0x6e71('0xb'),_0x6e71('0xc'),'xlsx'),'allowNull':![],'defaultValue':'csv'},'type':{'type':Sequelize[_0x6e71('0xa')]('custom','default'),'allowNull':![],'defaultValue':_0x6e71('0xd')},'sendMail':{'type':Sequelize[_0x6e71('0x2')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize['TEXT']},'bcc':{'type':Sequelize[_0x6e71('0xe')]},'sendIfEmpty':{'type':Sequelize[_0x6e71('0x2')],'defaultValue':!![]}};
\ No newline at end of file