Built motion from commit ddca4d0d.|2.5.47
[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 _0x7e16=['UpdateChatQueueReport','../client','create','Request','update','DESC'];(function(_0x43ca3,_0x147d16){var _0x29200e=function(_0x5cb913){while(--_0x5cb913){_0x43ca3['push'](_0x43ca3['shift']());}};_0x29200e(++_0x147d16);}(_0x7e16,0x16f));var _0x67e1=function(_0x21d531,_0x270665){_0x21d531=_0x21d531-0x0;var _0x155e42=_0x7e16[_0x21d531];return _0x155e42;};'use strict';var client=require(_0x67e1('0x0'));exports[_0x67e1('0x1')]=function(_0x14f1a6){return client[_0x67e1('0x2')]('CreateChatQueueReport',{'body':_0x14f1a6,'log':'CreateChatQueueReport'});};exports[_0x67e1('0x3')]=function(_0x53bbdf,_0x268f07){return client[_0x67e1('0x2')]('UpdateChatQueueReport',{'body':_0x268f07,'options':{'where':{'uniqueid':_0x53bbdf},'order':[['id',_0x67e1('0x4')]],'limit':0x1},'log':_0x67e1('0x5')});};