Built motion from commit 3c2ce842.|2.6.31
[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 _0x0ab9=['Request','VoiceQueueId','phone','GetCmHopperBlack','checkIsBlackListIvr','../client','checkIsBlackList'];(function(_0x3054be,_0x1bdc8b){var _0x3df150=function(_0x56cfbf){while(--_0x56cfbf){_0x3054be['push'](_0x3054be['shift']());}};_0x3df150(++_0x1bdc8b);}(_0x0ab9,0x1a9));var _0x90ab=function(_0xb4ea63,_0x12712d){_0xb4ea63=_0xb4ea63-0x0;var _0x22812d=_0x0ab9[_0xb4ea63];return _0x22812d;};'use strict';var client=require(_0x90ab('0x0'));exports[_0x90ab('0x1')]=function(_0x3427c2){return client[_0x90ab('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x3427c2[_0x90ab('0x3')],'phone':_0x3427c2[_0x90ab('0x4')]},'raw':![]},'log':_0x90ab('0x5')});};exports[_0x90ab('0x6')]=function(_0xefaa6a){return client[_0x90ab('0x2')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0xefaa6a['CampaignId'],'phone':_0xefaa6a[_0x90ab('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};