X-Git-Url: http://repos.xcallymotion.com/?a=blobdiff_plain;f=server%2Fapi%2Fschedule%2Fschedule.attributes.js;h=cc2a3db8f2917b85354f47e44caa7d65940c8233;hb=ebe00679b2d367c1cf2b2b91609ee1ce4bd8fb94;hp=81c336e7c02d2e27b95a94184808f71b86c82b0f;hpb=fb34d7d7b73e912de94d572e15e1910ea03e3516;p=motion2.git diff --git a/server/api/schedule/schedule.attributes.js b/server/api/schedule/schedule.attributes.js index 81c336e..cc2a3db 100644 --- a/server/api/schedule/schedule.attributes.js +++ b/server/api/schedule/schedule.attributes.js @@ -15,4 +15,4 @@ // * treaties. The SOFTWARE PRODUCT is licensed, not sold. * // * * // ************************************************************************* -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 +var _0x79e2=['exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','quarters','days','csv','pdf','xlsx','custom','default','TEXT','sequelize'];(function(_0x2435b8,_0x3bce09){var _0x2cfea0=function(_0x4d55e0){while(--_0x4d55e0){_0x2435b8['push'](_0x2435b8['shift']());}};_0x2cfea0(++_0x3bce09);}(_0x79e2,0x15f));var _0x279e=function(_0x446789,_0x40aa74){_0x446789=_0x446789-0x0;var _0x534e45=_0x79e2[_0x446789];return _0x534e45;};'use strict';var Sequelize=require(_0x279e('0x0'));module[_0x279e('0x1')]={'name':{'type':Sequelize[_0x279e('0x2')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize[_0x279e('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0x279e('0x4')},'startAt':{'type':Sequelize[_0x279e('0x5')],'allowNull':![]},'endAt':{'type':Sequelize[_0x279e('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x279e('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x279e('0x7')]('years',_0x279e('0x8'),'months','weeks',_0x279e('0x9'),'hours','minutes'),'allowNull':![],'defaultValue':_0x279e('0x9')},'output':{'type':Sequelize['ENUM'](_0x279e('0xa'),_0x279e('0xb'),_0x279e('0xc')),'allowNull':![],'defaultValue':_0x279e('0xa')},'type':{'type':Sequelize[_0x279e('0x7')](_0x279e('0xd'),_0x279e('0xe')),'allowNull':![],'defaultValue':_0x279e('0xd')},'sendMail':{'type':Sequelize[_0x279e('0x3')],'defaultValue':![]},'email':{'type':Sequelize[_0x279e('0x2')]},'cc':{'type':Sequelize[_0x279e('0xf')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}}; \ No newline at end of file