Built motion from commit 953226e6.|2.6.32
[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 _0x3074=['update','DESC','UpdateChatQueueReport','../client','Request','CreateChatQueueReport'];(function(_0x305728,_0x56c7bf){var _0x1f18c9=function(_0x4bcc55){while(--_0x4bcc55){_0x305728['push'](_0x305728['shift']());}};_0x1f18c9(++_0x56c7bf);}(_0x3074,0x1dd));var _0x4307=function(_0x40a458,_0x3fd1c5){_0x40a458=_0x40a458-0x0;var _0x5109e7=_0x3074[_0x40a458];return _0x5109e7;};'use strict';var client=require(_0x4307('0x0'));exports['create']=function(_0x24f815){return client[_0x4307('0x1')](_0x4307('0x2'),{'body':_0x24f815,'log':'CreateChatQueueReport'});};exports[_0x4307('0x3')]=function(_0x5c5161,_0x256692){return client[_0x4307('0x1')]('UpdateChatQueueReport',{'body':_0x256692,'options':{'where':{'uniqueid':_0x5c5161},'order':[['id',_0x4307('0x4')]],'limit':0x1},'log':_0x4307('0x5')});};