e01874eec7349a4c02f1f7555bbb3875194e6bb7
[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 _0x63ff=['Agent\x20Connect','agentconnectAt','Agent\x20Complete','agentcompleteAt','Hold\x20Time','holdtime','talktime','membername','UniqueId','starttime','Answer\x20Time','answertime','Complete\x20Time','Duration','duration','billableseconds','getSubjects','string','[xCALLY\x20Ticket]','toLowerCase','inbound','push','variable','queue','calleridnum','outbound','Outbound\x20Call','destcalleridnum','getDescriptions','voice','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','Caller\x20Name','calleridname','Call\x20To','uniqueid','Date','agentcalledAt','***\x20Agent\x20Info\x20***','Agent\x20Name','destcalleridname','Agent\x20Number','***\x20Time\x20Info\x20***'];(function(_0x3eb0b4,_0x43379e){var _0x115741=function(_0x48050b){while(--_0x48050b){_0x3eb0b4['push'](_0x3eb0b4['shift']());}};_0x115741(++_0x43379e);}(_0x63ff,0x19c));var _0xf63f=function(_0x1bbe73,_0x3a1770){_0x1bbe73=_0x1bbe73-0x0;var _0x3936d0=_0x63ff[_0x1bbe73];return _0x3936d0;};'use strict';exports[_0xf63f('0x0')]=function(_0x3e94c8,_0x2f679e){var _0x1915e6=[{'type':_0xf63f('0x1'),'content':_0xf63f('0x2'),'variableName':null}];switch(_0x3e94c8[_0xf63f('0x3')]()){case'voice':switch(_0x2f679e['toLowerCase']()){case _0xf63f('0x4'):_0x1915e6[_0xf63f('0x5')]({'type':_0xf63f('0x6'),'content':'','variableName':_0xf63f('0x7')});_0x1915e6['push']({'type':_0xf63f('0x6'),'content':'','variableName':_0xf63f('0x8')});break;case _0xf63f('0x9'):_0x1915e6[_0xf63f('0x5')]({'type':_0xf63f('0x1'),'content':_0xf63f('0xa'),'variableName':null});_0x1915e6[_0xf63f('0x5')]({'type':_0xf63f('0x6'),'content':'','variableName':_0xf63f('0xb')});break;}}return _0x1915e6;};exports[_0xf63f('0xc')]=function(_0x6e1405,_0x3f0f47){var _0x1730b1=[];switch(_0x6e1405[_0xf63f('0x3')]()){case _0xf63f('0xd'):switch(_0x3f0f47[_0xf63f('0x3')]()){case _0xf63f('0x4'):_0x1730b1=[{'type':_0xf63f('0x1'),'content':_0xf63f('0xe'),'key':null,'keyType':null,'variableName':null},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x10'),'keyType':_0xf63f('0x6'),'variableName':_0xf63f('0x8')},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x11'),'keyType':_0xf63f('0x6'),'variableName':_0xf63f('0x12')},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x13'),'keyType':_0xf63f('0x6'),'variableName':'destexten'},{'type':'keyValue','content':'','key':'Queue','keyType':_0xf63f('0x6'),'variableName':_0xf63f('0x7')},{'type':_0xf63f('0xf'),'content':'','key':'UniqueId','keyType':_0xf63f('0x6'),'variableName':_0xf63f('0x14')},{'type':'keyValue','content':'','key':_0xf63f('0x15'),'keyType':_0xf63f('0x6'),'variableName':_0xf63f('0x16')},{'type':_0xf63f('0x1'),'content':_0xf63f('0x17'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0xf63f('0x18'),'keyType':'variable','variableName':_0xf63f('0x19')},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x1a'),'keyType':_0xf63f('0x6'),'variableName':_0xf63f('0xb')},{'type':_0xf63f('0x1'),'content':_0xf63f('0x1b'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':'Agent\x20Ring','keyType':'variable','variableName':_0xf63f('0x16')},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x1c'),'keyType':_0xf63f('0x6'),'variableName':_0xf63f('0x1d')},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x1e'),'keyType':_0xf63f('0x6'),'variableName':_0xf63f('0x1f')},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x20'),'keyType':_0xf63f('0x6'),'variableName':_0xf63f('0x21')},{'type':_0xf63f('0xf'),'content':'','key':'Talk\x20Time','keyType':_0xf63f('0x6'),'variableName':_0xf63f('0x22')}];break;case _0xf63f('0x9'):_0x1730b1=[{'type':_0xf63f('0x1'),'content':_0xf63f('0xe'),'variableName':null},{'type':_0xf63f('0xf'),'content':'','key':'Called\x20Number','keyType':_0xf63f('0x6'),'keyContent':'','variableName':_0xf63f('0xb')},{'type':'keyValue','content':'','key':'Member\x20Name','keyType':'variable','keyContent':'','variableName':_0xf63f('0x23')},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x24'),'keyType':_0xf63f('0x6'),'keyContent':'','variableName':'uniqueid'},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x15'),'keyType':_0xf63f('0x6'),'keyContent':'','variableName':_0xf63f('0x25')},{'type':_0xf63f('0x1'),'content':'***\x20Time\x20Info\x20***'},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x26'),'keyType':_0xf63f('0x6'),'keyContent':'','variableName':_0xf63f('0x27')},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x28'),'keyType':'variable','keyContent':'','variableName':'endtime'},{'type':_0xf63f('0xf'),'content':'','key':_0xf63f('0x29'),'keyType':_0xf63f('0x6'),'keyContent':'','variableName':_0xf63f('0x2a')},{'type':_0xf63f('0xf'),'content':'','key':'Billable\x20Time','keyType':_0xf63f('0x6'),'keyContent':'','variableName':_0xf63f('0x2b')}];break;}}return _0x1730b1;};