Built motion from commit f7863d46.|2.5.41
[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 _0x087b=['Request','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','GetCmHopperBlack','Contact','phone','checkIsBlackListIvr'];(function(_0x57b54c,_0x54ce0d){var _0x59cc19=function(_0xa33bc6){while(--_0xa33bc6){_0x57b54c['push'](_0x57b54c['shift']());}};_0x59cc19(++_0x54ce0d);}(_0x087b,0x11a));var _0xb087=function(_0x5834bc,_0x3d4801){_0x5834bc=_0x5834bc-0x0;var _0x3e183a=_0x087b[_0x5834bc];return _0x3e183a;};'use strict';var client=require(_0xb087('0x0'));exports[_0xb087('0x1')]=function(_0x556d8c){return function(){return client['Request'](_0xb087('0x2'),{'options':{'where':{'VoiceQueueId':_0x556d8c['VoiceQueueId'],'phone':_0x556d8c[_0xb087('0x3')][_0xb087('0x4')]},'raw':![]},'log':_0xb087('0x2')});};};exports[_0xb087('0x5')]=function(_0x183efd){return function(){return client[_0xb087('0x6')](_0xb087('0x2'),{'options':{'where':{'CampaignId':_0x183efd[_0xb087('0x7')],'phone':_0x183efd[_0xb087('0x3')][_0xb087('0x4')]},'raw':![]},'log':_0xb087('0x8')});};};