36495b183573603e3f19c7282f0c6c10dc90db49
[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 _0xc820=['Request','CreateChatQueueReport','UpdateChatQueueReport','DESC','create'];(function(_0x174096,_0x345c0e){var _0x37742d=function(_0x535f9f){while(--_0x535f9f){_0x174096['push'](_0x174096['shift']());}};_0x37742d(++_0x345c0e);}(_0xc820,0x13f));var _0x0c82=function(_0x5841a4,_0x12aa83){_0x5841a4=_0x5841a4-0x0;var _0x1a3e49=_0xc820[_0x5841a4];return _0x1a3e49;};'use strict';var client=require('../client');exports[_0x0c82('0x0')]=function(_0x44415e){return client[_0x0c82('0x1')](_0x0c82('0x2'),{'body':_0x44415e,'log':_0x0c82('0x2')});};exports['update']=function(_0x409381,_0x4edc9c){return client[_0x0c82('0x1')](_0x0c82('0x3'),{'body':_0x4edc9c,'options':{'where':{'uniqueid':_0x409381},'order':[['id',_0x0c82('0x4')]],'limit':0x1},'log':_0x0c82('0x3')});};