da10b3ece0c7f8fef639817cc2ec4c4bfb44f7ef
[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 _0xf9da=['GetCmHopperBlack','GetCmHopperBlackIvr','../client','checkIsBlackList','VoiceQueueId','phone','checkIsBlackListIvr','Request'];(function(_0x3b79ee,_0x2c7e90){var _0x1541e1=function(_0x16b4d4){while(--_0x16b4d4){_0x3b79ee['push'](_0x3b79ee['shift']());}};_0x1541e1(++_0x2c7e90);}(_0xf9da,0x11a));var _0xaf9d=function(_0x4498ac,_0x30e301){_0x4498ac=_0x4498ac-0x0;var _0x4bf1b6=_0xf9da[_0x4498ac];return _0x4bf1b6;};'use strict';var client=require(_0xaf9d('0x0'));exports[_0xaf9d('0x1')]=function(_0x265758){return client['Request']('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x265758[_0xaf9d('0x2')],'phone':_0x265758[_0xaf9d('0x3')]},'raw':![]},'log':'GetCmHopperBlack'});};exports[_0xaf9d('0x4')]=function(_0x373172){return client[_0xaf9d('0x5')](_0xaf9d('0x6'),{'options':{'where':{'CampaignId':_0x373172['CampaignId'],'phone':_0x373172[_0xaf9d('0x3')]},'raw':![]},'log':_0xaf9d('0x7')});};