Built motion from commit (unavailable).|2.5.6
[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 _0xf2cb=['Request','CreateChatQueueReport','DESC','UpdateChatQueueReport','create'];(function(_0x2034ce,_0x40a1c0){var _0x3fe785=function(_0x39ae22){while(--_0x39ae22){_0x2034ce['push'](_0x2034ce['shift']());}};_0x3fe785(++_0x40a1c0);}(_0xf2cb,0x130));var _0xbf2c=function(_0x5020d9,_0x310023){_0x5020d9=_0x5020d9-0x0;var _0x5e462b=_0xf2cb[_0x5020d9];return _0x5e462b;};'use strict';var client=require('../client');exports[_0xbf2c('0x0')]=function(_0x5e5c76){return client[_0xbf2c('0x1')]('CreateChatQueueReport',{'body':_0x5e5c76,'log':_0xbf2c('0x2')});};exports['update']=function(_0x1ecb79,_0x41c649){return client['Request']('UpdateChatQueueReport',{'body':_0x41c649,'options':{'where':{'uniqueid':_0x1ecb79},'order':[['id',_0xbf2c('0x3')]],'limit':0x1},'log':_0xbf2c('0x4')});};