Built motion from commit 00bf23f6.|2.6.16
[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 _0x12ce=['GetCmHopperBlackIvr','../client','checkIsBlackList','GetCmHopperBlack','VoiceQueueId','phone','checkIsBlackListIvr','Request'];(function(_0x5196a3,_0x49af2){var _0x163b92=function(_0x12762a){while(--_0x12762a){_0x5196a3['push'](_0x5196a3['shift']());}};_0x163b92(++_0x49af2);}(_0x12ce,0x131));var _0xe12c=function(_0x29b609,_0x19d388){_0x29b609=_0x29b609-0x0;var _0x54c952=_0x12ce[_0x29b609];return _0x54c952;};'use strict';var client=require(_0xe12c('0x0'));exports[_0xe12c('0x1')]=function(_0x5367a6){return client['Request'](_0xe12c('0x2'),{'options':{'where':{'VoiceQueueId':_0x5367a6[_0xe12c('0x3')],'phone':_0x5367a6[_0xe12c('0x4')]},'raw':![]},'log':_0xe12c('0x2')});};exports[_0xe12c('0x5')]=function(_0x787266){return client[_0xe12c('0x6')](_0xe12c('0x2'),{'options':{'where':{'CampaignId':_0x787266['CampaignId'],'phone':_0x787266[_0xe12c('0x4')]},'raw':![]},'log':_0xe12c('0x7')});};