Built motion from commit (unavailable).|2.5.30
[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 _0xdace=['Contact','phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','Request','GetCmHopperBlack'];(function(_0x384a2a,_0x16c0c6){var _0xbbc82c=function(_0x1933c2){while(--_0x1933c2){_0x384a2a['push'](_0x384a2a['shift']());}};_0xbbc82c(++_0x16c0c6);}(_0xdace,0xc5));var _0xedac=function(_0x28394f,_0x5ebdd2){_0x28394f=_0x28394f-0x0;var _0x2618d2=_0xdace[_0x28394f];return _0x2618d2;};'use strict';var client=require(_0xedac('0x0'));exports['checkIsBlackList']=function(_0x1c76b2){return function(){return client[_0xedac('0x1')](_0xedac('0x2'),{'options':{'where':{'VoiceQueueId':_0x1c76b2['VoiceQueueId'],'phone':_0x1c76b2[_0xedac('0x3')][_0xedac('0x4')]},'raw':![]},'log':_0xedac('0x2')});};};exports[_0xedac('0x5')]=function(_0x5a97c0){return function(){return client[_0xedac('0x1')](_0xedac('0x2'),{'options':{'where':{'CampaignId':_0x5a97c0[_0xedac('0x6')],'phone':_0x5a97c0['Contact'][_0xedac('0x4')]},'raw':![]},'log':_0xedac('0x7')});};};