c1f18d1c916a620a3ca3dc704dc961c355a7ba08
[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(_0x8ee873,_0x35651b){var _0x18dc06=function(_0x192f1c){while(--_0x192f1c){_0x8ee873['push'](_0x8ee873['shift']());}};_0x18dc06(++_0x35651b);}(_0x0a9a,0x183));var _0xa0a9=function(_0x45f6cd,_0x73579f){_0x45f6cd=_0x45f6cd-0x0;var _0x8efa7=_0x0a9a[_0x45f6cd];return _0x8efa7;};'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')});};};