Built motion from commit (unavailable).|2.5.29
[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 _0xf3cd=['checkIsBlackListIvr','CampaignId','Contact','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId','phone'];(function(_0xb8c951,_0x211678){var _0x361966=function(_0x369255){while(--_0x369255){_0xb8c951['push'](_0xb8c951['shift']());}};_0x361966(++_0x211678);}(_0xf3cd,0xfe));var _0xdf3c=function(_0x29d6e6,_0x264220){_0x29d6e6=_0x29d6e6-0x0;var _0xc75ff0=_0xf3cd[_0x29d6e6];return _0xc75ff0;};'use strict';var client=require(_0xdf3c('0x0'));exports[_0xdf3c('0x1')]=function(_0x31e5a5){return function(){return client[_0xdf3c('0x2')](_0xdf3c('0x3'),{'options':{'where':{'VoiceQueueId':_0x31e5a5[_0xdf3c('0x4')],'phone':_0x31e5a5['Contact'][_0xdf3c('0x5')]},'raw':![]},'log':_0xdf3c('0x3')});};};exports[_0xdf3c('0x6')]=function(_0x573076){return function(){return client[_0xdf3c('0x2')](_0xdf3c('0x3'),{'options':{'where':{'CampaignId':_0x573076[_0xdf3c('0x7')],'phone':_0x573076[_0xdf3c('0x8')][_0xdf3c('0x5')]},'raw':![]},'log':_0xdf3c('0x9')});};};