06c55b15e32989c9c8163b7ac87ab102ca1c0f5d
[motion2.git] / server / services / ami / rpc / cmHopperBlack.js
1 // *************************************************************************
2 // *                                                                       *
3 // * xCALLY Motion -  The Omnichannel Contact Center                       *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved                     *
5 // *                                                                       *
6 // *************************************************************************
7 // *                                                                       *
8 // * Email: info@xcally.com                                                *
9 // * Website: https://www.xcally.com                                       *
10 // *                                                                       *
11 // *************************************************************************
12 // *                                                                       *
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.                         *
16 // *                                                                       *
17 // *************************************************************************
18 var _0x5e07=['../client','Request','GetCmHopperBlack','VoiceQueueId','phone','checkIsBlackListIvr'];(function(_0x291473,_0x394486){var _0x15d704=function(_0x132f55){while(--_0x132f55){_0x291473['push'](_0x291473['shift']());}};_0x15d704(++_0x394486);}(_0x5e07,0xa2));var _0x75e0=function(_0x5b561d,_0x422b7c){_0x5b561d=_0x5b561d-0x0;var _0x431060=_0x5e07[_0x5b561d];return _0x431060;};'use strict';var client=require(_0x75e0('0x0'));exports['checkIsBlackList']=function(_0xcb3d88){return function(){return client[_0x75e0('0x1')](_0x75e0('0x2'),{'options':{'where':{'VoiceQueueId':_0xcb3d88[_0x75e0('0x3')],'phone':_0xcb3d88[_0x75e0('0x4')]},'raw':![]},'log':_0x75e0('0x2')});};};exports[_0x75e0('0x5')]=function(_0xbe139e){return function(){return client[_0x75e0('0x1')](_0x75e0('0x2'),{'options':{'where':{'CampaignId':_0xbe139e['CampaignId'],'phone':_0xbe139e[_0x75e0('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};