Built motion from commit 25580385.|2.6.2
[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 _0x10f6=['checkIsBlackListIvr','CampaignId','phone','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','VoiceQueueId','GetCmHopperBlack'];(function(_0x49979c,_0x4c0fc0){var _0x30cb05=function(_0x2b6104){while(--_0x2b6104){_0x49979c['push'](_0x49979c['shift']());}};_0x30cb05(++_0x4c0fc0);}(_0x10f6,0xd3));var _0x610f=function(_0x1c07fc,_0x1c252a){_0x1c07fc=_0x1c07fc-0x0;var _0x4765a3=_0x10f6[_0x1c07fc];return _0x4765a3;};'use strict';var client=require(_0x610f('0x0'));exports[_0x610f('0x1')]=function(_0x281bd2){return function(){return client[_0x610f('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x281bd2[_0x610f('0x3')],'phone':_0x281bd2['phone']},'raw':![]},'log':_0x610f('0x4')});};};exports[_0x610f('0x5')]=function(_0x3899c4){return function(){return client['Request'](_0x610f('0x4'),{'options':{'where':{'CampaignId':_0x3899c4[_0x610f('0x6')],'phone':_0x3899c4[_0x610f('0x7')]},'raw':![]},'log':_0x610f('0x8')});};};