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