Built motion from commit 1fa89557.|2.6.10
[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 _0xd3ee=['calleridname','Call\x20To','destexten','Queue','UniqueId','uniqueid','Date','***\x20Agent\x20Info\x20***','Agent\x20Name','destcalleridname','Agent\x20Number','Agent\x20Ring','agentcalledAt','Agent\x20Connect','agentconnectAt','Agent\x20Complete','agentcompleteAt','Hold\x20Time','Talk\x20Time','talktime','***\x20Call\x20Info\x20***','Called\x20Number','Member\x20Name','membername','starttime','***\x20Time\x20Info\x20***','answertime','Complete\x20Time','endtime','Duration','Billable\x20Time','billableseconds','getSubjects','string','toLowerCase','voice','inbound','push','queue','variable','calleridnum','outbound','Outbound\x20Call','destcalleridnum','getDescriptions','keyValue','Caller\x20Name'];(function(_0x10a66c,_0x2ffcbc){var _0x5e51f9=function(_0x5396fe){while(--_0x5396fe){_0x10a66c['push'](_0x10a66c['shift']());}};_0x5e51f9(++_0x2ffcbc);}(_0xd3ee,0x10b));var _0xed3e=function(_0x385359,_0x325c57){_0x385359=_0x385359-0x0;var _0x2ea4dd=_0xd3ee[_0x385359];return _0x2ea4dd;};'use strict';exports[_0xed3e('0x0')]=function(_0x1f0e6a,_0x1d886){var _0x4cdcec=[{'type':_0xed3e('0x1'),'content':'[xCALLY\x20Ticket]','variableName':null}];switch(_0x1f0e6a[_0xed3e('0x2')]()){case _0xed3e('0x3'):switch(_0x1d886['toLowerCase']()){case _0xed3e('0x4'):_0x4cdcec[_0xed3e('0x5')]({'type':'variable','content':'','variableName':_0xed3e('0x6')});_0x4cdcec[_0xed3e('0x5')]({'type':_0xed3e('0x7'),'content':'','variableName':_0xed3e('0x8')});break;case _0xed3e('0x9'):_0x4cdcec[_0xed3e('0x5')]({'type':'string','content':_0xed3e('0xa'),'variableName':null});_0x4cdcec[_0xed3e('0x5')]({'type':_0xed3e('0x7'),'content':'','variableName':_0xed3e('0xb')});break;}}return _0x4cdcec;};exports[_0xed3e('0xc')]=function(_0x19afd6,_0x6f7335){var _0x302e42=[];switch(_0x19afd6[_0xed3e('0x2')]()){case'voice':switch(_0x6f7335[_0xed3e('0x2')]()){case _0xed3e('0x4'):_0x302e42=[{'type':_0xed3e('0x1'),'content':'***\x20Call\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0xed3e('0xd'),'content':'','key':'Caller\x20Number','keyType':_0xed3e('0x7'),'variableName':_0xed3e('0x8')},{'type':'keyValue','content':'','key':_0xed3e('0xe'),'keyType':'variable','variableName':_0xed3e('0xf')},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x10'),'keyType':_0xed3e('0x7'),'variableName':_0xed3e('0x11')},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x12'),'keyType':_0xed3e('0x7'),'variableName':_0xed3e('0x6')},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x13'),'keyType':_0xed3e('0x7'),'variableName':_0xed3e('0x14')},{'type':'keyValue','content':'','key':_0xed3e('0x15'),'keyType':_0xed3e('0x7'),'variableName':'agentcalledAt'},{'type':_0xed3e('0x1'),'content':_0xed3e('0x16'),'key':null,'keyType':null,'variableName':null},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x17'),'keyType':_0xed3e('0x7'),'variableName':_0xed3e('0x18')},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x19'),'keyType':_0xed3e('0x7'),'variableName':_0xed3e('0xb')},{'type':_0xed3e('0x1'),'content':'***\x20Time\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x1a'),'keyType':_0xed3e('0x7'),'variableName':_0xed3e('0x1b')},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x1c'),'keyType':_0xed3e('0x7'),'variableName':_0xed3e('0x1d')},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x1e'),'keyType':_0xed3e('0x7'),'variableName':_0xed3e('0x1f')},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x20'),'keyType':_0xed3e('0x7'),'variableName':'holdtime'},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x21'),'keyType':_0xed3e('0x7'),'variableName':_0xed3e('0x22')}];break;case'outbound':_0x302e42=[{'type':'string','content':_0xed3e('0x23'),'variableName':null},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x24'),'keyType':_0xed3e('0x7'),'keyContent':'','variableName':'destcalleridnum'},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x25'),'keyType':'variable','keyContent':'','variableName':_0xed3e('0x26')},{'type':_0xed3e('0xd'),'content':'','key':'UniqueId','keyType':_0xed3e('0x7'),'keyContent':'','variableName':_0xed3e('0x14')},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x15'),'keyType':_0xed3e('0x7'),'keyContent':'','variableName':_0xed3e('0x27')},{'type':_0xed3e('0x1'),'content':_0xed3e('0x28')},{'type':_0xed3e('0xd'),'content':'','key':'Answer\x20Time','keyType':'variable','keyContent':'','variableName':_0xed3e('0x29')},{'type':'keyValue','content':'','key':_0xed3e('0x2a'),'keyType':_0xed3e('0x7'),'keyContent':'','variableName':_0xed3e('0x2b')},{'type':_0xed3e('0xd'),'content':'','key':_0xed3e('0x2c'),'keyType':_0xed3e('0x7'),'keyContent':'','variableName':'duration'},{'type':'keyValue','content':'','key':_0xed3e('0x2d'),'keyType':_0xed3e('0x7'),'keyContent':'','variableName':_0xed3e('0x2e')}];break;}}return _0x302e42;};