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(_0x1022a7,_0x88e564){var _0x5831bf=function(_0x27d3dd){while(--_0x27d3dd){_0x1022a7['push'](_0x1022a7['shift']());}};_0x5831bf(++_0x88e564);}(_0xedd9,0xfc));var _0x9edd=function(_0x5c438b,_0x360b0b){_0x5c438b=_0x5c438b-0x0;var _0xfcc7a5=_0xedd9[_0x5c438b];return _0xfcc7a5;};'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'});};};