25e3625b08883dc4921c8e3e3053c3b013aa70d8
[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 _0xe29a=['DESC','../client','create','CreateOpenchannelQueueReport','update','Request','UpdateOpenchannelQueueReport'];(function(_0x592caf,_0x4d8027){var _0x56a352=function(_0x5c8e0a){while(--_0x5c8e0a){_0x592caf['push'](_0x592caf['shift']());}};_0x56a352(++_0x4d8027);}(_0xe29a,0x190));var _0xae29=function(_0x30de01,_0x6bedaa){_0x30de01=_0x30de01-0x0;var _0x52f38a=_0xe29a[_0x30de01];return _0x52f38a;};'use strict';var client=require(_0xae29('0x0'));exports[_0xae29('0x1')]=function(_0x42079b){return client['Request'](_0xae29('0x2'),{'body':_0x42079b,'log':_0xae29('0x2')});};exports[_0xae29('0x3')]=function(_0x339cf0,_0x3c6dfd){return client[_0xae29('0x4')](_0xae29('0x5'),{'body':_0x3c6dfd,'options':{'where':{'uniqueid':_0x339cf0},'order':[['id',_0xae29('0x6')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};