Built motion from commit (unavailable).|2.5.9
[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 _0x4c4e=['CampaignId','GetCmHopperBlackIvr','../client','Request','GetCmHopperBlack','Contact','phone'];(function(_0x3947c9,_0x4d6c97){var _0x2e7871=function(_0x1236cc){while(--_0x1236cc){_0x3947c9['push'](_0x3947c9['shift']());}};_0x2e7871(++_0x4d6c97);}(_0x4c4e,0x152));var _0xe4c4=function(_0x3938bb,_0x2622c2){_0x3938bb=_0x3938bb-0x0;var _0x4f2bfb=_0x4c4e[_0x3938bb];return _0x4f2bfb;};'use strict';var client=require(_0xe4c4('0x0'));exports['checkIsBlackList']=function(_0x32f6d3){return function(){return client[_0xe4c4('0x1')](_0xe4c4('0x2'),{'options':{'where':{'VoiceQueueId':_0x32f6d3['VoiceQueueId'],'phone':_0x32f6d3[_0xe4c4('0x3')][_0xe4c4('0x4')]},'raw':![]},'log':_0xe4c4('0x2')});};};exports['checkIsBlackListIvr']=function(_0x2d3bb7){return function(){return client['Request'](_0xe4c4('0x2'),{'options':{'where':{'CampaignId':_0x2d3bb7[_0xe4c4('0x5')],'phone':_0x2d3bb7[_0xe4c4('0x3')][_0xe4c4('0x4')]},'raw':![]},'log':_0xe4c4('0x6')});};};