Built motion from commit ae138b72.|2.6.28
[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 _0x4ef1=['CreateChatQueueReport','update','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x24f578,_0x421f1e){var _0x1cdc5c=function(_0x475289){while(--_0x475289){_0x24f578['push'](_0x24f578['shift']());}};_0x1cdc5c(++_0x421f1e);}(_0x4ef1,0xeb));var _0x14ef=function(_0x294975,_0xba7309){_0x294975=_0x294975-0x0;var _0x523628=_0x4ef1[_0x294975];return _0x523628;};'use strict';var client=require(_0x14ef('0x0'));exports[_0x14ef('0x1')]=function(_0x52e89c){return client[_0x14ef('0x2')](_0x14ef('0x3'),{'body':_0x52e89c,'log':_0x14ef('0x3')});};exports[_0x14ef('0x4')]=function(_0x168fd8,_0x43a716){return client[_0x14ef('0x2')](_0x14ef('0x5'),{'body':_0x43a716,'options':{'where':{'uniqueid':_0x168fd8},'order':[['id',_0x14ef('0x6')]],'limit':0x1},'log':_0x14ef('0x5')});};