Built motion from commit d1eab355.|2.6.28
[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 _0xb51c=['CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','GetCmHopperBlack','phone','checkIsBlackListIvr'];(function(_0x39bf46,_0x106bc6){var _0x33d088=function(_0x25b3f0){while(--_0x25b3f0){_0x39bf46['push'](_0x39bf46['shift']());}};_0x33d088(++_0x106bc6);}(_0xb51c,0x128));var _0xcb51=function(_0xea8947,_0x1b573d){_0xea8947=_0xea8947-0x0;var _0x2455e9=_0xb51c[_0xea8947];return _0x2455e9;};'use strict';var client=require(_0xcb51('0x0'));exports[_0xcb51('0x1')]=function(_0x13a8c0){return client['Request'](_0xcb51('0x2'),{'options':{'where':{'VoiceQueueId':_0x13a8c0['VoiceQueueId'],'phone':_0x13a8c0[_0xcb51('0x3')]},'raw':![]},'log':'GetCmHopperBlack'});};exports[_0xcb51('0x4')]=function(_0x16f07c){return client['Request'](_0xcb51('0x2'),{'options':{'where':{'CampaignId':_0x16f07c[_0xcb51('0x5')],'phone':_0x16f07c[_0xcb51('0x3')]},'raw':![]},'log':_0xcb51('0x6')});};