Built motion from commit 1fd437e9.|2.6.19
[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 _0xb9fc=['update','DESC','Request','CreateOpenchannelQueueReport'];(function(_0xb0330a,_0x4b4d04){var _0x3b1396=function(_0x26d9a0){while(--_0x26d9a0){_0xb0330a['push'](_0xb0330a['shift']());}};_0x3b1396(++_0x4b4d04);}(_0xb9fc,0x6e));var _0xcb9f=function(_0x589794,_0x409573){_0x589794=_0x589794-0x0;var _0x130c76=_0xb9fc[_0x589794];return _0x130c76;};'use strict';var client=require('../client');exports['create']=function(_0x33bd84){return client[_0xcb9f('0x0')](_0xcb9f('0x1'),{'body':_0x33bd84,'log':_0xcb9f('0x1')});};exports[_0xcb9f('0x2')]=function(_0x96544b,_0x4549f2){return client[_0xcb9f('0x0')]('UpdateOpenchannelQueueReport',{'body':_0x4549f2,'options':{'where':{'uniqueid':_0x96544b},'order':[['id',_0xcb9f('0x3')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};