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