9513b26608b3fcc898c753d24deb6b2286ee35e3
[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 _0xd695=['GetCmHopperBlack','VoiceQueueId','Contact','checkIsBlackListIvr','Request','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList'];(function(_0x1fc84d,_0x3f469d){var _0x2658fa=function(_0x189ad0){while(--_0x189ad0){_0x1fc84d['push'](_0x1fc84d['shift']());}};_0x2658fa(++_0x3f469d);}(_0xd695,0x178));var _0x5d69=function(_0x2c91e9,_0x2fb965){_0x2c91e9=_0x2c91e9-0x0;var _0x13f0ff=_0xd695[_0x2c91e9];return _0x13f0ff;};'use strict';var client=require(_0x5d69('0x0'));exports[_0x5d69('0x1')]=function(_0x9b0145){return function(){return client['Request'](_0x5d69('0x2'),{'options':{'where':{'VoiceQueueId':_0x9b0145[_0x5d69('0x3')],'phone':_0x9b0145[_0x5d69('0x4')]['phone']},'raw':![]},'log':_0x5d69('0x2')});};};exports[_0x5d69('0x5')]=function(_0x5346c3){return function(){return client[_0x5d69('0x6')](_0x5d69('0x2'),{'options':{'where':{'CampaignId':_0x5346c3[_0x5d69('0x7')],'phone':_0x5346c3[_0x5d69('0x4')]['phone']},'raw':![]},'log':_0x5d69('0x8')});};};