d231ac6271ae2fa6cf8289bf07414cb471901549
[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 _0xa41a=['GetCmHopperBlack','VoiceQueueId','Contact','phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request'];(function(_0x3eae79,_0x51eed5){var _0x3ad972=function(_0x3b38c0){while(--_0x3b38c0){_0x3eae79['push'](_0x3eae79['shift']());}};_0x3ad972(++_0x51eed5);}(_0xa41a,0x6b));var _0xaa41=function(_0x620b27,_0x333ded){_0x620b27=_0x620b27-0x0;var _0x285037=_0xa41a[_0x620b27];return _0x285037;};'use strict';var client=require(_0xaa41('0x0'));exports[_0xaa41('0x1')]=function(_0x4d08e9){return function(){return client[_0xaa41('0x2')](_0xaa41('0x3'),{'options':{'where':{'VoiceQueueId':_0x4d08e9[_0xaa41('0x4')],'phone':_0x4d08e9[_0xaa41('0x5')][_0xaa41('0x6')]},'raw':![]},'log':_0xaa41('0x3')});};};exports[_0xaa41('0x7')]=function(_0x251efa){return function(){return client['Request'](_0xaa41('0x3'),{'options':{'where':{'CampaignId':_0x251efa[_0xaa41('0x8')],'phone':_0x251efa['Contact']['phone']},'raw':![]},'log':_0xaa41('0x9')});};};