Built motion from commit dbf3a7e2.|2.6.30
[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 _0x3c0c=['checkIsBlackList','Request','GetCmHopperBlack','CampaignId'];(function(_0x5a09e9,_0x391256){var _0x5e4735=function(_0x23d780){while(--_0x23d780){_0x5a09e9['push'](_0x5a09e9['shift']());}};_0x5e4735(++_0x391256);}(_0x3c0c,0xe4));var _0xc3c0=function(_0x501510,_0x61caa9){_0x501510=_0x501510-0x0;var _0x1e6ee5=_0x3c0c[_0x501510];return _0x1e6ee5;};'use strict';var client=require('../client');exports[_0xc3c0('0x0')]=function(_0x3f9b91){return client[_0xc3c0('0x1')](_0xc3c0('0x2'),{'options':{'where':{'VoiceQueueId':_0x3f9b91['VoiceQueueId'],'phone':_0x3f9b91['phone']},'raw':![]},'log':_0xc3c0('0x2')});};exports['checkIsBlackListIvr']=function(_0xbf8768){return client[_0xc3c0('0x1')](_0xc3c0('0x2'),{'options':{'where':{'CampaignId':_0xbf8768[_0xc3c0('0x3')],'phone':_0xbf8768['phone']},'raw':![]},'log':'GetCmHopperBlackIvr'});};