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 _0x1339=['Contact','phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','Request','GetCmHopperBlack','VoiceQueueId'];(function(_0x47d0fc,_0x5c31e9){var _0x205d27=function(_0x54181b){while(--_0x54181b){_0x47d0fc['push'](_0x47d0fc['shift']());}};_0x205d27(++_0x5c31e9);}(_0x1339,0x1ed));var _0x9133=function(_0x4389dc,_0x1d3979){_0x4389dc=_0x4389dc-0x0;var _0x3a958a=_0x1339[_0x4389dc];return _0x3a958a;};'use strict';var client=require('../client');exports['checkIsBlackList']=function(_0x352a8d){return function(){return client[_0x9133('0x0')](_0x9133('0x1'),{'options':{'where':{'VoiceQueueId':_0x352a8d[_0x9133('0x2')],'phone':_0x352a8d[_0x9133('0x3')][_0x9133('0x4')]},'raw':![]},'log':_0x9133('0x1')});};};exports[_0x9133('0x5')]=function(_0x558345){return function(){return client[_0x9133('0x0')](_0x9133('0x1'),{'options':{'where':{'CampaignId':_0x558345[_0x9133('0x6')],'phone':_0x558345['Contact'][_0x9133('0x4')]},'raw':![]},'log':_0x9133('0x7')});};};