577dce56fec9097c0b60094f7d2d8f87c69b6098
[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 _0xeec6=['../client','checkIsBlackList','Request','VoiceQueueId','Contact','phone','GetCmHopperBlack','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr'];(function(_0x57b766,_0x4bd279){var _0x54deef=function(_0x212cdb){while(--_0x212cdb){_0x57b766['push'](_0x57b766['shift']());}};_0x54deef(++_0x4bd279);}(_0xeec6,0x1c2));var _0x6eec=function(_0x2b10c6,_0x185590){_0x2b10c6=_0x2b10c6-0x0;var _0x3789d2=_0xeec6[_0x2b10c6];return _0x3789d2;};'use strict';var client=require(_0x6eec('0x0'));exports[_0x6eec('0x1')]=function(_0x16ccaa){return function(){return client[_0x6eec('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x16ccaa[_0x6eec('0x3')],'phone':_0x16ccaa[_0x6eec('0x4')][_0x6eec('0x5')]},'raw':![]},'log':_0x6eec('0x6')});};};exports[_0x6eec('0x7')]=function(_0x2e450c){return function(){return client['Request'](_0x6eec('0x6'),{'options':{'where':{'CampaignId':_0x2e450c[_0x6eec('0x8')],'phone':_0x2e450c['Contact'][_0x6eec('0x5')]},'raw':![]},'log':_0x6eec('0x9')});};};