e4bce717b08ef2eb8638eafcea767d135488527f
[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 _0x7c25=['queue','UniqueId','uniqueid','Date','Agent\x20Name','destcalleridname','Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Ring','agentcalledAt','Agent\x20Connect','agentconnectAt','Agent\x20Complete','agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','talktime','Called\x20Number','Member\x20Name','starttime','answertime','Complete\x20Time','Duration','billableseconds','getSubjects','string','[xCALLY\x20Ticket]','toLowerCase','voice','inbound','push','variable','calleridnum','outbound','Outbound\x20Call','destcalleridnum','***\x20Call\x20Info\x20***','keyValue','Caller\x20Name','calleridname','destexten','Queue'];(function(_0x1c4866,_0x255b66){var _0x4239e6=function(_0xb477fe){while(--_0xb477fe){_0x1c4866['push'](_0x1c4866['shift']());}};_0x4239e6(++_0x255b66);}(_0x7c25,0x1f2));var _0x57c2=function(_0x15859c,_0x5e7bad){_0x15859c=_0x15859c-0x0;var _0x4fd7aa=_0x7c25[_0x15859c];return _0x4fd7aa;};'use strict';exports[_0x57c2('0x0')]=function(_0x16aed6,_0x7ec90e){var _0xbd11e=[{'type':_0x57c2('0x1'),'content':_0x57c2('0x2'),'variableName':null}];switch(_0x16aed6[_0x57c2('0x3')]()){case _0x57c2('0x4'):switch(_0x7ec90e['toLowerCase']()){case _0x57c2('0x5'):_0xbd11e[_0x57c2('0x6')]({'type':_0x57c2('0x7'),'content':'','variableName':'queue'});_0xbd11e[_0x57c2('0x6')]({'type':'variable','content':'','variableName':_0x57c2('0x8')});break;case _0x57c2('0x9'):_0xbd11e[_0x57c2('0x6')]({'type':_0x57c2('0x1'),'content':_0x57c2('0xa'),'variableName':null});_0xbd11e['push']({'type':_0x57c2('0x7'),'content':'','variableName':_0x57c2('0xb')});break;}}return _0xbd11e;};exports['getDescriptions']=function(_0x3d008f,_0x5eaf52){var _0x151e15=[];switch(_0x3d008f[_0x57c2('0x3')]()){case'voice':switch(_0x5eaf52['toLowerCase']()){case _0x57c2('0x5'):_0x151e15=[{'type':_0x57c2('0x1'),'content':_0x57c2('0xc'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':'Caller\x20Number','keyType':'variable','variableName':_0x57c2('0x8')},{'type':_0x57c2('0xd'),'content':'','key':_0x57c2('0xe'),'keyType':_0x57c2('0x7'),'variableName':_0x57c2('0xf')},{'type':_0x57c2('0xd'),'content':'','key':'Call\x20To','keyType':'variable','variableName':_0x57c2('0x10')},{'type':_0x57c2('0xd'),'content':'','key':_0x57c2('0x11'),'keyType':_0x57c2('0x7'),'variableName':_0x57c2('0x12')},{'type':_0x57c2('0xd'),'content':'','key':_0x57c2('0x13'),'keyType':_0x57c2('0x7'),'variableName':_0x57c2('0x14')},{'type':_0x57c2('0xd'),'content':'','key':_0x57c2('0x15'),'keyType':'variable','variableName':'agentcalledAt'},{'type':_0x57c2('0x1'),'content':'***\x20Agent\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0x57c2('0x16'),'keyType':_0x57c2('0x7'),'variableName':_0x57c2('0x17')},{'type':_0x57c2('0xd'),'content':'','key':_0x57c2('0x18'),'keyType':'variable','variableName':_0x57c2('0xb')},{'type':_0x57c2('0x1'),'content':_0x57c2('0x19'),'key':null,'keyType':null,'variableName':null},{'type':_0x57c2('0xd'),'content':'','key':_0x57c2('0x1a'),'keyType':'variable','variableName':_0x57c2('0x1b')},{'type':_0x57c2('0xd'),'content':'','key':_0x57c2('0x1c'),'keyType':_0x57c2('0x7'),'variableName':_0x57c2('0x1d')},{'type':'keyValue','content':'','key':_0x57c2('0x1e'),'keyType':_0x57c2('0x7'),'variableName':_0x57c2('0x1f')},{'type':'keyValue','content':'','key':_0x57c2('0x20'),'keyType':_0x57c2('0x7'),'variableName':_0x57c2('0x21')},{'type':_0x57c2('0xd'),'content':'','key':_0x57c2('0x22'),'keyType':_0x57c2('0x7'),'variableName':_0x57c2('0x23')}];break;case _0x57c2('0x9'):_0x151e15=[{'type':_0x57c2('0x1'),'content':'***\x20Call\x20Info\x20***','variableName':null},{'type':'keyValue','content':'','key':_0x57c2('0x24'),'keyType':_0x57c2('0x7'),'keyContent':'','variableName':_0x57c2('0xb')},{'type':'keyValue','content':'','key':_0x57c2('0x25'),'keyType':_0x57c2('0x7'),'keyContent':'','variableName':'membername'},{'type':_0x57c2('0xd'),'content':'','key':'UniqueId','keyType':'variable','keyContent':'','variableName':'uniqueid'},{'type':_0x57c2('0xd'),'content':'','key':'Date','keyType':_0x57c2('0x7'),'keyContent':'','variableName':_0x57c2('0x26')},{'type':'string','content':_0x57c2('0x19')},{'type':_0x57c2('0xd'),'content':'','key':'Answer\x20Time','keyType':'variable','keyContent':'','variableName':_0x57c2('0x27')},{'type':_0x57c2('0xd'),'content':'','key':_0x57c2('0x28'),'keyType':_0x57c2('0x7'),'keyContent':'','variableName':'endtime'},{'type':'keyValue','content':'','key':_0x57c2('0x29'),'keyType':_0x57c2('0x7'),'keyContent':'','variableName':'duration'},{'type':_0x57c2('0xd'),'content':'','key':'Billable\x20Time','keyType':_0x57c2('0x7'),'keyContent':'','variableName':_0x57c2('0x2a')}];break;}}return _0x151e15;};