Built motion from commit 25580385.|2.6.2
[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 _0x885e=['CreateChatQueueReport','update','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x10d8c5,_0x5719ee){var _0x2d0e54=function(_0x4c557c){while(--_0x4c557c){_0x10d8c5['push'](_0x10d8c5['shift']());}};_0x2d0e54(++_0x5719ee);}(_0x885e,0xe4));var _0xe885=function(_0x4463d2,_0x470619){_0x4463d2=_0x4463d2-0x0;var _0x69c5f8=_0x885e[_0x4463d2];return _0x69c5f8;};'use strict';var client=require(_0xe885('0x0'));exports[_0xe885('0x1')]=function(_0x53d182){return client[_0xe885('0x2')](_0xe885('0x3'),{'body':_0x53d182,'log':_0xe885('0x3')});};exports[_0xe885('0x4')]=function(_0x861437,_0x4fcd9b){return client['Request'](_0xe885('0x5'),{'body':_0x4fcd9b,'options':{'where':{'uniqueid':_0x861437},'order':[['id',_0xe885('0x6')]],'limit':0x1},'log':_0xe885('0x5')});};