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 _0x03c1=['TEXT','sequelize','exports','STRING','DATE','ENUM','years','quarters','months','days','hours','minutes','csv','pdf','custom','BOOLEAN'];(function(_0x463b70,_0x2b05ae){var _0x1e3077=function(_0x5b841e){while(--_0x5b841e){_0x463b70['push'](_0x463b70['shift']());}};_0x1e3077(++_0x2b05ae);}(_0x03c1,0x111));var _0x103c=function(_0x308374,_0x550e85){_0x308374=_0x308374-0x0;var _0x1f71e0=_0x03c1[_0x308374];return _0x1f71e0;};'use strict';var Sequelize=require(_0x103c('0x0'));module[_0x103c('0x1')]={'name':{'type':Sequelize[_0x103c('0x2')],'allowNull':![]},'description':{'type':Sequelize['STRING']},'active':{'type':Sequelize['BOOLEAN'],'allowNull':![],'defaultValue':![]},'cron':{'type':Sequelize[_0x103c('0x2')],'allowNull':![],'defaultValue':'0\x200\x20*\x20*\x20*'},'startAt':{'type':Sequelize['DATE'],'allowNull':![]},'endAt':{'type':Sequelize[_0x103c('0x3')],'allowNull':![]},'subtractNumber':{'type':Sequelize['INTEGER'],'allowNull':![],'defaultValue':0x1,'validate':{'min':0x1}},'subtractUnit':{'type':Sequelize[_0x103c('0x4')](_0x103c('0x5'),_0x103c('0x6'),_0x103c('0x7'),'weeks',_0x103c('0x8'),_0x103c('0x9'),_0x103c('0xa')),'allowNull':![],'defaultValue':_0x103c('0x8')},'output':{'type':Sequelize[_0x103c('0x4')](_0x103c('0xb'),_0x103c('0xc'),'xlsx'),'allowNull':![],'defaultValue':_0x103c('0xb')},'type':{'type':Sequelize['ENUM']('custom','default'),'allowNull':![],'defaultValue':_0x103c('0xd')},'sendMail':{'type':Sequelize[_0x103c('0xe')],'defaultValue':![]},'email':{'type':Sequelize[_0x103c('0x2')]},'cc':{'type':Sequelize[_0x103c('0xf')]},'bcc':{'type':Sequelize[_0x103c('0xf')]},'sendIfEmpty':{'type':Sequelize[_0x103c('0xe')],'defaultValue':!![]}};