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 _0xec56=['phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','Request','GetCmHopperBlack','VoiceQueueId','Contact'];(function(_0x3898e6,_0x43fc3c){var _0x1c5e50=function(_0x585da3){while(--_0x585da3){_0x3898e6['push'](_0x3898e6['shift']());}};_0x1c5e50(++_0x43fc3c);}(_0xec56,0x1bd));var _0x6ec5=function(_0x10e5e8,_0x396607){_0x10e5e8=_0x10e5e8-0x0;var _0x202709=_0xec56[_0x10e5e8];return _0x202709;};'use strict';var client=require(_0x6ec5('0x0'));exports['checkIsBlackList']=function(_0x4d6dcd){return function(){return client[_0x6ec5('0x1')](_0x6ec5('0x2'),{'options':{'where':{'VoiceQueueId':_0x4d6dcd[_0x6ec5('0x3')],'phone':_0x4d6dcd[_0x6ec5('0x4')][_0x6ec5('0x5')]},'raw':![]},'log':_0x6ec5('0x2')});};};exports[_0x6ec5('0x6')]=function(_0x173aeb){return function(){return client[_0x6ec5('0x1')](_0x6ec5('0x2'),{'options':{'where':{'CampaignId':_0x173aeb[_0x6ec5('0x7')],'phone':_0x173aeb[_0x6ec5('0x4')][_0x6ec5('0x5')]},'raw':![]},'log':_0x6ec5('0x8')});};};