Built motion from commit 9e1399f3.|2.5.37
[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 _0xae60=['checkIsBlackListIvr','Request','CampaignId','phone','GetCmHopperBlackIvr','../client','checkIsBlackList','GetCmHopperBlack','VoiceQueueId','Contact'];(function(_0x22418c,_0x527e20){var _0x4a0b0b=function(_0x349c40){while(--_0x349c40){_0x22418c['push'](_0x22418c['shift']());}};_0x4a0b0b(++_0x527e20);}(_0xae60,0x1c7));var _0x0ae6=function(_0x2aea9e,_0x1f587f){_0x2aea9e=_0x2aea9e-0x0;var _0x430b92=_0xae60[_0x2aea9e];return _0x430b92;};'use strict';var client=require(_0x0ae6('0x0'));exports[_0x0ae6('0x1')]=function(_0xd68d7e){return function(){return client['Request'](_0x0ae6('0x2'),{'options':{'where':{'VoiceQueueId':_0xd68d7e[_0x0ae6('0x3')],'phone':_0xd68d7e[_0x0ae6('0x4')]['phone']},'raw':![]},'log':_0x0ae6('0x2')});};};exports[_0x0ae6('0x5')]=function(_0x47c9e0){return function(){return client[_0x0ae6('0x6')](_0x0ae6('0x2'),{'options':{'where':{'CampaignId':_0x47c9e0[_0x0ae6('0x7')],'phone':_0x47c9e0[_0x0ae6('0x4')][_0x0ae6('0x8')]},'raw':![]},'log':_0x0ae6('0x9')});};};