a8ed9212c544bf13123b11f536903af029fd1452
[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 _0x2880=['VoiceQueueId','phone','CampaignId','../client','checkIsBlackList','Request','GetCmHopperBlack'];(function(_0x3dd15e,_0x1f0015){var _0x231fd0=function(_0x4f680a){while(--_0x4f680a){_0x3dd15e['push'](_0x3dd15e['shift']());}};_0x231fd0(++_0x1f0015);}(_0x2880,0x184));var _0x0288=function(_0x5b3417,_0x367bdc){_0x5b3417=_0x5b3417-0x0;var _0x59f10a=_0x2880[_0x5b3417];return _0x59f10a;};'use strict';var client=require(_0x0288('0x0'));exports[_0x0288('0x1')]=function(_0x1f399a){return client[_0x0288('0x2')](_0x0288('0x3'),{'options':{'where':{'VoiceQueueId':_0x1f399a[_0x0288('0x4')],'phone':_0x1f399a[_0x0288('0x5')]},'raw':![]},'log':'GetCmHopperBlack'});};exports['checkIsBlackListIvr']=function(_0x39bc79){return client[_0x0288('0x2')](_0x0288('0x3'),{'options':{'where':{'CampaignId':_0x39bc79[_0x0288('0x6')],'phone':_0x39bc79['phone']},'raw':![]},'log':'GetCmHopperBlackIvr'});};