Built motion from commit 9d7072cc.|2.5.39
[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 _0x1c7c=['phone','GetCmHopperBlack','checkIsBlackListIvr','CampaignId','Contact','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','VoiceQueueId'];(function(_0x55c1f0,_0x4f574f){var _0x1530fa=function(_0x631542){while(--_0x631542){_0x55c1f0['push'](_0x55c1f0['shift']());}};_0x1530fa(++_0x4f574f);}(_0x1c7c,0x164));var _0xc1c7=function(_0xaece7e,_0x21473d){_0xaece7e=_0xaece7e-0x0;var _0x9e9688=_0x1c7c[_0xaece7e];return _0x9e9688;};'use strict';var client=require(_0xc1c7('0x0'));exports[_0xc1c7('0x1')]=function(_0x38fc99){return function(){return client[_0xc1c7('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x38fc99[_0xc1c7('0x3')],'phone':_0x38fc99['Contact'][_0xc1c7('0x4')]},'raw':![]},'log':_0xc1c7('0x5')});};};exports[_0xc1c7('0x6')]=function(_0x2a0383){return function(){return client[_0xc1c7('0x2')](_0xc1c7('0x5'),{'options':{'where':{'CampaignId':_0x2a0383[_0xc1c7('0x7')],'phone':_0x2a0383[_0xc1c7('0x8')][_0xc1c7('0x4')]},'raw':![]},'log':_0xc1c7('0x9')});};};