9765f99ebe05c9e16745906d54f4e1fb4354e450
[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 _0x9d6f=['destcalleridnum','membername','starttime','endtime','Duration','duration','Billable\x20Time','getSubjects','string','voice','toLowerCase','inbound','variable','push','outbound','Outbound\x20Call','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','calleridnum','Caller\x20Name','calleridname','Call\x20To','destexten','Queue','queue','UniqueId','uniqueid','Date','agentcalledAt','Agent\x20Name','destcalleridname','***\x20Time\x20Info\x20***','Agent\x20Ring','Agent\x20Connect','agentconnectAt','Talk\x20Time','talktime','Called\x20Number'];(function(_0x54b8ed,_0x4e258c){var _0x379242=function(_0x42700f){while(--_0x42700f){_0x54b8ed['push'](_0x54b8ed['shift']());}};_0x379242(++_0x4e258c);}(_0x9d6f,0x166));var _0xf9d6=function(_0x23d4c7,_0x13f8cc){_0x23d4c7=_0x23d4c7-0x0;var _0x339704=_0x9d6f[_0x23d4c7];return _0x339704;};'use strict';exports[_0xf9d6('0x0')]=function(_0x49471f,_0x42a96c){var _0x5f1aac=[{'type':_0xf9d6('0x1'),'content':'[xCALLY\x20Ticket]','variableName':null}];switch(_0x49471f['toLowerCase']()){case _0xf9d6('0x2'):switch(_0x42a96c[_0xf9d6('0x3')]()){case _0xf9d6('0x4'):_0x5f1aac['push']({'type':_0xf9d6('0x5'),'content':'','variableName':'queue'});_0x5f1aac[_0xf9d6('0x6')]({'type':_0xf9d6('0x5'),'content':'','variableName':'calleridnum'});break;case _0xf9d6('0x7'):_0x5f1aac[_0xf9d6('0x6')]({'type':_0xf9d6('0x1'),'content':_0xf9d6('0x8'),'variableName':null});_0x5f1aac['push']({'type':_0xf9d6('0x5'),'content':'','variableName':'destcalleridnum'});break;}}return _0x5f1aac;};exports['getDescriptions']=function(_0x5bcf65,_0x3eb20d){var _0x2205a7=[];switch(_0x5bcf65[_0xf9d6('0x3')]()){case'voice':switch(_0x3eb20d[_0xf9d6('0x3')]()){case _0xf9d6('0x4'):_0x2205a7=[{'type':_0xf9d6('0x1'),'content':_0xf9d6('0x9'),'key':null,'keyType':null,'variableName':null},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0xb'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0xc')},{'type':'keyValue','content':'','key':_0xf9d6('0xd'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0xe')},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0xf'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0x10')},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x11'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0x12')},{'type':'keyValue','content':'','key':_0xf9d6('0x13'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0x14')},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x15'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0x16')},{'type':_0xf9d6('0x1'),'content':'***\x20Agent\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x17'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0x18')},{'type':_0xf9d6('0xa'),'content':'','key':'Agent\x20Number','keyType':_0xf9d6('0x5'),'variableName':'destcalleridnum'},{'type':_0xf9d6('0x1'),'content':_0xf9d6('0x19'),'key':null,'keyType':null,'variableName':null},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x1a'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0x16')},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x1b'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0x1c')},{'type':_0xf9d6('0xa'),'content':'','key':'Agent\x20Complete','keyType':'variable','variableName':'agentcompleteAt'},{'type':_0xf9d6('0xa'),'content':'','key':'Hold\x20Time','keyType':_0xf9d6('0x5'),'variableName':'holdtime'},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x1d'),'keyType':_0xf9d6('0x5'),'variableName':_0xf9d6('0x1e')}];break;case _0xf9d6('0x7'):_0x2205a7=[{'type':_0xf9d6('0x1'),'content':_0xf9d6('0x9'),'variableName':null},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x1f'),'keyType':'variable','keyContent':'','variableName':_0xf9d6('0x20')},{'type':'keyValue','content':'','key':'Member\x20Name','keyType':'variable','keyContent':'','variableName':_0xf9d6('0x21')},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x13'),'keyType':_0xf9d6('0x5'),'keyContent':'','variableName':'uniqueid'},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x15'),'keyType':_0xf9d6('0x5'),'keyContent':'','variableName':_0xf9d6('0x22')},{'type':_0xf9d6('0x1'),'content':_0xf9d6('0x19')},{'type':'keyValue','content':'','key':'Answer\x20Time','keyType':_0xf9d6('0x5'),'keyContent':'','variableName':'answertime'},{'type':'keyValue','content':'','key':'Complete\x20Time','keyType':_0xf9d6('0x5'),'keyContent':'','variableName':_0xf9d6('0x23')},{'type':_0xf9d6('0xa'),'content':'','key':_0xf9d6('0x24'),'keyType':_0xf9d6('0x5'),'keyContent':'','variableName':_0xf9d6('0x25')},{'type':'keyValue','content':'','key':_0xf9d6('0x26'),'keyType':_0xf9d6('0x5'),'keyContent':'','variableName':'billableseconds'}];break;}}return _0x2205a7;};