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 _0xfd28=['Contact','phone','Request','CampaignId','checkIsBlackList','GetCmHopperBlack'];(function(_0x35e822,_0x5c569d){var _0x179cb0=function(_0x3dc230){while(--_0x3dc230){_0x35e822['push'](_0x35e822['shift']());}};_0x179cb0(++_0x5c569d);}(_0xfd28,0x148));var _0x8fd2=function(_0x3db122,_0x5e6bee){_0x3db122=_0x3db122-0x0;var _0x325b67=_0xfd28[_0x3db122];return _0x325b67;};'use strict';var client=require('../client');exports[_0x8fd2('0x0')]=function(_0x117219){return function(){return client['Request'](_0x8fd2('0x1'),{'options':{'where':{'VoiceQueueId':_0x117219['VoiceQueueId'],'phone':_0x117219[_0x8fd2('0x2')][_0x8fd2('0x3')]},'raw':![]},'log':_0x8fd2('0x1')});};};exports['checkIsBlackListIvr']=function(_0x155f46){return function(){return client[_0x8fd2('0x4')](_0x8fd2('0x1'),{'options':{'where':{'CampaignId':_0x155f46[_0x8fd2('0x5')],'phone':_0x155f46[_0x8fd2('0x2')]['phone']},'raw':![]},'log':'GetCmHopperBlackIvr'});};};