Built motion from commit (unavailable).|2.5.26
[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 _0x99e9=['checkIsBlackList','Request','GetCmHopperBlack','Contact','phone','CampaignId'];(function(_0xdce93,_0x2ab1a5){var _0x436426=function(_0x5d1708){while(--_0x5d1708){_0xdce93['push'](_0xdce93['shift']());}};_0x436426(++_0x2ab1a5);}(_0x99e9,0xb4));var _0x999e=function(_0x3b7a0c,_0xf1a4c2){_0x3b7a0c=_0x3b7a0c-0x0;var _0x3bb70f=_0x99e9[_0x3b7a0c];return _0x3bb70f;};'use strict';var client=require('../client');exports[_0x999e('0x0')]=function(_0x783676){return function(){return client[_0x999e('0x1')](_0x999e('0x2'),{'options':{'where':{'VoiceQueueId':_0x783676['VoiceQueueId'],'phone':_0x783676[_0x999e('0x3')][_0x999e('0x4')]},'raw':![]},'log':_0x999e('0x2')});};};exports['checkIsBlackListIvr']=function(_0x296411){return function(){return client['Request'](_0x999e('0x2'),{'options':{'where':{'CampaignId':_0x296411[_0x999e('0x5')],'phone':_0x296411[_0x999e('0x3')][_0x999e('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};