Built motion from commit (unavailable).|2.5.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 _0x0e85=['Request','GetCmHopperBlack','CampaignId','phone','GetCmHopperBlackIvr','../client','checkIsBlackList'];(function(_0x5db37c,_0x4ba398){var _0x4438c6=function(_0x4315b7){while(--_0x4315b7){_0x5db37c['push'](_0x5db37c['shift']());}};_0x4438c6(++_0x4ba398);}(_0x0e85,0x7c));var _0x50e8=function(_0x4ae6ef,_0xc2af80){_0x4ae6ef=_0x4ae6ef-0x0;var _0x3cbb4e=_0x0e85[_0x4ae6ef];return _0x3cbb4e;};'use strict';var client=require(_0x50e8('0x0'));exports[_0x50e8('0x1')]=function(_0x5a568b){return function(){return client[_0x50e8('0x2')](_0x50e8('0x3'),{'options':{'where':{'VoiceQueueId':_0x5a568b['VoiceQueueId'],'phone':_0x5a568b['Contact']['phone']},'raw':![]},'log':_0x50e8('0x3')});};};exports['checkIsBlackListIvr']=function(_0x3048e3){return function(){return client[_0x50e8('0x2')](_0x50e8('0x3'),{'options':{'where':{'CampaignId':_0x3048e3[_0x50e8('0x4')],'phone':_0x3048e3['Contact'][_0x50e8('0x5')]},'raw':![]},'log':_0x50e8('0x6')});};};