Built motion from commit 449495f6.|2.6.27
[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 _0x0e16=['GetCmHopperBlack','phone','checkIsBlackListIvr','CampaignId','../client','checkIsBlackList','Request'];(function(_0x2c2422,_0x4d6b42){var _0x3859d3=function(_0x599646){while(--_0x599646){_0x2c2422['push'](_0x2c2422['shift']());}};_0x3859d3(++_0x4d6b42);}(_0x0e16,0x1e7));var _0x60e1=function(_0x30ae5e,_0x391fc4){_0x30ae5e=_0x30ae5e-0x0;var _0x1f2e93=_0x0e16[_0x30ae5e];return _0x1f2e93;};'use strict';var client=require(_0x60e1('0x0'));exports[_0x60e1('0x1')]=function(_0x54d175){return client[_0x60e1('0x2')](_0x60e1('0x3'),{'options':{'where':{'VoiceQueueId':_0x54d175['VoiceQueueId'],'phone':_0x54d175[_0x60e1('0x4')]},'raw':![]},'log':_0x60e1('0x3')});};exports[_0x60e1('0x5')]=function(_0x2f3422){return client[_0x60e1('0x2')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x2f3422[_0x60e1('0x6')],'phone':_0x2f3422[_0x60e1('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};