Built motion from commit 753c950e.|2.5.42
[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 _0x0a12=['CreateChatQueueReport','Request','UpdateChatQueueReport','DESC','create'];(function(_0x363b81,_0x81e6ca){var _0x1d92fb=function(_0x129644){while(--_0x129644){_0x363b81['push'](_0x363b81['shift']());}};_0x1d92fb(++_0x81e6ca);}(_0x0a12,0xb8));var _0x20a1=function(_0x4d8ed9,_0x2ae284){_0x4d8ed9=_0x4d8ed9-0x0;var _0x1e2140=_0x0a12[_0x4d8ed9];return _0x1e2140;};'use strict';var client=require('../client');exports[_0x20a1('0x0')]=function(_0x4bd998){return client['Request']('CreateChatQueueReport',{'body':_0x4bd998,'log':_0x20a1('0x1')});};exports['update']=function(_0x3fe991,_0x2079d8){return client[_0x20a1('0x2')](_0x20a1('0x3'),{'body':_0x2079d8,'options':{'where':{'uniqueid':_0x3fe991},'order':[['id',_0x20a1('0x4')]],'limit':0x1},'log':_0x20a1('0x3')});};