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 _0xedd9=['checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId','Contact','phone','CampaignId'];(function(_0x38fa87,_0x1f9bbe){var _0x15cc2b=function(_0x4f015d){while(--_0x4f015d){_0x38fa87['push'](_0x38fa87['shift']());}};_0x15cc2b(++_0x1f9bbe);}(_0xedd9,0xfc));var _0x9edd=function(_0xe93f8c,_0x840fc4){_0xe93f8c=_0xe93f8c-0x0;var _0x2f5391=_0xedd9[_0xe93f8c];return _0x2f5391;};'use strict';var client=require('../client');exports[_0x9edd('0x0')]=function(_0x2d7989){return function(){return client[_0x9edd('0x1')](_0x9edd('0x2'),{'options':{'where':{'VoiceQueueId':_0x2d7989[_0x9edd('0x3')],'phone':_0x2d7989[_0x9edd('0x4')][_0x9edd('0x5')]},'raw':![]},'log':_0x9edd('0x2')});};};exports['checkIsBlackListIvr']=function(_0x33679f){return function(){return client[_0x9edd('0x1')](_0x9edd('0x2'),{'options':{'where':{'CampaignId':_0x33679f[_0x9edd('0x6')],'phone':_0x33679f['Contact'][_0x9edd('0x5')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};