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 _0x760a=['phone','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId'];(function(_0xdf06b0,_0x573c60){var _0x5c67ac=function(_0x563d83){while(--_0x563d83){_0xdf06b0['push'](_0xdf06b0['shift']());}};_0x5c67ac(++_0x573c60);}(_0x760a,0x10a));var _0xa760=function(_0xd5ec1f,_0x19a73e){_0xd5ec1f=_0xd5ec1f-0x0;var _0x1488ae=_0x760a[_0xd5ec1f];return _0x1488ae;};'use strict';var client=require('../client');exports[_0xa760('0x0')]=function(_0x5a224f){return function(){return client[_0xa760('0x1')](_0xa760('0x2'),{'options':{'where':{'VoiceQueueId':_0x5a224f[_0xa760('0x3')],'phone':_0x5a224f[_0xa760('0x4')]},'raw':![]},'log':'GetCmHopperBlack'});};};exports['checkIsBlackListIvr']=function(_0x655f23){return function(){return client[_0xa760('0x1')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x655f23['CampaignId'],'phone':_0x655f23[_0xa760('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};