Built motion from commit 85328c08.|2.5.50
[motion2.git] / server / api / schedule / schedule.attributes.js
index 1823fd0..81c336e 100644 (file)
@@ -15,4 +15,4 @@
 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                        *
 // *                                                                       *
 // *************************************************************************
-var _0xeae8=['custom','TEXT','sequelize','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','quarters','months','weeks','days','hours','minutes','pdf','xlsx','csv'];(function(_0xdea41a,_0x552987){var _0x15d0d8=function(_0x1e0d0b){while(--_0x1e0d0b){_0xdea41a['push'](_0xdea41a['shift']());}};_0x15d0d8(++_0x552987);}(_0xeae8,0x66));var _0x8eae=function(_0x8e8872,_0x27a570){_0x8e8872=_0x8e8872-0x0;var _0x5ac07f=_0xeae8[_0x8e8872];return _0x5ac07f;};'use strict';var Sequelize=require(_0x8eae('0x0'));module[_0x8eae('0x1')]={'name':{'type':Sequelize[_0x8eae('0x2')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x8eae('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x8eae('0x4')},'startAt':{'type':Sequelize['DATE'],'allowNull':![]},'endAt':{'type':Sequelize[_0x8eae('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x8eae('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x8eae('0x7')](_0x8eae('0x8'),_0x8eae('0x9'),_0x8eae('0xa'),_0x8eae('0xb'),_0x8eae('0xc'),_0x8eae('0xd'),_0x8eae('0xe')),'allowNull':![],'defaultValue':_0x8eae('0xc')},'output':{'type':Sequelize['ENUM']('csv',_0x8eae('0xf'),_0x8eae('0x10')),'allowNull':![],'defaultValue':_0x8eae('0x11')},'type':{'type':Sequelize[_0x8eae('0x7')](_0x8eae('0x12'),'default'),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'email':{'type':Sequelize[_0x8eae('0x2')]},'cc':{'type':Sequelize[_0x8eae('0x13')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize[_0x8eae('0x3')],'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