Built motion from commit fe909640.|2.6.8
[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 _0xbc43=['agentcalledAt','destcalleridname','Agent\x20Number','destcalleridnum','***\x20Time\x20Info\x20***','Agent\x20Connect','Agent\x20Complete','agentcompleteAt','Hold\x20Time','holdtime','talktime','Called\x20Number','Member\x20Name','answertime','endtime','Duration','Billable\x20Time','billableseconds','getSubjects','string','[xCALLY\x20Ticket]','toLowerCase','voice','inbound','push','variable','queue','calleridnum','outbound','Outbound\x20Call','getDescriptions','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','Caller\x20Name','calleridname','destexten','Queue','uniqueid','Date'];(function(_0x17ed53,_0x17527d){var _0x4ef292=function(_0x102090){while(--_0x102090){_0x17ed53['push'](_0x17ed53['shift']());}};_0x4ef292(++_0x17527d);}(_0xbc43,0x152));var _0x3bc4=function(_0x5ac6f9,_0x548304){_0x5ac6f9=_0x5ac6f9-0x0;var _0x59e045=_0xbc43[_0x5ac6f9];return _0x59e045;};'use strict';exports[_0x3bc4('0x0')]=function(_0x4ca128,_0x4bca4b){var _0x3f0df7=[{'type':_0x3bc4('0x1'),'content':_0x3bc4('0x2'),'variableName':null}];switch(_0x4ca128[_0x3bc4('0x3')]()){case _0x3bc4('0x4'):switch(_0x4bca4b[_0x3bc4('0x3')]()){case _0x3bc4('0x5'):_0x3f0df7[_0x3bc4('0x6')]({'type':_0x3bc4('0x7'),'content':'','variableName':_0x3bc4('0x8')});_0x3f0df7[_0x3bc4('0x6')]({'type':'variable','content':'','variableName':_0x3bc4('0x9')});break;case _0x3bc4('0xa'):_0x3f0df7[_0x3bc4('0x6')]({'type':_0x3bc4('0x1'),'content':_0x3bc4('0xb'),'variableName':null});_0x3f0df7['push']({'type':_0x3bc4('0x7'),'content':'','variableName':'destcalleridnum'});break;}}return _0x3f0df7;};exports[_0x3bc4('0xc')]=function(_0x5f2fe6,_0x4b3ac0){var _0x408fda=[];switch(_0x5f2fe6[_0x3bc4('0x3')]()){case'voice':switch(_0x4b3ac0[_0x3bc4('0x3')]()){case _0x3bc4('0x5'):_0x408fda=[{'type':_0x3bc4('0x1'),'content':_0x3bc4('0xd'),'key':null,'keyType':null,'variableName':null},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0xf'),'keyType':_0x3bc4('0x7'),'variableName':'calleridnum'},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x10'),'keyType':_0x3bc4('0x7'),'variableName':_0x3bc4('0x11')},{'type':_0x3bc4('0xe'),'content':'','key':'Call\x20To','keyType':'variable','variableName':_0x3bc4('0x12')},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x13'),'keyType':_0x3bc4('0x7'),'variableName':'queue'},{'type':'keyValue','content':'','key':'UniqueId','keyType':_0x3bc4('0x7'),'variableName':_0x3bc4('0x14')},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x15'),'keyType':_0x3bc4('0x7'),'variableName':_0x3bc4('0x16')},{'type':_0x3bc4('0x1'),'content':'***\x20Agent\x20Info\x20***','key':null,'keyType':null,'variableName':null},{'type':_0x3bc4('0xe'),'content':'','key':'Agent\x20Name','keyType':'variable','variableName':_0x3bc4('0x17')},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x18'),'keyType':_0x3bc4('0x7'),'variableName':_0x3bc4('0x19')},{'type':_0x3bc4('0x1'),'content':_0x3bc4('0x1a'),'key':null,'keyType':null,'variableName':null},{'type':_0x3bc4('0xe'),'content':'','key':'Agent\x20Ring','keyType':_0x3bc4('0x7'),'variableName':_0x3bc4('0x16')},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x1b'),'keyType':_0x3bc4('0x7'),'variableName':'agentconnectAt'},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x1c'),'keyType':_0x3bc4('0x7'),'variableName':_0x3bc4('0x1d')},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x1e'),'keyType':'variable','variableName':_0x3bc4('0x1f')},{'type':'keyValue','content':'','key':'Talk\x20Time','keyType':_0x3bc4('0x7'),'variableName':_0x3bc4('0x20')}];break;case _0x3bc4('0xa'):_0x408fda=[{'type':_0x3bc4('0x1'),'content':'***\x20Call\x20Info\x20***','variableName':null},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x21'),'keyType':_0x3bc4('0x7'),'keyContent':'','variableName':_0x3bc4('0x19')},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x22'),'keyType':_0x3bc4('0x7'),'keyContent':'','variableName':'membername'},{'type':_0x3bc4('0xe'),'content':'','key':'UniqueId','keyType':_0x3bc4('0x7'),'keyContent':'','variableName':_0x3bc4('0x14')},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x15'),'keyType':_0x3bc4('0x7'),'keyContent':'','variableName':'starttime'},{'type':_0x3bc4('0x1'),'content':'***\x20Time\x20Info\x20***'},{'type':_0x3bc4('0xe'),'content':'','key':'Answer\x20Time','keyType':_0x3bc4('0x7'),'keyContent':'','variableName':_0x3bc4('0x23')},{'type':_0x3bc4('0xe'),'content':'','key':'Complete\x20Time','keyType':_0x3bc4('0x7'),'keyContent':'','variableName':_0x3bc4('0x24')},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x25'),'keyType':_0x3bc4('0x7'),'keyContent':'','variableName':'duration'},{'type':_0x3bc4('0xe'),'content':'','key':_0x3bc4('0x26'),'keyType':_0x3bc4('0x7'),'keyContent':'','variableName':_0x3bc4('0x27')}];break;}}return _0x408fda;};