Built motion from commit (unavailable).|2.5.2
[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 _0x99e9=['checkIsBlackList','Request','GetCmHopperBlack','Contact','phone','CampaignId'];(function(_0x5e91c3,_0x2c18ff){var _0x50a7cb=function(_0x5ea78e){while(--_0x5ea78e){_0x5e91c3['push'](_0x5e91c3['shift']());}};_0x50a7cb(++_0x2c18ff);}(_0x99e9,0xb4));var _0x999e=function(_0x2393c0,_0x5d5d61){_0x2393c0=_0x2393c0-0x0;var _0x188aa9=_0x99e9[_0x2393c0];return _0x188aa9;};'use strict';var client=require('../client');exports[_0x999e('0x0')]=function(_0x783676){return function(){return client[_0x999e('0x1')](_0x999e('0x2'),{'options':{'where':{'VoiceQueueId':_0x783676['VoiceQueueId'],'phone':_0x783676[_0x999e('0x3')][_0x999e('0x4')]},'raw':![]},'log':_0x999e('0x2')});};};exports['checkIsBlackListIvr']=function(_0x296411){return function(){return client['Request'](_0x999e('0x2'),{'options':{'where':{'CampaignId':_0x296411[_0x999e('0x5')],'phone':_0x296411[_0x999e('0x3')][_0x999e('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};