Built motion from commit e6806ed6.|2.6.0
[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 _0x985b=['Hold\x20Time','holdtime','Talk\x20Time','talktime','Member\x20Name','membername','UniqueId','starttime','Answer\x20Time','answertime','Complete\x20Time','Duration','duration','Billable\x20Time','billableseconds','getSubjects','string','toLowerCase','inbound','push','variable','queue','outbound','destcalleridnum','getDescriptions','***\x20Call\x20Info\x20***','keyValue','Caller\x20Number','calleridnum','Caller\x20Name','calleridname','Call\x20To','Queue','uniqueid','Date','agentcalledAt','***\x20Agent\x20Info\x20***','Agent\x20Name','Agent\x20Number','***\x20Time\x20Info\x20***','Agent\x20Ring','Agent\x20Connect','agentconnectAt','Agent\x20Complete'];(function(_0x4154a6,_0x2c0b8e){var _0x3b2786=function(_0x2f5936){while(--_0x2f5936){_0x4154a6['push'](_0x4154a6['shift']());}};_0x3b2786(++_0x2c0b8e);}(_0x985b,0x117));var _0xb985=function(_0xfff0ab,_0x178c2b){_0xfff0ab=_0xfff0ab-0x0;var _0x497f6c=_0x985b[_0xfff0ab];return _0x497f6c;};'use strict';exports[_0xb985('0x0')]=function(_0x2ddd35,_0x40688d){var _0x2910a6=[{'type':_0xb985('0x1'),'content':'[xCALLY\x20Ticket]','variableName':null}];switch(_0x2ddd35[_0xb985('0x2')]()){case'voice':switch(_0x40688d[_0xb985('0x2')]()){case _0xb985('0x3'):_0x2910a6[_0xb985('0x4')]({'type':_0xb985('0x5'),'content':'','variableName':_0xb985('0x6')});_0x2910a6[_0xb985('0x4')]({'type':_0xb985('0x5'),'content':'','variableName':'calleridnum'});break;case _0xb985('0x7'):_0x2910a6[_0xb985('0x4')]({'type':_0xb985('0x1'),'content':'Outbound\x20Call','variableName':null});_0x2910a6[_0xb985('0x4')]({'type':_0xb985('0x5'),'content':'','variableName':_0xb985('0x8')});break;}}return _0x2910a6;};exports[_0xb985('0x9')]=function(_0x265672,_0x4de09d){var _0x5968b0=[];switch(_0x265672[_0xb985('0x2')]()){case'voice':switch(_0x4de09d[_0xb985('0x2')]()){case _0xb985('0x3'):_0x5968b0=[{'type':_0xb985('0x1'),'content':_0xb985('0xa'),'key':null,'keyType':null,'variableName':null},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0xc'),'keyType':_0xb985('0x5'),'variableName':_0xb985('0xd')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0xe'),'keyType':_0xb985('0x5'),'variableName':_0xb985('0xf')},{'type':'keyValue','content':'','key':_0xb985('0x10'),'keyType':'variable','variableName':'destexten'},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x11'),'keyType':_0xb985('0x5'),'variableName':'queue'},{'type':_0xb985('0xb'),'content':'','key':'UniqueId','keyType':_0xb985('0x5'),'variableName':_0xb985('0x12')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x13'),'keyType':_0xb985('0x5'),'variableName':_0xb985('0x14')},{'type':_0xb985('0x1'),'content':_0xb985('0x15'),'key':null,'keyType':null,'variableName':null},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x16'),'keyType':_0xb985('0x5'),'variableName':'destcalleridname'},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x17'),'keyType':_0xb985('0x5'),'variableName':_0xb985('0x8')},{'type':'string','content':_0xb985('0x18'),'key':null,'keyType':null,'variableName':null},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x19'),'keyType':'variable','variableName':_0xb985('0x14')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x1a'),'keyType':_0xb985('0x5'),'variableName':_0xb985('0x1b')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x1c'),'keyType':_0xb985('0x5'),'variableName':'agentcompleteAt'},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x1d'),'keyType':_0xb985('0x5'),'variableName':_0xb985('0x1e')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x1f'),'keyType':_0xb985('0x5'),'variableName':_0xb985('0x20')}];break;case _0xb985('0x7'):_0x5968b0=[{'type':'string','content':_0xb985('0xa'),'variableName':null},{'type':_0xb985('0xb'),'content':'','key':'Called\x20Number','keyType':_0xb985('0x5'),'keyContent':'','variableName':_0xb985('0x8')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x21'),'keyType':_0xb985('0x5'),'keyContent':'','variableName':_0xb985('0x22')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x23'),'keyType':'variable','keyContent':'','variableName':_0xb985('0x12')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x13'),'keyType':_0xb985('0x5'),'keyContent':'','variableName':_0xb985('0x24')},{'type':_0xb985('0x1'),'content':'***\x20Time\x20Info\x20***'},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x25'),'keyType':_0xb985('0x5'),'keyContent':'','variableName':_0xb985('0x26')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x27'),'keyType':_0xb985('0x5'),'keyContent':'','variableName':'endtime'},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x28'),'keyType':'variable','keyContent':'','variableName':_0xb985('0x29')},{'type':_0xb985('0xb'),'content':'','key':_0xb985('0x2a'),'keyType':_0xb985('0x5'),'keyContent':'','variableName':_0xb985('0x2b')}];break;}}return _0x5968b0;};