Built motion from commit (unavailable).|2.5.3
[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 _0x6cb4=['***\x20Agent\x20Info\x20***','Agent\x20Name','destcalleridname','Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Ring','Agent\x20Connect','agentconnectAt','Agent\x20Complete','Hold\x20Time','holdtime','Talk\x20Time','talktime','Called\x20Number','Member\x20Name','membername','UniqueId','Date','Answer\x20Time','answertime','Complete\x20Time','endtime','Duration','Billable\x20Time','billableseconds','getSubjects','string','[xCALLY\x20Ticket]','toLowerCase','voice','push','queue','variable','calleridnum','outbound','Outbound\x20Call','destcalleridnum','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','Caller\x20Name','calleridname','Call\x20To','destexten','Queue','agentcalledAt'];(function(_0x5da810,_0x3be3fb){var _0x2c29f7=function(_0x439d52){while(--_0x439d52){_0x5da810['push'](_0x5da810['shift']());}};_0x2c29f7(++_0x3be3fb);}(_0x6cb4,0xff));var _0x46cb=function(_0x10fe51,_0x937973){_0x10fe51=_0x10fe51-0x0;var _0x278fea=_0x6cb4[_0x10fe51];return _0x278fea;};'use strict';exports[_0x46cb('0x0')]=function(_0x338f2b,_0x205a8d){var _0x3403fc=[{'type':_0x46cb('0x1'),'content':_0x46cb('0x2'),'variableName':null}];switch(_0x338f2b[_0x46cb('0x3')]()){case _0x46cb('0x4'):switch(_0x205a8d[_0x46cb('0x3')]()){case'inbound':_0x3403fc[_0x46cb('0x5')]({'type':'variable','content':'','variableName':_0x46cb('0x6')});_0x3403fc['push']({'type':_0x46cb('0x7'),'content':'','variableName':_0x46cb('0x8')});break;case _0x46cb('0x9'):_0x3403fc[_0x46cb('0x5')]({'type':_0x46cb('0x1'),'content':_0x46cb('0xa'),'variableName':null});_0x3403fc['push']({'type':_0x46cb('0x7'),'content':'','variableName':_0x46cb('0xb')});break;}}return _0x3403fc;};exports['getDescriptions']=function(_0x206f10,_0x106a87){var _0x4a60b2=[];switch(_0x206f10[_0x46cb('0x3')]()){case _0x46cb('0x4'):switch(_0x106a87['toLowerCase']()){case'inbound':_0x4a60b2=[{'type':'string','content':_0x46cb('0xc'),'key':null,'keyType':null,'variableName':null},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0xe'),'keyType':_0x46cb('0x7'),'variableName':'calleridnum'},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0xf'),'keyType':_0x46cb('0x7'),'variableName':_0x46cb('0x10')},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x11'),'keyType':_0x46cb('0x7'),'variableName':_0x46cb('0x12')},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x13'),'keyType':_0x46cb('0x7'),'variableName':'queue'},{'type':_0x46cb('0xd'),'content':'','key':'UniqueId','keyType':_0x46cb('0x7'),'variableName':'uniqueid'},{'type':'keyValue','content':'','key':'Date','keyType':_0x46cb('0x7'),'variableName':_0x46cb('0x14')},{'type':_0x46cb('0x1'),'content':_0x46cb('0x15'),'key':null,'keyType':null,'variableName':null},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x16'),'keyType':_0x46cb('0x7'),'variableName':_0x46cb('0x17')},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x18'),'keyType':_0x46cb('0x7'),'variableName':_0x46cb('0xb')},{'type':_0x46cb('0x1'),'content':_0x46cb('0x19'),'key':null,'keyType':null,'variableName':null},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x1a'),'keyType':_0x46cb('0x7'),'variableName':_0x46cb('0x14')},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x1b'),'keyType':_0x46cb('0x7'),'variableName':_0x46cb('0x1c')},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x1d'),'keyType':_0x46cb('0x7'),'variableName':'agentcompleteAt'},{'type':'keyValue','content':'','key':_0x46cb('0x1e'),'keyType':_0x46cb('0x7'),'variableName':_0x46cb('0x1f')},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x20'),'keyType':'variable','variableName':_0x46cb('0x21')}];break;case'outbound':_0x4a60b2=[{'type':'string','content':'***\x20Call\x20Info\x20***','variableName':null},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x22'),'keyType':_0x46cb('0x7'),'keyContent':'','variableName':_0x46cb('0xb')},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x23'),'keyType':_0x46cb('0x7'),'keyContent':'','variableName':_0x46cb('0x24')},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x25'),'keyType':_0x46cb('0x7'),'keyContent':'','variableName':'uniqueid'},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x26'),'keyType':'variable','keyContent':'','variableName':'starttime'},{'type':_0x46cb('0x1'),'content':'***\x20Time\x20Info\x20***'},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x27'),'keyType':_0x46cb('0x7'),'keyContent':'','variableName':_0x46cb('0x28')},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x29'),'keyType':'variable','keyContent':'','variableName':_0x46cb('0x2a')},{'type':'keyValue','content':'','key':_0x46cb('0x2b'),'keyType':_0x46cb('0x7'),'keyContent':'','variableName':'duration'},{'type':_0x46cb('0xd'),'content':'','key':_0x46cb('0x2c'),'keyType':_0x46cb('0x7'),'keyContent':'','variableName':_0x46cb('0x2d')}];break;}}return _0x4a60b2;};