Built motion from commit 9d7072cc.|2.5.39
[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 _0x8f89=['billableseconds','getSubjects','string','[xCALLY\x20Ticket]','toLowerCase','voice','inbound','push','variable','queue','calleridnum','outbound','Outbound\x20Call','destcalleridnum','getDescriptions','***\x20Call\x20Info\x20***','Caller\x20Number','calleridname','keyValue','Call\x20To','Queue','UniqueId','uniqueid','Date','Agent\x20Name','destcalleridname','***\x20Time\x20Info\x20***','agentcalledAt','Agent\x20Connect','agentconnectAt','Agent\x20Complete','agentcompleteAt','Hold\x20Time','talktime','Called\x20Number','Member\x20Name','membername','Answer\x20Time','answertime','endtime','Duration','duration','Billable\x20Time'];(function(_0x23e0c6,_0x2c878e){var _0x42e453=function(_0x5908ab){while(--_0x5908ab){_0x23e0c6['push'](_0x23e0c6['shift']());}};_0x42e453(++_0x2c878e);}(_0x8f89,0x184));var _0x98f8=function(_0x29f392,_0xecd98b){_0x29f392=_0x29f392-0x0;var _0x2b9783=_0x8f89[_0x29f392];return _0x2b9783;};'use strict';exports[_0x98f8('0x0')]=function(_0x59d404,_0xea1a60){var _0x499929=[{'type':_0x98f8('0x1'),'content':_0x98f8('0x2'),'variableName':null}];switch(_0x59d404[_0x98f8('0x3')]()){case _0x98f8('0x4'):switch(_0xea1a60[_0x98f8('0x3')]()){case _0x98f8('0x5'):_0x499929[_0x98f8('0x6')]({'type':_0x98f8('0x7'),'content':'','variableName':_0x98f8('0x8')});_0x499929[_0x98f8('0x6')]({'type':_0x98f8('0x7'),'content':'','variableName':_0x98f8('0x9')});break;case _0x98f8('0xa'):_0x499929[_0x98f8('0x6')]({'type':'string','content':_0x98f8('0xb'),'variableName':null});_0x499929[_0x98f8('0x6')]({'type':'variable','content':'','variableName':_0x98f8('0xc')});break;}}return _0x499929;};exports[_0x98f8('0xd')]=function(_0x2c4ccf,_0x1cd1ea){var _0x215c9c=[];switch(_0x2c4ccf['toLowerCase']()){case _0x98f8('0x4'):switch(_0x1cd1ea[_0x98f8('0x3')]()){case'inbound':_0x215c9c=[{'type':'string','content':_0x98f8('0xe'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0x98f8('0xf'),'keyType':_0x98f8('0x7'),'variableName':_0x98f8('0x9')},{'type':'keyValue','content':'','key':'Caller\x20Name','keyType':_0x98f8('0x7'),'variableName':_0x98f8('0x10')},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x12'),'keyType':_0x98f8('0x7'),'variableName':'destexten'},{'type':'keyValue','content':'','key':_0x98f8('0x13'),'keyType':_0x98f8('0x7'),'variableName':_0x98f8('0x8')},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x14'),'keyType':_0x98f8('0x7'),'variableName':_0x98f8('0x15')},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x16'),'keyType':_0x98f8('0x7'),'variableName':'agentcalledAt'},{'type':_0x98f8('0x1'),'content':'***\x20Agent\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0x98f8('0x17'),'keyType':_0x98f8('0x7'),'variableName':_0x98f8('0x18')},{'type':_0x98f8('0x11'),'content':'','key':'Agent\x20Number','keyType':_0x98f8('0x7'),'variableName':_0x98f8('0xc')},{'type':_0x98f8('0x1'),'content':_0x98f8('0x19'),'key':null,'keyType':null,'variableName':null},{'type':_0x98f8('0x11'),'content':'','key':'Agent\x20Ring','keyType':_0x98f8('0x7'),'variableName':_0x98f8('0x1a')},{'type':'keyValue','content':'','key':_0x98f8('0x1b'),'keyType':_0x98f8('0x7'),'variableName':_0x98f8('0x1c')},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x1d'),'keyType':'variable','variableName':_0x98f8('0x1e')},{'type':'keyValue','content':'','key':_0x98f8('0x1f'),'keyType':_0x98f8('0x7'),'variableName':'holdtime'},{'type':'keyValue','content':'','key':'Talk\x20Time','keyType':_0x98f8('0x7'),'variableName':_0x98f8('0x20')}];break;case _0x98f8('0xa'):_0x215c9c=[{'type':'string','content':_0x98f8('0xe'),'variableName':null},{'type':'keyValue','content':'','key':_0x98f8('0x21'),'keyType':_0x98f8('0x7'),'keyContent':'','variableName':'destcalleridnum'},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x22'),'keyType':'variable','keyContent':'','variableName':_0x98f8('0x23')},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x14'),'keyType':_0x98f8('0x7'),'keyContent':'','variableName':_0x98f8('0x15')},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x16'),'keyType':_0x98f8('0x7'),'keyContent':'','variableName':'starttime'},{'type':_0x98f8('0x1'),'content':'***\x20Time\x20Info\x20***'},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x24'),'keyType':_0x98f8('0x7'),'keyContent':'','variableName':_0x98f8('0x25')},{'type':'keyValue','content':'','key':'Complete\x20Time','keyType':_0x98f8('0x7'),'keyContent':'','variableName':_0x98f8('0x26')},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x27'),'keyType':'variable','keyContent':'','variableName':_0x98f8('0x28')},{'type':_0x98f8('0x11'),'content':'','key':_0x98f8('0x29'),'keyType':_0x98f8('0x7'),'keyContent':'','variableName':_0x98f8('0x2a')}];break;}}return _0x215c9c;};