2ab64031c6787795257ec7c4a7d068c3ec12f44f
[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 _0xa41a=['GetCmHopperBlack','VoiceQueueId','Contact','phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request'];(function(_0xfdfc71,_0x28f501){var _0x2726b1=function(_0x27193a){while(--_0x27193a){_0xfdfc71['push'](_0xfdfc71['shift']());}};_0x2726b1(++_0x28f501);}(_0xa41a,0x6b));var _0xaa41=function(_0x361e05,_0x2456d0){_0x361e05=_0x361e05-0x0;var _0x43edca=_0xa41a[_0x361e05];return _0x43edca;};'use strict';var client=require(_0xaa41('0x0'));exports[_0xaa41('0x1')]=function(_0x4d08e9){return function(){return client[_0xaa41('0x2')](_0xaa41('0x3'),{'options':{'where':{'VoiceQueueId':_0x4d08e9[_0xaa41('0x4')],'phone':_0x4d08e9[_0xaa41('0x5')][_0xaa41('0x6')]},'raw':![]},'log':_0xaa41('0x3')});};};exports[_0xaa41('0x7')]=function(_0x251efa){return function(){return client['Request'](_0xaa41('0x3'),{'options':{'where':{'CampaignId':_0x251efa[_0xaa41('0x8')],'phone':_0x251efa['Contact']['phone']},'raw':![]},'log':_0xaa41('0x9')});};};