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