Built motion from commit 64440dd5.|2.6.29
[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 _0xfbf0=['days','hours','minutes','ENUM','csv','xlsx','custom','default','TEXT','BOOLEAN','exports','STRING','0\x200\x20*\x20*\x20*','DATE','INTEGER','years','months','weeks'];(function(_0x334676,_0x821ff4){var _0x58a7ab=function(_0x3b7087){while(--_0x3b7087){_0x334676['push'](_0x334676['shift']());}};_0x58a7ab(++_0x821ff4);}(_0xfbf0,0xe2));var _0x0fbf=function(_0x381589,_0x27a707){_0x381589=_0x381589-0x0;var _0x2a075d=_0xfbf0[_0x381589];return _0x2a075d;};'use strict';var Sequelize=require('sequelize');module[_0x0fbf('0x0')]={'name':{'type':Sequelize['STRING'],'allowNull':![]},'description':{'type':Sequelize[_0x0fbf('0x1')]},'active':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x0fbf('0x1')],'allowNull':![],'defaultValue':_0x0fbf('0x2')},'startAt':{'type':Sequelize[_0x0fbf('0x3')],'allowNull':![]},'endAt':{'type':Sequelize[_0x0fbf('0x3')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0x0fbf('0x4')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize['ENUM'](_0x0fbf('0x5'),'quarters',_0x0fbf('0x6'),_0x0fbf('0x7'),_0x0fbf('0x8'),_0x0fbf('0x9'),_0x0fbf('0xa')),'allowNull':![],'defaultValue':_0x0fbf('0x8')},'output':{'type':Sequelize[_0x0fbf('0xb')](_0x0fbf('0xc'),'pdf',_0x0fbf('0xd')),'allowNull':![],'defaultValue':_0x0fbf('0xc')},'type':{'type':Sequelize['ENUM'](_0x0fbf('0xe'),_0x0fbf('0xf')),'allowNull':![],'defaultValue':_0x0fbf('0xe')},'sendMail':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'email':{'type':Sequelize[_0x0fbf('0x1')]},'cc':{'type':Sequelize[_0x0fbf('0x10')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize[_0x0fbf('0x11')],'defaultValue':!![]}};