a5a9c94a04b2b5cc1b7c323b453fdc8c2b7c786b
[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 _0xa858=['create','CreateOpenchannelQueueReport','update','Request','UpdateOpenchannelQueueReport','../client'];(function(_0x3ae285,_0x27a64f){var _0x38de01=function(_0xdd2ac8){while(--_0xdd2ac8){_0x3ae285['push'](_0x3ae285['shift']());}};_0x38de01(++_0x27a64f);}(_0xa858,0x13d));var _0x8a85=function(_0x49ce96,_0xb00e1f){_0x49ce96=_0x49ce96-0x0;var _0x541813=_0xa858[_0x49ce96];return _0x541813;};'use strict';var client=require(_0x8a85('0x0'));exports[_0x8a85('0x1')]=function(_0x1f5291){return client['Request'](_0x8a85('0x2'),{'body':_0x1f5291,'log':_0x8a85('0x2')});};exports[_0x8a85('0x3')]=function(_0x26e64a,_0x4db2c2){return client[_0x8a85('0x4')](_0x8a85('0x5'),{'body':_0x4db2c2,'options':{'where':{'uniqueid':_0x26e64a},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};