4bb6766d4930abc1232baf28c97444d65c3da68d
[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 _0xf32e=['../client','create','Request','UpdateOpenchannelQueueReport'];(function(_0xc01281,_0x2332b3){var _0x5c9546=function(_0x5185b2){while(--_0x5185b2){_0xc01281['push'](_0xc01281['shift']());}};_0x5c9546(++_0x2332b3);}(_0xf32e,0x110));var _0xef32=function(_0x12ef9a,_0x5dfbf7){_0x12ef9a=_0x12ef9a-0x0;var _0x3a6833=_0xf32e[_0x12ef9a];return _0x3a6833;};'use strict';var client=require(_0xef32('0x0'));exports[_0xef32('0x1')]=function(_0x1fbf9d){return client['Request']('CreateOpenchannelQueueReport',{'body':_0x1fbf9d,'log':'CreateOpenchannelQueueReport'});};exports['update']=function(_0x56dd5d,_0x11b78e){return client[_0xef32('0x2')](_0xef32('0x3'),{'body':_0x11b78e,'options':{'where':{'uniqueid':_0x56dd5d},'order':[['id','DESC']],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};