Built motion from commit 3e059bc2.|2.5.32
[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 _0x6cb4=['checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId','Contact','phone','GetCmHopperBlackIvr','../client'];(function(_0x4aa5f5,_0x3e9d97){var _0x3c4d6f=function(_0x1d50c0){while(--_0x1d50c0){_0x4aa5f5['push'](_0x4aa5f5['shift']());}};_0x3c4d6f(++_0x3e9d97);}(_0x6cb4,0xff));var _0x46cb=function(_0x2e7299,_0x354e8d){_0x2e7299=_0x2e7299-0x0;var _0xd12efa=_0x6cb4[_0x2e7299];return _0xd12efa;};'use strict';var client=require(_0x46cb('0x0'));exports[_0x46cb('0x1')]=function(_0x205a8d){return function(){return client[_0x46cb('0x2')](_0x46cb('0x3'),{'options':{'where':{'VoiceQueueId':_0x205a8d[_0x46cb('0x4')],'phone':_0x205a8d[_0x46cb('0x5')][_0x46cb('0x6')]},'raw':![]},'log':_0x46cb('0x3')});};};exports['checkIsBlackListIvr']=function(_0x1a3fe4){return function(){return client['Request'](_0x46cb('0x3'),{'options':{'where':{'CampaignId':_0x1a3fe4['CampaignId'],'phone':_0x1a3fe4[_0x46cb('0x5')][_0x46cb('0x6')]},'raw':![]},'log':_0x46cb('0x7')});};};