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