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 _0x57c8=['GetCmHopperBlack','CampaignId','GetCmHopperBlackIvr','../client','Request','VoiceQueueId','Contact','phone','checkIsBlackListIvr'];(function(_0x43a219,_0x4c7c9b){var _0x1fa598=function(_0x3472d6){while(--_0x3472d6){_0x43a219['push'](_0x43a219['shift']());}};_0x1fa598(++_0x4c7c9b);}(_0x57c8,0x1ce));var _0x857c=function(_0x3b2977,_0x3bc81c){_0x3b2977=_0x3b2977-0x0;var _0xd736d=_0x57c8[_0x3b2977];return _0xd736d;};'use strict';var client=require(_0x857c('0x0'));exports['checkIsBlackList']=function(_0x3b56c5){return function(){return client[_0x857c('0x1')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x3b56c5[_0x857c('0x2')],'phone':_0x3b56c5[_0x857c('0x3')][_0x857c('0x4')]},'raw':![]},'log':'GetCmHopperBlack'});};};exports[_0x857c('0x5')]=function(_0x20ff6a){return function(){return client[_0x857c('0x1')](_0x857c('0x6'),{'options':{'where':{'CampaignId':_0x20ff6a[_0x857c('0x7')],'phone':_0x20ff6a[_0x857c('0x3')][_0x857c('0x4')]},'raw':![]},'log':_0x857c('0x8')});};};