Built motion from commit c738b9ac.|2.6.25
[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 _0xf5e3=['GetCmHopperBlackIvr','checkIsBlackList','GetCmHopperBlack','VoiceQueueId','phone','checkIsBlackListIvr'];(function(_0x30edb2,_0xbab221){var _0x4134fc=function(_0x11f600){while(--_0x11f600){_0x30edb2['push'](_0x30edb2['shift']());}};_0x4134fc(++_0xbab221);}(_0xf5e3,0x11b));var _0x3f5e=function(_0x3c4f1f,_0x20d3ec){_0x3c4f1f=_0x3c4f1f-0x0;var _0x19cb69=_0xf5e3[_0x3c4f1f];return _0x19cb69;};'use strict';var client=require('../client');exports[_0x3f5e('0x0')]=function(_0x3aaa8d){return client['Request'](_0x3f5e('0x1'),{'options':{'where':{'VoiceQueueId':_0x3aaa8d[_0x3f5e('0x2')],'phone':_0x3aaa8d[_0x3f5e('0x3')]},'raw':![]},'log':_0x3f5e('0x1')});};exports[_0x3f5e('0x4')]=function(_0x8f6629){return client['Request'](_0x3f5e('0x1'),{'options':{'where':{'CampaignId':_0x8f6629['CampaignId'],'phone':_0x8f6629[_0x3f5e('0x3')]},'raw':![]},'log':_0x3f5e('0x5')});};