Built motion from commit (unavailable).|2.5.14
[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 _0xb458=['GetCmHopperBlack','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','VoiceQueueId','Contact','phone'];(function(_0x46c529,_0x4a92ef){var _0x409884=function(_0xf7a59){while(--_0xf7a59){_0x46c529['push'](_0x46c529['shift']());}};_0x409884(++_0x4a92ef);}(_0xb458,0x103));var _0x8b45=function(_0x1d6f9e,_0x1b9d3e){_0x1d6f9e=_0x1d6f9e-0x0;var _0x20a7c3=_0xb458[_0x1d6f9e];return _0x20a7c3;};'use strict';var client=require(_0x8b45('0x0'));exports[_0x8b45('0x1')]=function(_0x4544e3){return function(){return client['Request']('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x4544e3[_0x8b45('0x2')],'phone':_0x4544e3[_0x8b45('0x3')][_0x8b45('0x4')]},'raw':![]},'log':_0x8b45('0x5')});};};exports['checkIsBlackListIvr']=function(_0x333bc7){return function(){return client['Request']('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x333bc7[_0x8b45('0x6')],'phone':_0x333bc7[_0x8b45('0x3')][_0x8b45('0x4')]},'raw':![]},'log':_0x8b45('0x7')});};};