72d2217325cb1effdc42e38e3dbbfa0449eea634
[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 _0x0b8c=['checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','VoiceQueueId','phone','GetCmHopperBlack'];(function(_0x2aa0e7,_0x4e5145){var _0x1472c0=function(_0x4deaeb){while(--_0x4deaeb){_0x2aa0e7['push'](_0x2aa0e7['shift']());}};_0x1472c0(++_0x4e5145);}(_0x0b8c,0x174));var _0xc0b8=function(_0x2e3c3a,_0x5e25aa){_0x2e3c3a=_0x2e3c3a-0x0;var _0x182aba=_0x0b8c[_0x2e3c3a];return _0x182aba;};'use strict';var client=require(_0xc0b8('0x0'));exports[_0xc0b8('0x1')]=function(_0x52c6ed){return client[_0xc0b8('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x52c6ed[_0xc0b8('0x3')],'phone':_0x52c6ed[_0xc0b8('0x4')]},'raw':![]},'log':_0xc0b8('0x5')});};exports[_0xc0b8('0x6')]=function(_0x438d20){return client[_0xc0b8('0x2')](_0xc0b8('0x5'),{'options':{'where':{'CampaignId':_0x438d20[_0xc0b8('0x7')],'phone':_0x438d20[_0xc0b8('0x4')]},'raw':![]},'log':_0xc0b8('0x8')});};