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 _0x70e0=['GetCmHopperBlackIvr','../client','checkIsBlackList','VoiceQueueId','Contact','phone','GetCmHopperBlack'];(function(_0x3b78c1,_0x239a07){var _0x429584=function(_0x2a2ed9){while(--_0x2a2ed9){_0x3b78c1['push'](_0x3b78c1['shift']());}};_0x429584(++_0x239a07);}(_0x70e0,0x17b));var _0x070e=function(_0x1b0aa6,_0x213db9){_0x1b0aa6=_0x1b0aa6-0x0;var _0x4d89a5=_0x70e0[_0x1b0aa6];return _0x4d89a5;};'use strict';var client=require(_0x070e('0x0'));exports[_0x070e('0x1')]=function(_0x198c2e){return function(){return client['Request']('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x198c2e[_0x070e('0x2')],'phone':_0x198c2e[_0x070e('0x3')][_0x070e('0x4')]},'raw':![]},'log':_0x070e('0x5')});};};exports['checkIsBlackListIvr']=function(_0x7bce9b){return function(){return client['Request'](_0x070e('0x5'),{'options':{'where':{'CampaignId':_0x7bce9b['CampaignId'],'phone':_0x7bce9b['Contact']['phone']},'raw':![]},'log':_0x070e('0x6')});};};