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