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 _0xa228=['checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','Request','GetCmHopperBlack','VoiceQueueId','phone'];(function(_0x20714a,_0x7de591){var _0x15e877=function(_0x3f9f8d){while(--_0x3f9f8d){_0x20714a['push'](_0x20714a['shift']());}};_0x15e877(++_0x7de591);}(_0xa228,0xf3));var _0x8a22=function(_0x2f8dd9,_0x31b477){_0x2f8dd9=_0x2f8dd9-0x0;var _0x2e8139=_0xa228[_0x2f8dd9];return _0x2e8139;};'use strict';var client=require(_0x8a22('0x0'));exports['checkIsBlackList']=function(_0x39c3e7){return client[_0x8a22('0x1')](_0x8a22('0x2'),{'options':{'where':{'VoiceQueueId':_0x39c3e7[_0x8a22('0x3')],'phone':_0x39c3e7[_0x8a22('0x4')]},'raw':![]},'log':_0x8a22('0x2')});};exports[_0x8a22('0x5')]=function(_0x2ecbfa){return client['Request']('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x2ecbfa[_0x8a22('0x6')],'phone':_0x2ecbfa['phone']},'raw':![]},'log':_0x8a22('0x7')});};