Built motion from commit 85328c08.|2.5.50
[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 _0x93e9=['checkIsBlackListIvr','CampaignId','phone','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId','Contact'];(function(_0x330e03,_0x2f8432){var _0x5884b5=function(_0x10837b){while(--_0x10837b){_0x330e03['push'](_0x330e03['shift']());}};_0x5884b5(++_0x2f8432);}(_0x93e9,0xcc));var _0x993e=function(_0x57da23,_0x51e155){_0x57da23=_0x57da23-0x0;var _0x316317=_0x93e9[_0x57da23];return _0x316317;};'use strict';var client=require(_0x993e('0x0'));exports[_0x993e('0x1')]=function(_0x444623){return function(){return client[_0x993e('0x2')](_0x993e('0x3'),{'options':{'where':{'VoiceQueueId':_0x444623[_0x993e('0x4')],'phone':_0x444623[_0x993e('0x5')]['phone']},'raw':![]},'log':'GetCmHopperBlack'});};};exports[_0x993e('0x6')]=function(_0x255045){return function(){return client[_0x993e('0x2')](_0x993e('0x3'),{'options':{'where':{'CampaignId':_0x255045[_0x993e('0x7')],'phone':_0x255045[_0x993e('0x5')][_0x993e('0x8')]},'raw':![]},'log':_0x993e('0x9')});};};