Built motion from commit b5413ace.|2.6.9
[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 _0x50ed=['weeks','days','minutes','csv','pdf','custom','default','TEXT','sequelize','exports','STRING','BOOLEAN','0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','quarters'];(function(_0x17b268,_0x33314a){var _0x1eb7f1=function(_0x43e2ea){while(--_0x43e2ea){_0x17b268['push'](_0x17b268['shift']());}};_0x1eb7f1(++_0x33314a);}(_0x50ed,0x182));var _0xd50e=function(_0x278383,_0x4b4f70){_0x278383=_0x278383-0x0;var _0x243a7e=_0x50ed[_0x278383];return _0x243a7e;};'use strict';var Sequelize=require(_0xd50e('0x0'));module[_0xd50e('0x1')]={'name':{'type':Sequelize[_0xd50e('0x2')],'allowNull':![]},'description':{'type':Sequelize[_0xd50e('0x2')]},'active':{'type':Sequelize[_0xd50e('0x3')],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xd50e('0x4')},'startAt':{'type':Sequelize[_0xd50e('0x5')],'allowNull':![]},'endAt':{'type':Sequelize[_0xd50e('0x5')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xd50e('0x6')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0xd50e('0x7')](_0xd50e('0x8'),_0xd50e('0x9'),'months',_0xd50e('0xa'),_0xd50e('0xb'),'hours',_0xd50e('0xc')),'allowNull':![],'defaultValue':_0xd50e('0xb')},'output':{'type':Sequelize[_0xd50e('0x7')](_0xd50e('0xd'),_0xd50e('0xe'),'xlsx'),'allowNull':![],'defaultValue':_0xd50e('0xd')},'type':{'type':Sequelize[_0xd50e('0x7')](_0xd50e('0xf'),_0xd50e('0x10')),'allowNull':![],'defaultValue':_0xd50e('0xf')},'sendMail':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'email':{'type':Sequelize[_0xd50e('0x2')]},'cc':{'type':Sequelize['TEXT']},'bcc':{'type':Sequelize[_0xd50e('0x11')]},'sendIfEmpty':{'type':Sequelize[_0xd50e('0x3')],'defaultValue':!![]}};