4583d2b6ae4afdcf34e581d71e1ba56ec33806bf
[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 _0x008c=['Contact','phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack'];(function(_0x7b68cc,_0x3f522e){var _0x36470e=function(_0x3b80ad){while(--_0x3b80ad){_0x7b68cc['push'](_0x7b68cc['shift']());}};_0x36470e(++_0x3f522e);}(_0x008c,0x188));var _0xc008=function(_0x36734a,_0xdd12e1){_0x36734a=_0x36734a-0x0;var _0x565da1=_0x008c[_0x36734a];return _0x565da1;};'use strict';var client=require(_0xc008('0x0'));exports[_0xc008('0x1')]=function(_0x15aadc){return function(){return client[_0xc008('0x2')](_0xc008('0x3'),{'options':{'where':{'VoiceQueueId':_0x15aadc['VoiceQueueId'],'phone':_0x15aadc[_0xc008('0x4')][_0xc008('0x5')]},'raw':![]},'log':_0xc008('0x3')});};};exports[_0xc008('0x6')]=function(_0x1cbe76){return function(){return client[_0xc008('0x2')](_0xc008('0x3'),{'options':{'where':{'CampaignId':_0x1cbe76[_0xc008('0x7')],'phone':_0x1cbe76[_0xc008('0x4')]['phone']},'raw':![]},'log':_0xc008('0x8')});};};