Built motion from commit 53172ac8.|2.6.30
[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 _0x1bfd=['create','CreateOpenchannelQueueReport','update','Request','UpdateOpenchannelQueueReport','DESC','../client'];(function(_0x43488d,_0x46b899){var _0x3efb1b=function(_0x1eea78){while(--_0x1eea78){_0x43488d['push'](_0x43488d['shift']());}};_0x3efb1b(++_0x46b899);}(_0x1bfd,0xbc));var _0xd1bf=function(_0x512b48,_0xa3924f){_0x512b48=_0x512b48-0x0;var _0x278a76=_0x1bfd[_0x512b48];return _0x278a76;};'use strict';var client=require(_0xd1bf('0x0'));exports[_0xd1bf('0x1')]=function(_0x5c9c10){return client['Request'](_0xd1bf('0x2'),{'body':_0x5c9c10,'log':_0xd1bf('0x2')});};exports[_0xd1bf('0x3')]=function(_0x422d52,_0x2b6830){return client[_0xd1bf('0x4')](_0xd1bf('0x5'),{'body':_0x2b6830,'options':{'where':{'uniqueid':_0x422d52},'order':[['id',_0xd1bf('0x6')]],'limit':0x1},'log':'UpdateOpenchannelQueueReport'});};