1b3b075bbf4e5971e3113fa1b2692a94044165f2
[motion2.git] / server / components / integrations / configuration.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 _0xf55f=['push','variable','queue','calleridnum','outbound','Outbound\x20Call','destcalleridnum','getDescriptions','inbound','***\x20Call\x20Info\x20***','keyValue','Caller\x20Name','calleridname','Call\x20To','destexten','UniqueId','uniqueid','Date','agentcalledAt','***\x20Agent\x20Info\x20***','Agent\x20Name','destcalleridname','***\x20Time\x20Info\x20***','agentconnectAt','Agent\x20Complete','agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','Called\x20Number','Member\x20Name','membername','Complete\x20Time','endtime','Duration','Billable\x20Time','billableseconds','string','[xCALLY\x20Ticket]','toLowerCase','voice'];(function(_0x1f5386,_0x41280c){var _0x4a5768=function(_0x55aa1f){while(--_0x55aa1f){_0x1f5386['push'](_0x1f5386['shift']());}};_0x4a5768(++_0x41280c);}(_0xf55f,0xa0));var _0xff55=function(_0x3c38c7,_0x14dd97){_0x3c38c7=_0x3c38c7-0x0;var _0x4aa4b1=_0xf55f[_0x3c38c7];return _0x4aa4b1;};'use strict';exports['getSubjects']=function(_0x40ecbf,_0x108702){var _0xdba3b7=[{'type':_0xff55('0x0'),'content':_0xff55('0x1'),'variableName':null}];switch(_0x40ecbf[_0xff55('0x2')]()){case _0xff55('0x3'):switch(_0x108702[_0xff55('0x2')]()){case'inbound':_0xdba3b7[_0xff55('0x4')]({'type':_0xff55('0x5'),'content':'','variableName':_0xff55('0x6')});_0xdba3b7[_0xff55('0x4')]({'type':_0xff55('0x5'),'content':'','variableName':_0xff55('0x7')});break;case _0xff55('0x8'):_0xdba3b7[_0xff55('0x4')]({'type':_0xff55('0x0'),'content':_0xff55('0x9'),'variableName':null});_0xdba3b7[_0xff55('0x4')]({'type':'variable','content':'','variableName':_0xff55('0xa')});break;}}return _0xdba3b7;};exports[_0xff55('0xb')]=function(_0x18bf98,_0x1b7f8c){var _0x1ff665=[];switch(_0x18bf98[_0xff55('0x2')]()){case _0xff55('0x3'):switch(_0x1b7f8c[_0xff55('0x2')]()){case _0xff55('0xc'):_0x1ff665=[{'type':_0xff55('0x0'),'content':_0xff55('0xd'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':'Caller\x20Number','keyType':_0xff55('0x5'),'variableName':_0xff55('0x7')},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0xf'),'keyType':'variable','variableName':_0xff55('0x10')},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x11'),'keyType':'variable','variableName':_0xff55('0x12')},{'type':'keyValue','content':'','key':'Queue','keyType':_0xff55('0x5'),'variableName':_0xff55('0x6')},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x13'),'keyType':_0xff55('0x5'),'variableName':_0xff55('0x14')},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x15'),'keyType':_0xff55('0x5'),'variableName':_0xff55('0x16')},{'type':_0xff55('0x0'),'content':_0xff55('0x17'),'key':null,'keyType':null,'variableName':null},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x18'),'keyType':_0xff55('0x5'),'variableName':_0xff55('0x19')},{'type':_0xff55('0xe'),'content':'','key':'Agent\x20Number','keyType':_0xff55('0x5'),'variableName':'destcalleridnum'},{'type':'string','content':_0xff55('0x1a'),'key':null,'keyType':null,'variableName':null},{'type':_0xff55('0xe'),'content':'','key':'Agent\x20Ring','keyType':_0xff55('0x5'),'variableName':_0xff55('0x16')},{'type':_0xff55('0xe'),'content':'','key':'Agent\x20Connect','keyType':_0xff55('0x5'),'variableName':_0xff55('0x1b')},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x1c'),'keyType':_0xff55('0x5'),'variableName':_0xff55('0x1d')},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x1e'),'keyType':_0xff55('0x5'),'variableName':_0xff55('0x1f')},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x20'),'keyType':_0xff55('0x5'),'variableName':'talktime'}];break;case _0xff55('0x8'):_0x1ff665=[{'type':'string','content':_0xff55('0xd'),'variableName':null},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x21'),'keyType':_0xff55('0x5'),'keyContent':'','variableName':_0xff55('0xa')},{'type':'keyValue','content':'','key':_0xff55('0x22'),'keyType':_0xff55('0x5'),'keyContent':'','variableName':_0xff55('0x23')},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x13'),'keyType':'variable','keyContent':'','variableName':'uniqueid'},{'type':'keyValue','content':'','key':_0xff55('0x15'),'keyType':'variable','keyContent':'','variableName':'starttime'},{'type':_0xff55('0x0'),'content':_0xff55('0x1a')},{'type':_0xff55('0xe'),'content':'','key':'Answer\x20Time','keyType':_0xff55('0x5'),'keyContent':'','variableName':'answertime'},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x24'),'keyType':_0xff55('0x5'),'keyContent':'','variableName':_0xff55('0x25')},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x26'),'keyType':_0xff55('0x5'),'keyContent':'','variableName':'duration'},{'type':_0xff55('0xe'),'content':'','key':_0xff55('0x27'),'keyType':_0xff55('0x5'),'keyContent':'','variableName':_0xff55('0x28')}];break;}}return _0x1ff665;};