Built motion from commit 1fa89557.|2.6.10
[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 _0xb42e=['Request','../client','GetCmHopperBlack','VoiceQueueId','phone'];(function(_0x20fc2a,_0xb05efe){var _0x1797dc=function(_0x17efef){while(--_0x17efef){_0x20fc2a['push'](_0x20fc2a['shift']());}};_0x1797dc(++_0xb05efe);}(_0xb42e,0x1e1));var _0xeb42=function(_0x3718b7,_0x2da677){_0x3718b7=_0x3718b7-0x0;var _0xf8c91e=_0xb42e[_0x3718b7];return _0xf8c91e;};'use strict';var client=require(_0xeb42('0x0'));exports['checkIsBlackList']=function(_0x3660f8){return function(){return client['Request'](_0xeb42('0x1'),{'options':{'where':{'VoiceQueueId':_0x3660f8[_0xeb42('0x2')],'phone':_0x3660f8[_0xeb42('0x3')]},'raw':![]},'log':_0xeb42('0x1')});};};exports['checkIsBlackListIvr']=function(_0x71f237){return function(){return client[_0xeb42('0x4')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x71f237['CampaignId'],'phone':_0x71f237['phone']},'raw':![]},'log':'GetCmHopperBlackIvr'});};};