Built motion from commit ffdca78c.|2.6.24
[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 _0xc97f=['checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId','phone'];(function(_0x2ec048,_0x4d6434){var _0x58fbed=function(_0x123609){while(--_0x123609){_0x2ec048['push'](_0x2ec048['shift']());}};_0x58fbed(++_0x4d6434);}(_0xc97f,0x18f));var _0xfc97=function(_0x595de8,_0x48d310){_0x595de8=_0x595de8-0x0;var _0x250105=_0xc97f[_0x595de8];return _0x250105;};'use strict';var client=require(_0xfc97('0x0'));exports[_0xfc97('0x1')]=function(_0x62608d){return client[_0xfc97('0x2')](_0xfc97('0x3'),{'options':{'where':{'VoiceQueueId':_0x62608d[_0xfc97('0x4')],'phone':_0x62608d[_0xfc97('0x5')]},'raw':![]},'log':_0xfc97('0x3')});};exports[_0xfc97('0x6')]=function(_0x5c3d58){return client[_0xfc97('0x2')](_0xfc97('0x3'),{'options':{'where':{'CampaignId':_0x5c3d58[_0xfc97('0x7')],'phone':_0x5c3d58[_0xfc97('0x5')]},'raw':![]},'log':_0xfc97('0x8')});};