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 _0xa858=['INTEGER','BOOLEAN','UNSIGNED','contactListQueue','sequelize','exports','DATE','format','YYYY-MM-DD\x20HH:mm:ss'];(function(_0x1b0e20,_0x55749f){var _0x5b34d6=function(_0x1db03d){while(--_0x1db03d){_0x1b0e20['push'](_0x1b0e20['shift']());}};_0x5b34d6(++_0x55749f);}(_0xa858,0x1a2));var _0x8a85=function(_0xf751b7,_0x384650){_0xf751b7=_0xf751b7-0x0;var _0x241dfc=_0xa858[_0xf751b7];return _0x241dfc;};'use strict';var moment=require('moment');var Sequelize=require(_0x8a85('0x0'));module[_0x8a85('0x1')]={'phone':{'type':Sequelize['STRING'],'allowNull':![]},'active':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'scheduledat':{'type':Sequelize[_0x8a85('0x2')],'defaultValue':moment()[_0x8a85('0x3')](_0x8a85('0x4'))},'countbusyretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countcongestionretry':{'type':Sequelize[_0x8a85('0x5')],'defaultValue':0x0},'countnoanswerretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'callback':{'type':Sequelize[_0x8a85('0x6')],'defaultValue':![]},'callbackuniqueid':{'type':Sequelize['STRING'],'defaultValue':null},'callbackat':{'type':Sequelize[_0x8a85('0x2')]},'priority':{'type':Sequelize[_0x8a85('0x5')](0x2)[_0x8a85('0x7')],'defaultValue':0x2,'validate':{'min':0x0,'max':0x4}},'recallme':{'type':Sequelize[_0x8a85('0x6')],'defaultValue':![]},'ContactId':{'type':Sequelize[_0x8a85('0x5')],'unique':_0x8a85('0x8')},'ListId':{'type':Sequelize[_0x8a85('0x5')],'unique':_0x8a85('0x8')},'UserId':{'type':Sequelize[_0x8a85('0x5')]},'VoiceQueueId':{'type':Sequelize['INTEGER'],'unique':_0x8a85('0x8')},'CampaignId':{'type':Sequelize['INTEGER']},'countnosuchnumberretry':{'type':Sequelize[_0x8a85('0x5')],'defaultValue':0x0},'countdropretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countabandonedretry':{'type':Sequelize['INTEGER'],'defaultValue':0x0},'countmachineretry':{'type':Sequelize[_0x8a85('0x5')],'defaultValue':0x0},'countagentrejectretry':{'type':Sequelize[_0x8a85('0x5')],'defaultValue':0x0},'OrderBy':{'type':Sequelize['INTEGER'],'allowNull':!![],'defaultValue':0x0},'dialTimezone':{'type':Sequelize['STRING']},'recallmeNotifiedDate':{'type':Sequelize[_0x8a85('0x2')],'allowNull':!![],'defaultValue':null}};