32a11197602939600bb5660ae8003db1366d543b
[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 _0x18a5=['Request','UpdateChatQueueReport','../client','create','CreateChatQueueReport','update'];(function(_0x4e13d8,_0x49f9ad){var _0x1db554=function(_0x3de7c1){while(--_0x3de7c1){_0x4e13d8['push'](_0x4e13d8['shift']());}};_0x1db554(++_0x49f9ad);}(_0x18a5,0x164));var _0x518a=function(_0x1ad1d8,_0x5868bb){_0x1ad1d8=_0x1ad1d8-0x0;var _0x388c15=_0x18a5[_0x1ad1d8];return _0x388c15;};'use strict';var client=require(_0x518a('0x0'));exports[_0x518a('0x1')]=function(_0x5a918f){return client['Request'](_0x518a('0x2'),{'body':_0x5a918f,'log':'CreateChatQueueReport'});};exports[_0x518a('0x3')]=function(_0xa1adb4,_0x44c5f0){return client[_0x518a('0x4')](_0x518a('0x5'),{'body':_0x44c5f0,'options':{'where':{'uniqueid':_0xa1adb4},'order':[['id','DESC']],'limit':0x1},'log':'UpdateChatQueueReport'});};