6f91fc096a12112d6341916c88382ac514c9272b
[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 _0xb6fb=['checkIsBlackListIvr','CampaignId','../client','checkIsBlackList','GetCmHopperBlack','phone'];(function(_0x319c7e,_0x312b62){var _0x59e511=function(_0xb109d0){while(--_0xb109d0){_0x319c7e['push'](_0x319c7e['shift']());}};_0x59e511(++_0x312b62);}(_0xb6fb,0xf2));var _0xbb6f=function(_0x45d318,_0x2b3ad9){_0x45d318=_0x45d318-0x0;var _0x195ff4=_0xb6fb[_0x45d318];return _0x195ff4;};'use strict';var client=require(_0xbb6f('0x0'));exports[_0xbb6f('0x1')]=function(_0x4a5254){return client['Request'](_0xbb6f('0x2'),{'options':{'where':{'VoiceQueueId':_0x4a5254['VoiceQueueId'],'phone':_0x4a5254[_0xbb6f('0x3')]},'raw':![]},'log':_0xbb6f('0x2')});};exports[_0xbb6f('0x4')]=function(_0x22ead1){return client['Request'](_0xbb6f('0x2'),{'options':{'where':{'CampaignId':_0x22ead1[_0xbb6f('0x5')],'phone':_0x22ead1[_0xbb6f('0x3')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};