Built motion from commit (unavailable).|2.5.11
[motion2.git] / server / api / schedule / schedule.attributes.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
13 // * The SOFTWARE PRODUCT is protected by copyright laws and international *
14 // * copyright treaties, as well as other intellectual property laws and   *
15 // * treaties. The SOFTWARE PRODUCT is licensed, not sold.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x7e4b=['years','quarters','months','weeks','hours','days','csv','pdf','xlsx','custom','default','TEXT','sequelize','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM'];(function(_0x82129b,_0x484ae9){var _0x2ae5dc=function(_0x299e34){while(--_0x299e34){_0x82129b['push'](_0x82129b['shift']());}};_0x2ae5dc(++_0x484ae9);}(_0x7e4b,0x84));var _0xb7e4=function(_0x3e307d,_0x274c48){_0x3e307d=_0x3e307d-0x0;var _0x424aa9=_0x7e4b[_0x3e307d];return _0x424aa9;};'use strict';var Sequelize=require(_0xb7e4('0x0'));module[_0xb7e4('0x1')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'description':{'type':Sequelize[_0xb7e4('0x2')]},'active':{'type':Sequelize[_0xb7e4('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xb7e4('0x4')},'startAt':{'type':Sequelize[_0xb7e4('0x5')],'allowNull':![]},'endAt':{'type':Sequelize[_0xb7e4('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xb7e4('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0xb7e4('0x7')](_0xb7e4('0x8'),_0xb7e4('0x9'),_0xb7e4('0xa'),_0xb7e4('0xb'),'days',_0xb7e4('0xc'),'minutes'),'allowNull':![],'defaultValue':_0xb7e4('0xd')},'output':{'type':Sequelize[_0xb7e4('0x7')](_0xb7e4('0xe'),_0xb7e4('0xf'),_0xb7e4('0x10')),'allowNull':![],'defaultValue':_0xb7e4('0xe')},'type':{'type':Sequelize[_0xb7e4('0x7')](_0xb7e4('0x11'),_0xb7e4('0x12')),'allowNull':![],'defaultValue':_0xb7e4('0x11')},'sendMail':{'type':Sequelize[_0xb7e4('0x3')],'defaultValue':![]},'email':{'type':Sequelize[_0xb7e4('0x2')]},'cc':{'type':Sequelize[_0xb7e4('0x13')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize['BOOLEAN'],'defaultValue':!![]}};