46bf67df4e35947c9f8cf4ef67bb0f02f2bf96ab
[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 _0x0eba=['agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','Called\x20Number','membername','starttime','Answer\x20Time','answertime','endtime','Duration','duration','Billable\x20Time','billableseconds','getSubjects','string','[xCALLY\x20Ticket]','voice','inbound','push','variable','queue','outbound','destcalleridnum','toLowerCase','keyValue','calleridnum','Caller\x20Name','Call\x20To','destexten','Queue','UniqueId','uniqueid','Date','agentcalledAt','Agent\x20Name','destcalleridname','Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Ring','Agent\x20Connect','Agent\x20Complete'];(function(_0x191024,_0x170fc5){var _0x55a5c6=function(_0x29078e){while(--_0x29078e){_0x191024['push'](_0x191024['shift']());}};_0x55a5c6(++_0x170fc5);}(_0x0eba,0x15e));var _0xa0eb=function(_0x1d873a,_0x39ae0c){_0x1d873a=_0x1d873a-0x0;var _0x2dcd50=_0x0eba[_0x1d873a];return _0x2dcd50;};'use strict';exports[_0xa0eb('0x0')]=function(_0x165e3b,_0x5c5e98){var _0x5cc30a=[{'type':_0xa0eb('0x1'),'content':_0xa0eb('0x2'),'variableName':null}];switch(_0x165e3b['toLowerCase']()){case _0xa0eb('0x3'):switch(_0x5c5e98['toLowerCase']()){case _0xa0eb('0x4'):_0x5cc30a[_0xa0eb('0x5')]({'type':_0xa0eb('0x6'),'content':'','variableName':_0xa0eb('0x7')});_0x5cc30a[_0xa0eb('0x5')]({'type':_0xa0eb('0x6'),'content':'','variableName':'calleridnum'});break;case _0xa0eb('0x8'):_0x5cc30a[_0xa0eb('0x5')]({'type':_0xa0eb('0x1'),'content':'Outbound\x20Call','variableName':null});_0x5cc30a[_0xa0eb('0x5')]({'type':_0xa0eb('0x6'),'content':'','variableName':_0xa0eb('0x9')});break;}}return _0x5cc30a;};exports['getDescriptions']=function(_0x35de5e,_0xf11892){var _0x429375=[];switch(_0x35de5e[_0xa0eb('0xa')]()){case'voice':switch(_0xf11892['toLowerCase']()){case _0xa0eb('0x4'):_0x429375=[{'type':_0xa0eb('0x1'),'content':'***\x20Call\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0xa0eb('0xb'),'content':'','key':'Caller\x20Number','keyType':_0xa0eb('0x6'),'variableName':_0xa0eb('0xc')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0xd'),'keyType':_0xa0eb('0x6'),'variableName':'calleridname'},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0xe'),'keyType':_0xa0eb('0x6'),'variableName':_0xa0eb('0xf')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x10'),'keyType':_0xa0eb('0x6'),'variableName':_0xa0eb('0x7')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x11'),'keyType':'variable','variableName':_0xa0eb('0x12')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x13'),'keyType':_0xa0eb('0x6'),'variableName':_0xa0eb('0x14')},{'type':'string','content':'***\x20Agent\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x15'),'keyType':_0xa0eb('0x6'),'variableName':_0xa0eb('0x16')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x17'),'keyType':_0xa0eb('0x6'),'variableName':_0xa0eb('0x9')},{'type':'string','content':_0xa0eb('0x18'),'key':null,'keyType':null,'variableName':null},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x19'),'keyType':_0xa0eb('0x6'),'variableName':_0xa0eb('0x14')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x1a'),'keyType':_0xa0eb('0x6'),'variableName':'agentconnectAt'},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x1b'),'keyType':_0xa0eb('0x6'),'variableName':_0xa0eb('0x1c')},{'type':'keyValue','content':'','key':_0xa0eb('0x1d'),'keyType':_0xa0eb('0x6'),'variableName':_0xa0eb('0x1e')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x1f'),'keyType':_0xa0eb('0x6'),'variableName':'talktime'}];break;case _0xa0eb('0x8'):_0x429375=[{'type':_0xa0eb('0x1'),'content':'***\x20Call\x20Info\x20***','variableName':null},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x20'),'keyType':'variable','keyContent':'','variableName':'destcalleridnum'},{'type':'keyValue','content':'','key':'Member\x20Name','keyType':'variable','keyContent':'','variableName':_0xa0eb('0x21')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x11'),'keyType':_0xa0eb('0x6'),'keyContent':'','variableName':_0xa0eb('0x12')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x13'),'keyType':_0xa0eb('0x6'),'keyContent':'','variableName':_0xa0eb('0x22')},{'type':_0xa0eb('0x1'),'content':_0xa0eb('0x18')},{'type':'keyValue','content':'','key':_0xa0eb('0x23'),'keyType':_0xa0eb('0x6'),'keyContent':'','variableName':_0xa0eb('0x24')},{'type':_0xa0eb('0xb'),'content':'','key':'Complete\x20Time','keyType':'variable','keyContent':'','variableName':_0xa0eb('0x25')},{'type':_0xa0eb('0xb'),'content':'','key':_0xa0eb('0x26'),'keyType':_0xa0eb('0x6'),'keyContent':'','variableName':_0xa0eb('0x27')},{'type':'keyValue','content':'','key':_0xa0eb('0x28'),'keyType':_0xa0eb('0x6'),'keyContent':'','variableName':_0xa0eb('0x29')}];break;}}return _0x429375;};