Built motion from commit fe909640.|2.6.8
[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 _0xbf5c=['DESC','UpdateChatQueueReport','../client','create','CreateChatQueueReport','update','Request'];(function(_0x34974b,_0x18de12){var _0x39d27d=function(_0x3c33dc){while(--_0x3c33dc){_0x34974b['push'](_0x34974b['shift']());}};_0x39d27d(++_0x18de12);}(_0xbf5c,0xb8));var _0xcbf5=function(_0x142b86,_0x685d8e){_0x142b86=_0x142b86-0x0;var _0x32b39e=_0xbf5c[_0x142b86];return _0x32b39e;};'use strict';var client=require(_0xcbf5('0x0'));exports[_0xcbf5('0x1')]=function(_0x20db36){return client['Request'](_0xcbf5('0x2'),{'body':_0x20db36,'log':_0xcbf5('0x2')});};exports[_0xcbf5('0x3')]=function(_0x536351,_0xbbe51d){return client[_0xcbf5('0x4')]('UpdateChatQueueReport',{'body':_0xbbe51d,'options':{'where':{'uniqueid':_0x536351},'order':[['id',_0xcbf5('0x5')]],'limit':0x1},'log':_0xcbf5('0x6')});};