Built motion from commit 87cd5f02.|2.5.48
[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 _0xfff0=['VoiceQueueId','Contact','phone','checkIsBlackListIvr','GetCmHopperBlack','CampaignId','GetCmHopperBlackIvr','checkIsBlackList','Request'];(function(_0x1ae5ab,_0xc5d441){var _0x1ce001=function(_0x5ef96d){while(--_0x5ef96d){_0x1ae5ab['push'](_0x1ae5ab['shift']());}};_0x1ce001(++_0xc5d441);}(_0xfff0,0x139));var _0x0fff=function(_0x37edb8,_0x11379a){_0x37edb8=_0x37edb8-0x0;var _0x3faa3c=_0xfff0[_0x37edb8];return _0x3faa3c;};'use strict';var client=require('../client');exports[_0x0fff('0x0')]=function(_0x2b95e0){return function(){return client[_0x0fff('0x1')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x2b95e0[_0x0fff('0x2')],'phone':_0x2b95e0[_0x0fff('0x3')][_0x0fff('0x4')]},'raw':![]},'log':'GetCmHopperBlack'});};};exports[_0x0fff('0x5')]=function(_0x17911e){return function(){return client['Request'](_0x0fff('0x6'),{'options':{'where':{'CampaignId':_0x17911e[_0x0fff('0x7')],'phone':_0x17911e[_0x0fff('0x3')]['phone']},'raw':![]},'log':_0x0fff('0x8')});};};