0b01d366f5915d6e02e817258f41a37034a336fa
[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 _0xcf66=['Agent\x20Ring','Agent\x20Connect','Agent\x20Complete','agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','talktime','Called\x20Number','membername','starttime','Answer\x20Time','answertime','Complete\x20Time','endtime','Duration','duration','Billable\x20Time','billableseconds','getSubjects','string','[xCALLY\x20Ticket]','toLowerCase','inbound','variable','queue','push','calleridnum','outbound','Outbound\x20Call','voice','keyValue','Caller\x20Number','Caller\x20Name','calleridname','Call\x20To','Queue','UniqueId','uniqueid','Date','agentcalledAt','***\x20Agent\x20Info\x20***','Agent\x20Name','destcalleridname','Agent\x20Number','destcalleridnum','***\x20Time\x20Info\x20***'];(function(_0x58988e,_0x4f5289){var _0x47f891=function(_0x57a814){while(--_0x57a814){_0x58988e['push'](_0x58988e['shift']());}};_0x47f891(++_0x4f5289);}(_0xcf66,0x71));var _0x6cf6=function(_0x1b5add,_0x4dc3ac){_0x1b5add=_0x1b5add-0x0;var _0x1695ce=_0xcf66[_0x1b5add];return _0x1695ce;};'use strict';exports[_0x6cf6('0x0')]=function(_0x3b5c73,_0x3ec413){var _0x56f1fd=[{'type':_0x6cf6('0x1'),'content':_0x6cf6('0x2'),'variableName':null}];switch(_0x3b5c73['toLowerCase']()){case'voice':switch(_0x3ec413[_0x6cf6('0x3')]()){case _0x6cf6('0x4'):_0x56f1fd['push']({'type':_0x6cf6('0x5'),'content':'','variableName':_0x6cf6('0x6')});_0x56f1fd[_0x6cf6('0x7')]({'type':'variable','content':'','variableName':_0x6cf6('0x8')});break;case _0x6cf6('0x9'):_0x56f1fd[_0x6cf6('0x7')]({'type':_0x6cf6('0x1'),'content':_0x6cf6('0xa'),'variableName':null});_0x56f1fd[_0x6cf6('0x7')]({'type':'variable','content':'','variableName':'destcalleridnum'});break;}}return _0x56f1fd;};exports['getDescriptions']=function(_0x8e90e,_0x504c98){var _0x1fdf80=[];switch(_0x8e90e[_0x6cf6('0x3')]()){case _0x6cf6('0xb'):switch(_0x504c98[_0x6cf6('0x3')]()){case'inbound':_0x1fdf80=[{'type':'string','content':'***\x20Call\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0xd'),'keyType':_0x6cf6('0x5'),'variableName':_0x6cf6('0x8')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0xe'),'keyType':'variable','variableName':_0x6cf6('0xf')},{'type':'keyValue','content':'','key':_0x6cf6('0x10'),'keyType':_0x6cf6('0x5'),'variableName':'destexten'},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x11'),'keyType':_0x6cf6('0x5'),'variableName':_0x6cf6('0x6')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x12'),'keyType':_0x6cf6('0x5'),'variableName':_0x6cf6('0x13')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x14'),'keyType':'variable','variableName':_0x6cf6('0x15')},{'type':_0x6cf6('0x1'),'content':_0x6cf6('0x16'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0x6cf6('0x17'),'keyType':_0x6cf6('0x5'),'variableName':_0x6cf6('0x18')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x19'),'keyType':_0x6cf6('0x5'),'variableName':_0x6cf6('0x1a')},{'type':'string','content':_0x6cf6('0x1b'),'key':null,'keyType':null,'variableName':null},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x1c'),'keyType':_0x6cf6('0x5'),'variableName':_0x6cf6('0x15')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x1d'),'keyType':_0x6cf6('0x5'),'variableName':'agentconnectAt'},{'type':'keyValue','content':'','key':_0x6cf6('0x1e'),'keyType':'variable','variableName':_0x6cf6('0x1f')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x20'),'keyType':_0x6cf6('0x5'),'variableName':_0x6cf6('0x21')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x22'),'keyType':'variable','variableName':_0x6cf6('0x23')}];break;case _0x6cf6('0x9'):_0x1fdf80=[{'type':_0x6cf6('0x1'),'content':'***\x20Call\x20Info\x20***','variableName':null},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x24'),'keyType':_0x6cf6('0x5'),'keyContent':'','variableName':_0x6cf6('0x1a')},{'type':'keyValue','content':'','key':'Member\x20Name','keyType':_0x6cf6('0x5'),'keyContent':'','variableName':_0x6cf6('0x25')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x12'),'keyType':'variable','keyContent':'','variableName':_0x6cf6('0x13')},{'type':'keyValue','content':'','key':'Date','keyType':'variable','keyContent':'','variableName':_0x6cf6('0x26')},{'type':_0x6cf6('0x1'),'content':_0x6cf6('0x1b')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x27'),'keyType':'variable','keyContent':'','variableName':_0x6cf6('0x28')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x29'),'keyType':'variable','keyContent':'','variableName':_0x6cf6('0x2a')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x2b'),'keyType':_0x6cf6('0x5'),'keyContent':'','variableName':_0x6cf6('0x2c')},{'type':_0x6cf6('0xc'),'content':'','key':_0x6cf6('0x2d'),'keyType':_0x6cf6('0x5'),'keyContent':'','variableName':_0x6cf6('0x2e')}];break;}}return _0x1fdf80;};