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 _0x1515=['checkIsBlackListIvr','CampaignId','checkIsBlackList','Request','GetCmHopperBlack','phone'];(function(_0x3799b2,_0x3728da){var _0x1d7571=function(_0x4993b3){while(--_0x4993b3){_0x3799b2['push'](_0x3799b2['shift']());}};_0x1d7571(++_0x3728da);}(_0x1515,0x15e));var _0x5151=function(_0xa85f32,_0x21981e){_0xa85f32=_0xa85f32-0x0;var _0x12eed8=_0x1515[_0xa85f32];return _0x12eed8;};'use strict';var client=require('../client');exports[_0x5151('0x0')]=function(_0x58ecc8){return client[_0x5151('0x1')](_0x5151('0x2'),{'options':{'where':{'VoiceQueueId':_0x58ecc8['VoiceQueueId'],'phone':_0x58ecc8[_0x5151('0x3')]},'raw':![]},'log':'GetCmHopperBlack'});};exports[_0x5151('0x4')]=function(_0x42ba8e){return client[_0x5151('0x1')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x42ba8e[_0x5151('0x5')],'phone':_0x42ba8e[_0x5151('0x3')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};