Built motion from commit 5293bb2a.|2.6.30
[motion2.git] / server / services / routing / rpc / chatQueueReport.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 _0x76a3=['update','UpdateChatQueueReport','../client','create','Request','CreateChatQueueReport'];(function(_0x2b5d3e,_0x58e7e9){var _0x46a9e8=function(_0x8e4e48){while(--_0x8e4e48){_0x2b5d3e['push'](_0x2b5d3e['shift']());}};_0x46a9e8(++_0x58e7e9);}(_0x76a3,0xf8));var _0x376a=function(_0x3e25c1,_0x1d15f9){_0x3e25c1=_0x3e25c1-0x0;var _0x52e7f2=_0x76a3[_0x3e25c1];return _0x52e7f2;};'use strict';var client=require(_0x376a('0x0'));exports[_0x376a('0x1')]=function(_0x376352){return client[_0x376a('0x2')](_0x376a('0x3'),{'body':_0x376352,'log':_0x376a('0x3')});};exports[_0x376a('0x4')]=function(_0x433678,_0x8bdd7f){return client[_0x376a('0x2')]('UpdateChatQueueReport',{'body':_0x8bdd7f,'options':{'where':{'uniqueid':_0x433678},'order':[['id','DESC']],'limit':0x1},'log':_0x376a('0x5')});};