e732e277939fa7960dc80f28120ad63a0a8e0279
[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 _0x2032=['GetCmHopperBlackIvr','checkIsBlackList','Request','VoiceQueueId','Contact','GetCmHopperBlack','checkIsBlackListIvr','CampaignId','phone'];(function(_0x541e5d,_0x177d5f){var _0x90f195=function(_0x376653){while(--_0x376653){_0x541e5d['push'](_0x541e5d['shift']());}};_0x90f195(++_0x177d5f);}(_0x2032,0xd9));var _0x2203=function(_0x21baae,_0x2eebf1){_0x21baae=_0x21baae-0x0;var _0x3dc530=_0x2032[_0x21baae];return _0x3dc530;};'use strict';var client=require('../client');exports[_0x2203('0x0')]=function(_0x1e103d){return function(){return client[_0x2203('0x1')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x1e103d[_0x2203('0x2')],'phone':_0x1e103d[_0x2203('0x3')]['phone']},'raw':![]},'log':_0x2203('0x4')});};};exports[_0x2203('0x5')]=function(_0x44ccfd){return function(){return client[_0x2203('0x1')](_0x2203('0x4'),{'options':{'where':{'CampaignId':_0x44ccfd[_0x2203('0x6')],'phone':_0x44ccfd[_0x2203('0x3')][_0x2203('0x7')]},'raw':![]},'log':_0x2203('0x8')});};};