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