0fd16c211630ff2f3a35a61e7772ddde7c7b6d21
[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 _0x55e0=['phone','GetCmHopperBlack','checkIsBlackListIvr','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','Contact'];(function(_0x413feb,_0x10477f){var _0x40ee88=function(_0x32a3f6){while(--_0x32a3f6){_0x413feb['push'](_0x413feb['shift']());}};_0x40ee88(++_0x10477f);}(_0x55e0,0xdc));var _0x055e=function(_0x47cc7f,_0x4458de){_0x47cc7f=_0x47cc7f-0x0;var _0x3c16da=_0x55e0[_0x47cc7f];return _0x3c16da;};'use strict';var client=require(_0x055e('0x0'));exports[_0x055e('0x1')]=function(_0x2e09a6){return function(){return client[_0x055e('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x2e09a6['VoiceQueueId'],'phone':_0x2e09a6[_0x055e('0x3')][_0x055e('0x4')]},'raw':![]},'log':_0x055e('0x5')});};};exports[_0x055e('0x6')]=function(_0x157473){return function(){return client[_0x055e('0x2')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x157473['CampaignId'],'phone':_0x157473[_0x055e('0x3')]['phone']},'raw':![]},'log':_0x055e('0x7')});};};