Built motion from commit 47436d59.|2.6.7
[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 _0x827f=['phone','GetCmHopperBlack','checkIsBlackListIvr','GetCmHopperBlackIvr','checkIsBlackList','Request','VoiceQueueId'];(function(_0x351ca9,_0x132f37){var _0x9e38b3=function(_0x1b1d00){while(--_0x1b1d00){_0x351ca9['push'](_0x351ca9['shift']());}};_0x9e38b3(++_0x132f37);}(_0x827f,0xe4));var _0xf827=function(_0x4b7895,_0x3c4f5d){_0x4b7895=_0x4b7895-0x0;var _0x264180=_0x827f[_0x4b7895];return _0x264180;};'use strict';var client=require('../client');exports[_0xf827('0x0')]=function(_0x24208c){return function(){return client[_0xf827('0x1')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x24208c[_0xf827('0x2')],'phone':_0x24208c[_0xf827('0x3')]},'raw':![]},'log':_0xf827('0x4')});};};exports[_0xf827('0x5')]=function(_0x4985e9){return function(){return client['Request'](_0xf827('0x4'),{'options':{'where':{'CampaignId':_0x4985e9['CampaignId'],'phone':_0x4985e9[_0xf827('0x3')]},'raw':![]},'log':_0xf827('0x6')});};};