Built motion from commit (unavailable).|2.5.7
[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 _0x5636=['VoiceQueueId','Contact','phone','checkIsBlackListIvr','Request','GetCmHopperBlack','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList'];(function(_0x23a140,_0x3588c1){var _0x473461=function(_0x317beb){while(--_0x317beb){_0x23a140['push'](_0x23a140['shift']());}};_0x473461(++_0x3588c1);}(_0x5636,0x102));var _0x6563=function(_0x44f64d,_0x1271b3){_0x44f64d=_0x44f64d-0x0;var _0x5612c8=_0x5636[_0x44f64d];return _0x5612c8;};'use strict';var client=require(_0x6563('0x0'));exports[_0x6563('0x1')]=function(_0x492943){return function(){return client['Request']('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x492943[_0x6563('0x2')],'phone':_0x492943[_0x6563('0x3')][_0x6563('0x4')]},'raw':![]},'log':'GetCmHopperBlack'});};};exports[_0x6563('0x5')]=function(_0x12f62f){return function(){return client[_0x6563('0x6')](_0x6563('0x7'),{'options':{'where':{'CampaignId':_0x12f62f[_0x6563('0x8')],'phone':_0x12f62f[_0x6563('0x3')][_0x6563('0x4')]},'raw':![]},'log':_0x6563('0x9')});};};