1 // *************************************************************************
3 // * xCALLY Motion - The Omnichannel Contact Center *
4 // * Copyright (c) Xenialab s.r.l. All Rights Reserved *
6 // *************************************************************************
8 // * Email: info@xcally.com *
9 // * Website: https://www.xcally.com *
11 // *************************************************************************
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. *
17 // *************************************************************************
18 var _0xba20=['Request','phone','GetCmHopperBlack','GetCmHopperBlackIvr','checkIsBlackList'];(function(_0x323759,_0xb30675){var _0x4dab95=function(_0x44443f){while(--_0x44443f){_0x323759['push'](_0x323759['shift']());}};_0x4dab95(++_0xb30675);}(_0xba20,0x18f));var _0x0ba2=function(_0x3dd15e,_0x1f0015){_0x3dd15e=_0x3dd15e-0x0;var _0x231fd0=_0xba20[_0x3dd15e];return _0x231fd0;};'use strict';var client=require('../client');exports[_0x0ba2('0x0')]=function(_0xa38a3f){return client[_0x0ba2('0x1')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0xa38a3f['VoiceQueueId'],'phone':_0xa38a3f[_0x0ba2('0x2')]},'raw':![]},'log':_0x0ba2('0x3')});};exports['checkIsBlackListIvr']=function(_0x23e997){return client[_0x0ba2('0x1')](_0x0ba2('0x3'),{'options':{'where':{'CampaignId':_0x23e997['CampaignId'],'phone':_0x23e997[_0x0ba2('0x2')]},'raw':![]},'log':_0x0ba2('0x4')});};