Built motion from commit (unavailable).|2.5.11
[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 _0xc17f=['create','Request','CreateChatQueueReport','UpdateChatQueueReport','../client'];(function(_0x32bb8f,_0x3d4dfa){var _0x4c5327=function(_0x76d066){while(--_0x76d066){_0x32bb8f['push'](_0x32bb8f['shift']());}};_0x4c5327(++_0x3d4dfa);}(_0xc17f,0xb8));var _0xfc17=function(_0x436b41,_0x26e3d3){_0x436b41=_0x436b41-0x0;var _0xfaa7d0=_0xc17f[_0x436b41];return _0xfaa7d0;};'use strict';var client=require(_0xfc17('0x0'));exports[_0xfc17('0x1')]=function(_0x45c778){return client[_0xfc17('0x2')](_0xfc17('0x3'),{'body':_0x45c778,'log':_0xfc17('0x3')});};exports['update']=function(_0x224edf,_0x5f2b93){return client[_0xfc17('0x2')](_0xfc17('0x4'),{'body':_0x5f2b93,'options':{'where':{'uniqueid':_0x224edf},'order':[['id','DESC']],'limit':0x1},'log':_0xfc17('0x4')});};