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 _0x4c4e=['CampaignId','GetCmHopperBlackIvr','../client','Request','GetCmHopperBlack','Contact','phone'];(function(_0x1facfa,_0x1acf7d){var _0x9ec701=function(_0x115e37){while(--_0x115e37){_0x1facfa['push'](_0x1facfa['shift']());}};_0x9ec701(++_0x1acf7d);}(_0x4c4e,0x152));var _0xe4c4=function(_0x485afa,_0x47f7b9){_0x485afa=_0x485afa-0x0;var _0x4c2af4=_0x4c4e[_0x485afa];return _0x4c2af4;};'use strict';var client=require(_0xe4c4('0x0'));exports['checkIsBlackList']=function(_0x32f6d3){return function(){return client[_0xe4c4('0x1')](_0xe4c4('0x2'),{'options':{'where':{'VoiceQueueId':_0x32f6d3['VoiceQueueId'],'phone':_0x32f6d3[_0xe4c4('0x3')][_0xe4c4('0x4')]},'raw':![]},'log':_0xe4c4('0x2')});};};exports['checkIsBlackListIvr']=function(_0x2d3bb7){return function(){return client['Request'](_0xe4c4('0x2'),{'options':{'where':{'CampaignId':_0x2d3bb7[_0xe4c4('0x5')],'phone':_0x2d3bb7[_0xe4c4('0x3')][_0xe4c4('0x4')]},'raw':![]},'log':_0xe4c4('0x6')});};};