Built motion from commit a61a4a20.|2.5.46
[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 _0xf414=['***\x20Time\x20Info\x20***','agentconnectAt','Agent\x20Complete','agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','membername','starttime','Answer\x20Time','answertime','Complete\x20Time','endtime','Duration','duration','billableseconds','getSubjects','[xCALLY\x20Ticket]','toLowerCase','voice','push','variable','queue','calleridnum','outbound','Outbound\x20Call','destcalleridnum','inbound','string','keyValue','Caller\x20Name','calleridname','Call\x20To','destexten','Queue','UniqueId','uniqueid','Date','agentcalledAt','***\x20Agent\x20Info\x20***','Agent\x20Name','destcalleridname'];(function(_0x182d2f,_0x1d1fbd){var _0x3d336e=function(_0x121706){while(--_0x121706){_0x182d2f['push'](_0x182d2f['shift']());}};_0x3d336e(++_0x1d1fbd);}(_0xf414,0xb8));var _0x4f41=function(_0x549278,_0x450754){_0x549278=_0x549278-0x0;var _0x1ea9a1=_0xf414[_0x549278];return _0x1ea9a1;};'use strict';exports[_0x4f41('0x0')]=function(_0x3d1516,_0x403408){var _0x59baa6=[{'type':'string','content':_0x4f41('0x1'),'variableName':null}];switch(_0x3d1516[_0x4f41('0x2')]()){case _0x4f41('0x3'):switch(_0x403408[_0x4f41('0x2')]()){case'inbound':_0x59baa6[_0x4f41('0x4')]({'type':_0x4f41('0x5'),'content':'','variableName':_0x4f41('0x6')});_0x59baa6['push']({'type':_0x4f41('0x5'),'content':'','variableName':_0x4f41('0x7')});break;case _0x4f41('0x8'):_0x59baa6['push']({'type':'string','content':_0x4f41('0x9'),'variableName':null});_0x59baa6[_0x4f41('0x4')]({'type':_0x4f41('0x5'),'content':'','variableName':_0x4f41('0xa')});break;}}return _0x59baa6;};exports['getDescriptions']=function(_0x214dbe,_0x145912){var _0x10cf56=[];switch(_0x214dbe[_0x4f41('0x2')]()){case _0x4f41('0x3'):switch(_0x145912[_0x4f41('0x2')]()){case _0x4f41('0xb'):_0x10cf56=[{'type':_0x4f41('0xc'),'content':'***\x20Call\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0x4f41('0xd'),'content':'','key':'Caller\x20Number','keyType':_0x4f41('0x5'),'variableName':_0x4f41('0x7')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0xe'),'keyType':'variable','variableName':_0x4f41('0xf')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x10'),'keyType':_0x4f41('0x5'),'variableName':_0x4f41('0x11')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x12'),'keyType':_0x4f41('0x5'),'variableName':_0x4f41('0x6')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x13'),'keyType':_0x4f41('0x5'),'variableName':_0x4f41('0x14')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x15'),'keyType':_0x4f41('0x5'),'variableName':_0x4f41('0x16')},{'type':'string','content':_0x4f41('0x17'),'key':null,'keyType':null,'variableName':null},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x18'),'keyType':'variable','variableName':_0x4f41('0x19')},{'type':'keyValue','content':'','key':'Agent\x20Number','keyType':_0x4f41('0x5'),'variableName':_0x4f41('0xa')},{'type':_0x4f41('0xc'),'content':_0x4f41('0x1a'),'key':null,'keyType':null,'variableName':null},{'type':_0x4f41('0xd'),'content':'','key':'Agent\x20Ring','keyType':'variable','variableName':_0x4f41('0x16')},{'type':_0x4f41('0xd'),'content':'','key':'Agent\x20Connect','keyType':_0x4f41('0x5'),'variableName':_0x4f41('0x1b')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x1c'),'keyType':'variable','variableName':_0x4f41('0x1d')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x1e'),'keyType':_0x4f41('0x5'),'variableName':_0x4f41('0x1f')},{'type':'keyValue','content':'','key':_0x4f41('0x20'),'keyType':_0x4f41('0x5'),'variableName':'talktime'}];break;case _0x4f41('0x8'):_0x10cf56=[{'type':_0x4f41('0xc'),'content':'***\x20Call\x20Info\x20***','variableName':null},{'type':_0x4f41('0xd'),'content':'','key':'Called\x20Number','keyType':_0x4f41('0x5'),'keyContent':'','variableName':_0x4f41('0xa')},{'type':_0x4f41('0xd'),'content':'','key':'Member\x20Name','keyType':_0x4f41('0x5'),'keyContent':'','variableName':_0x4f41('0x21')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x13'),'keyType':_0x4f41('0x5'),'keyContent':'','variableName':_0x4f41('0x14')},{'type':'keyValue','content':'','key':_0x4f41('0x15'),'keyType':_0x4f41('0x5'),'keyContent':'','variableName':_0x4f41('0x22')},{'type':_0x4f41('0xc'),'content':_0x4f41('0x1a')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x23'),'keyType':_0x4f41('0x5'),'keyContent':'','variableName':_0x4f41('0x24')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x25'),'keyType':_0x4f41('0x5'),'keyContent':'','variableName':_0x4f41('0x26')},{'type':_0x4f41('0xd'),'content':'','key':_0x4f41('0x27'),'keyType':_0x4f41('0x5'),'keyContent':'','variableName':_0x4f41('0x28')},{'type':_0x4f41('0xd'),'content':'','key':'Billable\x20Time','keyType':_0x4f41('0x5'),'keyContent':'','variableName':_0x4f41('0x29')}];break;}}return _0x10cf56;};