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 _0xd1f8=['VoiceQueueId','CampaignId','checkIsBlackList','Request','GetCmHopperBlack'];(function(_0x96a68c,_0x3b3843){var _0x53b184=function(_0x35d696){while(--_0x35d696){_0x96a68c['push'](_0x96a68c['shift']());}};_0x53b184(++_0x3b3843);}(_0xd1f8,0x11f));var _0x8d1f=function(_0x1911ed,_0x4e8c73){_0x1911ed=_0x1911ed-0x0;var _0x11edaa=_0xd1f8[_0x1911ed];return _0x11edaa;};'use strict';var client=require('../client');exports[_0x8d1f('0x0')]=function(_0x4e2a26){return client[_0x8d1f('0x1')](_0x8d1f('0x2'),{'options':{'where':{'VoiceQueueId':_0x4e2a26[_0x8d1f('0x3')],'phone':_0x4e2a26['phone']},'raw':![]},'log':'GetCmHopperBlack'});};exports['checkIsBlackListIvr']=function(_0x282335){return client[_0x8d1f('0x1')](_0x8d1f('0x2'),{'options':{'where':{'CampaignId':_0x282335[_0x8d1f('0x4')],'phone':_0x282335['phone']},'raw':![]},'log':'GetCmHopperBlackIvr'});};