Built motion from commit b5a10faa.|2.6.13
[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 _0xa946=['checkIsBlackList','GetCmHopperBlack','VoiceQueueId','phone','Request','../client'];(function(_0x4d8089,_0x146e68){var _0xaafb70=function(_0x440695){while(--_0x440695){_0x4d8089['push'](_0x4d8089['shift']());}};_0xaafb70(++_0x146e68);}(_0xa946,0x95));var _0x6a94=function(_0x2c7f80,_0x2b0052){_0x2c7f80=_0x2c7f80-0x0;var _0x11fe38=_0xa946[_0x2c7f80];return _0x11fe38;};'use strict';var client=require(_0x6a94('0x0'));exports[_0x6a94('0x1')]=function(_0xd5fbfb){return client['Request'](_0x6a94('0x2'),{'options':{'where':{'VoiceQueueId':_0xd5fbfb[_0x6a94('0x3')],'phone':_0xd5fbfb[_0x6a94('0x4')]},'raw':![]},'log':_0x6a94('0x2')});};exports['checkIsBlackListIvr']=function(_0x508ce6){return client[_0x6a94('0x5')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x508ce6['CampaignId'],'phone':_0x508ce6[_0x6a94('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};