Built motion from commit c738b9ac.|2.6.25
[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 _0x21b0=['../client','checkIsBlackList','Request','GetCmHopperBlack','phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr'];(function(_0x28f2e6,_0x1d1fb7){var _0x2e16f6=function(_0x230ea4){while(--_0x230ea4){_0x28f2e6['push'](_0x28f2e6['shift']());}};_0x2e16f6(++_0x1d1fb7);}(_0x21b0,0x1c8));var _0x021b=function(_0x122ef9,_0x451d2a){_0x122ef9=_0x122ef9-0x0;var _0x42fba0=_0x21b0[_0x122ef9];return _0x42fba0;};'use strict';var client=require(_0x021b('0x0'));exports[_0x021b('0x1')]=function(_0x2121c4){return client[_0x021b('0x2')](_0x021b('0x3'),{'options':{'where':{'VoiceQueueId':_0x2121c4['VoiceQueueId'],'phone':_0x2121c4[_0x021b('0x4')]},'raw':![]},'log':_0x021b('0x3')});};exports[_0x021b('0x5')]=function(_0x132a7d){return client[_0x021b('0x2')](_0x021b('0x3'),{'options':{'where':{'CampaignId':_0x132a7d[_0x021b('0x6')],'phone':_0x132a7d['phone']},'raw':![]},'log':_0x021b('0x7')});};