Built motion from commit (unavailable).|2.4.18
[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 _0x3645=['CreateChatQueueReport','update','UpdateChatQueueReport','DESC','create','Request'];(function(_0x214a25,_0x15071d){var _0x405988=function(_0x5c6fc1){while(--_0x5c6fc1){_0x214a25['push'](_0x214a25['shift']());}};_0x405988(++_0x15071d);}(_0x3645,0x154));var _0x5364=function(_0xec034,_0x16c358){_0xec034=_0xec034-0x0;var _0x2c5a19=_0x3645[_0xec034];return _0x2c5a19;};'use strict';var client=require('../client');exports[_0x5364('0x0')]=function(_0x12217b){return client[_0x5364('0x1')](_0x5364('0x2'),{'body':_0x12217b,'log':_0x5364('0x2')});};exports[_0x5364('0x3')]=function(_0x3c0f77,_0x5a63bf){return client[_0x5364('0x1')](_0x5364('0x4'),{'body':_0x5a63bf,'options':{'where':{'uniqueid':_0x3c0f77},'order':[['id',_0x5364('0x5')]],'limit':0x1},'log':_0x5364('0x4')});};