1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0x1c3e=['0\x200\x20*\x20*\x20*','DATE','INTEGER','ENUM','years','months','weeks','hours','minutes','days','csv','pdf','xlsx','custom','default','BOOLEAN','TEXT','sequelize','STRING'];(function(_0x5cecaa,_0xc08405){var _0x107245=function(_0x580da8){while(--_0x580da8){_0x5cecaa['push'](_0x5cecaa['shift']());}};_0x107245(++_0xc08405);}(_0x1c3e,0x17a));var _0xe1c3=function(_0x46361e,_0x243aaf){_0x46361e=_0x46361e-0x0;var _0x14e302=_0x1c3e[_0x46361e];return _0x14e302;};'use strict';var Sequelize=require(_0xe1c3('0x0'));module['exports']={'name':{'type':Sequelize[_0xe1c3('0x1')],'allowNull':![]},'description':{'type':Sequelize[_0xe1c3('0x1')]},'active':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize['STRING'],'allowNull':![],'defaultValue':_0xe1c3('0x2')},'startAt':{'type':Sequelize[_0xe1c3('0x3')],'allowNull':![]},'endAt':{'type':Sequelize[_0xe1c3('0x3')],'allowNull':![]},'subtractNumber':{'type':Sequelize[_0xe1c3('0x4')],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0xe1c3('0x5')](_0xe1c3('0x6'),'quarters',_0xe1c3('0x7'),_0xe1c3('0x8'),'days',_0xe1c3('0x9'),_0xe1c3('0xa')),'allowNull':![],'defaultValue':_0xe1c3('0xb')},'output':{'type':Sequelize['ENUM'](_0xe1c3('0xc'),_0xe1c3('0xd'),_0xe1c3('0xe')),'allowNull':![],'defaultValue':_0xe1c3('0xc')},'type':{'type':Sequelize[_0xe1c3('0x5')](_0xe1c3('0xf'),_0xe1c3('0x10')),'allowNull':![],'defaultValue':'custom'},'sendMail':{'type':Sequelize[_0xe1c3('0x11')],'defaultValue':![]},'email':{'type':Sequelize[_0xe1c3('0x1')]},'cc':{'type':Sequelize[_0xe1c3('0x12')]},'bcc':{'type':Sequelize['TEXT']},'sendIfEmpty':{'type':Sequelize[_0xe1c3('0x11')],'defaultValue':!![]}};