Built motion from commit 9d1906d1.|2.5.40
[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 _0x9ffd=['checkIsBlackList','GetCmHopperBlack','VoiceQueueId','Contact','phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client'];(function(_0x5b0f29,_0x3d6f36){var _0x27a26a=function(_0x4d44b3){while(--_0x4d44b3){_0x5b0f29['push'](_0x5b0f29['shift']());}};_0x27a26a(++_0x3d6f36);}(_0x9ffd,0xaa));var _0xd9ff=function(_0x3b5309,_0x74421a){_0x3b5309=_0x3b5309-0x0;var _0x2dd097=_0x9ffd[_0x3b5309];return _0x2dd097;};'use strict';var client=require(_0xd9ff('0x0'));exports[_0xd9ff('0x1')]=function(_0x47e5c0){return function(){return client['Request'](_0xd9ff('0x2'),{'options':{'where':{'VoiceQueueId':_0x47e5c0[_0xd9ff('0x3')],'phone':_0x47e5c0[_0xd9ff('0x4')][_0xd9ff('0x5')]},'raw':![]},'log':'GetCmHopperBlack'});};};exports[_0xd9ff('0x6')]=function(_0x111697){return function(){return client['Request'](_0xd9ff('0x2'),{'options':{'where':{'CampaignId':_0x111697[_0xd9ff('0x7')],'phone':_0x111697[_0xd9ff('0x4')][_0xd9ff('0x5')]},'raw':![]},'log':_0xd9ff('0x8')});};};