c966b14e42926081d3f428706afbeb52d06de746
[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 _0x02ce=['phone','checkIsBlackListIvr','Request','CampaignId','../client','checkIsBlackList','GetCmHopperBlack','Contact'];(function(_0x3fe7b6,_0x116e72){var _0x245b22=function(_0x555551){while(--_0x555551){_0x3fe7b6['push'](_0x3fe7b6['shift']());}};_0x245b22(++_0x116e72);}(_0x02ce,0x1ac));var _0xe02c=function(_0x308f43,_0x525cfe){_0x308f43=_0x308f43-0x0;var _0x53f0cc=_0x02ce[_0x308f43];return _0x53f0cc;};'use strict';var client=require(_0xe02c('0x0'));exports[_0xe02c('0x1')]=function(_0x3f9bc7){return function(){return client['Request'](_0xe02c('0x2'),{'options':{'where':{'VoiceQueueId':_0x3f9bc7['VoiceQueueId'],'phone':_0x3f9bc7[_0xe02c('0x3')][_0xe02c('0x4')]},'raw':![]},'log':_0xe02c('0x2')});};};exports[_0xe02c('0x5')]=function(_0x41b41c){return function(){return client[_0xe02c('0x6')](_0xe02c('0x2'),{'options':{'where':{'CampaignId':_0x41b41c[_0xe02c('0x7')],'phone':_0x41b41c[_0xe02c('0x3')]['phone']},'raw':![]},'log':'GetCmHopperBlackIvr'});};};