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 _0x1c9a=['GetCmHopperBlack','VoiceQueueId','Contact','checkIsBlackListIvr','Request','CampaignId','phone','GetCmHopperBlackIvr','../client'];(function(_0x4f2296,_0x28cb2e){var _0x1b4c77=function(_0x33d198){while(--_0x33d198){_0x4f2296['push'](_0x4f2296['shift']());}};_0x1b4c77(++_0x28cb2e);}(_0x1c9a,0x98));var _0xa1c9=function(_0x200b8b,_0x27566d){_0x200b8b=_0x200b8b-0x0;var _0x3522e2=_0x1c9a[_0x200b8b];return _0x3522e2;};'use strict';var client=require(_0xa1c9('0x0'));exports['checkIsBlackList']=function(_0x470dcd){return function(){return client['Request'](_0xa1c9('0x1'),{'options':{'where':{'VoiceQueueId':_0x470dcd[_0xa1c9('0x2')],'phone':_0x470dcd[_0xa1c9('0x3')]['phone']},'raw':![]},'log':_0xa1c9('0x1')});};};exports[_0xa1c9('0x4')]=function(_0x20f0bf){return function(){return client[_0xa1c9('0x5')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x20f0bf[_0xa1c9('0x6')],'phone':_0x20f0bf['Contact'][_0xa1c9('0x7')]},'raw':![]},'log':_0xa1c9('0x8')});};};