Built motion from commit 775e2a94.|2.6.3
[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 _0x8f9b=['UpdateOpenchannelQueueReport','DESC','../client','CreateOpenchannelQueueReport'];(function(_0x7bc63a,_0x26422a){var _0xed898e=function(_0x4a222a){while(--_0x4a222a){_0x7bc63a['push'](_0x7bc63a['shift']());}};_0xed898e(++_0x26422a);}(_0x8f9b,0x162));var _0xb8f9=function(_0x21427d,_0x589c9c){_0x21427d=_0x21427d-0x0;var _0x4bc8e0=_0x8f9b[_0x21427d];return _0x4bc8e0;};'use strict';var client=require(_0xb8f9('0x0'));exports['create']=function(_0x3a09c5){return client['Request'](_0xb8f9('0x1'),{'body':_0x3a09c5,'log':_0xb8f9('0x1')});};exports['update']=function(_0x2ce9ec,_0x300ac2){return client['Request'](_0xb8f9('0x2'),{'body':_0x300ac2,'options':{'where':{'uniqueid':_0x2ce9ec},'order':[['id',_0xb8f9('0x3')]],'limit':0x1},'log':_0xb8f9('0x2')});};