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