Built motion from commit b5413ace.|2.6.9
[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 _0x68b0=['phone','checkIsBlackListIvr','Request','CampaignId','GetCmHopperBlackIvr','checkIsBlackList','GetCmHopperBlack','VoiceQueueId'];(function(_0x390f89,_0xc10ed3){var _0x54eeb4=function(_0x572ae3){while(--_0x572ae3){_0x390f89['push'](_0x390f89['shift']());}};_0x54eeb4(++_0xc10ed3);}(_0x68b0,0x1ed));var _0x068b=function(_0x2f2306,_0x3acb45){_0x2f2306=_0x2f2306-0x0;var _0x377d53=_0x68b0[_0x2f2306];return _0x377d53;};'use strict';var client=require('../client');exports[_0x068b('0x0')]=function(_0x3f613c){return function(){return client['Request'](_0x068b('0x1'),{'options':{'where':{'VoiceQueueId':_0x3f613c[_0x068b('0x2')],'phone':_0x3f613c[_0x068b('0x3')]},'raw':![]},'log':_0x068b('0x1')});};};exports[_0x068b('0x4')]=function(_0x1da13b){return function(){return client[_0x068b('0x5')](_0x068b('0x1'),{'options':{'where':{'CampaignId':_0x1da13b[_0x068b('0x6')],'phone':_0x1da13b['phone']},'raw':![]},'log':_0x068b('0x7')});};};