1805f85f77869d036fea686afdddfab48909c7a7
[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 _0xc29b=['getSubjects','string','[xCALLY\x20Ticket]','voice','toLowerCase','inbound','push','variable','queue','calleridnum','outbound','Outbound\x20Call','destcalleridnum','getDescriptions','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','Caller\x20Name','destexten','UniqueId','uniqueid','Date','agentcalledAt','Agent\x20Name','Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Ring','Agent\x20Connect','agentconnectAt','Agent\x20Complete','agentcompleteAt','holdtime','Talk\x20Time','Called\x20Number','Member\x20Name','membername','starttime','Answer\x20Time','Complete\x20Time','endtime','Duration','duration','billableseconds'];(function(_0x432682,_0x253044){var _0x463d05=function(_0xa73403){while(--_0xa73403){_0x432682['push'](_0x432682['shift']());}};_0x463d05(++_0x253044);}(_0xc29b,0x12d));var _0xbc29=function(_0x217fa2,_0x3cea2a){_0x217fa2=_0x217fa2-0x0;var _0x4d3bba=_0xc29b[_0x217fa2];return _0x4d3bba;};'use strict';exports[_0xbc29('0x0')]=function(_0x250315,_0x45edb6){var _0x5d2fef=[{'type':_0xbc29('0x1'),'content':_0xbc29('0x2'),'variableName':null}];switch(_0x250315['toLowerCase']()){case _0xbc29('0x3'):switch(_0x45edb6[_0xbc29('0x4')]()){case _0xbc29('0x5'):_0x5d2fef[_0xbc29('0x6')]({'type':_0xbc29('0x7'),'content':'','variableName':_0xbc29('0x8')});_0x5d2fef[_0xbc29('0x6')]({'type':_0xbc29('0x7'),'content':'','variableName':_0xbc29('0x9')});break;case _0xbc29('0xa'):_0x5d2fef[_0xbc29('0x6')]({'type':_0xbc29('0x1'),'content':_0xbc29('0xb'),'variableName':null});_0x5d2fef[_0xbc29('0x6')]({'type':_0xbc29('0x7'),'content':'','variableName':_0xbc29('0xc')});break;}}return _0x5d2fef;};exports[_0xbc29('0xd')]=function(_0x2f591c,_0x35ece9){var _0x2710ad=[];switch(_0x2f591c['toLowerCase']()){case _0xbc29('0x3'):switch(_0x35ece9[_0xbc29('0x4')]()){case _0xbc29('0x5'):_0x2710ad=[{'type':_0xbc29('0x1'),'content':_0xbc29('0xe'),'key':null,'keyType':null,'variableName':null},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x10'),'keyType':'variable','variableName':_0xbc29('0x9')},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x11'),'keyType':'variable','variableName':'calleridname'},{'type':_0xbc29('0xf'),'content':'','key':'Call\x20To','keyType':_0xbc29('0x7'),'variableName':_0xbc29('0x12')},{'type':_0xbc29('0xf'),'content':'','key':'Queue','keyType':_0xbc29('0x7'),'variableName':'queue'},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x13'),'keyType':_0xbc29('0x7'),'variableName':_0xbc29('0x14')},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x15'),'keyType':'variable','variableName':_0xbc29('0x16')},{'type':_0xbc29('0x1'),'content':'***\x20Agent\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0xbc29('0x17'),'keyType':'variable','variableName':'destcalleridname'},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x18'),'keyType':_0xbc29('0x7'),'variableName':_0xbc29('0xc')},{'type':_0xbc29('0x1'),'content':_0xbc29('0x19'),'key':null,'keyType':null,'variableName':null},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x1a'),'keyType':'variable','variableName':_0xbc29('0x16')},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x1b'),'keyType':_0xbc29('0x7'),'variableName':_0xbc29('0x1c')},{'type':'keyValue','content':'','key':_0xbc29('0x1d'),'keyType':_0xbc29('0x7'),'variableName':_0xbc29('0x1e')},{'type':_0xbc29('0xf'),'content':'','key':'Hold\x20Time','keyType':_0xbc29('0x7'),'variableName':_0xbc29('0x1f')},{'type':'keyValue','content':'','key':_0xbc29('0x20'),'keyType':_0xbc29('0x7'),'variableName':'talktime'}];break;case'outbound':_0x2710ad=[{'type':_0xbc29('0x1'),'content':'***\x20Call\x20Info\x20***','variableName':null},{'type':'keyValue','content':'','key':_0xbc29('0x21'),'keyType':_0xbc29('0x7'),'keyContent':'','variableName':_0xbc29('0xc')},{'type':'keyValue','content':'','key':_0xbc29('0x22'),'keyType':_0xbc29('0x7'),'keyContent':'','variableName':_0xbc29('0x23')},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x13'),'keyType':'variable','keyContent':'','variableName':'uniqueid'},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x15'),'keyType':'variable','keyContent':'','variableName':_0xbc29('0x24')},{'type':_0xbc29('0x1'),'content':_0xbc29('0x19')},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x25'),'keyType':_0xbc29('0x7'),'keyContent':'','variableName':'answertime'},{'type':_0xbc29('0xf'),'content':'','key':_0xbc29('0x26'),'keyType':_0xbc29('0x7'),'keyContent':'','variableName':_0xbc29('0x27')},{'type':'keyValue','content':'','key':_0xbc29('0x28'),'keyType':_0xbc29('0x7'),'keyContent':'','variableName':_0xbc29('0x29')},{'type':'keyValue','content':'','key':'Billable\x20Time','keyType':_0xbc29('0x7'),'keyContent':'','variableName':_0xbc29('0x2a')}];break;}}return _0x2710ad;};