e0849c2c0123d7b94b26618b18780f802252799a
[motion2.git] / server / services / routing / rpc / openchannelQueueReport.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 _0x7990=['CreateOpenchannelQueueReport','UpdateOpenchannelQueueReport','../client','create','Request'];(function(_0x496f65,_0x55b64f){var _0x320824=function(_0x10a2ea){while(--_0x10a2ea){_0x496f65['push'](_0x496f65['shift']());}};_0x320824(++_0x55b64f);}(_0x7990,0xe3));var _0x0799=function(_0x2e80a2,_0x4f661e){_0x2e80a2=_0x2e80a2-0x0;var _0xa1227f=_0x7990[_0x2e80a2];return _0xa1227f;};'use strict';var client=require(_0x0799('0x0'));exports[_0x0799('0x1')]=function(_0x3b9cf1){return client[_0x0799('0x2')](_0x0799('0x3'),{'body':_0x3b9cf1,'log':_0x0799('0x3')});};exports['update']=function(_0x1ec7b8,_0x59f19e){return client[_0x0799('0x2')](_0x0799('0x4'),{'body':_0x59f19e,'options':{'where':{'uniqueid':_0x1ec7b8},'order':[['id','DESC']],'limit':0x1},'log':_0x0799('0x4')});};