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