15156a8b654c585b40c0631dcddaf90db5129c2f
[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 _0xae95=['checkIsBlackList','Request','GetCmHopperBlack','phone','CampaignId','GetCmHopperBlackIvr'];(function(_0x3a5d77,_0x1c155c){var _0xbd0b4f=function(_0x35e77b){while(--_0x35e77b){_0x3a5d77['push'](_0x3a5d77['shift']());}};_0xbd0b4f(++_0x1c155c);}(_0xae95,0xae));var _0x5ae9=function(_0x3b6148,_0x179d86){_0x3b6148=_0x3b6148-0x0;var _0x4c8cbb=_0xae95[_0x3b6148];return _0x4c8cbb;};'use strict';var client=require('../client');exports[_0x5ae9('0x0')]=function(_0x426d24){return client[_0x5ae9('0x1')](_0x5ae9('0x2'),{'options':{'where':{'VoiceQueueId':_0x426d24['VoiceQueueId'],'phone':_0x426d24[_0x5ae9('0x3')]},'raw':![]},'log':_0x5ae9('0x2')});};exports['checkIsBlackListIvr']=function(_0x158287){return client[_0x5ae9('0x1')](_0x5ae9('0x2'),{'options':{'where':{'CampaignId':_0x158287[_0x5ae9('0x4')],'phone':_0x158287['phone']},'raw':![]},'log':_0x5ae9('0x5')});};