98e35e41df01c816a827696f04fb50fbb92ec143
[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(_0x28b8c6,_0x433174){var _0x429a07=function(_0x4528e6){while(--_0x4528e6){_0x28b8c6['push'](_0x28b8c6['shift']());}};_0x429a07(++_0x433174);}(_0xa41a,0x6b));var _0xaa41=function(_0x2c62e5,_0x2335c8){_0x2c62e5=_0x2c62e5-0x0;var _0x3b1e9b=_0xa41a[_0x2c62e5];return _0x3b1e9b;};'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')});};};