7d5f2c00f6466e4f52f0afb88d4d920c067e9f2c
[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 _0xe1c0=['phone','checkIsBlackListIvr','CampaignId','GetCmHopperBlackIvr','../client','checkIsBlackList','Request','GetCmHopperBlack','VoiceQueueId'];(function(_0xf73c09,_0x4e424e){var _0xa8923c=function(_0x4831c1){while(--_0x4831c1){_0xf73c09['push'](_0xf73c09['shift']());}};_0xa8923c(++_0x4e424e);}(_0xe1c0,0x1c6));var _0x0e1c=function(_0x5bb147,_0xaf7aa3){_0x5bb147=_0x5bb147-0x0;var _0x47ad73=_0xe1c0[_0x5bb147];return _0x47ad73;};'use strict';var client=require(_0x0e1c('0x0'));exports[_0x0e1c('0x1')]=function(_0x4d33dd){return client[_0x0e1c('0x2')](_0x0e1c('0x3'),{'options':{'where':{'VoiceQueueId':_0x4d33dd[_0x0e1c('0x4')],'phone':_0x4d33dd[_0x0e1c('0x5')]},'raw':![]},'log':_0x0e1c('0x3')});};exports[_0x0e1c('0x6')]=function(_0x1be07f){return client[_0x0e1c('0x2')](_0x0e1c('0x3'),{'options':{'where':{'CampaignId':_0x1be07f[_0x0e1c('0x7')],'phone':_0x1be07f[_0x0e1c('0x5')]},'raw':![]},'log':_0x0e1c('0x8')});};