bea5c09784c5cdceb757505d2d6aba9b166058ae
[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 _0xefc6=['phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId'];(function(_0x4a8b4b,_0x585c70){var _0x35531=function(_0x284676){while(--_0x284676){_0x4a8b4b['push'](_0x4a8b4b['shift']());}};_0x35531(++_0x585c70);}(_0xefc6,0x1cf));var _0x6efc=function(_0x126558,_0x143c9a){_0x126558=_0x126558-0x0;var _0x1f6d14=_0xefc6[_0x126558];return _0x1f6d14;};'use strict';var client=require(_0x6efc('0x0'));exports[_0x6efc('0x1')]=function(_0x46ef21){return client[_0x6efc('0x2')](_0x6efc('0x3'),{'options':{'where':{'VoiceQueueId':_0x46ef21[_0x6efc('0x4')],'phone':_0x46ef21[_0x6efc('0x5')]},'raw':![]},'log':_0x6efc('0x3')});};exports[_0x6efc('0x6')]=function(_0x1e99af){return client[_0x6efc('0x2')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x1e99af[_0x6efc('0x7')],'phone':_0x1e99af[_0x6efc('0x5')]},'raw':![]},'log':_0x6efc('0x8')});};