Built motion from commit (unavailable).|2.5.20
[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(_0x464f86,_0x537151){var _0x8b81c9=function(_0x17c232){while(--_0x17c232){_0x464f86['push'](_0x464f86['shift']());}};_0x8b81c9(++_0x537151);}(_0xfd28,0x148));var _0x8fd2=function(_0x4fe19c,_0x45d0fe){_0x4fe19c=_0x4fe19c-0x0;var _0x952ac7=_0xfd28[_0x4fe19c];return _0x952ac7;};'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'});};};