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