Built motion from commit (unavailable).|2.5.21
[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 _0x9957=['phone','GetCmHopperBlack','CampaignId','../client','checkIsBlackList','Request','VoiceQueueId','Contact'];(function(_0x476bf4,_0x2a3755){var _0x788ffe=function(_0x13fa11){while(--_0x13fa11){_0x476bf4['push'](_0x476bf4['shift']());}};_0x788ffe(++_0x2a3755);}(_0x9957,0x93));var _0x7995=function(_0x3b380d,_0x4bf247){_0x3b380d=_0x3b380d-0x0;var _0x54502b=_0x9957[_0x3b380d];return _0x54502b;};'use strict';var client=require(_0x7995('0x0'));exports[_0x7995('0x1')]=function(_0x2722a3){return function(){return client[_0x7995('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x2722a3[_0x7995('0x3')],'phone':_0x2722a3[_0x7995('0x4')][_0x7995('0x5')]},'raw':![]},'log':_0x7995('0x6')});};};exports['checkIsBlackListIvr']=function(_0x744bea){return function(){return client[_0x7995('0x2')](_0x7995('0x6'),{'options':{'where':{'CampaignId':_0x744bea[_0x7995('0x7')],'phone':_0x744bea[_0x7995('0x4')][_0x7995('0x5')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};