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 _0x1ee4=['setDataValue','queuecallerleaveAt','holdtime','INTEGER','BOOLEAN','COMPLETEDBYCALLER,\x20COMPLETEDBYAGENT,\x20FORWARDTRANFER,\x20BLINDTRANSFER,\x20ATTENDEDTRANSFER,\x20EXITWITHKEY,\x20TIMEOUT','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','moment','exports','STRING','DATE','getDataValue','queuecallerjoinAt','YYYY-MM-DD\x20HH:mm:ss','diff','seconds'];(function(_0x3ea16a,_0x3a37c0){var _0xb2687b=function(_0x248930){while(--_0x248930){_0x3ea16a['push'](_0x3ea16a['shift']());}};_0xb2687b(++_0x3a37c0);}(_0x1ee4,0x16c));var _0x41ee=function(_0x2777cb,_0x373c5d){_0x2777cb=_0x2777cb-0x0;var _0x48f6ed=_0x1ee4[_0x2777cb];return _0x48f6ed;};'use strict';var Sequelize=require(_0x41ee('0x0'));var moment=require(_0x41ee('0x1'));module[_0x41ee('0x2')]={'type':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize['STRING']},'calleridname':{'type':Sequelize[_0x41ee('0x3')]},'queue':{'type':Sequelize[_0x41ee('0x3')]},'queuecallerjoinAt':{'type':Sequelize[_0x41ee('0x4')]},'queuecallerleaveAt':{'type':Sequelize[_0x41ee('0x4')],'set':function(_0x289017){var _0x13dd74=moment(_0x289017);var _0x1f1186=moment(this[_0x41ee('0x5')](_0x41ee('0x6')))['format'](_0x41ee('0x7'));var _0x99eff1=_0x13dd74[_0x41ee('0x8')](_0x1f1186,_0x41ee('0x9'));this[_0x41ee('0xa')](_0x41ee('0xb'),_0x289017);this[_0x41ee('0xa')](_0x41ee('0xc'),_0x99eff1||null);}},'position':{'type':Sequelize[_0x41ee('0xd')]},'count':{'type':Sequelize[_0x41ee('0xd')]},'queuecallerabandon':{'type':Sequelize[_0x41ee('0xe')],'defaultValue':![]},'queuecallerabandonAt':{'type':Sequelize['DATE']},'queuecallercomplete':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'queuecallercompleteAt':{'type':Sequelize[_0x41ee('0x4')]},'queuecallerexit':{'type':Sequelize[_0x41ee('0xe')],'defaultValue':![]},'queuecallerexitAt':{'type':Sequelize[_0x41ee('0x4')]},'queuecallerexitreason':{'type':Sequelize[_0x41ee('0x3')],'comment':_0x41ee('0xf')},'originalposition':{'type':Sequelize['INTEGER']},'channel':{'type':Sequelize['STRING']},'connectedlinenum':{'type':Sequelize[_0x41ee('0x3')]},'connectedlinename':{'type':Sequelize[_0x41ee('0x3')]},'accountcode':{'type':Sequelize[_0x41ee('0x3')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0x41ee('0x3')]},'priority':{'type':Sequelize[_0x41ee('0x3')]},'holdtime':{'type':Sequelize[_0x41ee('0xd')]},'mohtime':{'type':Sequelize[_0x41ee('0xd')],'defaultValue':0x0},'assigned':{'type':Sequelize[_0x41ee('0xe')],'defaultValue':![]},'lastAssignedTo':{'type':Sequelize['STRING']},'transfer':{'type':Sequelize[_0x41ee('0xe')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0x41ee('0x3')],'comment':_0x41ee('0x10')},'transferexten':{'type':Sequelize[_0x41ee('0x3')]},'transferuniqueid':{'type':Sequelize['STRING']},'disposition':{'type':Sequelize[_0x41ee('0x3')]},'queuecallerenterreason':{'type':Sequelize[_0x41ee('0xd')],'defaultValue':0x0}};