5237c097af8f39964130474626b6cf7623f5c7e7
[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 _0x7f6a=['VoiceQueueId','checkIsBlackListIvr','CampaignId','phone','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack'];(function(_0xc3d94a,_0xb4afea){var _0x3078cf=function(_0x1db1c6){while(--_0x1db1c6){_0xc3d94a['push'](_0xc3d94a['shift']());}};_0x3078cf(++_0xb4afea);}(_0x7f6a,0xf8));var _0xa7f6=function(_0x1bb099,_0x21bc0d){_0x1bb099=_0x1bb099-0x0;var _0x5b7342=_0x7f6a[_0x1bb099];return _0x5b7342;};'use strict';var client=require(_0xa7f6('0x0'));exports[_0xa7f6('0x1')]=function(_0x472dac){return client[_0xa7f6('0x2')](_0xa7f6('0x3'),{'options':{'where':{'VoiceQueueId':_0x472dac[_0xa7f6('0x4')],'phone':_0x472dac['phone']},'raw':![]},'log':_0xa7f6('0x3')});};exports[_0xa7f6('0x5')]=function(_0x372795){return client['Request']('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x372795[_0xa7f6('0x6')],'phone':_0x372795[_0xa7f6('0x7')]},'raw':![]},'log':_0xa7f6('0x8')});};