6e49020808481efd3172402cede52a6cbc72528d
[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 _0x93dc=['create','CreateOpenchannelQueueReport','update','Request','UpdateOpenchannelQueueReport','../client'];(function(_0x5e48a,_0x3add0f){var _0x379a70=function(_0x44d97b){while(--_0x44d97b){_0x5e48a['push'](_0x5e48a['shift']());}};_0x379a70(++_0x3add0f);}(_0x93dc,0x161));var _0xc93d=function(_0x12f1b1,_0x38bf38){_0x12f1b1=_0x12f1b1-0x0;var _0x4e0ace=_0x93dc[_0x12f1b1];return _0x4e0ace;};'use strict';var client=require(_0xc93d('0x0'));exports[_0xc93d('0x1')]=function(_0x3e8fd5){return client['Request'](_0xc93d('0x2'),{'body':_0x3e8fd5,'log':_0xc93d('0x2')});};exports[_0xc93d('0x3')]=function(_0x9cbf77,_0x513122){return client[_0xc93d('0x4')](_0xc93d('0x5'),{'body':_0x513122,'options':{'where':{'uniqueid':_0x9cbf77},'order':[['id','DESC']],'limit':0x1},'log':_0xc93d('0x5')});};