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