Built motion from commit (unavailable).|2.5.22
[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 _0x4c4e=['CampaignId','GetCmHopperBlackIvr','../client','Request','GetCmHopperBlack','Contact','phone'];(function(_0x19e35c,_0x29cd1e){var _0x3e1fe8=function(_0x17258b){while(--_0x17258b){_0x19e35c['push'](_0x19e35c['shift']());}};_0x3e1fe8(++_0x29cd1e);}(_0x4c4e,0x152));var _0xe4c4=function(_0x5765e4,_0x4f35d3){_0x5765e4=_0x5765e4-0x0;var _0x52358b=_0x4c4e[_0x5765e4];return _0x52358b;};'use strict';var client=require(_0xe4c4('0x0'));exports['checkIsBlackList']=function(_0x32f6d3){return function(){return client[_0xe4c4('0x1')](_0xe4c4('0x2'),{'options':{'where':{'VoiceQueueId':_0x32f6d3['VoiceQueueId'],'phone':_0x32f6d3[_0xe4c4('0x3')][_0xe4c4('0x4')]},'raw':![]},'log':_0xe4c4('0x2')});};};exports['checkIsBlackListIvr']=function(_0x2d3bb7){return function(){return client['Request'](_0xe4c4('0x2'),{'options':{'where':{'CampaignId':_0x2d3bb7[_0xe4c4('0x5')],'phone':_0x2d3bb7[_0xe4c4('0x3')][_0xe4c4('0x4')]},'raw':![]},'log':_0xe4c4('0x6')});};};