Built motion from commit (unavailable).|2.5.16
[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 _0xa8a8=['Contact','phone','GetCmHopperBlack','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','VoiceQueueId'];(function(_0xf4788f,_0x447a63){var _0x56ce04=function(_0x12863a){while(--_0x12863a){_0xf4788f['push'](_0xf4788f['shift']());}};_0x56ce04(++_0x447a63);}(_0xa8a8,0xec));var _0x8a8a=function(_0x4c9515,_0x4a92f0){_0x4c9515=_0x4c9515-0x0;var _0x50ff10=_0xa8a8[_0x4c9515];return _0x50ff10;};'use strict';var client=require(_0x8a8a('0x0'));exports[_0x8a8a('0x1')]=function(_0x1934ab){return function(){return client[_0x8a8a('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x1934ab[_0x8a8a('0x3')],'phone':_0x1934ab[_0x8a8a('0x4')][_0x8a8a('0x5')]},'raw':![]},'log':_0x8a8a('0x6')});};};exports[_0x8a8a('0x7')]=function(_0x1cecd4){return function(){return client[_0x8a8a('0x2')](_0x8a8a('0x6'),{'options':{'where':{'CampaignId':_0x1cecd4[_0x8a8a('0x8')],'phone':_0x1cecd4[_0x8a8a('0x4')][_0x8a8a('0x5')]},'raw':![]},'log':_0x8a8a('0x9')});};};