Built motion from commit a61a4a20.|2.5.46
[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 _0x4cf8=['Contact','phone','checkIsBlackListIvr','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId'];(function(_0x21272c,_0x4a10bb){var _0xe37bf0=function(_0x135881){while(--_0x135881){_0x21272c['push'](_0x21272c['shift']());}};_0xe37bf0(++_0x4a10bb);}(_0x4cf8,0x1e1));var _0x84cf=function(_0x15fc3c,_0x35665b){_0x15fc3c=_0x15fc3c-0x0;var _0x94c5c8=_0x4cf8[_0x15fc3c];return _0x94c5c8;};'use strict';var client=require(_0x84cf('0x0'));exports[_0x84cf('0x1')]=function(_0x287eb2){return function(){return client[_0x84cf('0x2')](_0x84cf('0x3'),{'options':{'where':{'VoiceQueueId':_0x287eb2[_0x84cf('0x4')],'phone':_0x287eb2[_0x84cf('0x5')][_0x84cf('0x6')]},'raw':![]},'log':_0x84cf('0x3')});};};exports[_0x84cf('0x7')]=function(_0x5844d7){return function(){return client[_0x84cf('0x2')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x5844d7['CampaignId'],'phone':_0x5844d7[_0x84cf('0x5')]['phone']},'raw':![]},'log':_0x84cf('0x8')});};};