Built motion from commit 3d6333b4.|2.6.31
[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 _0x95c7=['CreateOpenchannelQueueReport','update','DESC','../client','create','Request'];(function(_0x43e530,_0x103086){var _0x468dcf=function(_0x29021e){while(--_0x29021e){_0x43e530['push'](_0x43e530['shift']());}};_0x468dcf(++_0x103086);}(_0x95c7,0x1a7));var _0x795c=function(_0x4fdb56,_0x16ddc0){_0x4fdb56=_0x4fdb56-0x0;var _0x2728fd=_0x95c7[_0x4fdb56];return _0x2728fd;};'use strict';var client=require(_0x795c('0x0'));exports[_0x795c('0x1')]=function(_0x1b8bd7){return client[_0x795c('0x2')](_0x795c('0x3'),{'body':_0x1b8bd7,'log':_0x795c('0x3')});};exports[_0x795c('0x4')]=function(_0xdc2934,_0x526bc6){return client['Request']('UpdateOpenchannelQueueReport',{'body':_0x526bc6,'options':{'where':{'uniqueid':_0xdc2934},'order':[['id',_0x795c('0x5')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};