Built motion from commit (unavailable).|2.5.22
[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 _0x5d55=['create','Request','CreateChatQueueReport','update','UpdateChatQueueReport','DESC'];(function(_0x1a2625,_0x235a40){var _0x35c172=function(_0x449e7f){while(--_0x449e7f){_0x1a2625['push'](_0x1a2625['shift']());}};_0x35c172(++_0x235a40);}(_0x5d55,0x1a4));var _0x55d5=function(_0x2db81d,_0xe0672a){_0x2db81d=_0x2db81d-0x0;var _0x5d2f9f=_0x5d55[_0x2db81d];return _0x5d2f9f;};'use strict';var client=require('../client');exports[_0x55d5('0x0')]=function(_0x4cd0e2){return client[_0x55d5('0x1')](_0x55d5('0x2'),{'body':_0x4cd0e2,'log':'CreateChatQueueReport'});};exports[_0x55d5('0x3')]=function(_0x12beec,_0x3bca0b){return client['Request'](_0x55d5('0x4'),{'body':_0x3bca0b,'options':{'where':{'uniqueid':_0x12beec},'order':[['id',_0x55d5('0x5')]],'limit':0x1},'log':_0x55d5('0x4')});};