dd2c9dbabc64bb5c2bac74b94d66c1e9696380e0
[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 _0x5309=['../client','create','Request','CreateChatQueueReport','update','UpdateChatQueueReport'];(function(_0x2d7169,_0xa8d872){var _0x68a56f=function(_0x22bc1f){while(--_0x22bc1f){_0x2d7169['push'](_0x2d7169['shift']());}};_0x68a56f(++_0xa8d872);}(_0x5309,0x1aa));var _0x9530=function(_0x1d558c,_0x1e497c){_0x1d558c=_0x1d558c-0x0;var _0x15767d=_0x5309[_0x1d558c];return _0x15767d;};'use strict';var client=require(_0x9530('0x0'));exports[_0x9530('0x1')]=function(_0x2658ab){return client[_0x9530('0x2')](_0x9530('0x3'),{'body':_0x2658ab,'log':_0x9530('0x3')});};exports[_0x9530('0x4')]=function(_0x13abba,_0x169a84){return client[_0x9530('0x2')]('UpdateChatQueueReport',{'body':_0x169a84,'options':{'where':{'uniqueid':_0x13abba},'order':[['id','DESC']],'limit':0x1},'log':_0x9530('0x5')});};