bc887da72ea4aa2ae8d823163e7ba72ad01db126
[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 _0x9a19=['VoiceQueueId','Contact','phone','checkIsBlackListIvr','Request','CampaignId','../client','checkIsBlackList','GetCmHopperBlack'];(function(_0x56916d,_0x37b935){var _0x2b7f1f=function(_0x206eb1){while(--_0x206eb1){_0x56916d['push'](_0x56916d['shift']());}};_0x2b7f1f(++_0x37b935);}(_0x9a19,0x114));var _0x99a1=function(_0xfc0976,_0x33776f){_0xfc0976=_0xfc0976-0x0;var _0x23579f=_0x9a19[_0xfc0976];return _0x23579f;};'use strict';var client=require(_0x99a1('0x0'));exports[_0x99a1('0x1')]=function(_0x3d860b){return function(){return client['Request'](_0x99a1('0x2'),{'options':{'where':{'VoiceQueueId':_0x3d860b[_0x99a1('0x3')],'phone':_0x3d860b[_0x99a1('0x4')][_0x99a1('0x5')]},'raw':![]},'log':_0x99a1('0x2')});};};exports[_0x99a1('0x6')]=function(_0x392625){return function(){return client[_0x99a1('0x7')](_0x99a1('0x2'),{'options':{'where':{'CampaignId':_0x392625[_0x99a1('0x8')],'phone':_0x392625[_0x99a1('0x4')]['phone']},'raw':![]},'log':'GetCmHopperBlackIvr'});};};