Built motion from commit e6806ed6.|2.6.0
[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 _0x53fb=['VoiceQueueId','phone','Request','CampaignId','GetCmHopperBlackIvr','../client','GetCmHopperBlack'];(function(_0x396c7c,_0x33b14f){var _0x3a8e96=function(_0x322265){while(--_0x322265){_0x396c7c['push'](_0x396c7c['shift']());}};_0x3a8e96(++_0x33b14f);}(_0x53fb,0x16a));var _0xb53f=function(_0x59e3a2,_0x38b29c){_0x59e3a2=_0x59e3a2-0x0;var _0x2dab9a=_0x53fb[_0x59e3a2];return _0x2dab9a;};'use strict';var client=require(_0xb53f('0x0'));exports['checkIsBlackList']=function(_0x1dcff7){return function(){return client['Request'](_0xb53f('0x1'),{'options':{'where':{'VoiceQueueId':_0x1dcff7[_0xb53f('0x2')],'phone':_0x1dcff7[_0xb53f('0x3')]},'raw':![]},'log':_0xb53f('0x1')});};};exports['checkIsBlackListIvr']=function(_0x5d0b19){return function(){return client[_0xb53f('0x4')](_0xb53f('0x1'),{'options':{'where':{'CampaignId':_0x5d0b19[_0xb53f('0x5')],'phone':_0x5d0b19[_0xb53f('0x3')]},'raw':![]},'log':_0xb53f('0x6')});};};