Built motion from commit 55091a5c.|2.6.30
[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 _0x7d88=['Request','GetCmHopperBlack','VoiceQueueId','phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList'];(function(_0x2cc400,_0x441227){var _0x19b3a3=function(_0x56527b){while(--_0x56527b){_0x2cc400['push'](_0x2cc400['shift']());}};_0x19b3a3(++_0x441227);}(_0x7d88,0x1a5));var _0x87d8=function(_0x547518,_0x4d2931){_0x547518=_0x547518-0x0;var _0x449e2e=_0x7d88[_0x547518];return _0x449e2e;};'use strict';var client=require(_0x87d8('0x0'));exports[_0x87d8('0x1')]=function(_0x51c9d6){return client[_0x87d8('0x2')](_0x87d8('0x3'),{'options':{'where':{'VoiceQueueId':_0x51c9d6[_0x87d8('0x4')],'phone':_0x51c9d6[_0x87d8('0x5')]},'raw':![]},'log':_0x87d8('0x3')});};exports[_0x87d8('0x6')]=function(_0x39413e){return client[_0x87d8('0x2')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x39413e[_0x87d8('0x7')],'phone':_0x39413e['phone']},'raw':![]},'log':_0x87d8('0x8')});};