Built motion from commit (unavailable).|2.5.23
[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 _0x668b=['Contact','checkIsBlackListIvr','CampaignId','phone','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack'];(function(_0x4e441e,_0x48f13e){var _0x2add8e=function(_0x364774){while(--_0x364774){_0x4e441e['push'](_0x4e441e['shift']());}};_0x2add8e(++_0x48f13e);}(_0x668b,0x140));var _0xb668=function(_0x31295c,_0x2f2b82){_0x31295c=_0x31295c-0x0;var _0x2c150e=_0x668b[_0x31295c];return _0x2c150e;};'use strict';var client=require(_0xb668('0x0'));exports[_0xb668('0x1')]=function(_0x51555f){return function(){return client[_0xb668('0x2')](_0xb668('0x3'),{'options':{'where':{'VoiceQueueId':_0x51555f['VoiceQueueId'],'phone':_0x51555f[_0xb668('0x4')]['phone']},'raw':![]},'log':_0xb668('0x3')});};};exports[_0xb668('0x5')]=function(_0x2960f5){return function(){return client['Request'](_0xb668('0x3'),{'options':{'where':{'CampaignId':_0x2960f5[_0xb668('0x6')],'phone':_0x2960f5[_0xb668('0x4')][_0xb668('0x7')]},'raw':![]},'log':_0xb668('0x8')});};};