132668df2e7743f7178b259cffa939c95edc0c12
[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 _0x6ce9=['CreateChatQueueReport','Request','UpdateChatQueueReport','../client','create'];(function(_0x364289,_0xda7e71){var _0x572fa3=function(_0x36de02){while(--_0x36de02){_0x364289['push'](_0x364289['shift']());}};_0x572fa3(++_0xda7e71);}(_0x6ce9,0x76));var _0x96ce=function(_0x478706,_0x140305){_0x478706=_0x478706-0x0;var _0x3636bb=_0x6ce9[_0x478706];return _0x3636bb;};'use strict';var client=require(_0x96ce('0x0'));exports[_0x96ce('0x1')]=function(_0x1d736b){return client['Request']('CreateChatQueueReport',{'body':_0x1d736b,'log':_0x96ce('0x2')});};exports['update']=function(_0x28a6a3,_0x18a969){return client[_0x96ce('0x3')](_0x96ce('0x4'),{'body':_0x18a969,'options':{'where':{'uniqueid':_0x28a6a3},'order':[['id','DESC']],'limit':0x1},'log':_0x96ce('0x4')});};