6066370249ff9ae39350fe0a34340baacf536e43
[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 _0x765b=['Request','CreateChatQueueReport'];(function(_0x39c397,_0x5e4ae1){var _0x50ce71=function(_0x2456db){while(--_0x2456db){_0x39c397['push'](_0x39c397['shift']());}};_0x50ce71(++_0x5e4ae1);}(_0x765b,0x18c));var _0xb765=function(_0x397cfb,_0xb8f317){_0x397cfb=_0x397cfb-0x0;var _0x15fed9=_0x765b[_0x397cfb];return _0x15fed9;};'use strict';var client=require('../client');exports['create']=function(_0x49c5f5){return client[_0xb765('0x0')]('CreateChatQueueReport',{'body':_0x49c5f5,'log':_0xb765('0x1')});};exports['update']=function(_0x1e542f,_0x97367d){return client[_0xb765('0x0')]('UpdateChatQueueReport',{'body':_0x97367d,'options':{'where':{'uniqueid':_0x1e542f},'order':[['id','DESC']],'limit':0x1},'log':'UpdateChatQueueReport'});};