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