Built motion from commit (unavailable).|2.2.0
[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 _0x828e=['GetCmHopperBlackIvr','checkIsBlackList','Request','Contact','phone','GetCmHopperBlack','checkIsBlackListIvr','CampaignId'];(function(_0x3574c5,_0x56ee08){var _0x49a9c2=function(_0xecd5dd){while(--_0xecd5dd){_0x3574c5['push'](_0x3574c5['shift']());}};_0x49a9c2(++_0x56ee08);}(_0x828e,0x1f1));var _0xe828=function(_0x26d3d4,_0x2b93ab){_0x26d3d4=_0x26d3d4-0x0;var _0x438252=_0x828e[_0x26d3d4];return _0x438252;};'use strict';var client=require('../client');exports[_0xe828('0x0')]=function(_0x45ec5f){return function(){return client[_0xe828('0x1')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x45ec5f['VoiceQueueId'],'phone':_0x45ec5f[_0xe828('0x2')][_0xe828('0x3')]},'raw':![]},'log':_0xe828('0x4')});};};exports[_0xe828('0x5')]=function(_0x34df00){return function(){return client['Request']('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x34df00[_0xe828('0x6')],'phone':_0x34df00[_0xe828('0x2')]['phone']},'raw':![]},'log':_0xe828('0x7')});};};