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(_0x38ced4,_0x24263f){var _0x547c07=function(_0x279fc4){while(--_0x279fc4){_0x38ced4['push'](_0x38ced4['shift']());}};_0x547c07(++_0x24263f);}(_0x70e0,0x17b));var _0x070e=function(_0x28ded0,_0x2da0f3){_0x28ded0=_0x28ded0-0x0;var _0x10430e=_0x70e0[_0x28ded0];return _0x10430e;};'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')});};};