Built motion from commit fe909640.|2.6.8
[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 _0xe436=['phone','GetCmHopperBlack','GetCmHopperBlackIvr','../client','checkIsBlackList','Request'];(function(_0xbb25b9,_0x40d629){var _0x5898b3=function(_0x4b71ff){while(--_0x4b71ff){_0xbb25b9['push'](_0xbb25b9['shift']());}};_0x5898b3(++_0x40d629);}(_0xe436,0x19b));var _0x6e43=function(_0xe2ec84,_0x5b0069){_0xe2ec84=_0xe2ec84-0x0;var _0x1bd708=_0xe436[_0xe2ec84];return _0x1bd708;};'use strict';var client=require(_0x6e43('0x0'));exports[_0x6e43('0x1')]=function(_0x23f758){return function(){return client[_0x6e43('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x23f758['VoiceQueueId'],'phone':_0x23f758[_0x6e43('0x3')]},'raw':![]},'log':_0x6e43('0x4')});};};exports['checkIsBlackListIvr']=function(_0x38a0b1){return function(){return client[_0x6e43('0x2')](_0x6e43('0x4'),{'options':{'where':{'CampaignId':_0x38a0b1['CampaignId'],'phone':_0x38a0b1[_0x6e43('0x3')]},'raw':![]},'log':_0x6e43('0x5')});};};