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 _0xbd8e=['INTEGER','BOOLEAN','FORWARD,\x20BLIND,\x20ATTENDED','sequelize','exports','STRING','DATE'];(function(_0x308f2e,_0x581367){var _0x3a6383=function(_0x4298fd){while(--_0x4298fd){_0x308f2e['push'](_0x308f2e['shift']());}};_0x3a6383(++_0x581367);}(_0xbd8e,0x1b5));var _0xebd8=function(_0x21a9d9,_0x4d5ac8){_0x21a9d9=_0x21a9d9-0x0;var _0x46adce=_0xbd8e[_0x21a9d9];return _0x46adce;};'use strict';var Sequelize=require(_0xebd8('0x0'));module[_0xebd8('0x1')]={'type':{'type':Sequelize['STRING']},'uniqueid':{'type':Sequelize['STRING']},'calleridnum':{'type':Sequelize[_0xebd8('0x2')]},'calleridname':{'type':Sequelize['STRING']},'queue':{'type':Sequelize[_0xebd8('0x2')]},'interface':{'type':Sequelize[_0xebd8('0x2')]},'membername':{'type':Sequelize[_0xebd8('0x2')]},'agentcalledAt':{'type':Sequelize[_0xebd8('0x3')]},'agentconnectAt':{'type':Sequelize[_0xebd8('0x3')]},'agentcompleteAt':{'type':Sequelize['DATE']},'agentringnoanswerAt':{'type':Sequelize[_0xebd8('0x3')]},'agentdumpAt':{'type':Sequelize[_0xebd8('0x3')]},'holdtime':{'type':Sequelize[_0xebd8('0x4')]},'agentcomplete':{'type':Sequelize[_0xebd8('0x5')],'defaultValue':![]},'agentringnoanswer':{'type':Sequelize[_0xebd8('0x5')],'defaultValue':![]},'agentdump':{'type':Sequelize['BOOLEAN'],'defaultValue':![]},'talktime':{'type':Sequelize[_0xebd8('0x4')]},'agentacw':{'type':Sequelize[_0xebd8('0x5')],'defaultValue':![]},'acwtime':{'type':Sequelize[_0xebd8('0x4')]},'reason':{'type':Sequelize[_0xebd8('0x2')]},'lastevent':{'type':Sequelize['STRING']},'channel':{'type':Sequelize['STRING']},'channelstate':{'type':Sequelize['INTEGER']},'channelstatedesc':{'type':Sequelize[_0xebd8('0x2')]},'connectedlinenum':{'type':Sequelize[_0xebd8('0x2')]},'connectedlinename':{'type':Sequelize[_0xebd8('0x2')]},'language':{'type':Sequelize[_0xebd8('0x2')]},'accountcode':{'type':Sequelize[_0xebd8('0x2')]},'context':{'type':Sequelize['STRING']},'exten':{'type':Sequelize[_0xebd8('0x2')]},'priority':{'type':Sequelize['STRING']},'destchannel':{'type':Sequelize[_0xebd8('0x2')]},'destchannelstate':{'type':Sequelize[_0xebd8('0x4')]},'destchannelstatedesc':{'type':Sequelize['STRING']},'destcalleridnum':{'type':Sequelize[_0xebd8('0x2')]},'destcalleridname':{'type':Sequelize[_0xebd8('0x2')]},'destconnectedlinenum':{'type':Sequelize[_0xebd8('0x2')]},'destconnectedlinename':{'type':Sequelize['STRING']},'destlanguage':{'type':Sequelize[_0xebd8('0x2')]},'destaccountcode':{'type':Sequelize['STRING']},'destcontext':{'type':Sequelize[_0xebd8('0x2')]},'destexten':{'type':Sequelize['STRING']},'destpriority':{'type':Sequelize['STRING']},'destuniqueid':{'type':Sequelize[_0xebd8('0x2')]},'answeredelsewheredestinationuniqueid':{'type':Sequelize[_0xebd8('0x2')]},'answeredelsewheremembername':{'type':Sequelize[_0xebd8('0x2')]},'transfer':{'type':Sequelize[_0xebd8('0x5')],'defaultValue':![]},'transfertype':{'type':Sequelize[_0xebd8('0x2')],'comment':_0xebd8('0x6')},'transferexten':{'type':Sequelize[_0xebd8('0x2')]},'transferuniqueid':{'type':Sequelize[_0xebd8('0x2')]},'agententerreason':{'type':Sequelize[_0xebd8('0x4')],'defaultValue':0x0}};