e7953df2bb4d659ada16bed32e0cc07366ff629b
[motion2.git] / server / services / ami / model / channel.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0xaf9f=['accountcode','context','uniqueid','answered','answertime','endtime','unmanaged','lastapplication','duration','billableseconds','holdtime','type','tag','disposition','monitor','queue','transferconnectedlinenum','mohtime','starttime','destinationchannel','calleridnum','calleridname'];(function(_0x14add3,_0x13ce8d){var _0x4a174f=function(_0x2b3ed7){while(--_0x2b3ed7){_0x14add3['push'](_0x14add3['shift']());}};_0x4a174f(++_0x13ce8d);}(_0xaf9f,0x1b4));var _0xfaf9=function(_0x346737,_0x3e6081){_0x346737=_0x346737-0x0;var _0x1ade2e=_0xaf9f[_0x346737];return _0x1ade2e;};'use strict';function Channel(){this[_0xfaf9('0x0')]=null;this['channel']='';this[_0xfaf9('0x1')]='';this[_0xfaf9('0x2')]=0x0;this[_0xfaf9('0x3')]='';this['connectedlinenum']=undefined;this['connectedlinename']=undefined;this[_0xfaf9('0x4')]=0x0;this[_0xfaf9('0x5')]='';this[_0xfaf9('0x6')]=0x0;this['linkedid']=0x0;this['exten']=0x0;this[_0xfaf9('0x7')]=![];this[_0xfaf9('0x8')]=null;this[_0xfaf9('0x9')]=null;this[_0xfaf9('0xa')]=![];this['abandoned']=![];this[_0xfaf9('0xb')]='';this['lastdata']='';this[_0xfaf9('0xc')]=0x0;this[_0xfaf9('0xd')]=0x0;this[_0xfaf9('0xe')]=0x0;this[_0xfaf9('0xf')]=null;this[_0xfaf9('0x10')]=null;this[_0xfaf9('0x11')]=null;this[_0xfaf9('0x12')]=![];this['monitorFilename']=null;this[_0xfaf9('0x13')]=null;this['monitors']=[];this['transfercalleridnum']=undefined;this[_0xfaf9('0x14')]=undefined;this[_0xfaf9('0x15')]=0x0;}module['exports']=Channel;