4cf923fdc8b12ad52cde88fcdc35ed20ba88edbd
[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 _0xc587=['../client','checkIsBlackList','GetCmHopperBlack','VoiceQueueId','phone','checkIsBlackListIvr','Request','CampaignId','GetCmHopperBlackIvr'];(function(_0x2fc3b4,_0x1e868f){var _0x41b72e=function(_0x1e3495){while(--_0x1e3495){_0x2fc3b4['push'](_0x2fc3b4['shift']());}};_0x41b72e(++_0x1e868f);}(_0xc587,0x90));var _0x7c58=function(_0x8dced0,_0x48d5a3){_0x8dced0=_0x8dced0-0x0;var _0x2bde77=_0xc587[_0x8dced0];return _0x2bde77;};'use strict';var client=require(_0x7c58('0x0'));exports[_0x7c58('0x1')]=function(_0x1abc09){return client['Request'](_0x7c58('0x2'),{'options':{'where':{'VoiceQueueId':_0x1abc09[_0x7c58('0x3')],'phone':_0x1abc09[_0x7c58('0x4')]},'raw':![]},'log':'GetCmHopperBlack'});};exports[_0x7c58('0x5')]=function(_0x516e44){return client[_0x7c58('0x6')](_0x7c58('0x2'),{'options':{'where':{'CampaignId':_0x516e44[_0x7c58('0x7')],'phone':_0x516e44[_0x7c58('0x4')]},'raw':![]},'log':_0x7c58('0x8')});};