Built motion from commit 43538d75.|2.5.35
[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 _0xeb74=['Contact','checkIsBlackListIvr','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId'];(function(_0x26d179,_0x5a41c4){var _0x401cb4=function(_0x53d601){while(--_0x53d601){_0x26d179['push'](_0x26d179['shift']());}};_0x401cb4(++_0x5a41c4);}(_0xeb74,0xe3));var _0x4eb7=function(_0x1c05a2,_0x1df4bd){_0x1c05a2=_0x1c05a2-0x0;var _0x3f10b2=_0xeb74[_0x1c05a2];return _0x3f10b2;};'use strict';var client=require(_0x4eb7('0x0'));exports[_0x4eb7('0x1')]=function(_0x1dd325){return function(){return client[_0x4eb7('0x2')](_0x4eb7('0x3'),{'options':{'where':{'VoiceQueueId':_0x1dd325[_0x4eb7('0x4')],'phone':_0x1dd325[_0x4eb7('0x5')]['phone']},'raw':![]},'log':_0x4eb7('0x3')});};};exports[_0x4eb7('0x6')]=function(_0x29b666){return function(){return client[_0x4eb7('0x2')](_0x4eb7('0x3'),{'options':{'where':{'CampaignId':_0x29b666['CampaignId'],'phone':_0x29b666[_0x4eb7('0x5')]['phone']},'raw':![]},'log':_0x4eb7('0x7')});};};