f0887794703e269cc26fd072dd07108ee096dcea
[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 _0x4f88=['CreateChatQueueReport','UpdateChatQueueReport','DESC','../client','create','Request'];(function(_0x49dd84,_0x34babe){var _0x1d0d00=function(_0x49d9b1){while(--_0x49d9b1){_0x49dd84['push'](_0x49dd84['shift']());}};_0x1d0d00(++_0x34babe);}(_0x4f88,0xf3));var _0x84f8=function(_0xf2628e,_0x521bf7){_0xf2628e=_0xf2628e-0x0;var _0x13863a=_0x4f88[_0xf2628e];return _0x13863a;};'use strict';var client=require(_0x84f8('0x0'));exports[_0x84f8('0x1')]=function(_0x5b8988){return client[_0x84f8('0x2')](_0x84f8('0x3'),{'body':_0x5b8988,'log':_0x84f8('0x3')});};exports['update']=function(_0x5c24f1,_0xef8394){return client[_0x84f8('0x2')](_0x84f8('0x4'),{'body':_0xef8394,'options':{'where':{'uniqueid':_0x5c24f1},'order':[['id',_0x84f8('0x5')]],'limit':0x1},'log':_0x84f8('0x4')});};