Built motion from commit (unavailable).|2.0.82
[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 _0x9f62=['Caller\x20Name','calleridname','Call\x20To','destexten','Queue','queue','UniqueId','Date','agentcalledAt','***\x20Agent\x20Info\x20***','destcalleridname','Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Connect','agentconnectAt','Agent\x20Complete','agentcompleteAt','holdtime','Talk\x20Time','talktime','***\x20Call\x20Info\x20***','Member\x20Name','membername','uniqueid','starttime','answertime','Complete\x20Time','endtime','string','[xCALLY\x20Ticket]','toLowerCase','inbound','push','variable','calleridnum','outbound','destcalleridnum','getDescriptions','keyValue'];(function(_0x282536,_0x3ba66a){var _0x76aa80=function(_0x1625ae){while(--_0x1625ae){_0x282536['push'](_0x282536['shift']());}};_0x76aa80(++_0x3ba66a);}(_0x9f62,0x154));var _0x29f6=function(_0x1692b6,_0x17435b){_0x1692b6=_0x1692b6-0x0;var _0x16e5c0=_0x9f62[_0x1692b6];return _0x16e5c0;};'use strict';exports['getSubjects']=function(_0x62798f,_0x4ce7cb){var _0xab9c60=[{'type':_0x29f6('0x0'),'content':_0x29f6('0x1'),'variableName':null}];switch(_0x62798f['toLowerCase']()){case'voice':switch(_0x4ce7cb[_0x29f6('0x2')]()){case _0x29f6('0x3'):_0xab9c60[_0x29f6('0x4')]({'type':_0x29f6('0x5'),'content':'','variableName':'queue'});_0xab9c60[_0x29f6('0x4')]({'type':_0x29f6('0x5'),'content':'','variableName':_0x29f6('0x6')});break;case _0x29f6('0x7'):_0xab9c60[_0x29f6('0x4')]({'type':'string','content':'Outbound\x20Call','variableName':null});_0xab9c60['push']({'type':'variable','content':'','variableName':_0x29f6('0x8')});break;}}return _0xab9c60;};exports[_0x29f6('0x9')]=function(_0x4fb455,_0x5a0724){var _0x29b3f5=[];switch(_0x4fb455[_0x29f6('0x2')]()){case'voice':switch(_0x5a0724[_0x29f6('0x2')]()){case _0x29f6('0x3'):_0x29b3f5=[{'type':'string','content':'***\x20Call\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':'Caller\x20Number','keyType':_0x29f6('0x5'),'variableName':_0x29f6('0x6')},{'type':_0x29f6('0xa'),'content':'','key':_0x29f6('0xb'),'keyType':_0x29f6('0x5'),'variableName':_0x29f6('0xc')},{'type':_0x29f6('0xa'),'content':'','key':_0x29f6('0xd'),'keyType':_0x29f6('0x5'),'variableName':_0x29f6('0xe')},{'type':_0x29f6('0xa'),'content':'','key':_0x29f6('0xf'),'keyType':_0x29f6('0x5'),'variableName':_0x29f6('0x10')},{'type':_0x29f6('0xa'),'content':'','key':_0x29f6('0x11'),'keyType':_0x29f6('0x5'),'variableName':'uniqueid'},{'type':'keyValue','content':'','key':_0x29f6('0x12'),'keyType':_0x29f6('0x5'),'variableName':_0x29f6('0x13')},{'type':'string','content':_0x29f6('0x14'),'key':null,'keyType':null,'variableName':null},{'type':_0x29f6('0xa'),'content':'','key':'Agent\x20Name','keyType':_0x29f6('0x5'),'variableName':_0x29f6('0x15')},{'type':_0x29f6('0xa'),'content':'','key':_0x29f6('0x16'),'keyType':_0x29f6('0x5'),'variableName':_0x29f6('0x8')},{'type':'string','content':_0x29f6('0x17'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':'Agent\x20Ring','keyType':_0x29f6('0x5'),'variableName':_0x29f6('0x13')},{'type':_0x29f6('0xa'),'content':'','key':_0x29f6('0x18'),'keyType':'variable','variableName':_0x29f6('0x19')},{'type':'keyValue','content':'','key':_0x29f6('0x1a'),'keyType':_0x29f6('0x5'),'variableName':_0x29f6('0x1b')},{'type':_0x29f6('0xa'),'content':'','key':'Hold\x20Time','keyType':_0x29f6('0x5'),'variableName':_0x29f6('0x1c')},{'type':'keyValue','content':'','key':_0x29f6('0x1d'),'keyType':_0x29f6('0x5'),'variableName':_0x29f6('0x1e')}];break;case _0x29f6('0x7'):_0x29b3f5=[{'type':_0x29f6('0x0'),'content':_0x29f6('0x1f'),'variableName':null},{'type':_0x29f6('0xa'),'content':'','key':'Called\x20Number','keyType':_0x29f6('0x5'),'keyContent':'','variableName':_0x29f6('0x8')},{'type':_0x29f6('0xa'),'content':'','key':_0x29f6('0x20'),'keyType':_0x29f6('0x5'),'keyContent':'','variableName':_0x29f6('0x21')},{'type':_0x29f6('0xa'),'content':'','key':_0x29f6('0x11'),'keyType':_0x29f6('0x5'),'keyContent':'','variableName':_0x29f6('0x22')},{'type':_0x29f6('0xa'),'content':'','key':_0x29f6('0x12'),'keyType':_0x29f6('0x5'),'keyContent':'','variableName':_0x29f6('0x23')},{'type':_0x29f6('0x0'),'content':_0x29f6('0x17')},{'type':_0x29f6('0xa'),'content':'','key':'Answer\x20Time','keyType':'variable','keyContent':'','variableName':_0x29f6('0x24')},{'type':'keyValue','content':'','key':_0x29f6('0x25'),'keyType':_0x29f6('0x5'),'keyContent':'','variableName':_0x29f6('0x26')}];break;}}return _0x29b3f5;};