Built motion from commit 8c034dcd.|2.6.31
[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 _0xb7c7=['VoiceQueueId','phone','checkIsBlackListIvr','GetCmHopperBlackIvr','checkIsBlackList','Request','GetCmHopperBlack'];(function(_0x119aeb,_0x5c01bb){var _0x39d2e4=function(_0x303f54){while(--_0x303f54){_0x119aeb['push'](_0x119aeb['shift']());}};_0x39d2e4(++_0x5c01bb);}(_0xb7c7,0xf2));var _0x7b7c=function(_0x1314d4,_0xb0b16d){_0x1314d4=_0x1314d4-0x0;var _0x584ba5=_0xb7c7[_0x1314d4];return _0x584ba5;};'use strict';var client=require('../client');exports[_0x7b7c('0x0')]=function(_0x5e7003){return client[_0x7b7c('0x1')](_0x7b7c('0x2'),{'options':{'where':{'VoiceQueueId':_0x5e7003[_0x7b7c('0x3')],'phone':_0x5e7003[_0x7b7c('0x4')]},'raw':![]},'log':'GetCmHopperBlack'});};exports[_0x7b7c('0x5')]=function(_0x449d53){return client[_0x7b7c('0x1')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x449d53['CampaignId'],'phone':_0x449d53['phone']},'raw':![]},'log':_0x7b7c('0x6')});};