d89bed331c04e2d54c33e82724de5612aa29a5d3
[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 _0x7b83=['../client','create','CreateChatQueueReport','update','Request','UpdateChatQueueReport','DESC'];(function(_0xdd2bfa,_0x5bd304){var _0x55397e=function(_0x196f7d){while(--_0x196f7d){_0xdd2bfa['push'](_0xdd2bfa['shift']());}};_0x55397e(++_0x5bd304);}(_0x7b83,0xa1));var _0x37b8=function(_0x17f397,_0x5bf1eb){_0x17f397=_0x17f397-0x0;var _0x65aa26=_0x7b83[_0x17f397];return _0x65aa26;};'use strict';var client=require(_0x37b8('0x0'));exports[_0x37b8('0x1')]=function(_0xf4ecfb){return client['Request']('CreateChatQueueReport',{'body':_0xf4ecfb,'log':_0x37b8('0x2')});};exports[_0x37b8('0x3')]=function(_0x45fd66,_0x48aaa1){return client[_0x37b8('0x4')](_0x37b8('0x5'),{'body':_0x48aaa1,'options':{'where':{'uniqueid':_0x45fd66},'order':[['id',_0x37b8('0x6')]],'limit':0x1},'log':_0x37b8('0x5')});};