Built motion from commit 15aa0e42.|2.6.19
[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 _0x0f06=['checkIsBlackList','phone','checkIsBlackListIvr','GetCmHopperBlack','CampaignId','GetCmHopperBlackIvr','../client'];(function(_0x5da00c,_0x43fa29){var _0x19efa9=function(_0x11f7ff){while(--_0x11f7ff){_0x5da00c['push'](_0x5da00c['shift']());}};_0x19efa9(++_0x43fa29);}(_0x0f06,0x195));var _0x60f0=function(_0x7aad15,_0x5e7f){_0x7aad15=_0x7aad15-0x0;var _0x420c7e=_0x0f06[_0x7aad15];return _0x420c7e;};'use strict';var client=require(_0x60f0('0x0'));exports[_0x60f0('0x1')]=function(_0x2d9916){return client['Request']('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x2d9916['VoiceQueueId'],'phone':_0x2d9916[_0x60f0('0x2')]},'raw':![]},'log':'GetCmHopperBlack'});};exports[_0x60f0('0x3')]=function(_0x49cadf){return client['Request'](_0x60f0('0x4'),{'options':{'where':{'CampaignId':_0x49cadf[_0x60f0('0x5')],'phone':_0x49cadf['phone']},'raw':![]},'log':_0x60f0('0x6')});};