Built motion from commit 19a84241.|2.5.34
[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 _0x9b97=['queue','push','variable','calleridnum','Outbound\x20Call','destcalleridnum','inbound','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','calleridname','destexten','Date','agentcalledAt','***\x20Agent\x20Info\x20***','destcalleridname','Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Ring','Agent\x20Connect','agentcompleteAt','talktime','membername','UniqueId','uniqueid','starttime','Answer\x20Time','Complete\x20Time','endtime','Duration','duration','Billable\x20Time','billableseconds','getSubjects','string','[xCALLY\x20Ticket]','toLowerCase','voice'];(function(_0x1abe37,_0x2b5d16){var _0x4277c5=function(_0x51c7ea){while(--_0x51c7ea){_0x1abe37['push'](_0x1abe37['shift']());}};_0x4277c5(++_0x2b5d16);}(_0x9b97,0x93));var _0x79b9=function(_0x3789ef,_0x173bcb){_0x3789ef=_0x3789ef-0x0;var _0x33ee4f=_0x9b97[_0x3789ef];return _0x33ee4f;};'use strict';exports[_0x79b9('0x0')]=function(_0x435fea,_0x3d9dbf){var _0x341c34=[{'type':_0x79b9('0x1'),'content':_0x79b9('0x2'),'variableName':null}];switch(_0x435fea[_0x79b9('0x3')]()){case _0x79b9('0x4'):switch(_0x3d9dbf['toLowerCase']()){case'inbound':_0x341c34['push']({'type':'variable','content':'','variableName':_0x79b9('0x5')});_0x341c34[_0x79b9('0x6')]({'type':_0x79b9('0x7'),'content':'','variableName':_0x79b9('0x8')});break;case'outbound':_0x341c34[_0x79b9('0x6')]({'type':_0x79b9('0x1'),'content':_0x79b9('0x9'),'variableName':null});_0x341c34[_0x79b9('0x6')]({'type':_0x79b9('0x7'),'content':'','variableName':_0x79b9('0xa')});break;}}return _0x341c34;};exports['getDescriptions']=function(_0x5f1345,_0x125a5f){var _0x190d06=[];switch(_0x5f1345[_0x79b9('0x3')]()){case _0x79b9('0x4'):switch(_0x125a5f[_0x79b9('0x3')]()){case _0x79b9('0xb'):_0x190d06=[{'type':_0x79b9('0x1'),'content':_0x79b9('0xc'),'key':null,'keyType':null,'variableName':null},{'type':_0x79b9('0xd'),'content':'','key':_0x79b9('0xe'),'keyType':_0x79b9('0x7'),'variableName':'calleridnum'},{'type':_0x79b9('0xd'),'content':'','key':'Caller\x20Name','keyType':_0x79b9('0x7'),'variableName':_0x79b9('0xf')},{'type':_0x79b9('0xd'),'content':'','key':'Call\x20To','keyType':_0x79b9('0x7'),'variableName':_0x79b9('0x10')},{'type':_0x79b9('0xd'),'content':'','key':'Queue','keyType':_0x79b9('0x7'),'variableName':_0x79b9('0x5')},{'type':_0x79b9('0xd'),'content':'','key':'UniqueId','keyType':_0x79b9('0x7'),'variableName':'uniqueid'},{'type':_0x79b9('0xd'),'content':'','key':_0x79b9('0x11'),'keyType':_0x79b9('0x7'),'variableName':_0x79b9('0x12')},{'type':_0x79b9('0x1'),'content':_0x79b9('0x13'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':'Agent\x20Name','keyType':_0x79b9('0x7'),'variableName':_0x79b9('0x14')},{'type':_0x79b9('0xd'),'content':'','key':_0x79b9('0x15'),'keyType':_0x79b9('0x7'),'variableName':_0x79b9('0xa')},{'type':'string','content':_0x79b9('0x16'),'key':null,'keyType':null,'variableName':null},{'type':_0x79b9('0xd'),'content':'','key':_0x79b9('0x17'),'keyType':_0x79b9('0x7'),'variableName':_0x79b9('0x12')},{'type':'keyValue','content':'','key':_0x79b9('0x18'),'keyType':_0x79b9('0x7'),'variableName':'agentconnectAt'},{'type':_0x79b9('0xd'),'content':'','key':'Agent\x20Complete','keyType':_0x79b9('0x7'),'variableName':_0x79b9('0x19')},{'type':'keyValue','content':'','key':'Hold\x20Time','keyType':_0x79b9('0x7'),'variableName':'holdtime'},{'type':_0x79b9('0xd'),'content':'','key':'Talk\x20Time','keyType':_0x79b9('0x7'),'variableName':_0x79b9('0x1a')}];break;case'outbound':_0x190d06=[{'type':_0x79b9('0x1'),'content':_0x79b9('0xc'),'variableName':null},{'type':_0x79b9('0xd'),'content':'','key':'Called\x20Number','keyType':'variable','keyContent':'','variableName':'destcalleridnum'},{'type':_0x79b9('0xd'),'content':'','key':'Member\x20Name','keyType':_0x79b9('0x7'),'keyContent':'','variableName':_0x79b9('0x1b')},{'type':_0x79b9('0xd'),'content':'','key':_0x79b9('0x1c'),'keyType':'variable','keyContent':'','variableName':_0x79b9('0x1d')},{'type':_0x79b9('0xd'),'content':'','key':_0x79b9('0x11'),'keyType':_0x79b9('0x7'),'keyContent':'','variableName':_0x79b9('0x1e')},{'type':'string','content':_0x79b9('0x16')},{'type':_0x79b9('0xd'),'content':'','key':_0x79b9('0x1f'),'keyType':_0x79b9('0x7'),'keyContent':'','variableName':'answertime'},{'type':_0x79b9('0xd'),'content':'','key':_0x79b9('0x20'),'keyType':_0x79b9('0x7'),'keyContent':'','variableName':_0x79b9('0x21')},{'type':'keyValue','content':'','key':_0x79b9('0x22'),'keyType':'variable','keyContent':'','variableName':_0x79b9('0x23')},{'type':'keyValue','content':'','key':_0x79b9('0x24'),'keyType':_0x79b9('0x7'),'keyContent':'','variableName':_0x79b9('0x25')}];break;}}return _0x190d06;};