947d2ea93825c3854c0af52e0d17b37c81d6afc3
[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 _0x99c2=['Request','CreateOpenchannelQueueReport','update','UpdateOpenchannelQueueReport','../client','create'];(function(_0x178e48,_0x3c9509){var _0x440d7e=function(_0xc2f8a0){while(--_0xc2f8a0){_0x178e48['push'](_0x178e48['shift']());}};_0x440d7e(++_0x3c9509);}(_0x99c2,0x1a2));var _0x299c=function(_0x50ef0d,_0xb12dbd){_0x50ef0d=_0x50ef0d-0x0;var _0x533b15=_0x99c2[_0x50ef0d];return _0x533b15;};'use strict';var client=require(_0x299c('0x0'));exports[_0x299c('0x1')]=function(_0x49e7a1){return client[_0x299c('0x2')](_0x299c('0x3'),{'body':_0x49e7a1,'log':'CreateOpenchannelQueueReport'});};exports[_0x299c('0x4')]=function(_0x53d6b8,_0x2cc4d8){return client['Request'](_0x299c('0x5'),{'body':_0x2cc4d8,'options':{'where':{'uniqueid':_0x53d6b8},'order':[['id','DESC']],'limit':0x1},'log':_0x299c('0x5')});};