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