45e3d4ebe82b9454e358443eb6adc2b79c0f3b74
[motion-next.git] / server / services / ami / rpc / cmHopperBlack.js
1 const a1103_0x282c=['../client','GetCmHopperBlack','VoiceQueueId','Contact','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','phone','Request'];(function(_0x19d0c6,_0x282c8c){const _0x451a9b=function(_0x485cc8){while(--_0x485cc8){_0x19d0c6['push'](_0x19d0c6['shift']());}};_0x451a9b(++_0x282c8c);}(a1103_0x282c,0x1b3));const a1103_0x451a=function(_0x19d0c6,_0x282c8c){_0x19d0c6=_0x19d0c6-0x0;let _0x451a9b=a1103_0x282c[_0x19d0c6];return _0x451a9b;};const _0xb50d5c=a1103_0x451a;'use strict';const client=require(_0xb50d5c('0x6'));exports['checkIsBlackList']=function(_0x485cc8){return function(){const _0x24afa1=a1103_0x451a;return client[_0x24afa1('0x5')](_0x24afa1('0x7'),{'options':{'where':{'VoiceQueueId':_0x485cc8[_0x24afa1('0x8')],'phone':_0x485cc8[_0x24afa1('0x0')]['phone']},'raw':![]},'log':'GetCmHopperBlack'});};},exports[_0xb50d5c('0x1')]=function(_0x680970){return function(){const _0x4b7f08=a1103_0x451a;return client['Request'](_0x4b7f08('0x7'),{'options':{'where':{'CampaignId':_0x680970[_0x4b7f08('0x2')],'phone':_0x680970[_0x4b7f08('0x0')][_0x4b7f08('0x4')]},'raw':![]},'log':_0x4b7f08('0x3')});};};