Built motion from commit a61a4a20.|2.5.46
[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 _0xe2cf=['Contact','phone','GetCmHopperBlack','checkIsBlackList','Request','VoiceQueueId'];(function(_0x1acbf3,_0x3c970f){var _0x7d26b0=function(_0x59117f){while(--_0x59117f){_0x1acbf3['push'](_0x1acbf3['shift']());}};_0x7d26b0(++_0x3c970f);}(_0xe2cf,0x1a1));var _0xfe2c=function(_0x2ef8c1,_0x2f72f4){_0x2ef8c1=_0x2ef8c1-0x0;var _0x288305=_0xe2cf[_0x2ef8c1];return _0x288305;};'use strict';var client=require('../client');exports[_0xfe2c('0x0')]=function(_0x546786){return function(){return client[_0xfe2c('0x1')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x546786[_0xfe2c('0x2')],'phone':_0x546786[_0xfe2c('0x3')][_0xfe2c('0x4')]},'raw':![]},'log':_0xfe2c('0x5')});};};exports['checkIsBlackListIvr']=function(_0xd40c31){return function(){return client[_0xfe2c('0x1')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0xd40c31['CampaignId'],'phone':_0xd40c31[_0xfe2c('0x3')][_0xfe2c('0x4')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};