f3ec864c37f4f05cacdad4b5c1738cbb028b5088
[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 _0x2bc0=['Agent\x20Connect','agentconnectAt','agentcompleteAt','Hold\x20Time','holdtime','Talk\x20Time','talktime','destcalleridnum','Member\x20Name','starttime','Answer\x20Time','answertime','Complete\x20Time','Duration','duration','Billable\x20Time','billableseconds','string','toLowerCase','inbound','push','variable','queue','calleridnum','outbound','Outbound\x20Call','voice','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','Caller\x20Name','calleridname','Call\x20To','destexten','UniqueId','uniqueid','Date','agentcalledAt','***\x20Agent\x20Info\x20***','destcalleridname','Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Ring'];(function(_0x481609,_0x17a967){var _0x289418=function(_0x31af12){while(--_0x31af12){_0x481609['push'](_0x481609['shift']());}};_0x289418(++_0x17a967);}(_0x2bc0,0x113));var _0x02bc=function(_0x20a584,_0xe384a5){_0x20a584=_0x20a584-0x0;var _0x4b41a8=_0x2bc0[_0x20a584];return _0x4b41a8;};'use strict';exports['getSubjects']=function(_0x4389a2,_0x4509be){var _0x3e99f1=[{'type':_0x02bc('0x0'),'content':'[xCALLY\x20Ticket]','variableName':null}];switch(_0x4389a2[_0x02bc('0x1')]()){case'voice':switch(_0x4509be[_0x02bc('0x1')]()){case _0x02bc('0x2'):_0x3e99f1[_0x02bc('0x3')]({'type':_0x02bc('0x4'),'content':'','variableName':_0x02bc('0x5')});_0x3e99f1[_0x02bc('0x3')]({'type':'variable','content':'','variableName':_0x02bc('0x6')});break;case _0x02bc('0x7'):_0x3e99f1['push']({'type':_0x02bc('0x0'),'content':_0x02bc('0x8'),'variableName':null});_0x3e99f1['push']({'type':_0x02bc('0x4'),'content':'','variableName':'destcalleridnum'});break;}}return _0x3e99f1;};exports['getDescriptions']=function(_0x472429,_0x1a3669){var _0x48cd18=[];switch(_0x472429[_0x02bc('0x1')]()){case _0x02bc('0x9'):switch(_0x1a3669[_0x02bc('0x1')]()){case _0x02bc('0x2'):_0x48cd18=[{'type':_0x02bc('0x0'),'content':_0x02bc('0xa'),'key':null,'keyType':null,'variableName':null},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0xc'),'keyType':'variable','variableName':_0x02bc('0x6')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0xd'),'keyType':_0x02bc('0x4'),'variableName':_0x02bc('0xe')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0xf'),'keyType':_0x02bc('0x4'),'variableName':_0x02bc('0x10')},{'type':_0x02bc('0xb'),'content':'','key':'Queue','keyType':_0x02bc('0x4'),'variableName':'queue'},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x11'),'keyType':_0x02bc('0x4'),'variableName':_0x02bc('0x12')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x13'),'keyType':'variable','variableName':_0x02bc('0x14')},{'type':_0x02bc('0x0'),'content':_0x02bc('0x15'),'key':null,'keyType':null,'variableName':null},{'type':_0x02bc('0xb'),'content':'','key':'Agent\x20Name','keyType':_0x02bc('0x4'),'variableName':_0x02bc('0x16')},{'type':'keyValue','content':'','key':_0x02bc('0x17'),'keyType':_0x02bc('0x4'),'variableName':'destcalleridnum'},{'type':_0x02bc('0x0'),'content':_0x02bc('0x18'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0x02bc('0x19'),'keyType':_0x02bc('0x4'),'variableName':'agentcalledAt'},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x1a'),'keyType':_0x02bc('0x4'),'variableName':_0x02bc('0x1b')},{'type':_0x02bc('0xb'),'content':'','key':'Agent\x20Complete','keyType':'variable','variableName':_0x02bc('0x1c')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x1d'),'keyType':_0x02bc('0x4'),'variableName':_0x02bc('0x1e')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x1f'),'keyType':'variable','variableName':_0x02bc('0x20')}];break;case _0x02bc('0x7'):_0x48cd18=[{'type':_0x02bc('0x0'),'content':_0x02bc('0xa'),'variableName':null},{'type':_0x02bc('0xb'),'content':'','key':'Called\x20Number','keyType':_0x02bc('0x4'),'keyContent':'','variableName':_0x02bc('0x21')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x22'),'keyType':_0x02bc('0x4'),'keyContent':'','variableName':'membername'},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x11'),'keyType':_0x02bc('0x4'),'keyContent':'','variableName':_0x02bc('0x12')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x13'),'keyType':_0x02bc('0x4'),'keyContent':'','variableName':_0x02bc('0x23')},{'type':'string','content':_0x02bc('0x18')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x24'),'keyType':_0x02bc('0x4'),'keyContent':'','variableName':_0x02bc('0x25')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x26'),'keyType':_0x02bc('0x4'),'keyContent':'','variableName':'endtime'},{'type':'keyValue','content':'','key':_0x02bc('0x27'),'keyType':_0x02bc('0x4'),'keyContent':'','variableName':_0x02bc('0x28')},{'type':_0x02bc('0xb'),'content':'','key':_0x02bc('0x29'),'keyType':'variable','keyContent':'','variableName':_0x02bc('0x2a')}];break;}}return _0x48cd18;};