d95fd8f5bbc4aa0665f541bc64652c2b740107ef
[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 _0x881d=['../client','checkIsBlackList','GetCmHopperBlack','VoiceQueueId','phone','checkIsBlackListIvr','GetCmHopperBlackIvr'];(function(_0x3200e5,_0x298ddd){var _0x5b3e34=function(_0x504e39){while(--_0x504e39){_0x3200e5['push'](_0x3200e5['shift']());}};_0x5b3e34(++_0x298ddd);}(_0x881d,0x85));var _0xd881=function(_0x2b10c6,_0x185590){_0x2b10c6=_0x2b10c6-0x0;var _0x3789d2=_0x881d[_0x2b10c6];return _0x3789d2;};'use strict';var client=require(_0xd881('0x0'));exports[_0xd881('0x1')]=function(_0xaedd6){return client['Request'](_0xd881('0x2'),{'options':{'where':{'VoiceQueueId':_0xaedd6[_0xd881('0x3')],'phone':_0xaedd6[_0xd881('0x4')]},'raw':![]},'log':'GetCmHopperBlack'});};exports[_0xd881('0x5')]=function(_0x3cb66a){return client['Request']('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x3cb66a['CampaignId'],'phone':_0x3cb66a[_0xd881('0x4')]},'raw':![]},'log':_0xd881('0x6')});};