Built motion from commit (unavailable).|2.5.4
[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 _0xec56=['phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','Request','GetCmHopperBlack','VoiceQueueId','Contact'];(function(_0x59a959,_0x472b32){var _0x523004=function(_0x3bf6fa){while(--_0x3bf6fa){_0x59a959['push'](_0x59a959['shift']());}};_0x523004(++_0x472b32);}(_0xec56,0x1bd));var _0x6ec5=function(_0x48c58b,_0x1095d4){_0x48c58b=_0x48c58b-0x0;var _0x2b0a7c=_0xec56[_0x48c58b];return _0x2b0a7c;};'use strict';var client=require(_0x6ec5('0x0'));exports['checkIsBlackList']=function(_0x4d6dcd){return function(){return client[_0x6ec5('0x1')](_0x6ec5('0x2'),{'options':{'where':{'VoiceQueueId':_0x4d6dcd[_0x6ec5('0x3')],'phone':_0x4d6dcd[_0x6ec5('0x4')][_0x6ec5('0x5')]},'raw':![]},'log':_0x6ec5('0x2')});};};exports[_0x6ec5('0x6')]=function(_0x173aeb){return function(){return client[_0x6ec5('0x1')](_0x6ec5('0x2'),{'options':{'where':{'CampaignId':_0x173aeb[_0x6ec5('0x7')],'phone':_0x173aeb[_0x6ec5('0x4')][_0x6ec5('0x5')]},'raw':![]},'log':_0x6ec5('0x8')});};};