1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xb821=['Request','CampaignId','Contact','phone','GetCmHopperBlackIvr','checkIsBlackList','VoiceQueueId','GetCmHopperBlack','checkIsBlackListIvr'];(function(_0x5b06ff,_0x3e06f5){var _0x23473b=function(_0x3b8f21){while(--_0x3b8f21){_0x5b06ff['push'](_0x5b06ff['shift']());}};_0x23473b(++_0x3e06f5);}(_0xb821,0xa7));var _0x1b82=function(_0x21ce1c,_0x65728a){_0x21ce1c=_0x21ce1c-0x0;var _0x3072ba=_0xb821[_0x21ce1c];return _0x3072ba;};'use strict';var client=require('../client');exports[_0x1b82('0x0')]=function(_0x4f6190){return function(){return client['Request']('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x4f6190[_0x1b82('0x1')],'phone':_0x4f6190['Contact']['phone']},'raw':![]},'log':_0x1b82('0x2')});};};exports[_0x1b82('0x3')]=function(_0x3fadf0){return function(){return client[_0x1b82('0x4')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x3fadf0[_0x1b82('0x5')],'phone':_0x3fadf0[_0x1b82('0x6')][_0x1b82('0x7')]},'raw':![]},'log':_0x1b82('0x8')});};};