895f008fa5e241110de6c16f4ed471d1ad465fa0
[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 _0x30ca=['GetCmHopperBlackIvr','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId','checkIsBlackListIvr','CampaignId'];(function(_0x345a0b,_0x4eefd0){var _0x5788b2=function(_0x1615be){while(--_0x1615be){_0x345a0b['push'](_0x345a0b['shift']());}};_0x5788b2(++_0x4eefd0);}(_0x30ca,0x174));var _0xa30c=function(_0xf7868f,_0x1e91fe){_0xf7868f=_0xf7868f-0x0;var _0x223032=_0x30ca[_0xf7868f];return _0x223032;};'use strict';var client=require('../client');exports[_0xa30c('0x0')]=function(_0x9126ad){return function(){return client[_0xa30c('0x1')](_0xa30c('0x2'),{'options':{'where':{'VoiceQueueId':_0x9126ad[_0xa30c('0x3')],'phone':_0x9126ad['phone']},'raw':![]},'log':_0xa30c('0x2')});};};exports[_0xa30c('0x4')]=function(_0x5896d8){return function(){return client['Request']('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x5896d8[_0xa30c('0x5')],'phone':_0x5896d8['phone']},'raw':![]},'log':_0xa30c('0x6')});};};