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 _0x0434=['CreateChatQueueReport','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x5fcb09,_0x5155bd){var _0x508f62=function(_0x318163){while(--_0x318163){_0x5fcb09['push'](_0x5fcb09['shift']());}};_0x508f62(++_0x5155bd);}(_0x0434,0x1ad));var _0x4043=function(_0x173452,_0x3aa870){_0x173452=_0x173452-0x0;var _0xee3fd0=_0x0434[_0x173452];return _0xee3fd0;};'use strict';var client=require(_0x4043('0x0'));exports[_0x4043('0x1')]=function(_0x4cb6b5){return client[_0x4043('0x2')](_0x4043('0x3'),{'body':_0x4cb6b5,'log':'CreateChatQueueReport'});};exports['update']=function(_0x2e6bdf,_0xfa9ae8){return client[_0x4043('0x2')](_0x4043('0x4'),{'body':_0xfa9ae8,'options':{'where':{'uniqueid':_0x2e6bdf},'order':[['id',_0x4043('0x5')]],'limit':0x1},'log':_0x4043('0x4')});};