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