Built motion from commit (unavailable).|2.5.19
[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 _0xe5b3=['GetCmHopperBlackIvr','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId','Contact','phone','checkIsBlackListIvr','CampaignId'];(function(_0x49e584,_0x2886f8){var _0x58b1be=function(_0x40397c){while(--_0x40397c){_0x49e584['push'](_0x49e584['shift']());}};_0x58b1be(++_0x2886f8);}(_0xe5b3,0x133));var _0x3e5b=function(_0x4cfb78,_0x4c1da6){_0x4cfb78=_0x4cfb78-0x0;var _0xc1250e=_0xe5b3[_0x4cfb78];return _0xc1250e;};'use strict';var client=require('../client');exports[_0x3e5b('0x0')]=function(_0xba44a0){return function(){return client[_0x3e5b('0x1')](_0x3e5b('0x2'),{'options':{'where':{'VoiceQueueId':_0xba44a0[_0x3e5b('0x3')],'phone':_0xba44a0[_0x3e5b('0x4')][_0x3e5b('0x5')]},'raw':![]},'log':_0x3e5b('0x2')});};};exports[_0x3e5b('0x6')]=function(_0x4195cb){return function(){return client[_0x3e5b('0x1')]('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x4195cb[_0x3e5b('0x7')],'phone':_0x4195cb[_0x3e5b('0x4')]['phone']},'raw':![]},'log':_0x3e5b('0x8')});};};