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