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