Built motion from commit (unavailable).|2.5.14
[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 _0xac31=['phone','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId','Contact','checkIsBlackListIvr','CampaignId'];(function(_0x3c55fa,_0x4c1d6a){var _0x12eb93=function(_0x39e270){while(--_0x39e270){_0x3c55fa['push'](_0x3c55fa['shift']());}};_0x12eb93(++_0x4c1d6a);}(_0xac31,0xca));var _0x1ac3=function(_0x4f97c1,_0x8d0c37){_0x4f97c1=_0x4f97c1-0x0;var _0x106be0=_0xac31[_0x4f97c1];return _0x106be0;};'use strict';var client=require(_0x1ac3('0x0'));exports[_0x1ac3('0x1')]=function(_0x1cd966){return function(){return client[_0x1ac3('0x2')](_0x1ac3('0x3'),{'options':{'where':{'VoiceQueueId':_0x1cd966[_0x1ac3('0x4')],'phone':_0x1cd966[_0x1ac3('0x5')]['phone']},'raw':![]},'log':_0x1ac3('0x3')});};};exports[_0x1ac3('0x6')]=function(_0x4dcc96){return function(){return client['Request'](_0x1ac3('0x3'),{'options':{'where':{'CampaignId':_0x4dcc96[_0x1ac3('0x7')],'phone':_0x4dcc96[_0x1ac3('0x5')][_0x1ac3('0x8')]},'raw':![]},'log':_0x1ac3('0x9')});};};