Built motion from commit 4a17b4ed.|2.6.17
[motion2.git] / server / api / schedule / schedule.attributes.js
index 2926b2b..d96c9f4 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0x1e02=['months','weeks','days','hours','minutes','csv','xlsx','custom','default','TEXT','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','quarters'];(function(_0x2e8843,_0x58a2ab){var _0x88b62e=function(_0x57d8b8){while(--_0x57d8b8){_0x2e8843['push'](_0x2e8843['shift']());}};_0x88b62e(++_0x58a2ab);}(_0x1e02,0xc8));var _0x21e0=function(_0x5467be,_0x381eb2){_0x5467be=_0x5467be-0x0;var _0xc9e404=_0x1e02[_0x5467be];return _0xc9e404;};'use strict';var Sequelize=require('sequelize');module[_0x21e0('0x0')]={'name':{'type':Sequelize[_0x21e0('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0x21e0('0x1')]},'active':{'type':Sequelize[_0x21e0('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x21e0('0x1')],'allowNull':![],'defaultValue':_0x21e0('0x3')},'startAt':{'type':Sequelize[_0x21e0('0x4')],'allowNull':![]},'endAt':{'type':Sequelize['DATE'],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x21e0('0x5')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x21e0('0x6')](_0x21e0('0x7'),_0x21e0('0x8'),_0x21e0('0x9'),_0x21e0('0xa'),_0x21e0('0xb'),_0x21e0('0xc'),_0x21e0('0xd')),'allowNull':![],'defaultValue':_0x21e0('0xb')},'output':{'type':Sequelize[_0x21e0('0x6')](_0x21e0('0xe'),'pdf',_0x21e0('0xf')),'allowNull':![],'defaultValue':'csv'},'type':{'type':Sequelize['ENUM'](_0x21e0('0x10'),_0x21e0('0x11')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize[_0x21e0('0x2')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0x21e0('0x12')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize[_0x21e0('0x2')],'defaultValue':!![]}};
\ No newline at end of file
+var _0x5c2f=['csv','custom','default','TEXT','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','years','quarters','months','weeks','hours','minutes','days','ENUM','pdf','xlsx'];(function(_0x5159fd,_0x4b760b){var _0x409bae=function(_0x30f5f0){while(--_0x30f5f0){_0x5159fd['push'](_0x5159fd['shift']());}};_0x409bae(++_0x4b760b);}(_0x5c2f,0x1d0));var _0xf5c2=function(_0x20ae3b,_0x23a21c){_0x20ae3b=_0x20ae3b-0x0;var _0x391475=_0x5c2f[_0x20ae3b];return _0x391475;};'use strict';var Sequelize=require('sequelize');module[_0xf5c2('0x0')]={'name':{'type':Sequelize[_0xf5c2('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0xf5c2('0x1')]},'active':{'type':Sequelize[_0xf5c2('0x2')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0xf5c2('0x1')],'allowNull':![],'defaultValue':_0xf5c2('0x3')},'startAt':{'type':Sequelize[_0xf5c2('0x4')],'allowNull':![]},'endAt':{'type':Sequelize['DATE'],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xf5c2('0x5')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize['ENUM'](_0xf5c2('0x6'),_0xf5c2('0x7'),_0xf5c2('0x8'),_0xf5c2('0x9'),'days',_0xf5c2('0xa'),_0xf5c2('0xb')),'allowNull':![],'defaultValue':_0xf5c2('0xc')},'output':{'type':Sequelize[_0xf5c2('0xd')]('csv',_0xf5c2('0xe'),_0xf5c2('0xf')),'allowNull':![],'defaultValue':_0xf5c2('0x10')},'type':{'type':Sequelize[_0xf5c2('0xd')](_0xf5c2('0x11'),_0xf5c2('0x12')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize[_0xf5c2('0x2')],'defaultValue':![]},'email':{'type':Sequelize['STRING']},'cc':{'type':Sequelize[_0xf5c2('0x13')]},'bcc':{'type':Sequelize[_0xf5c2('0x13')]},'sendIfEmpty':{'type':Sequelize[_0xf5c2('0x2')],'defaultValue':!![]}};
\ No newline at end of file