a8ee2bc05ddc5a139493f82ef80b32e0c0267aeb
[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 _0xc00c=['GetCmHopperBlack','VoiceQueueId','phone','CampaignId','../client','checkIsBlackList'];(function(_0x5d6456,_0x58ecc7){var _0x4d66c1=function(_0x4335e3){while(--_0x4335e3){_0x5d6456['push'](_0x5d6456['shift']());}};_0x4d66c1(++_0x58ecc7);}(_0xc00c,0x1e4));var _0xcc00=function(_0xc4001c,_0x1bf8f0){_0xc4001c=_0xc4001c-0x0;var _0x49f7bc=_0xc00c[_0xc4001c];return _0x49f7bc;};'use strict';var client=require(_0xcc00('0x0'));exports[_0xcc00('0x1')]=function(_0x252a45){return client['Request'](_0xcc00('0x2'),{'options':{'where':{'VoiceQueueId':_0x252a45[_0xcc00('0x3')],'phone':_0x252a45[_0xcc00('0x4')]},'raw':![]},'log':_0xcc00('0x2')});};exports['checkIsBlackListIvr']=function(_0xaac401){return client['Request'](_0xcc00('0x2'),{'options':{'where':{'CampaignId':_0xaac401[_0xcc00('0x5')],'phone':_0xaac401[_0xcc00('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};