Built motion from commit 775e2a94.|2.6.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 _0xa7cf=['destcalleridname','Agent\x20Number','agentconnectAt','Agent\x20Complete','agentcompleteAt','talktime','Called\x20Number','Member\x20Name','membername','starttime','***\x20Time\x20Info\x20***','Answer\x20Time','answertime','endtime','Duration','duration','Billable\x20Time','billableseconds','getSubjects','string','[xCALLY\x20Ticket]','toLowerCase','voice','inbound','push','variable','queue','outbound','destcalleridnum','***\x20Call\x20Info\x20***','Caller\x20Number','calleridnum','keyValue','calleridname','Call\x20To','destexten','UniqueId','uniqueid','Date','***\x20Agent\x20Info\x20***','Agent\x20Name'];(function(_0x2147d1,_0x16cc9a){var _0x15216b=function(_0x222c29){while(--_0x222c29){_0x2147d1['push'](_0x2147d1['shift']());}};_0x15216b(++_0x16cc9a);}(_0xa7cf,0xb6));var _0xfa7c=function(_0xc7348b,_0x145880){_0xc7348b=_0xc7348b-0x0;var _0x307cec=_0xa7cf[_0xc7348b];return _0x307cec;};'use strict';exports[_0xfa7c('0x0')]=function(_0xfab3e4,_0x3c1d4d){var _0x5b561e=[{'type':_0xfa7c('0x1'),'content':_0xfa7c('0x2'),'variableName':null}];switch(_0xfab3e4[_0xfa7c('0x3')]()){case _0xfa7c('0x4'):switch(_0x3c1d4d[_0xfa7c('0x3')]()){case _0xfa7c('0x5'):_0x5b561e[_0xfa7c('0x6')]({'type':_0xfa7c('0x7'),'content':'','variableName':_0xfa7c('0x8')});_0x5b561e['push']({'type':_0xfa7c('0x7'),'content':'','variableName':'calleridnum'});break;case _0xfa7c('0x9'):_0x5b561e[_0xfa7c('0x6')]({'type':_0xfa7c('0x1'),'content':'Outbound\x20Call','variableName':null});_0x5b561e[_0xfa7c('0x6')]({'type':_0xfa7c('0x7'),'content':'','variableName':_0xfa7c('0xa')});break;}}return _0x5b561e;};exports['getDescriptions']=function(_0x10a59d,_0x52d4ad){var _0x448ec3=[];switch(_0x10a59d[_0xfa7c('0x3')]()){case _0xfa7c('0x4'):switch(_0x52d4ad[_0xfa7c('0x3')]()){case'inbound':_0x448ec3=[{'type':_0xfa7c('0x1'),'content':_0xfa7c('0xb'),'key':null,'keyType':null,'variableName':null},{'type':'keyValue','content':'','key':_0xfa7c('0xc'),'keyType':_0xfa7c('0x7'),'variableName':_0xfa7c('0xd')},{'type':_0xfa7c('0xe'),'content':'','key':'Caller\x20Name','keyType':_0xfa7c('0x7'),'variableName':_0xfa7c('0xf')},{'type':'keyValue','content':'','key':_0xfa7c('0x10'),'keyType':_0xfa7c('0x7'),'variableName':_0xfa7c('0x11')},{'type':_0xfa7c('0xe'),'content':'','key':'Queue','keyType':_0xfa7c('0x7'),'variableName':_0xfa7c('0x8')},{'type':_0xfa7c('0xe'),'content':'','key':_0xfa7c('0x12'),'keyType':_0xfa7c('0x7'),'variableName':_0xfa7c('0x13')},{'type':_0xfa7c('0xe'),'content':'','key':_0xfa7c('0x14'),'keyType':_0xfa7c('0x7'),'variableName':'agentcalledAt'},{'type':'string','content':_0xfa7c('0x15'),'key':null,'keyType':null,'variableName':null},{'type':_0xfa7c('0xe'),'content':'','key':_0xfa7c('0x16'),'keyType':_0xfa7c('0x7'),'variableName':_0xfa7c('0x17')},{'type':'keyValue','content':'','key':_0xfa7c('0x18'),'keyType':_0xfa7c('0x7'),'variableName':'destcalleridnum'},{'type':_0xfa7c('0x1'),'content':'***\x20Time\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0xfa7c('0xe'),'content':'','key':'Agent\x20Ring','keyType':_0xfa7c('0x7'),'variableName':'agentcalledAt'},{'type':_0xfa7c('0xe'),'content':'','key':'Agent\x20Connect','keyType':_0xfa7c('0x7'),'variableName':_0xfa7c('0x19')},{'type':_0xfa7c('0xe'),'content':'','key':_0xfa7c('0x1a'),'keyType':_0xfa7c('0x7'),'variableName':_0xfa7c('0x1b')},{'type':_0xfa7c('0xe'),'content':'','key':'Hold\x20Time','keyType':_0xfa7c('0x7'),'variableName':'holdtime'},{'type':_0xfa7c('0xe'),'content':'','key':'Talk\x20Time','keyType':'variable','variableName':_0xfa7c('0x1c')}];break;case _0xfa7c('0x9'):_0x448ec3=[{'type':'string','content':_0xfa7c('0xb'),'variableName':null},{'type':_0xfa7c('0xe'),'content':'','key':_0xfa7c('0x1d'),'keyType':_0xfa7c('0x7'),'keyContent':'','variableName':_0xfa7c('0xa')},{'type':_0xfa7c('0xe'),'content':'','key':_0xfa7c('0x1e'),'keyType':_0xfa7c('0x7'),'keyContent':'','variableName':_0xfa7c('0x1f')},{'type':_0xfa7c('0xe'),'content':'','key':_0xfa7c('0x12'),'keyType':'variable','keyContent':'','variableName':'uniqueid'},{'type':_0xfa7c('0xe'),'content':'','key':_0xfa7c('0x14'),'keyType':_0xfa7c('0x7'),'keyContent':'','variableName':_0xfa7c('0x20')},{'type':_0xfa7c('0x1'),'content':_0xfa7c('0x21')},{'type':_0xfa7c('0xe'),'content':'','key':_0xfa7c('0x22'),'keyType':_0xfa7c('0x7'),'keyContent':'','variableName':_0xfa7c('0x23')},{'type':_0xfa7c('0xe'),'content':'','key':'Complete\x20Time','keyType':_0xfa7c('0x7'),'keyContent':'','variableName':_0xfa7c('0x24')},{'type':'keyValue','content':'','key':_0xfa7c('0x25'),'keyType':'variable','keyContent':'','variableName':_0xfa7c('0x26')},{'type':'keyValue','content':'','key':_0xfa7c('0x27'),'keyType':'variable','keyContent':'','variableName':_0xfa7c('0x28')}];break;}}return _0x448ec3;};