Built motion from commit 97153652.|2.6.26
[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 _0x3df4=['update','DESC','UpdateChatQueueReport','Request','CreateChatQueueReport'];(function(_0x4b2436,_0x452299){var _0x4f5ab2=function(_0x5c6679){while(--_0x5c6679){_0x4b2436['push'](_0x4b2436['shift']());}};_0x4f5ab2(++_0x452299);}(_0x3df4,0x102));var _0x43df=function(_0x25e634,_0x214a83){_0x25e634=_0x25e634-0x0;var _0x1949a4=_0x3df4[_0x25e634];return _0x1949a4;};'use strict';var client=require('../client');exports['create']=function(_0x2495e3){return client[_0x43df('0x0')](_0x43df('0x1'),{'body':_0x2495e3,'log':_0x43df('0x1')});};exports[_0x43df('0x2')]=function(_0x2985bf,_0x4297f4){return client['Request']('UpdateChatQueueReport',{'body':_0x4297f4,'options':{'where':{'uniqueid':_0x2985bf},'order':[['id',_0x43df('0x3')]],'limit':0x1},'log':_0x43df('0x4')});};