8921e8ae7c9a09a81117810e909a467ee56cd890
[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 _0x32ef=['CreateChatQueueReport','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x505620,_0x17657c){var _0xa1beed=function(_0xbb0bd4){while(--_0xbb0bd4){_0x505620['push'](_0x505620['shift']());}};_0xa1beed(++_0x17657c);}(_0x32ef,0xf9));var _0xf32e=function(_0x464e09,_0x5a3d2b){_0x464e09=_0x464e09-0x0;var _0x355928=_0x32ef[_0x464e09];return _0x355928;};'use strict';var client=require(_0xf32e('0x0'));exports[_0xf32e('0x1')]=function(_0x1ec4de){return client[_0xf32e('0x2')](_0xf32e('0x3'),{'body':_0x1ec4de,'log':_0xf32e('0x3')});};exports['update']=function(_0x232ead,_0x1ff6ab){return client['Request'](_0xf32e('0x4'),{'body':_0x1ff6ab,'options':{'where':{'uniqueid':_0x232ead},'order':[['id',_0xf32e('0x5')]],'limit':0x1},'log':_0xf32e('0x4')});};