aa205f858ef3939fa2eabea3e9cd456a5c08b387
[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 _0xd5c2=['phone','GetCmHopperBlack','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','VoiceQueueId'];(function(_0x1cc8fe,_0x105328){var _0x230054=function(_0x1a1b56){while(--_0x1a1b56){_0x1cc8fe['push'](_0x1cc8fe['shift']());}};_0x230054(++_0x105328);}(_0xd5c2,0xb9));var _0x2d5c=function(_0x5a8867,_0x47bf9e){_0x5a8867=_0x5a8867-0x0;var _0x56b367=_0xd5c2[_0x5a8867];return _0x56b367;};'use strict';var client=require(_0x2d5c('0x0'));exports[_0x2d5c('0x1')]=function(_0x3ef6b9){return client[_0x2d5c('0x2')]('GetCmHopperBlack',{'options':{'where':{'VoiceQueueId':_0x3ef6b9[_0x2d5c('0x3')],'phone':_0x3ef6b9[_0x2d5c('0x4')]},'raw':![]},'log':_0x2d5c('0x5')});};exports[_0x2d5c('0x6')]=function(_0x573e4c){return function(){return client['Request'](_0x2d5c('0x5'),{'options':{'where':{'CampaignId':_0x573e4c[_0x2d5c('0x7')],'phone':_0x573e4c['phone']},'raw':![]},'log':_0x2d5c('0x8')});};};