5a7a390958fa13214f9a7250a9ceee407a942227
[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 _0x9b67=['DESC','../client','create','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x1e1020,_0xd64a27){var _0x464719=function(_0x376ffa){while(--_0x376ffa){_0x1e1020['push'](_0x1e1020['shift']());}};_0x464719(++_0xd64a27);}(_0x9b67,0xf6));var _0x79b6=function(_0x40dc8f,_0x58e16e){_0x40dc8f=_0x40dc8f-0x0;var _0x5cbb64=_0x9b67[_0x40dc8f];return _0x5cbb64;};'use strict';var client=require(_0x79b6('0x0'));exports[_0x79b6('0x1')]=function(_0xfb9138){return client[_0x79b6('0x2')](_0x79b6('0x3'),{'body':_0xfb9138,'log':'CreateChatQueueReport'});};exports[_0x79b6('0x4')]=function(_0x1aeb24,_0x5297d0){return client['Request'](_0x79b6('0x5'),{'body':_0x5297d0,'options':{'where':{'uniqueid':_0x1aeb24},'order':[['id',_0x79b6('0x6')]],'limit':0x1},'log':_0x79b6('0x5')});};