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