Built motion from commit (unavailable).|2.4.18
[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(_0x469348,_0x39af3d){var _0x5a13a1=function(_0x48324a){while(--_0x48324a){_0x469348['push'](_0x469348['shift']());}};_0x5a13a1(++_0x39af3d);}(_0x008c,0x188));var _0xc008=function(_0x58eec7,_0x2353db){_0x58eec7=_0x58eec7-0x0;var _0x25c5d3=_0x008c[_0x58eec7];return _0x25c5d3;};'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')});};};