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