1f30076062e092ee7446d107e109520e1a410707
[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 _0x978b=['../client','Request','VoiceQueueId','phone','GetCmHopperBlack','GetCmHopperBlackIvr'];(function(_0x5e386f,_0x1baeea){var _0x15645d=function(_0x485d82){while(--_0x485d82){_0x5e386f['push'](_0x5e386f['shift']());}};_0x15645d(++_0x1baeea);}(_0x978b,0xfc));var _0xb978=function(_0x4fec44,_0x22da26){_0x4fec44=_0x4fec44-0x0;var _0x181449=_0x978b[_0x4fec44];return _0x181449;};'use strict';var client=require(_0xb978('0x0'));exports['checkIsBlackList']=function(_0x2a6953){return function(){return client[_0xb978('0x1')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x2a6953[_0xb978('0x2')],'phone':_0x2a6953[_0xb978('0x3')]},'raw':![]},'log':_0xb978('0x4')});};};exports['checkIsBlackListIvr']=function(_0x4b8ec7){return function(){return client[_0xb978('0x1')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x4b8ec7['CampaignId'],'phone':_0x4b8ec7[_0xb978('0x3')]},'raw':![]},'log':_0xb978('0x5')});};};