9e2a3f28ae8a3d0e7d36e7288b019d893f0dc5f0
[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 _0xa902=['GetCmHopperBlack','Contact','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request'];(function(_0x12fc8d,_0x19ee33){var _0x3f9d04=function(_0x52e51c){while(--_0x52e51c){_0x12fc8d['push'](_0x12fc8d['shift']());}};_0x3f9d04(++_0x19ee33);}(_0xa902,0x8d));var _0x2a90=function(_0x24b64c,_0x14a597){_0x24b64c=_0x24b64c-0x0;var _0x5ec87a=_0xa902[_0x24b64c];return _0x5ec87a;};'use strict';var client=require(_0x2a90('0x0'));exports[_0x2a90('0x1')]=function(_0x416198){return function(){return client[_0x2a90('0x2')](_0x2a90('0x3'),{'options':{'where':{'VoiceQueueId':_0x416198['VoiceQueueId'],'phone':_0x416198[_0x2a90('0x4')]['phone']},'raw':![]},'log':'GetCmHopperBlack'});};};exports[_0x2a90('0x5')]=function(_0x2b40c0){return function(){return client[_0x2a90('0x2')](_0x2a90('0x3'),{'options':{'where':{'CampaignId':_0x2b40c0[_0x2a90('0x6')],'phone':_0x2b40c0[_0x2a90('0x4')]['phone']},'raw':![]},'log':_0x2a90('0x7')});};};