Built motion from commit (unavailable).|2.2.0
[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 _0x99e9=['membername','uniqueid','Date','starttime','answertime','string','toLowerCase','voice','push','queue','variable','calleridnum','Outbound\x20Call','destcalleridnum','getDescriptions','inbound','***\x20Call\x20Info\x20***','keyValue','Caller\x20Name','Queue','UniqueId','agentcalledAt','***\x20Agent\x20Info\x20***','Agent\x20Name','Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Ring','agentconnectAt','agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','talktime','outbound','Member\x20Name'];(function(_0x54e3ab,_0x1c8fcc){var _0x5c2814=function(_0x250d40){while(--_0x250d40){_0x54e3ab['push'](_0x54e3ab['shift']());}};_0x5c2814(++_0x1c8fcc);}(_0x99e9,0xb4));var _0x999e=function(_0x11c573,_0x9e7c6e){_0x11c573=_0x11c573-0x0;var _0x6b72de=_0x99e9[_0x11c573];return _0x6b72de;};'use strict';exports['getSubjects']=function(_0x43d44c,_0x783676){var _0x36812b=[{'type':_0x999e('0x0'),'content':'[xCALLY\x20Ticket]','variableName':null}];switch(_0x43d44c[_0x999e('0x1')]()){case _0x999e('0x2'):switch(_0x783676[_0x999e('0x1')]()){case'inbound':_0x36812b[_0x999e('0x3')]({'type':'variable','content':'','variableName':_0x999e('0x4')});_0x36812b[_0x999e('0x3')]({'type':_0x999e('0x5'),'content':'','variableName':_0x999e('0x6')});break;case'outbound':_0x36812b[_0x999e('0x3')]({'type':_0x999e('0x0'),'content':_0x999e('0x7'),'variableName':null});_0x36812b[_0x999e('0x3')]({'type':_0x999e('0x5'),'content':'','variableName':_0x999e('0x8')});break;}}return _0x36812b;};exports[_0x999e('0x9')]=function(_0x180846,_0x3cb1c2){var _0xf40130=[];switch(_0x180846[_0x999e('0x1')]()){case _0x999e('0x2'):switch(_0x3cb1c2[_0x999e('0x1')]()){case _0x999e('0xa'):_0xf40130=[{'type':_0x999e('0x0'),'content':_0x999e('0xb'),'key':null,'keyType':null,'variableName':null},{'type':_0x999e('0xc'),'content':'','key':'Caller\x20Number','keyType':_0x999e('0x5'),'variableName':'calleridnum'},{'type':_0x999e('0xc'),'content':'','key':_0x999e('0xd'),'keyType':_0x999e('0x5'),'variableName':'calleridname'},{'type':_0x999e('0xc'),'content':'','key':'Call\x20To','keyType':_0x999e('0x5'),'variableName':'destexten'},{'type':'keyValue','content':'','key':_0x999e('0xe'),'keyType':_0x999e('0x5'),'variableName':_0x999e('0x4')},{'type':_0x999e('0xc'),'content':'','key':_0x999e('0xf'),'keyType':_0x999e('0x5'),'variableName':'uniqueid'},{'type':'keyValue','content':'','key':'Date','keyType':_0x999e('0x5'),'variableName':_0x999e('0x10')},{'type':_0x999e('0x0'),'content':_0x999e('0x11'),'key':null,'keyType':null,'variableName':null},{'type':_0x999e('0xc'),'content':'','key':_0x999e('0x12'),'keyType':'variable','variableName':'destcalleridname'},{'type':_0x999e('0xc'),'content':'','key':_0x999e('0x13'),'keyType':_0x999e('0x5'),'variableName':'destcalleridnum'},{'type':_0x999e('0x0'),'content':_0x999e('0x14'),'key':null,'keyType':null,'variableName':null},{'type':_0x999e('0xc'),'content':'','key':_0x999e('0x15'),'keyType':_0x999e('0x5'),'variableName':_0x999e('0x10')},{'type':_0x999e('0xc'),'content':'','key':'Agent\x20Connect','keyType':'variable','variableName':_0x999e('0x16')},{'type':_0x999e('0xc'),'content':'','key':'Agent\x20Complete','keyType':_0x999e('0x5'),'variableName':_0x999e('0x17')},{'type':_0x999e('0xc'),'content':'','key':_0x999e('0x18'),'keyType':_0x999e('0x5'),'variableName':_0x999e('0x19')},{'type':'keyValue','content':'','key':_0x999e('0x1a'),'keyType':_0x999e('0x5'),'variableName':_0x999e('0x1b')}];break;case _0x999e('0x1c'):_0xf40130=[{'type':_0x999e('0x0'),'content':_0x999e('0xb'),'variableName':null},{'type':_0x999e('0xc'),'content':'','key':'Called\x20Number','keyType':_0x999e('0x5'),'keyContent':'','variableName':'destcalleridnum'},{'type':'keyValue','content':'','key':_0x999e('0x1d'),'keyType':_0x999e('0x5'),'keyContent':'','variableName':_0x999e('0x1e')},{'type':'keyValue','content':'','key':_0x999e('0xf'),'keyType':_0x999e('0x5'),'keyContent':'','variableName':_0x999e('0x1f')},{'type':_0x999e('0xc'),'content':'','key':_0x999e('0x20'),'keyType':_0x999e('0x5'),'keyContent':'','variableName':_0x999e('0x21')},{'type':_0x999e('0x0'),'content':_0x999e('0x14')},{'type':_0x999e('0xc'),'content':'','key':'Answer\x20Time','keyType':_0x999e('0x5'),'keyContent':'','variableName':_0x999e('0x22')},{'type':_0x999e('0xc'),'content':'','key':'Complete\x20Time','keyType':_0x999e('0x5'),'keyContent':'','variableName':'endtime'}];break;}}return _0xf40130;};