7607d4eb90b482303e0a86077c2dd51870f70458
[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 _0xe1e3=['***\x20Time\x20Info\x20***','agentconnectAt','agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','destcalleridnum','Member\x20Name','membername','answertime','Complete\x20Time','endtime','Billable\x20Time','billableseconds','getSubjects','toLowerCase','inbound','push','variable','queue','calleridnum','outbound','string','Outbound\x20Call','voice','calleridname','keyValue','destexten','UniqueId','uniqueid','Date','agentcalledAt','destcalleridname'];(function(_0x34950b,_0x266ce7){var _0x1b2b95=function(_0x286011){while(--_0x286011){_0x34950b['push'](_0x34950b['shift']());}};_0x1b2b95(++_0x266ce7);}(_0xe1e3,0x1bb));var _0x3e1e=function(_0x4ed360,_0x9f6344){_0x4ed360=_0x4ed360-0x0;var _0x151d30=_0xe1e3[_0x4ed360];return _0x151d30;};'use strict';exports[_0x3e1e('0x0')]=function(_0x12da55,_0x55659f){var _0xdbdabb=[{'type':'string','content':'[xCALLY\x20Ticket]','variableName':null}];switch(_0x12da55[_0x3e1e('0x1')]()){case'voice':switch(_0x55659f[_0x3e1e('0x1')]()){case _0x3e1e('0x2'):_0xdbdabb[_0x3e1e('0x3')]({'type':_0x3e1e('0x4'),'content':'','variableName':_0x3e1e('0x5')});_0xdbdabb[_0x3e1e('0x3')]({'type':'variable','content':'','variableName':_0x3e1e('0x6')});break;case _0x3e1e('0x7'):_0xdbdabb[_0x3e1e('0x3')]({'type':_0x3e1e('0x8'),'content':_0x3e1e('0x9'),'variableName':null});_0xdbdabb[_0x3e1e('0x3')]({'type':'variable','content':'','variableName':'destcalleridnum'});break;}}return _0xdbdabb;};exports['getDescriptions']=function(_0x31d205,_0x5b0df8){var _0x349460=[];switch(_0x31d205[_0x3e1e('0x1')]()){case _0x3e1e('0xa'):switch(_0x5b0df8['toLowerCase']()){case _0x3e1e('0x2'):_0x349460=[{'type':'string','content':'***\x20Call\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':'Caller\x20Number','keyType':'variable','variableName':_0x3e1e('0x6')},{'type':'keyValue','content':'','key':'Caller\x20Name','keyType':_0x3e1e('0x4'),'variableName':_0x3e1e('0xb')},{'type':_0x3e1e('0xc'),'content':'','key':'Call\x20To','keyType':'variable','variableName':_0x3e1e('0xd')},{'type':_0x3e1e('0xc'),'content':'','key':'Queue','keyType':_0x3e1e('0x4'),'variableName':_0x3e1e('0x5')},{'type':'keyValue','content':'','key':_0x3e1e('0xe'),'keyType':'variable','variableName':_0x3e1e('0xf')},{'type':_0x3e1e('0xc'),'content':'','key':_0x3e1e('0x10'),'keyType':_0x3e1e('0x4'),'variableName':_0x3e1e('0x11')},{'type':_0x3e1e('0x8'),'content':'***\x20Agent\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':'Agent\x20Name','keyType':_0x3e1e('0x4'),'variableName':_0x3e1e('0x12')},{'type':_0x3e1e('0xc'),'content':'','key':'Agent\x20Number','keyType':_0x3e1e('0x4'),'variableName':'destcalleridnum'},{'type':_0x3e1e('0x8'),'content':_0x3e1e('0x13'),'key':null,'keyType':null,'variableName':null},{'type':_0x3e1e('0xc'),'content':'','key':'Agent\x20Ring','keyType':_0x3e1e('0x4'),'variableName':_0x3e1e('0x11')},{'type':_0x3e1e('0xc'),'content':'','key':'Agent\x20Connect','keyType':'variable','variableName':_0x3e1e('0x14')},{'type':_0x3e1e('0xc'),'content':'','key':'Agent\x20Complete','keyType':_0x3e1e('0x4'),'variableName':_0x3e1e('0x15')},{'type':_0x3e1e('0xc'),'content':'','key':_0x3e1e('0x16'),'keyType':_0x3e1e('0x4'),'variableName':_0x3e1e('0x17')},{'type':_0x3e1e('0xc'),'content':'','key':_0x3e1e('0x18'),'keyType':'variable','variableName':'talktime'}];break;case _0x3e1e('0x7'):_0x349460=[{'type':_0x3e1e('0x8'),'content':'***\x20Call\x20Info\x20***','variableName':null},{'type':'keyValue','content':'','key':'Called\x20Number','keyType':_0x3e1e('0x4'),'keyContent':'','variableName':_0x3e1e('0x19')},{'type':'keyValue','content':'','key':_0x3e1e('0x1a'),'keyType':'variable','keyContent':'','variableName':_0x3e1e('0x1b')},{'type':_0x3e1e('0xc'),'content':'','key':'UniqueId','keyType':_0x3e1e('0x4'),'keyContent':'','variableName':_0x3e1e('0xf')},{'type':_0x3e1e('0xc'),'content':'','key':'Date','keyType':_0x3e1e('0x4'),'keyContent':'','variableName':'starttime'},{'type':'string','content':'***\x20Time\x20Info\x20***'},{'type':_0x3e1e('0xc'),'content':'','key':'Answer\x20Time','keyType':'variable','keyContent':'','variableName':_0x3e1e('0x1c')},{'type':_0x3e1e('0xc'),'content':'','key':_0x3e1e('0x1d'),'keyType':_0x3e1e('0x4'),'keyContent':'','variableName':_0x3e1e('0x1e')},{'type':'keyValue','content':'','key':'Duration','keyType':'variable','keyContent':'','variableName':'duration'},{'type':_0x3e1e('0xc'),'content':'','key':_0x3e1e('0x1f'),'keyType':_0x3e1e('0x4'),'keyContent':'','variableName':_0x3e1e('0x20')}];break;}}return _0x349460;};