Built motion from commit (unavailable).|2.3.94
[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 _0xbaaa=['GetCmHopperBlack','VoiceQueueId','phone','CampaignId','checkIsBlackList','Request'];(function(_0x59ee6f,_0x450239){var _0x4c0979=function(_0x565e92){while(--_0x565e92){_0x59ee6f['push'](_0x59ee6f['shift']());}};_0x4c0979(++_0x450239);}(_0xbaaa,0x12a));var _0xabaa=function(_0x56916d,_0x37b935){_0x56916d=_0x56916d-0x0;var _0x2b7f1f=_0xbaaa[_0x56916d];return _0x2b7f1f;};'use strict';var client=require('../client');exports[_0xabaa('0x0')]=function(_0x407f75){return function(){return client[_0xabaa('0x1')](_0xabaa('0x2'),{'options':{'where':{'VoiceQueueId':_0x407f75[_0xabaa('0x3')],'phone':_0x407f75['Contact'][_0xabaa('0x4')]},'raw':![]},'log':_0xabaa('0x2')});};};exports['checkIsBlackListIvr']=function(_0xe38129){return function(){return client['Request'](_0xabaa('0x2'),{'options':{'where':{'CampaignId':_0xe38129[_0xabaa('0x5')],'phone':_0xe38129['Contact'][_0xabaa('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};