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 _0xbfcc=['VoiceQueueId','Contact','GetCmHopperBlackIvr','../client','Request','GetCmHopperBlack'];(function(_0x4bb2b9,_0x459c78){var _0x40e2a2=function(_0x19a26c){while(--_0x19a26c){_0x4bb2b9['push'](_0x4bb2b9['shift']());}};_0x40e2a2(++_0x459c78);}(_0xbfcc,0x1dd));var _0xcbfc=function(_0x3902c1,_0x1c9eb2){_0x3902c1=_0x3902c1-0x0;var _0x1266cc=_0xbfcc[_0x3902c1];return _0x1266cc;};'use strict';var client=require(_0xcbfc('0x0'));exports['checkIsBlackList']=function(_0x5c0fe4){return function(){return client[_0xcbfc('0x1')](_0xcbfc('0x2'),{'options':{'where':{'VoiceQueueId':_0x5c0fe4[_0xcbfc('0x3')],'phone':_0x5c0fe4[_0xcbfc('0x4')]['phone']},'raw':![]},'log':'GetCmHopperBlack'});};};exports['checkIsBlackListIvr']=function(_0x4b8361){return function(){return client[_0xcbfc('0x1')](_0xcbfc('0x2'),{'options':{'where':{'CampaignId':_0x4b8361['CampaignId'],'phone':_0x4b8361[_0xcbfc('0x4')]['phone']},'raw':![]},'log':_0xcbfc('0x5')});};};