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 _0x4ea3=['GetCmHopperBlack','CampaignId','Contact','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','VoiceQueueId','phone'];(function(_0x46ae5a,_0x2a38d0){var _0x434986=function(_0x22735d){while(--_0x22735d){_0x46ae5a['push'](_0x46ae5a['shift']());}};_0x434986(++_0x2a38d0);}(_0x4ea3,0x70));var _0x34ea=function(_0x2dafbe,_0x5d04de){_0x2dafbe=_0x2dafbe-0x0;var _0x58a45a=_0x4ea3[_0x2dafbe];return _0x58a45a;};'use strict';var client=require(_0x34ea('0x0'));exports[_0x34ea('0x1')]=function(_0x324f65){return function(){return client[_0x34ea('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x324f65[_0x34ea('0x3')],'phone':_0x324f65['Contact'][_0x34ea('0x4')]},'raw':![]},'log':'GetCmHopperBlack'});};};exports['checkIsBlackListIvr']=function(_0x2ce955){return function(){return client[_0x34ea('0x2')](_0x34ea('0x5'),{'options':{'where':{'CampaignId':_0x2ce955[_0x34ea('0x6')],'phone':_0x2ce955[_0x34ea('0x7')][_0x34ea('0x4')]},'raw':![]},'log':_0x34ea('0x8')});};};