Built motion from commit (unavailable).|2.5.11
[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 _0x22fb=['GetCmHopperBlack','VoiceQueueId','Contact','phone','Request','CampaignId'];(function(_0x593423,_0x5bdb72){var _0x5c5d4d=function(_0x5a02d6){while(--_0x5a02d6){_0x593423['push'](_0x593423['shift']());}};_0x5c5d4d(++_0x5bdb72);}(_0x22fb,0x192));var _0xb22f=function(_0x145fa8,_0xc0d88b){_0x145fa8=_0x145fa8-0x0;var _0x53c8ae=_0x22fb[_0x145fa8];return _0x53c8ae;};'use strict';var client=require('../client');exports['checkIsBlackList']=function(_0x1c27bb){return function(){return client['Request'](_0xb22f('0x0'),{'options':{'where':{'VoiceQueueId':_0x1c27bb[_0xb22f('0x1')],'phone':_0x1c27bb[_0xb22f('0x2')][_0xb22f('0x3')]},'raw':![]},'log':_0xb22f('0x0')});};};exports['checkIsBlackListIvr']=function(_0x44717d){return function(){return client[_0xb22f('0x4')](_0xb22f('0x0'),{'options':{'where':{'CampaignId':_0x44717d[_0xb22f('0x5')],'phone':_0x44717d[_0xb22f('0x2')][_0xb22f('0x3')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};