8caaa442f5ee3bc51bf6326cd8cf559acd30628e
[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 _0xb574=['Request','GetCmHopperBlack','Contact','phone','checkIsBlackListIvr','CampaignId','../client','checkIsBlackList'];(function(_0x3620e1,_0x1cd5f2){var _0x97e15a=function(_0x26206c){while(--_0x26206c){_0x3620e1['push'](_0x3620e1['shift']());}};_0x97e15a(++_0x1cd5f2);}(_0xb574,0x106));var _0x4b57=function(_0x26e281,_0x1e7332){_0x26e281=_0x26e281-0x0;var _0x5a0f0a=_0xb574[_0x26e281];return _0x5a0f0a;};'use strict';var client=require(_0x4b57('0x0'));exports[_0x4b57('0x1')]=function(_0x4c29a6){return function(){return client[_0x4b57('0x2')](_0x4b57('0x3'),{'options':{'where':{'VoiceQueueId':_0x4c29a6['VoiceQueueId'],'phone':_0x4c29a6[_0x4b57('0x4')][_0x4b57('0x5')]},'raw':![]},'log':_0x4b57('0x3')});};};exports[_0x4b57('0x6')]=function(_0xe2ae86){return function(){return client['Request']('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0xe2ae86[_0x4b57('0x7')],'phone':_0xe2ae86['Contact']['phone']},'raw':![]},'log':'GetCmHopperBlackIvr'});};};