342079aca437d8f9d9dd55edb0330f2653a12ca8
[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 _0xa292=['GetCmHopperBlack','checkIsBlackListIvr','GetCmHopperBlackIvr','checkIsBlackList','Request','VoiceQueueId','phone'];(function(_0x4573bd,_0x19b9b5){var _0xc07bb9=function(_0x36a36a){while(--_0x36a36a){_0x4573bd['push'](_0x4573bd['shift']());}};_0xc07bb9(++_0x19b9b5);}(_0xa292,0x106));var _0x2a29=function(_0x19651b,_0x3c150c){_0x19651b=_0x19651b-0x0;var _0x36d098=_0xa292[_0x19651b];return _0x36d098;};'use strict';var client=require('../client');exports[_0x2a29('0x0')]=function(_0x3ddf8b){return function(){return client[_0x2a29('0x1')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x3ddf8b[_0x2a29('0x2')],'phone':_0x3ddf8b[_0x2a29('0x3')]},'raw':![]},'log':_0x2a29('0x4')});};};exports[_0x2a29('0x5')]=function(_0x5e148c){return function(){return client['Request'](_0x2a29('0x4'),{'options':{'where':{'CampaignId':_0x5e148c['CampaignId'],'phone':_0x5e148c['phone']},'raw':![]},'log':_0x2a29('0x6')});};};