1a3457d64f766566364896f4e9118f9c4a1c7c78
[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 _0x684d=['create','Request','CreateChatQueueReport','DESC'];(function(_0x108f62,_0x2d1b7d){var _0x3f606e=function(_0x531bf4){while(--_0x531bf4){_0x108f62['push'](_0x108f62['shift']());}};_0x3f606e(++_0x2d1b7d);}(_0x684d,0x174));var _0xd684=function(_0x56584f,_0x12db00){_0x56584f=_0x56584f-0x0;var _0x4928a9=_0x684d[_0x56584f];return _0x4928a9;};'use strict';var client=require('../client');exports[_0xd684('0x0')]=function(_0x33830c){return client[_0xd684('0x1')]('CreateChatQueueReport',{'body':_0x33830c,'log':_0xd684('0x2')});};exports['update']=function(_0x20d7ea,_0x1d505b){return client[_0xd684('0x1')]('UpdateChatQueueReport',{'body':_0x1d505b,'options':{'where':{'uniqueid':_0x20d7ea},'order':[['id',_0xd684('0x3')]],'limit':0x1},'log':'UpdateChatQueueReport'});};