Built motion from commit (unavailable).|2.5.10
[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 _0x56e6=['create','Request','CreateChatQueueReport','UpdateChatQueueReport','DESC','../client'];(function(_0x5d5ad9,_0x9fe65c){var _0x461f64=function(_0x97c064){while(--_0x97c064){_0x5d5ad9['push'](_0x5d5ad9['shift']());}};_0x461f64(++_0x9fe65c);}(_0x56e6,0x6b));var _0x656e=function(_0x236e77,_0x388743){_0x236e77=_0x236e77-0x0;var _0x59e31f=_0x56e6[_0x236e77];return _0x59e31f;};'use strict';var client=require(_0x656e('0x0'));exports[_0x656e('0x1')]=function(_0x27c324){return client[_0x656e('0x2')](_0x656e('0x3'),{'body':_0x27c324,'log':_0x656e('0x3')});};exports['update']=function(_0x40a874,_0x23c947){return client[_0x656e('0x2')](_0x656e('0x4'),{'body':_0x23c947,'options':{'where':{'uniqueid':_0x40a874},'order':[['id',_0x656e('0x5')]],'limit':0x1},'log':_0x656e('0x4')});};