8b94b53ac6a1d64467250907588705b732d4b545
[motion-next.git] / server / services / ami / rpc / cmHopperBlack.js
1 const a1104_0x4fbb=['../client','Contact','VoiceQueueId','checkIsBlackList','phone','GetCmHopperBlackIvr','Request','checkIsBlackListIvr','GetCmHopperBlack'];(function(_0x173fdb,_0x4fbb9e){const _0x468c5a=function(_0xfa16d5){while(--_0xfa16d5){_0x173fdb['push'](_0x173fdb['shift']());}};_0x468c5a(++_0x4fbb9e);}(a1104_0x4fbb,0x100));const a1104_0x468c=function(_0x173fdb,_0x4fbb9e){_0x173fdb=_0x173fdb-0x0;let _0x468c5a=a1104_0x4fbb[_0x173fdb];return _0x468c5a;};const _0x3c2a2b=a1104_0x468c;'use strict';const client=require(_0x3c2a2b('0x5'));exports[_0x3c2a2b('0x8')]=function(_0xfa16d5){return function(){const _0x164535=a1104_0x468c;return client[_0x164535('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0xfa16d5[_0x164535('0x7')],'phone':_0xfa16d5[_0x164535('0x6')][_0x164535('0x0')]},'raw':![]},'log':_0x164535('0x4')});};},exports[_0x3c2a2b('0x3')]=function(_0x33f69c){return function(){const _0x235dd7=a1104_0x468c;return client['Request'](_0x235dd7('0x4'),{'options':{'where':{'CampaignId':_0x33f69c['CampaignId'],'phone':_0x33f69c[_0x235dd7('0x6')][_0x235dd7('0x0')]},'raw':![]},'log':_0x235dd7('0x1')});};};