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 _0x3f8c=['GetCmHopperBlackIvr','Request','GetCmHopperBlack','VoiceQueueId','CampaignId','Contact','phone'];(function(_0x5d6456,_0x58ecc7){var _0x4d66c1=function(_0x4335e3){while(--_0x4335e3){_0x5d6456['push'](_0x5d6456['shift']());}};_0x4d66c1(++_0x58ecc7);}(_0x3f8c,0x104));var _0xc3f8=function(_0x178b6c,_0xb786d0){_0x178b6c=_0x178b6c-0x0;var _0x2d0f0b=_0x3f8c[_0x178b6c];return _0x2d0f0b;};'use strict';var client=require('../client');exports['checkIsBlackList']=function(_0x2797b2){return function(){return client[_0xc3f8('0x0')](_0xc3f8('0x1'),{'options':{'where':{'VoiceQueueId':_0x2797b2[_0xc3f8('0x2')],'phone':_0x2797b2['Contact']['phone']},'raw':![]},'log':'GetCmHopperBlack'});};};exports['checkIsBlackListIvr']=function(_0x51b8b5){return function(){return client[_0xc3f8('0x0')](_0xc3f8('0x1'),{'options':{'where':{'CampaignId':_0x51b8b5[_0xc3f8('0x3')],'phone':_0x51b8b5[_0xc3f8('0x4')][_0xc3f8('0x5')]},'raw':![]},'log':_0xc3f8('0x6')});};};