Built motion from commit 9d0783e6.|2.6.13
[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 _0x3e7f=['membername','UniqueId','***\x20Time\x20Info\x20***','answertime','endtime','Duration','duration','Billable\x20Time','billableseconds','string','[xCALLY\x20Ticket]','toLowerCase','voice','push','calleridnum','outbound','Outbound\x20Call','variable','destcalleridnum','getDescriptions','inbound','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','Caller\x20Name','Call\x20To','destexten','Queue','queue','uniqueid','Date','***\x20Agent\x20Info\x20***','Agent\x20Number','Agent\x20Ring','agentcalledAt','Agent\x20Connect','agentconnectAt','Agent\x20Complete','Talk\x20Time','talktime','Called\x20Number','Member\x20Name'];(function(_0x4d3a16,_0x4e33f7){var _0x435380=function(_0x3e1209){while(--_0x3e1209){_0x4d3a16['push'](_0x4d3a16['shift']());}};_0x435380(++_0x4e33f7);}(_0x3e7f,0x1d7));var _0xf3e7=function(_0x57563,_0x227027){_0x57563=_0x57563-0x0;var _0x25c2e6=_0x3e7f[_0x57563];return _0x25c2e6;};'use strict';exports['getSubjects']=function(_0x5e46be,_0x3dd8a6){var _0x5cb565=[{'type':_0xf3e7('0x0'),'content':_0xf3e7('0x1'),'variableName':null}];switch(_0x5e46be[_0xf3e7('0x2')]()){case _0xf3e7('0x3'):switch(_0x3dd8a6[_0xf3e7('0x2')]()){case'inbound':_0x5cb565['push']({'type':'variable','content':'','variableName':'queue'});_0x5cb565[_0xf3e7('0x4')]({'type':'variable','content':'','variableName':_0xf3e7('0x5')});break;case _0xf3e7('0x6'):_0x5cb565['push']({'type':_0xf3e7('0x0'),'content':_0xf3e7('0x7'),'variableName':null});_0x5cb565[_0xf3e7('0x4')]({'type':_0xf3e7('0x8'),'content':'','variableName':_0xf3e7('0x9')});break;}}return _0x5cb565;};exports[_0xf3e7('0xa')]=function(_0x2dbc0a,_0x4a1cbb){var _0x46f3f3=[];switch(_0x2dbc0a[_0xf3e7('0x2')]()){case _0xf3e7('0x3'):switch(_0x4a1cbb['toLowerCase']()){case _0xf3e7('0xb'):_0x46f3f3=[{'type':_0xf3e7('0x0'),'content':_0xf3e7('0xc'),'key':null,'keyType':null,'variableName':null},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0xe'),'keyType':_0xf3e7('0x8'),'variableName':_0xf3e7('0x5')},{'type':'keyValue','content':'','key':_0xf3e7('0xf'),'keyType':'variable','variableName':'calleridname'},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x10'),'keyType':_0xf3e7('0x8'),'variableName':_0xf3e7('0x11')},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x12'),'keyType':_0xf3e7('0x8'),'variableName':_0xf3e7('0x13')},{'type':'keyValue','content':'','key':'UniqueId','keyType':_0xf3e7('0x8'),'variableName':_0xf3e7('0x14')},{'type':'keyValue','content':'','key':_0xf3e7('0x15'),'keyType':'variable','variableName':'agentcalledAt'},{'type':_0xf3e7('0x0'),'content':_0xf3e7('0x16'),'key':null,'keyType':null,'variableName':null},{'type':_0xf3e7('0xd'),'content':'','key':'Agent\x20Name','keyType':'variable','variableName':'destcalleridname'},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x17'),'keyType':_0xf3e7('0x8'),'variableName':'destcalleridnum'},{'type':'string','content':'***\x20Time\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x18'),'keyType':_0xf3e7('0x8'),'variableName':_0xf3e7('0x19')},{'type':'keyValue','content':'','key':_0xf3e7('0x1a'),'keyType':_0xf3e7('0x8'),'variableName':_0xf3e7('0x1b')},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x1c'),'keyType':_0xf3e7('0x8'),'variableName':'agentcompleteAt'},{'type':_0xf3e7('0xd'),'content':'','key':'Hold\x20Time','keyType':'variable','variableName':'holdtime'},{'type':'keyValue','content':'','key':_0xf3e7('0x1d'),'keyType':'variable','variableName':_0xf3e7('0x1e')}];break;case _0xf3e7('0x6'):_0x46f3f3=[{'type':_0xf3e7('0x0'),'content':'***\x20Call\x20Info\x20***','variableName':null},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x1f'),'keyType':_0xf3e7('0x8'),'keyContent':'','variableName':_0xf3e7('0x9')},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x20'),'keyType':_0xf3e7('0x8'),'keyContent':'','variableName':_0xf3e7('0x21')},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x22'),'keyType':_0xf3e7('0x8'),'keyContent':'','variableName':_0xf3e7('0x14')},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x15'),'keyType':_0xf3e7('0x8'),'keyContent':'','variableName':'starttime'},{'type':_0xf3e7('0x0'),'content':_0xf3e7('0x23')},{'type':'keyValue','content':'','key':'Answer\x20Time','keyType':_0xf3e7('0x8'),'keyContent':'','variableName':_0xf3e7('0x24')},{'type':'keyValue','content':'','key':'Complete\x20Time','keyType':_0xf3e7('0x8'),'keyContent':'','variableName':_0xf3e7('0x25')},{'type':'keyValue','content':'','key':_0xf3e7('0x26'),'keyType':_0xf3e7('0x8'),'keyContent':'','variableName':_0xf3e7('0x27')},{'type':_0xf3e7('0xd'),'content':'','key':_0xf3e7('0x28'),'keyType':_0xf3e7('0x8'),'keyContent':'','variableName':_0xf3e7('0x29')}];break;}}return _0x46f3f3;};