0f4da66333e84558582f254ebf19cb9d57f8b7e1
[motion2.git] / server / services / routing / rpc / openchannelQueueReport.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 _0x8868=['update','UpdateOpenchannelQueueReport','../client','create','Request','CreateOpenchannelQueueReport'];(function(_0x1d2195,_0x4b8096){var _0x4962cd=function(_0x301f5a){while(--_0x301f5a){_0x1d2195['push'](_0x1d2195['shift']());}};_0x4962cd(++_0x4b8096);}(_0x8868,0x1ca));var _0x8886=function(_0x24f1e7,_0x2ea88a){_0x24f1e7=_0x24f1e7-0x0;var _0x26b1bd=_0x8868[_0x24f1e7];return _0x26b1bd;};'use strict';var client=require(_0x8886('0x0'));exports[_0x8886('0x1')]=function(_0xb1c240){return client[_0x8886('0x2')](_0x8886('0x3'),{'body':_0xb1c240,'log':_0x8886('0x3')});};exports[_0x8886('0x4')]=function(_0x2508b2,_0x230fbb){return client[_0x8886('0x2')](_0x8886('0x5'),{'body':_0x230fbb,'options':{'where':{'uniqueid':_0x2508b2},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};