Built motion from commit (unavailable).|2.5.13
[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 _0xbd50=['GetCmHopperBlack','VoiceQueueId','Contact','phone','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList'];(function(_0x4ae2fb,_0x1c1c67){var _0x4f5268=function(_0x11236b){while(--_0x11236b){_0x4ae2fb['push'](_0x4ae2fb['shift']());}};_0x4f5268(++_0x1c1c67);}(_0xbd50,0x196));var _0x0bd5=function(_0x24d2d7,_0x29d567){_0x24d2d7=_0x24d2d7-0x0;var _0x42e997=_0xbd50[_0x24d2d7];return _0x42e997;};'use strict';var client=require(_0x0bd5('0x0'));exports[_0x0bd5('0x1')]=function(_0x181193){return function(){return client['Request'](_0x0bd5('0x2'),{'options':{'where':{'VoiceQueueId':_0x181193[_0x0bd5('0x3')],'phone':_0x181193[_0x0bd5('0x4')][_0x0bd5('0x5')]},'raw':![]},'log':_0x0bd5('0x2')});};};exports['checkIsBlackListIvr']=function(_0x558e89){return function(){return client['Request'](_0x0bd5('0x2'),{'options':{'where':{'CampaignId':_0x558e89[_0x0bd5('0x6')],'phone':_0x558e89[_0x0bd5('0x4')][_0x0bd5('0x5')]},'raw':![]},'log':_0x0bd5('0x7')});};};