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 _0xdc5d=['Request','GetCmHopperBlack','Contact','checkIsBlackListIvr','CampaignId','phone'];(function(_0x5c351c,_0x2046d8){var _0x26f3b3=function(_0x47ac18){while(--_0x47ac18){_0x5c351c['push'](_0x5c351c['shift']());}};_0x26f3b3(++_0x2046d8);}(_0xdc5d,0x1ec));var _0xddc5=function(_0x1ccbcc,_0x5c948b){_0x1ccbcc=_0x1ccbcc-0x0;var _0x1e873f=_0xdc5d[_0x1ccbcc];return _0x1e873f;};'use strict';var client=require('../client');exports['checkIsBlackList']=function(_0x3edf2d){return function(){return client[_0xddc5('0x0')](_0xddc5('0x1'),{'options':{'where':{'VoiceQueueId':_0x3edf2d['VoiceQueueId'],'phone':_0x3edf2d[_0xddc5('0x2')]['phone']},'raw':![]},'log':_0xddc5('0x1')});};};exports[_0xddc5('0x3')]=function(_0x2b3f91){return function(){return client['Request'](_0xddc5('0x1'),{'options':{'where':{'CampaignId':_0x2b3f91[_0xddc5('0x4')],'phone':_0x2b3f91[_0xddc5('0x2')][_0xddc5('0x5')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};