Built motion from commit (unavailable).|2.5.15
[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 _0xfd28=['Contact','phone','Request','CampaignId','checkIsBlackList','GetCmHopperBlack'];(function(_0x355d82,_0xeefed0){var _0x1f4e63=function(_0x24350d){while(--_0x24350d){_0x355d82['push'](_0x355d82['shift']());}};_0x1f4e63(++_0xeefed0);}(_0xfd28,0x148));var _0x8fd2=function(_0x3bab09,_0x217c29){_0x3bab09=_0x3bab09-0x0;var _0x164376=_0xfd28[_0x3bab09];return _0x164376;};'use strict';var client=require('../client');exports[_0x8fd2('0x0')]=function(_0x117219){return function(){return client['Request'](_0x8fd2('0x1'),{'options':{'where':{'VoiceQueueId':_0x117219['VoiceQueueId'],'phone':_0x117219[_0x8fd2('0x2')][_0x8fd2('0x3')]},'raw':![]},'log':_0x8fd2('0x1')});};};exports['checkIsBlackListIvr']=function(_0x155f46){return function(){return client[_0x8fd2('0x4')](_0x8fd2('0x1'),{'options':{'where':{'CampaignId':_0x155f46[_0x8fd2('0x5')],'phone':_0x155f46[_0x8fd2('0x2')]['phone']},'raw':![]},'log':'GetCmHopperBlackIvr'});};};