d4b08169280141cd1bf55bc9cb00cfb429994aae
[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 _0x8b7c=['DESC','../client','create','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x4886d9,_0x4dbbbc){var _0x26207a=function(_0x5d4881){while(--_0x5d4881){_0x4886d9['push'](_0x4886d9['shift']());}};_0x26207a(++_0x4dbbbc);}(_0x8b7c,0x119));var _0xc8b7=function(_0x41a4bb,_0x36b115){_0x41a4bb=_0x41a4bb-0x0;var _0x4d4239=_0x8b7c[_0x41a4bb];return _0x4d4239;};'use strict';var client=require(_0xc8b7('0x0'));exports[_0xc8b7('0x1')]=function(_0x17811b){return client[_0xc8b7('0x2')](_0xc8b7('0x3'),{'body':_0x17811b,'log':_0xc8b7('0x3')});};exports[_0xc8b7('0x4')]=function(_0x201c49,_0x4f66ab){return client[_0xc8b7('0x2')](_0xc8b7('0x5'),{'body':_0x4f66ab,'options':{'where':{'uniqueid':_0x201c49},'order':[['id',_0xc8b7('0x6')]],'limit':0x1},'log':'UpdateChatQueueReport'});};