8da1e73354b49a8a24e54b6974074315b45a21ca
[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 _0x54ef=['checkIsBlackListIvr','CampaignId','../client','checkIsBlackList','GetCmHopperBlack','VoiceQueueId','Contact','phone'];(function(_0x5353fa,_0x4ad1c3){var _0x4cb1df=function(_0x4c78e1){while(--_0x4c78e1){_0x5353fa['push'](_0x5353fa['shift']());}};_0x4cb1df(++_0x4ad1c3);}(_0x54ef,0x112));var _0xf54e=function(_0x1e2882,_0x4ac09c){_0x1e2882=_0x1e2882-0x0;var _0x1167ed=_0x54ef[_0x1e2882];return _0x1167ed;};'use strict';var client=require(_0xf54e('0x0'));exports[_0xf54e('0x1')]=function(_0x12c070){return function(){return client['Request'](_0xf54e('0x2'),{'options':{'where':{'VoiceQueueId':_0x12c070[_0xf54e('0x3')],'phone':_0x12c070[_0xf54e('0x4')][_0xf54e('0x5')]},'raw':![]},'log':_0xf54e('0x2')});};};exports[_0xf54e('0x6')]=function(_0x12d43f){return function(){return client['Request']('GetCmHopperBlack',{'options':{'where':{'CampaignId':_0x12d43f[_0xf54e('0x7')],'phone':_0x12d43f[_0xf54e('0x4')][_0xf54e('0x5')]},'raw':![]},'log':'GetCmHopperBlackIvr'});};};