Built motion from commit (unavailable).|2.3.1
[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 _0xe43c=['../client','create','Request','CreateChatQueueReport','UpdateChatQueueReport','DESC'];(function(_0x18cac4,_0x57a4d5){var _0x2227c6=function(_0x72934d){while(--_0x72934d){_0x18cac4['push'](_0x18cac4['shift']());}};_0x2227c6(++_0x57a4d5);}(_0xe43c,0x180));var _0xce43=function(_0x2070da,_0x45e586){_0x2070da=_0x2070da-0x0;var _0x4f9fe1=_0xe43c[_0x2070da];return _0x4f9fe1;};'use strict';var client=require(_0xce43('0x0'));exports[_0xce43('0x1')]=function(_0x159823){return client[_0xce43('0x2')](_0xce43('0x3'),{'body':_0x159823,'log':_0xce43('0x3')});};exports['update']=function(_0x415941,_0x4eed68){return client[_0xce43('0x2')](_0xce43('0x4'),{'body':_0x4eed68,'options':{'where':{'uniqueid':_0x415941},'order':[['id',_0xce43('0x5')]],'limit':0x1},'log':_0xce43('0x4')});};