Built motion from commit (unavailable).|2.5.4
[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 _0x0a9a=['checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId','Contact'];(function(_0x2f0fae,_0x10d606){var _0x4c5d44=function(_0xae11f2){while(--_0xae11f2){_0x2f0fae['push'](_0x2f0fae['shift']());}};_0x4c5d44(++_0x10d606);}(_0x0a9a,0x183));var _0xa0a9=function(_0x46a1ba,_0x100751){_0x46a1ba=_0x46a1ba-0x0;var _0x1af668=_0x0a9a[_0x46a1ba];return _0x1af668;};'use strict';var client=require('../client');exports[_0xa0a9('0x0')]=function(_0x51baa8){return function(){return client[_0xa0a9('0x1')](_0xa0a9('0x2'),{'options':{'where':{'VoiceQueueId':_0x51baa8[_0xa0a9('0x3')],'phone':_0x51baa8[_0xa0a9('0x4')]['phone']},'raw':![]},'log':_0xa0a9('0x2')});};};exports[_0xa0a9('0x5')]=function(_0x50ea50){return function(){return client[_0xa0a9('0x1')](_0xa0a9('0x2'),{'options':{'where':{'CampaignId':_0x50ea50[_0xa0a9('0x6')],'phone':_0x50ea50[_0xa0a9('0x4')]['phone']},'raw':![]},'log':_0xa0a9('0x7')});};};