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 _0x12ad=['Request','phone','../client','GetCmHopperBlack','VoiceQueueId','Contact','checkIsBlackListIvr'];(function(_0x58010d,_0x49b16a){var _0x4f93db=function(_0xa7546d){while(--_0xa7546d){_0x58010d['push'](_0x58010d['shift']());}};_0x4f93db(++_0x49b16a);}(_0x12ad,0x16e));var _0xd12a=function(_0x1fa469,_0x5e19b1){_0x1fa469=_0x1fa469-0x0;var _0x22cc36=_0x12ad[_0x1fa469];return _0x22cc36;};'use strict';var client=require(_0xd12a('0x0'));exports['checkIsBlackList']=function(_0x3a9565){return function(){return client['Request'](_0xd12a('0x1'),{'options':{'where':{'VoiceQueueId':_0x3a9565[_0xd12a('0x2')],'phone':_0x3a9565[_0xd12a('0x3')]['phone']},'raw':![]},'log':_0xd12a('0x1')});};};exports[_0xd12a('0x4')]=function(_0x575b4a){return function(){return client[_0xd12a('0x5')](_0xd12a('0x1'),{'options':{'where':{'CampaignId':_0x575b4a['CampaignId'],'phone':_0x575b4a[_0xd12a('0x3')][_0xd12a('0x6')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};