ff80d74ecc2fd673249c52d39f429e9b833fe4fc
[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 _0xab40=['queue','variable','calleridnum','outbound','push','destcalleridnum','getDescriptions','string','keyValue','Caller\x20Number','Caller\x20Name','calleridname','Call\x20To','destexten','Queue','UniqueId','Date','agentcalledAt','***\x20Agent\x20Info\x20***','Agent\x20Name','Agent\x20Number','Agent\x20Ring','agentconnectAt','Agent\x20Complete','Hold\x20Time','Talk\x20Time','talktime','membername','uniqueid','starttime','***\x20Time\x20Info\x20***','Answer\x20Time','Complete\x20Time','Duration','duration','Billable\x20Time','billableseconds','getSubjects','[xCALLY\x20Ticket]','toLowerCase','voice','inbound'];(function(_0x21b267,_0x2e09b0){var _0x162347=function(_0x2af55b){while(--_0x2af55b){_0x21b267['push'](_0x21b267['shift']());}};_0x162347(++_0x2e09b0);}(_0xab40,0xcd));var _0x0ab4=function(_0x39e39c,_0x5b9e58){_0x39e39c=_0x39e39c-0x0;var _0xbbebca=_0xab40[_0x39e39c];return _0xbbebca;};'use strict';exports[_0x0ab4('0x0')]=function(_0x3b7345,_0x4ec919){var _0x570f05=[{'type':'string','content':_0x0ab4('0x1'),'variableName':null}];switch(_0x3b7345[_0x0ab4('0x2')]()){case _0x0ab4('0x3'):switch(_0x4ec919[_0x0ab4('0x2')]()){case _0x0ab4('0x4'):_0x570f05['push']({'type':'variable','content':'','variableName':_0x0ab4('0x5')});_0x570f05['push']({'type':_0x0ab4('0x6'),'content':'','variableName':_0x0ab4('0x7')});break;case _0x0ab4('0x8'):_0x570f05[_0x0ab4('0x9')]({'type':'string','content':'Outbound\x20Call','variableName':null});_0x570f05['push']({'type':_0x0ab4('0x6'),'content':'','variableName':_0x0ab4('0xa')});break;}}return _0x570f05;};exports[_0x0ab4('0xb')]=function(_0x464f7e,_0x413d9b){var _0x24c6c1=[];switch(_0x464f7e[_0x0ab4('0x2')]()){case _0x0ab4('0x3'):switch(_0x413d9b['toLowerCase']()){case'inbound':_0x24c6c1=[{'type':_0x0ab4('0xc'),'content':'***\x20Call\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0xe'),'keyType':_0x0ab4('0x6'),'variableName':_0x0ab4('0x7')},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0xf'),'keyType':_0x0ab4('0x6'),'variableName':_0x0ab4('0x10')},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x11'),'keyType':_0x0ab4('0x6'),'variableName':_0x0ab4('0x12')},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x13'),'keyType':_0x0ab4('0x6'),'variableName':_0x0ab4('0x5')},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x14'),'keyType':'variable','variableName':'uniqueid'},{'type':'keyValue','content':'','key':_0x0ab4('0x15'),'keyType':_0x0ab4('0x6'),'variableName':_0x0ab4('0x16')},{'type':'string','content':_0x0ab4('0x17'),'key':null,'keyType':null,'variableName':null},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x18'),'keyType':_0x0ab4('0x6'),'variableName':'destcalleridname'},{'type':'keyValue','content':'','key':_0x0ab4('0x19'),'keyType':'variable','variableName':_0x0ab4('0xa')},{'type':_0x0ab4('0xc'),'content':'***\x20Time\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x1a'),'keyType':_0x0ab4('0x6'),'variableName':_0x0ab4('0x16')},{'type':_0x0ab4('0xd'),'content':'','key':'Agent\x20Connect','keyType':'variable','variableName':_0x0ab4('0x1b')},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x1c'),'keyType':_0x0ab4('0x6'),'variableName':'agentcompleteAt'},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x1d'),'keyType':_0x0ab4('0x6'),'variableName':'holdtime'},{'type':'keyValue','content':'','key':_0x0ab4('0x1e'),'keyType':_0x0ab4('0x6'),'variableName':_0x0ab4('0x1f')}];break;case'outbound':_0x24c6c1=[{'type':'string','content':'***\x20Call\x20Info\x20***','variableName':null},{'type':_0x0ab4('0xd'),'content':'','key':'Called\x20Number','keyType':_0x0ab4('0x6'),'keyContent':'','variableName':_0x0ab4('0xa')},{'type':'keyValue','content':'','key':'Member\x20Name','keyType':'variable','keyContent':'','variableName':_0x0ab4('0x20')},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x14'),'keyType':_0x0ab4('0x6'),'keyContent':'','variableName':_0x0ab4('0x21')},{'type':'keyValue','content':'','key':'Date','keyType':'variable','keyContent':'','variableName':_0x0ab4('0x22')},{'type':_0x0ab4('0xc'),'content':_0x0ab4('0x23')},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x24'),'keyType':'variable','keyContent':'','variableName':'answertime'},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x25'),'keyType':_0x0ab4('0x6'),'keyContent':'','variableName':'endtime'},{'type':'keyValue','content':'','key':_0x0ab4('0x26'),'keyType':'variable','keyContent':'','variableName':_0x0ab4('0x27')},{'type':_0x0ab4('0xd'),'content':'','key':_0x0ab4('0x28'),'keyType':_0x0ab4('0x6'),'keyContent':'','variableName':_0x0ab4('0x29')}];break;}}return _0x24c6c1;};