050df82731ad557e060864930b829856dff3730e
[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 _0x4fc2=['Agent\x20Ring','Agent\x20Connect','agentconnectAt','Agent\x20Complete','agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','Called\x20Number','Member\x20Name','Answer\x20Time','answertime','Complete\x20Time','Duration','billableseconds','getSubjects','[xCALLY\x20Ticket]','toLowerCase','voice','inbound','push','queue','calleridnum','outbound','string','Outbound\x20Call','destcalleridnum','getDescriptions','***\x20Call\x20Info\x20***','Caller\x20Number','variable','keyValue','Caller\x20Name','Call\x20To','destexten','Queue','UniqueId','uniqueid','Date','agentcalledAt','Agent\x20Name','Agent\x20Number','***\x20Time\x20Info\x20***'];(function(_0x2dea24,_0x2fc021){var _0x309d58=function(_0x2eb89f){while(--_0x2eb89f){_0x2dea24['push'](_0x2dea24['shift']());}};_0x309d58(++_0x2fc021);}(_0x4fc2,0x111));var _0x24fc=function(_0x322548,_0x3e7823){_0x322548=_0x322548-0x0;var _0x5b1df6=_0x4fc2[_0x322548];return _0x5b1df6;};'use strict';exports[_0x24fc('0x0')]=function(_0x2b05a5,_0x1a4e51){var _0x4390a0=[{'type':'string','content':_0x24fc('0x1'),'variableName':null}];switch(_0x2b05a5[_0x24fc('0x2')]()){case _0x24fc('0x3'):switch(_0x1a4e51['toLowerCase']()){case _0x24fc('0x4'):_0x4390a0[_0x24fc('0x5')]({'type':'variable','content':'','variableName':_0x24fc('0x6')});_0x4390a0[_0x24fc('0x5')]({'type':'variable','content':'','variableName':_0x24fc('0x7')});break;case _0x24fc('0x8'):_0x4390a0[_0x24fc('0x5')]({'type':_0x24fc('0x9'),'content':_0x24fc('0xa'),'variableName':null});_0x4390a0[_0x24fc('0x5')]({'type':'variable','content':'','variableName':_0x24fc('0xb')});break;}}return _0x4390a0;};exports[_0x24fc('0xc')]=function(_0x1a4462,_0x133438){var _0x24998d=[];switch(_0x1a4462[_0x24fc('0x2')]()){case _0x24fc('0x3'):switch(_0x133438[_0x24fc('0x2')]()){case'inbound':_0x24998d=[{'type':_0x24fc('0x9'),'content':_0x24fc('0xd'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0x24fc('0xe'),'keyType':_0x24fc('0xf'),'variableName':_0x24fc('0x7')},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x11'),'keyType':_0x24fc('0xf'),'variableName':'calleridname'},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x12'),'keyType':_0x24fc('0xf'),'variableName':_0x24fc('0x13')},{'type':'keyValue','content':'','key':_0x24fc('0x14'),'keyType':'variable','variableName':_0x24fc('0x6')},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x15'),'keyType':_0x24fc('0xf'),'variableName':_0x24fc('0x16')},{'type':'keyValue','content':'','key':_0x24fc('0x17'),'keyType':_0x24fc('0xf'),'variableName':_0x24fc('0x18')},{'type':_0x24fc('0x9'),'content':'***\x20Agent\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x19'),'keyType':_0x24fc('0xf'),'variableName':'destcalleridname'},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x1a'),'keyType':_0x24fc('0xf'),'variableName':_0x24fc('0xb')},{'type':'string','content':_0x24fc('0x1b'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0x24fc('0x1c'),'keyType':'variable','variableName':_0x24fc('0x18')},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x1d'),'keyType':'variable','variableName':_0x24fc('0x1e')},{'type':'keyValue','content':'','key':_0x24fc('0x1f'),'keyType':_0x24fc('0xf'),'variableName':_0x24fc('0x20')},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x21'),'keyType':_0x24fc('0xf'),'variableName':_0x24fc('0x22')},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x23'),'keyType':_0x24fc('0xf'),'variableName':'talktime'}];break;case _0x24fc('0x8'):_0x24998d=[{'type':_0x24fc('0x9'),'content':_0x24fc('0xd'),'variableName':null},{'type':'keyValue','content':'','key':_0x24fc('0x24'),'keyType':_0x24fc('0xf'),'keyContent':'','variableName':_0x24fc('0xb')},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x25'),'keyType':_0x24fc('0xf'),'keyContent':'','variableName':'membername'},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x15'),'keyType':_0x24fc('0xf'),'keyContent':'','variableName':_0x24fc('0x16')},{'type':_0x24fc('0x10'),'content':'','key':'Date','keyType':'variable','keyContent':'','variableName':'starttime'},{'type':_0x24fc('0x9'),'content':'***\x20Time\x20Info\x20***'},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x26'),'keyType':_0x24fc('0xf'),'keyContent':'','variableName':_0x24fc('0x27')},{'type':'keyValue','content':'','key':_0x24fc('0x28'),'keyType':_0x24fc('0xf'),'keyContent':'','variableName':'endtime'},{'type':_0x24fc('0x10'),'content':'','key':_0x24fc('0x29'),'keyType':'variable','keyContent':'','variableName':'duration'},{'type':_0x24fc('0x10'),'content':'','key':'Billable\x20Time','keyType':_0x24fc('0xf'),'keyContent':'','variableName':_0x24fc('0x2a')}];break;}}return _0x24998d;};